public class GetComponentTemplates extends XMLRequest implements java.lang.Iterable<ComponentWorkflowObjectName>
Constructor and Description |
---|
GetComponentTemplates(java.lang.String type)
Creates a new
GetComonentTemplates 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 void |
handleContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes session) |
java.util.Iterator<ComponentWorkflowObjectName> |
iterator() |
int |
size()
Returns the number of templates which where returned by this request.
|
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, isAllowedInClientZero, send, setMessageBox, showQuarantineNotification
public GetComponentTemplates(java.lang.String type)
GetComonentTemplates
request.type
- component or null
to get all component templatesprotected java.lang.String getSrc()
XMLRequest
getSrc
in class XMLRequest
protected 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 void handleContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
handleContent
in class XMLRequest
public int size()
0
if this request has not been sent yetpublic java.util.Iterator<ComponentWorkflowObjectName> iterator()
iterator
in interface java.lang.Iterable<ComponentWorkflowObjectName>