public class MoveUserToClient extends XMLRequest
Constructor and Description |
---|
MoveUserToClient(java.util.List<UC4UserName> users,
java.util.List<IFolder> folderList,
int client)
Creates a new instance of the
MoveUserToClient request. |
MoveUserToClient(UC4UserName user,
IFolder folder,
int client)
Creates a new instance of the
MoveUserToClient request. |
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, showQuarantineNotification
public MoveUserToClient(UC4UserName user, IFolder folder, int client)
MoveUserToClient
request.user
- User namefolder
- Folder in which the USER object existsclient
- Destination clientpublic MoveUserToClient(java.util.List<UC4UserName> users, java.util.List<IFolder> folderList, int client)
MoveUserToClient
request.users
- list of users selectedfolderList
- List of folders in which the USER objects existclient
- Destination clientprotected void createRequest(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request, ConnectionAttributes sessionInfo)
XMLRequest
createRequest
in class XMLRequest
doc
- Document, used to create new Elementsrequest
- Request Element - classes append information to this request elementsessionInfo
- Information about the sessionprotected java.lang.String getSrc()
XMLRequest
getSrc
in class XMLRequest
protected boolean isAllowedInClientZero()
XMLRequest
XMLRequest
is allowed in client 0.
The default implementation returns false
, subclasses may override.isAllowedInClientZero
in class XMLRequest
true
if this request is allowed in client 0, false
otherwise