-í \²‰?csôdkZdklZdkZdkZdkZdkZ dkl Z  dk l Z  dk l Z  dklZ dklZde fd„ƒYZQd „ZVed „Z^e eƒad e fd „ƒYZ…d „ZŠed„Z’e eƒ”de fd„ƒYZd„Z ed„Ze eƒde fd„ƒYZ9d„Z>ed„ZFe eƒHde fd„ƒYZyd„Z ‘d„Z!–ed„Z"že eƒdS(N(sECHO_collection(sFolder(sClassSecurityInfo(sInitializeClass(sPageTemplateFile(s PageTemplatesOSAS_add_DocumentcstZdZeƒZd„ZdZeihdd<dd%ss.(sstringsjoinsobjectsgetPhysicalPathstitle(sobject((sE/usr/local/mpiwg/Zope/lib/python/Products/OSA_system/OSAS_addfiles.pysretLink±siss
i( sspacessretLinksdepthsselfs getChildss startItemsitemsschildsstmpschildsenddepths printChilds( sselfs startItemsdepthsitemssenddepthschildsstmpsspacesschildsretLink((sE/usr/local/mpiwg/Zope/lib/python/Products/OSA_system/OSAS_addfiles.pys printChilds§s     9i csJÂÃÅd|iddUÈ|ieddde|ƒ}Ê|SdS(s Erzeugt HTML-Tree der Collectionsitems=self.getPhysicalRoot().s.getCollectionTree()Ni(sselfs collections printChildssitemssdepthschilds(sselfsdepthschilds((sE/usr/local/mpiwg/Zope/lib/python/Products/OSA_system/OSAS_addfiles.pys generateTreeÂs#cs'ÌÍÎd|iddUÏeSdS(sZeige Partnerlistesitems=self.getPhysicalRoot().s.partners.getPartners()N(sselfs collectionsitems(sself((sE/usr/local/mpiwg/Zope/lib/python/Products/OSA_system/OSAS_addfiles.pys getPartnersÌscs¡ÐÑÒy#Óti|id|dƒWnÕÖdSnXØ|dfg}Ú|ti|ƒ7}Ü||iid<Ýt dƒi |ƒ}Þ|ƒSdS(sHinzufügen zu einer Sammlungs SERVER_URLs /index.metasindex.meta file has to exist!sstandard storageslinkss'Products/OSA_system/contextDataMain.zptN( surllibsurlopensselfsREQUESTspathslinkss OSAS_shows readContextssSESSIONsPageTemplateFiles__of__spt(sselfspathsptslinks((sE/usr/local/mpiwg/Zope/lib/python/Products/OSA_system/OSAS_addfiles.pysaddContextDataÐs# csòáâã|idƒ}å|e|ƒd}æ|e|ƒd}ç|id|d}éìd|dUîe i e |||||||| | | | ||| |deƒðee |ƒiƒò|iii|idd |ƒSdS( sHinzufuegen der Resources/is SERVER_URLs /index.metascollection_object=selfNsRESPONSEsURL2s?path=(spathssplitssplittedslensidstitlesselfsREQUESTsmetalinks collectionsECHO_collectionsmanage_AddECHO_resourcescollection_objectscontextssciencespractices source_typesperiodslabels descriptions content_types responsibleslinkscreditssweightsNonesgetattrsECHO_getResourceMDsRESPONSEsredirect(sselfspaths collectionscontextssciencespractices source_typesperiodslinkslabels descriptions content_types responsiblescreditssweightsmetalinksidstitlessplitted((sE/usr/local/mpiwg/Zope/lib/python/Products/OSA_system/OSAS_addfiles.pysaddContextData2ásCs Main Configslabelsadd_contextData_configsactioncs,ùúûtdƒi|ƒ}ü|ƒSdS(sMain configurations2Products/OSA_system/ChangeOSAS_add_contextData.zptN(sPageTemplateFiles__of__sselfspt(sselfspt((sE/usr/local/mpiwg/Zope/lib/python/Products/OSA_system/OSAS_addfiles.pysadd_contextData_configùscs:ÿ||_|tj o|idƒndS(sChanges manage_mainN(s collectionsselfsRESPONSEsNonesredirect(sselfs collectionsRESPONSE((sE/usr/local/mpiwg/Zope/lib/python/Products/OSA_system/OSAS_addfiles.pyschange_OSAS_add_contextDataÿs (s__name__s __module__s__doc__sClassSecurityInfossecuritys meta_types__init__s getChildss printChildss generateTrees getPartnerssaddContextDatasaddContextData2sFoldersmanage_optionssadd_contextData_configsNoneschange_OSAS_add_contextData(((sE/usr/local/mpiwg/Zope/lib/python/Products/OSA_system/OSAS_addfiles.pysOSAS_add_contextData”s        % cs,tdƒi|ƒ}|ƒSdS(s*interface for adding the OSAS_add_Metadatas+Products/OSA_system/AddOSAS_contextData.zptN(sPageTemplateFiles__of__sselfspt(sselfspt((sE/usr/local/mpiwg/Zope/lib/python/Products/OSA_system/OSAS_addfiles.pys"manage_AddOSAS_add_contextDataFormscsY   t||ƒ} |iƒi||ƒ|tj o|i dƒndS(sadd the OSAS_roots manage_mainN( sOSAS_add_contextDatasids collectionsnewObjsselfs Destinations _setObjectsRESPONSEsNonesredirect(sselfsids collectionsRESPONSEsnewObj((sE/usr/local/mpiwg/Zope/lib/python/Products/OSA_system/OSAS_addfiles.pysmanage_AddOSAS_add_contextData s sOSAS_add_Presentationcs­tZdZeƒZd„ZdZeihdd<dd?@t|ƒ}A|iƒi||ƒB|tj oC|idƒndS(sadd the OSAS_roots manage_mainN( sOSAS_add_PresentationsidsnewObjsselfs Destinations _setObjectsRESPONSEsNonesredirect(sselfsidsRESPONSEsnewObj((sE/usr/local/mpiwg/Zope/lib/python/Products/OSA_system/OSAS_addfiles.pysmanage_AddOSAS_add_Presentation>s sOSAS_combineTextImagecs½HtZdZIJeƒZLd„ZQdZReihdd<dd    B  $  q  %  1