Package Products :: Package zms :: Module zmscontainerobject :: Class ZMSContainerObject
[frames] | no frames]

Class ZMSContainerObject

                      ZMSItem.ZMSItem --+    
                                        |    
      _accessmanager.AccessableObject --+    
                                        |    
          _versionmanager.VersionItem --+    
                                        |    
        _workflowmanager.WorkflowItem --+    
                                        |    
             _copysupport.CopySupport --+    
                                        |    
        _cachemanager.CacheableObject --+    
                                        |    
         _deprecatedapi.DeprecatedAPI --+    
                                        |    
        _metacmdmanager.MetacmdObject --+    
                                        |    
_multilangmanager.MultiLanguageObject --+    
                                        |    
               _exportable.Exportable --+    
                                        |    
                   _objattrs.ObjAttrs --+    
                                        |    
             _objchildren.ObjChildren --+    
                                        |    
                 _objinputs.ObjInputs --+    
                                        |    
                   _objtypes.ObjTypes --+    
                                        |    
             _pathhandler.PathHandler --+    
                                        |    
  _textformatmanager.TextFormatObject --+    
                                        |    
        _zcatalogmanager.ZCatalogItem --+    
                                        |    
                ZMSGlobals.ZMSGlobals --+    
                                        |    
       _zreferableitem.ZReferableItem --+    
                                        |    
                      zmsobject.ZMSObject --+
                                            |
           AccessControl.Role.RoleManager --+
                                            |
       _accessmanager.AccessableContainer --+
                                            |
                   _importable.Importable --+
                                            |
                       _scormlib.SCORMLib --+
                                            |
  _versionmanager.VersionManagerContainer --+
                                            |
                                           ZMSContainerObject

Instance Methods
 
manage_addZMSCustom(self, meta_id, values={}, REQUEST=None)
 
manage_addZMSObject(self, meta_type, values, REQUEST)
None
moveObjsToTrashcan(self, ids, REQUEST)
Move objects to trashcan.
 
manage_eraseObjs(self, lang, ids, REQUEST, RESPONSE=None)
Delete a subordinate object physically: The objects specified in 'ids' get deleted.
 
manage_undoObjs(self, lang, ids, REQUEST, RESPONSE=None)
Undo a subordinate object: The objects specified in 'ids' get undone (changes are rolled-back).
 
manage_deleteObjs(self, lang, ids, REQUEST, RESPONSE=None)
Delete a subordinate object logically: The objects specified in 'ids' get deleted (moved to trashcan).
string
getContentType(self, REQUEST)
Returns MIME-type (text/html).
 
manage_ajaxDragDrop(self, lang, target, REQUEST, RESPONSE)
ZMSContainerObject.manage_ajaxDragDrop
 
getFirstPage(self, REQUEST, incResource=False, root=None)
 
getPrevPage(self, REQUEST, incResource=False, root=None)
 
getNextPage(self, REQUEST, incResource=False, root=None)
 
getLastPage(self, REQUEST, incResource=False, root=None)
 
filtered_insert_actions(self, path='', objAttr=None)
 
ajaxFilteredContainerActions(self, REQUEST)
Returns AJAX-XML with filtered-child-actions.
 
getNavItems(self, current, REQUEST, opt={})
 
getNavElements(self, REQUEST, expand_tree=1, current_child=None, subElements=[])
 
getIndexNavElements(self, REQUEST)
 
printHtml(self, level, sectionizer, REQUEST, deep=True)
Renders print presentation of a container-object.
 
filteredTreeNodes(self, REQUEST, meta_types, order_by=None, order_dir=None, max_len=None, recursive=True)
Returns a NodeList that contains all accessible children of this subtree in correct order.
 
firstFilteredChildNode(self, REQUEST={}, meta_types=None)
Returns the first accessible child of this node.
 
filteredChildNodes(self, REQUEST={}, meta_types=None)
Returns a NodeList that contains all accessible children of this node in correct order.
 
getChildNodes(self, REQUEST=None, meta_types=None)
Returns a NodeList that contains all children of this node in correct order.
 
normalizeSortIds(self, id_prefix='e')
 
getNewSortId(self)
 
manage_addZMSModule(self, lang, _sort_id, custom, REQUEST, RESPONSE)
Add module.

Inherited from zmsobject.ZMSObject: __init__, __proxy__, ajaxFilteredChildActions, ajaxGetChildNodes, ajaxGetNode, aq_absolute_url, breadcrumbs_obj_path, checkIn, checkOut, display_icon, display_type, filtered_command_actions, filtered_edit_actions, findObjId, getBodyContent, getDCCoverage, getDCDescription, getDCType, getDeclId, getDeclUrl, getHref2Html, getHref2IndexHtml, getHref2PrintHtml, getHref2SitemapHtml, getLevel, getMetaobjZMI, getPageExt, getParentByDepth, getParentByLevel, getParentNode, getSelf, getSortId, getTitle, getTitlealt, getTreeNodes, getType, get_conf_blob, get_logo, get_size, icon, isAnchestor, isCheckedOut, isMetaType, isModifiedInParentLanguage, isPage, isPageContainer, isPageElement, isResource, isTranslated, isVisible, manage_changeProperties, manage_moveObjDown, manage_moveObjToPos, manage_moveObjUp, relative_obj_path, renderShort, setSortId, title, xmlGetParent, xmlGetTagName, xmlOnCharacterData, xmlOnEndElement, xmlOnStartElement, xmlOnUnknownEndTag, xmlOnUnknownStartTag

Inherited from ZMSGlobals.ZMSGlobals: FileFromData, ImageFromData, boolint, buildZipArchive, compareDate, createThumbnail, dt_html, encrypt_ordtype, encrypt_password, getDataSizeStr, getLangFmtDate, getMimeTypeIconSrc, getXmlHeader, getZipArchive, get_diff, get_id_prefix, http_import, id_quote, isPreviewRequest, js_quote, nodes2html, nvl, parseLangFmtDate, parseXmlString, processData, rand_int, str_item, string_maxlen, toXmlString, tree_parents, url_append_params, url_inherit_params, url_quote, writeStdout, xmlNodeSet, xmlParse, xslProcess

    PIL (Python Imaging Library)

Inherited from ZMSGlobals.ZMSGlobals: pil_img_crop, pil_img_resize

    Local File-System

Inherited from ZMSGlobals.ZMSGlobals: localfs_command, localfs_package_home, localfs_read, localfs_readPath, localfs_remove, localfs_tempfile, localfs_write

    Logging

Inherited from ZMSGlobals.ZMSGlobals: writeBlock, writeLog

    Mappings

Inherited from ZMSGlobals.ZMSGlobals: aggregate_list, concat_list, copy_list, dict_list, difference_list, distinct_list, filter_list, intersection_list, sort_list, string_list, sync_list, tree_list

    Operators

Inherited from ZMSGlobals.ZMSGlobals: operator_delattr, operator_delitem, operator_getattr, operator_getitem, operator_gettype, operator_setattr, operator_setitem

    Styles / CSS

Inherited from ZMSGlobals.ZMSGlobals: get_colormap, parse_stylesheet

    Regular Expressions

Inherited from ZMSGlobals.ZMSGlobals: re_search, re_sub

Class Variables
  __administratorPermissions__ = 'manage_system',
  __ac_permissions__ = 'ZMS Administrator', __administratorPermi...
  pageelement_TOC = HTMLFile('dtml/ZMSContainerObject/pageelemen...
  main_js = HTMLFile('dtml/ZMSContainerObject/main_js', globals())
  manage_main = HTMLFile('dtml/ZMSContainerObject/manage_main', ...
  manage_main_btn = HTMLFile('dtml/ZMSContainerObject/manage_mai...
  manage_main_change = HTMLFile('dtml/ZMSContainerObject/manage_...
  manage_main_actions = HTMLFile('dtml/ZMSContainerObject/manage...
  manage_search = HTMLFile('dtml/ZMSContainerObject/manage_searc...
  manage_search_attrs = HTMLFile('dtml/ZMSContainerObject/manage...
  manage_properties = HTMLFile('dtml/ZMSObject/manage_main', glo...
  manage_system = HTMLFile('dtml/ZMSContainerObject/manage_syste...
  manage_importexport = HTMLFile('dtml/ZMSContainerObject/manage...
  manage_importexportFtp = HTMLFile('dtml/ZMSContainerObject/man...
  sitemap_layout0 = HTMLFile('dtml/ZMSContainerObject/sitemap/ve...
  sitemap_layout1 = HTMLFile('dtml/ZMSContainerObject/sitemap/ve...
  sitemap_layout2 = HTMLFile('dtml/ZMSContainerObject/sitemap/ve...
  sitemap_layout3 = HTMLFile('dtml/ZMSContainerObject/sitemap/ve...

Inherited from zmsobject.ZMSObject: MISC_ZMS, QUOT, __doc__, active_input_fields, checkout, comlib_js, f_api_html, f_api_top_html, f_bo_area, f_breadcrumbs, f_collectionBtn, f_context, f_css_defaults, f_css_printhtml, f_css_sys, f_display_icon, f_eo_area, f_frame, f_frame_bottom, f_frame_top, f_headline, f_languages, f_open_input_html, f_recordset_grid, f_recordset_init, f_recordset_nav, f_submitBtn, f_submitHrefForm, f_submitInputFields, f_xstandard_browseFiles, f_xstandard_browseImages, formlib_js, getParentNode__roles__, get_conf_blob__roles__, get_logo__roles__, manage_checkout, obj_input_fields, obj_input_js, preview_html, preview_top_html, spacer_gif, styleswitcher_js, version_input_fields, zmilib_js

Inherited from ZMSGlobals.ZMSGlobals: NOREF, NORESOLVEREF, PAGEELEMENTS, PAGES

Method Details

moveObjsToTrashcan(self, ids, REQUEST)

 

Move objects to trashcan.

Parameters:
  • ids (list) - List of object-ids.
Returns: None

manage_eraseObjs(self, lang, ids, REQUEST, RESPONSE=None)

 

Delete a subordinate object physically: The objects specified in 'ids' get deleted.

Parameters:
  • lang - Language-id.
  • ids (string) - List of object-ids.
  • REQUEST (ZPublisher.HTTPRequest) - the triggering request
  • RESPONSE (ZPublisher.HTTPResponse) - the triggering request

manage_undoObjs(self, lang, ids, REQUEST, RESPONSE=None)

 

Undo a subordinate object: The objects specified in 'ids' get undone (changes are rolled-back).

Parameters:
  • lang - Language-id.
  • ids (string) - List of object-ids.
  • REQUEST (ZPublisher.HTTPRequest) - the triggering request
  • RESPONSE (ZPublisher.HTTPResponse) - the triggering request

manage_deleteObjs(self, lang, ids, REQUEST, RESPONSE=None)

 

Delete a subordinate object logically: The objects specified in 'ids' get deleted (moved to trashcan).

Parameters:
  • lang - Language-id.
  • ids (string) - List of object-ids.
  • REQUEST (ZPublisher.HTTPRequest) - the triggering request
  • RESPONSE (ZPublisher.HTTPResponse) - the triggering request

printHtml(self, level, sectionizer, REQUEST, deep=True)

 

Renders print presentation of a container-object.

Overrides: zmsobject.ZMSObject.printHtml

filteredTreeNodes(self, REQUEST, meta_types, order_by=None, order_dir=None, max_len=None, recursive=True)

 

Returns a NodeList that contains all accessible children of this subtree in correct order. If none, this is a empty NodeList.

filteredChildNodes(self, REQUEST={}, meta_types=None)

 

Returns a NodeList that contains all accessible children of this node in correct order. If none, this is a empty NodeList.

getChildNodes(self, REQUEST=None, meta_types=None)

 

Returns a NodeList that contains all children of this node in correct order. If none, this is a empty NodeList.

Overrides: zmsobject.ZMSObject.getChildNodes

Class Variable Details

__ac_permissions__

Value:
'ZMS Administrator', __administratorPermissions__,

pageelement_TOC

Value:
HTMLFile('dtml/ZMSContainerObject/pageelement_toc', globals())

manage_main

Value:
HTMLFile('dtml/ZMSContainerObject/manage_main', globals())

manage_main_btn

Value:
HTMLFile('dtml/ZMSContainerObject/manage_main_btn', globals())

manage_main_change

Value:
HTMLFile('dtml/ZMSContainerObject/manage_main_change', globals())

manage_main_actions

Value:
HTMLFile('dtml/ZMSContainerObject/manage_main_actions', globals())

manage_search

Value:
HTMLFile('dtml/ZMSContainerObject/manage_search', globals())

manage_search_attrs

Value:
HTMLFile('dtml/ZMSContainerObject/manage_search_attrs', globals())

manage_properties

Value:
HTMLFile('dtml/ZMSObject/manage_main', globals())

manage_system

Value:
HTMLFile('dtml/ZMSContainerObject/manage_system', globals())

manage_importexport

Value:
HTMLFile('dtml/ZMSContainerObject/manage_importexport', globals())

manage_importexportFtp

Value:
HTMLFile('dtml/ZMSContainerObject/manage_importexportftp', globals())

sitemap_layout0

Value:
HTMLFile('dtml/ZMSContainerObject/sitemap/version0', globals())

sitemap_layout1

Value:
HTMLFile('dtml/ZMSContainerObject/sitemap/version1', globals())

sitemap_layout2

Value:
HTMLFile('dtml/ZMSContainerObject/sitemap/version2', globals())

sitemap_layout3

Value:
HTMLFile('dtml/ZMSContainerObject/sitemap/version3', globals())