Module that supports simple item operations.
|
refresh(path,
stateOnly=False)
Resets the state of the item so that its information is reloaded when
accessed. |
|
|
|
|
|
|
|
|
|
_createItem(cwr,
item,
properties=None)
Creates the given item object. |
|
|
tuple , unicode unicode
|
|
|
delete(path)
Deletes the item. |
|
|
|
copy(sourcePath,
targetPath)
Copies an item. |
|
|
|
move(sourcePath,
targetPath)
Moves an item. |
|
|
|
_getItemHelper(sourcePath,
targetPath)
Helper which fetches an item and an empty targetItem. |
|
|
|
retrieveData(path)
Receives the data associated with this item. |
|
|
|
storeData(path,
fileObject)
Stores the data that has to be associated with this item. |
|
|
list of unicode
|
search(path,
restrictions)
Search the given item path. |
|
|
|
createArchive(path,
targetPath,
defaultProperties=None)
Archives the given path. |
|
|
|
performImport(sourcePath,
targetParentPath,
targetRepository,
defaultProperties=None,
copyData=True,
ignoreLinks=False,
determinePropertiesCallback=None)
This method initiates the copy process and starts walking the source
creating a new node in the destination tree for each item it passes. |
|
|
|
_createDeterminePropertiesCallback(baseFunction,
cwr)
Adds parameter conversion to the original callback function. |
|
|
|
_mapProperties(reqPropDefs,
properties,
cwr)
Converts the given properties. |
|
|
|
|
ItemDescription
|
itemDescription(path)
Returns the item description for the given item path. |
|
|
|
getChildren(path)
Determines the children of the given item. |
|
|
|
registerListener(event,
observer)
Register for an item event |
|
|
|
_getEvent(identifier)
Maps different event identifiers to the corresponding Events |
|
|