public class TransportObject extends XMLRequest
Constructor and Description |
---|
TransportObject(java.util.Iterator<? extends ITransportable> it)
Creates a new
TransportObject request to place a list of objects
into the transport folder. |
TransportObject(ITransportable transportable)
Creates a new
TransportObject request to place a single
UC4 Object in the transport folder. |
TransportObject(UC4Object obj)
Creates a transport request for the specified object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
check(ITransportable object) |
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 TransportObject(ITransportable transportable)
TransportObject
request to place a single
UC4 Object in the transport folder.transportable
- FolderListItem
or SearchResultItem
public TransportObject(java.util.Iterator<? extends ITransportable> it)
TransportObject
request to place a list of objects
into the transport folder.it
- Iterator containing ITransportable
public TransportObject(UC4Object obj)
obj
- Objectprotected void check(ITransportable object)
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
otherwiseprotected 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