public class DeleteObject extends XMLRequest
| Constructor and Description |
|---|
DeleteObject(IFolder folder)
This constructor is used to delete FOLD objects in UC4.
|
DeleteObject(IFolder[] folders)
This constructor is used to delete multiple FOLD objects in AE.
|
DeleteObject(java.lang.String[] userIds)
Delete all the objects with the matching ids.
|
DeleteObject(UC4ObjectName objectName)
Deletes the specified object.
|
DeleteObject(UC4ObjectName[] names)
Deletes UC4 Objects with the specified names.
|
DeleteObject(UC4ObjectName[] names,
IFolder[] folders)
This constructor is used to delete multiple FOLD and UC4Object objects in AE.
|
DeleteObject(UC4ObjectName objectName,
IFolder folder)
Constructs a
DeleteObject using the specified UC4 object name. |
DeleteObject(UserListItem user)
Constructs a
DeleteObject to remove a user based on the user list in the system overview. |
DeleteObject(UserListItem[] users)
Constructs a
DeleteObject to remove multiple users. |
| 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.
|
protected java.lang.String |
getSrc()
Returns the request source.
|
protected boolean |
isAllowedInClientZero()
This method is used internally.
|
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleContent, handleResponse, ignoreMessageBox, send, setMessageBox, showQuarantineNotificationpublic DeleteObject(UC4ObjectName objectName, IFolder folder)
DeleteObject using the specified UC4 object name.objectName - Name of the UC4 Objectfolder - Folderpublic DeleteObject(UserListItem user)
DeleteObject to remove a user based on the user list in the system overview.user - User in the system overviewpublic DeleteObject(UserListItem[] users)
DeleteObject to remove multiple users.users - Users which should be deletedpublic DeleteObject(java.lang.String[] userIds)
userIds - Ids of the objects to be removed.public DeleteObject(UC4ObjectName[] names)
names - Array of namespublic DeleteObject(UC4ObjectName objectName)
objectName - Name of the UC4 Objectpublic DeleteObject(IFolder folder)
DeleteObject(UC4ObjectName objectName, IFolder folder)
because a folder name is not unique in an UC4 client.
For example a folder can contain a folder with the same name as sub folder.folder - Folder which should be deletedpublic DeleteObject(IFolder[] folders)
folders - Array of Folder which should be deleted.public DeleteObject(UC4ObjectName[] names, IFolder[] folders)
names - Array of Names which should to be deletedfolders - Array of Folder which should be deletedprotected 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 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