-í ³‡þ?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„ƒYZ d„Zed„Ze eƒde fd„ƒYZ=d„ZBed„ZJe eƒLde fd„ƒYZ}d„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((sK/usr/local/mpiwg/Zope_devel/lib/python/Products/OSA_system/OSAS_addfiles.pysretLink±siss
i( sspacessretLinksdepthsselfs getChildss startItemsitemsschildsstmpschildsenddepths printChilds( sselfs startItemsdepthsitemssenddepthschildsstmpsspacesschildsretLink((sK/usr/local/mpiwg/Zope_devel/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((sK/usr/local/mpiwg/Zope_devel/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((sK/usr/local/mpiwg/Zope_devel/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((sK/usr/local/mpiwg/Zope_devel/lib/python/Products/OSA_system/OSAS_addfiles.pysaddContextDataÐs# cs áâã|idƒ}å|e|ƒd}æ|e|ƒd}ç|id|d}êíd|dUïe i e |||||||| | | | ||| |deƒñyòee |ƒiƒWn óônXö|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((sK/usr/local/mpiwg/Zope_devel/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((sK/usr/local/mpiwg/Zope_devel/lib/python/Products/OSA_system/OSAS_addfiles.pysadd_contextData_configýscs:||_|tj o|idƒndS(sChanges manage_mainN(s collectionsselfsRESPONSEsNonesredirect(sselfs collectionsRESPONSE((sK/usr/local/mpiwg/Zope_devel/lib/python/Products/OSA_system/OSAS_addfiles.pyschange_OSAS_add_contextDatas (s__name__s __module__s__doc__sClassSecurityInfossecuritys meta_types__init__s getChildss printChildss generateTrees getPartnerssaddContextDatasaddContextData2sFoldersmanage_optionssadd_contextData_configsNoneschange_OSAS_add_contextData(((sK/usr/local/mpiwg/Zope_devel/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((sK/usr/local/mpiwg/Zope_devel/lib/python/Products/OSA_system/OSAS_addfiles.pys"manage_AddOSAS_add_contextDataForm scsYt||ƒ}|iƒi||ƒ|tj o|i dƒndS(sadd the OSAS_roots manage_mainN( sOSAS_add_contextDatasids collectionsnewObjsselfs Destinations _setObjectsRESPONSEsNonesredirect(sselfsids collectionsRESPONSEsnewObj((sK/usr/local/mpiwg/Zope_devel/lib/python/Products/OSA_system/OSAS_addfiles.pysmanage_AddOSAS_add_contextDatas sOSAS_add_Presentationcs­tZdZeƒZd„Z!dZ"eihdd<dd?tdƒi|ƒ}@|ƒSdS(s*interface for adding the OSAS_add_Metadatas,Products/OSA_system/AddOSAS_presentation.zptN(sPageTemplateFiles__of__sselfspt(sselfspt((sK/usr/local/mpiwg/Zope_devel/lib/python/Products/OSA_system/OSAS_addfiles.pys#manage_AddOSAS_add_PresentationForm=scsVBCDt|ƒ}E|iƒi||ƒF|tj oG|idƒndS(sadd the OSAS_roots manage_mainN( sOSAS_add_PresentationsidsnewObjsselfs Destinations _setObjectsRESPONSEsNonesredirect(sselfsidsRESPONSEsnewObj((sK/usr/local/mpiwg/Zope_devel/lib/python/Products/OSA_system/OSAS_addfiles.pysmanage_AddOSAS_add_PresentationBs sOSAS_combineTextImagecs½LtZdZMNeƒZPd„ZUdZVeihdd<dd    B  $  u  %  1