public class FolderTree extends XMLRequest
| Constructor and Description |
|---|
FolderTree() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createRequest(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request,
ConnectionAttributes sessionInfo)
Creates the XML Document for the request.
|
IFolder |
getFavoritesFolder()
Returns an
IFolder object which represents the "Favorites Folder". |
IFolder |
getFolder(java.lang.String path)
Returns the folder for the given path or
null
if the folder was not found. |
IFolder |
getFolderByID(java.lang.String id)
Returns an folder object with the specified ID or
null if not found. |
IFolder |
getNoFolder()
Returns an
IFolder object which represents the "No Folder". |
IFolder |
getRecentObjects()
Returns an
IFolder object which represents the "Recent Objects" folder. |
IFolder |
getRecycleBin()
Returns an
IFolder object which represents the "Recycle Bin" folder. |
protected java.lang.String |
getSrc()
Returns the request source.
|
IFolder |
getTransportFolder()
Returns an
IFolder object which represents the transport case folder. |
IFolder |
getVersionManagement()
Returns an
IFolder object which represents the "Version Management" folder. |
protected void |
handleContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes session) |
protected boolean |
isAllowedInClientZero()
This method is used internally.
|
IFolder |
root()
Returns the root folder of the client.
|
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, send, setMessageBox, showQuarantineNotificationprotected java.lang.String getSrc()
XMLRequestgetSrc in class XMLRequestprotected void createRequest(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request,
ConnectionAttributes sessionInfo)
XMLRequestcreateRequest in class XMLRequestdoc - Document, used to create new Elementsrequest - Request Element - classes append information to this request elementsessionInfo - Information about the sessionprotected void handleContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes session)
handleContent in class XMLRequestpublic IFolder getFolder(java.lang.String path)
null
if the folder was not found.
The folders are separated by forward slashes.
Example:
/FOLDER1/FOLDER2 ... returns FOLDER2. FOLDER1 must be directly under the root folder.path - pathnull if not foundpublic IFolder getTransportFolder()
IFolder object which represents the transport case folder.
The returned instance can be used to list the content of this folder.null if the priviledge is not heldpublic IFolder getRecentObjects()
IFolder object which represents the "Recent Objects" folder.
The returned instance can be used to list the content of this folder.public IFolder getRecycleBin()
IFolder object which represents the "Recycle Bin" folder.
The returned instance can be used to list the content of this folder.null if the priviledge is not heldpublic IFolder getVersionManagement()
IFolder object which represents the "Version Management" folder.
The returned instance can be used to list the content of this folder.null if the priviledge is not heldpublic IFolder getNoFolder()
IFolder object which represents the "No Folder".
The returned instance can be used to list the content of this folder.null if the priviledge is not heldpublic IFolder getFavoritesFolder()
IFolder object which represents the "Favorites Folder".public IFolder root()
public IFolder getFolderByID(java.lang.String id)
null if not found.id - ID of the folderprotected boolean isAllowedInClientZero()
XMLRequestXMLRequest is allowed in client 0.
The default implementation returns false, subclasses may override.isAllowedInClientZero in class XMLRequesttrue if this request is allowed in client 0, false otherwise