Package com.uc4.communication.requests
Class GenericStatistics
- java.lang.Object
-
- com.uc4.communication.requests.XMLRequest
-
- com.uc4.communication.requests.GenericStatistics
-
public class GenericStatistics extends XMLRequest
Generic Statistics search.
-
-
Constructor Summary
Constructors Constructor Description GenericStatistics()
Constructs aGenericStatistics
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createRequest(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request, ConnectionAttributes sessionInfo)
Creates the XML Document for the request.java.lang.String
getAlias()
Returns a filter for the alias.java.lang.String
getArchiveKey1()
Returns the first archive key.java.lang.String
getArchiveKey2()
Returns the second archive key.int
getClient()
Returns the client number.java.lang.String
getDestinationHost()
Returns the selected destination host.DateTime
getFromDate()
Returns the from date for the selection.java.lang.String
getPeriodDescription()
Returns a filter for the period description.java.lang.String
getRunID()
Returns the selected RunID.java.lang.String
getSourceHost()
Returns the selected source host of a FileTransfer.protected java.lang.String
getSrc()
Returns the request source.java.lang.String
getStatus()
Returns the selected status for tasks.DateTime
getToDate()
Returns the until date for the selection.java.lang.String
getTopRunID()
Returns the selected topRunID.protected void
handleContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
Sub classes extract the values from the XML document and provide public getter methods.protected boolean
isAllowedInClientZero()
This method is used internally.boolean
isArchiveKeyAndRelation()
Returnstrue
if both archive keys must match.boolean
isDateSelectionActivation()
Returnstrue
if activation date selection is used.boolean
isDateSelectionEnd()
Returnstrue
if end date selection is used.boolean
isDateSelectionNone()
Returnstrue
if the date selection is disabled.boolean
isDateSelectionStart()
Returnstrue
if start date selection is used.boolean
isPlatformBS2000()
Returnstrue
if BS2000 Jobs are selected.boolean
isPlatformCIT()
Returnstrue
if Rapid Automation Jobs are selected.boolean
isPlatformGCOS8()
Returnstrue
if GCOS8 Jobs are selected.boolean
isPlatformJMX()
Returnstrue
if JMX Jobs are selected.boolean
isPlatformMAIL()
Returnstrue
if MAIL Jobs are selected.boolean
isPlatformMPE()
Returnstrue
if MPE Jobs are selected.boolean
isPlatformMVS()
Returnstrue
if MVS Jobs are selected.boolean
isPlatformNSK()
Returnstrue
if NSK Jobs are selected.boolean
isPlatformOA()
Returnstrue
if OA Jobs are selected.boolean
isPlatformOS400()
Returnstrue
if OS400 Jobs are selected.boolean
isPlatformPS()
Returnstrue
if PS Jobs are selected.boolean
isPlatformR3()
Returnstrue
if SAP Jobs are selected.boolean
isPlatformSiebel()
Returnstrue
if Siebel Jobs are selected.boolean
isPlatformSQL()
Returnstrue
if SQL Jobs are selected.boolean
isPlatformUNIX()
Returnstrue
if UNIX Jobs are selected.boolean
isPlatformVMS()
Returnstrue
if VMS Jobs are selected.boolean
isPlatformWindows()
Returnstrue
if Windows Jobs are selected.boolean
isTypeAPI()
Returns whether the type API is enabled for the search or not.boolean
isTypeC_HOSTG()
Returns whether the type host group container is enabled for the search or not.boolean
isTypeC_PERIOD()
Returns whether the type period container is enabled for the search or not.boolean
isTypeCALL()
Returns whether the type CALL is enabled for the search or not.boolean
isTypeCLNT()
Returns whether the type CLNT is enabled for the search or not.boolean
isTypeCPIT()
Returns whether the type CPIT is enabled for the search or not.boolean
isTypeEVENT_CHILD()
Returns whether the type EVENT_CHILD is enabled for the search or not.boolean
isTypeEVNT()
Returns whether the type EVENT is enabled for the search or not.boolean
isTypeHOST()
Returns whether the type HOST is enabled for the search or not.boolean
isTypeJOBD()
Returns whether the type JOBD is enabled for the search or not.boolean
isTypeJOBF()
Returns whether the type JOBF is enabled for the search or not.boolean
isTypeJOBG()
Returns whether the type JOBG is enabled for the search or not.boolean
isTypeJOBP()
Returns whether the type JOBP is enabled for the search or not.boolean
isTypeJOBQ()
Returns whether the type JOBQ is enabled for the search or not.boolean
isTypeJOBS()
Returns whether the type JOBS is enabled for the search or not.boolean
isTypeJSCH()
Returns whether the type JSCH is enabled for the search or not.boolean
isTypeREPORT()
Returns whether the type REPORT is enabled for the search or not.boolean
isTypeSCRI()
Returns whether the type SCRI is enabled for the search or not.boolean
isTypeSERV()
Returns whether the type SERV is enabled for the search or not.boolean
isTypeSYNC()
Returns whether the type SYNC is enabled for the search or not.boolean
isTypeUSER()
Returns whether the type USER is enabled for the search or not.java.util.Iterator<StatisticSearchItem>
resultIterator()
Returns an iterator overStatisticSearchItem
.void
selectAllPlatforms()
Select all platforms.void
selectAllTypes()
Selects all object types.void
setAlias(java.lang.String alias)
Sets a filter for alias.void
setArchiveKey1(java.lang.String archiveKey1)
Sets the filter for the first archive key.void
setArchiveKey2(java.lang.String archiveKey2)
Sets the filter for the second archive key.void
setArchiveKeyAndRelation(boolean archiveKeyAndRelation)
Sets the relation of archive keys in the filter.void
setClient(int client)
Sets the client for the statistics search if this request is executed in client zero.void
setDateSelectionActivation()
Selects activation date selection.void
setDateSelectionEnd()
Selects the start date of tasks for date selection.void
setDateSelectionNone()
Disables date selection.void
setDateSelectionStart()
Selects the start date of tasks for date selection.void
setDestinationHost(java.lang.String destinationHost)
Sets the filter for the destination host of a FileTransfer or UC4 Job.void
setFromDate(DateTime fromDate)
Sets the from date for the selection.void
setObjectName(java.lang.String pattern)
Sets a filter for object names.void
setPeriodDescription(java.lang.String periodDescription)
Sets a filter for a period description.void
setPlatformBS2000(boolean platformBS2000)
Select BS2000 Jobs if the parameterplatformBS2000
istrue
.void
setPlatformCIT(boolean platformCIT)
Select Rapid Automation Jobs if the parameterplatformCIT
istrue
.void
setPlatformGCOS8(boolean platformGCOS8)
Select GCOS8 Jobs if the parameterplatformGCOS8
istrue
.void
setPlatformJMX(boolean platformJMX)
Select JMX Jobs if the parameterplatformJMX
istrue
.void
setPlatformMAIL(boolean platformMAIL)
Select MAIL Jobs if the parameterplatformMAIL
istrue
.void
setPlatformMPE(boolean platformMPE)
Select MPE Jobs if the parameterplatformMPE
istrue
.void
setPlatformMVS(boolean platformMVS)
Select VMS Jobs if the parameterplatformMVS
istrue
.void
setPlatformNSK(boolean platformNSK)
Select NSK Jobs if the parameterplatformNSK
istrue
.void
setPlatformOA(boolean platformOA)
Select OA Jobs if the parameterplatformOA
istrue
.void
setPlatformOS400(boolean platformOS400)
Select OS400 Jobs if the parameterplatformOS400
istrue
.void
setPlatformPS(boolean platformPS)
Select PS Jobs if the parameterplatformPS
istrue
.void
setPlatformR3(boolean platformR3)
Select SAP Jobs if the parameterplatformR3
istrue
.void
setPlatformSiebel(boolean platformSiebel)
Select Siebel Jobs if the parameterplatformSiebel
istrue
.void
setPlatformSQL(boolean platformSQL)
Select SQL Jobs if the parameterplatformSQL
istrue
.void
setPlatformUNIX(boolean platformUNIX)
Select UNIX Jobs if the parameterplatformUNIX
istrue
.void
setPlatformVMS(boolean platformVMS)
Select VMS Jobs if the parameterplatformVMS
istrue
.void
setPlatformWindows(boolean platformWindows)
Select Windows Jobs if the parameterplatformWindows
istrue
.void
setQueue(java.lang.String queue)
Sets the filter for a Queue.void
setRunID(java.lang.String runID)
Sets the filter for the RunID.void
setSourceHost(java.lang.String sourceHost)
Sets the source host of a FileTransfer.void
setStatus(java.lang.String status)
Sets a filter on the task status.void
setToDate(DateTime toDate)
Sets the end date of the selection.void
setTopRunID(java.lang.String topRunID)
Sets the filter for the topRunID.void
setTypeAPI(boolean typeAPI)
Enables or disables the type API.void
setTypeC_HOSTG(boolean typeC_HOSTG)
Enables or disables the type host group container.void
setTypeC_PERIOD(boolean typeC_PERIOD)
Enables or disables the type period container.void
setTypeCALL(boolean typeCALL)
Enables or disables the type CALL.void
setTypeCLNT(boolean typeCLNT)
Enables or disables the type CLNT.void
setTypeCPIT(boolean typeCPIT)
Enables or disables the type CPIT.void
setTypeEVENT_CHILD(boolean typeEVENT_CHILD)
Enables or disables the type EVENT_CHILD.void
setTypeEVNT(boolean typeEVNT)
Enables or disables the type EVENT.void
setTypeHOST(boolean typeHOST)
Enables or disables the type HOST.void
setTypeJOBD(boolean typeJOBD)
Enables or disables the type JOBD.void
setTypeJOBF(boolean typeJOBF)
Enables or disables the type JOBF.void
setTypeJOBG(boolean typeJOBG)
Enables or disables the type JOBG.void
setTypeJOBP(boolean typeJOBP)
Enables or disables the type JOBP.void
setTypeJOBQ(boolean typeJOBQ)
Enables or disables the type JOBQ.void
setTypeJOBS(boolean typeJOBS)
Enables or disables the type JOBS.void
setTypeJSCH(boolean typeJSCH)
Enables or disables the type JSCH.void
setTypeREPORT(boolean typeREPORT)
Enables or disables the type REPORT.void
setTypeSCRI(boolean typeSCRI)
Enables or disables the type SCRI.void
setTypeSERV(boolean typeSERV)
Enables or disables the type SERV.void
setTypeSYNC(boolean typeSYNC)
Enables or disables the type SYNC.void
setTypeUSER(boolean typeUSER)
Enables or disables the type USER.int
size()
Returns the number of items in the result.void
unselectAllPlatforms()
Unselect all platforms.void
unselectAllTypes()
Unselects all object types.-
Methods inherited from class com.uc4.communication.requests.XMLRequest
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, send, setMessageBox, showQuarantineNotification
-
-
-
-
Constructor Detail
-
GenericStatistics
public GenericStatistics()
Constructs aGenericStatistics
. This class can be used to get information about already executed tasks. No object types are selected by default. The date selection is set to none and no specific status is selected. The object name filter is set to * which means all objects. Archive keys and hosts are also set to *. For archive keys an AND relation is choosen as default.
-
-
Method Detail
-
getDestinationHost
public java.lang.String getDestinationHost()
Returns the selected destination host.- Returns:
- String containing a pattern for the selected destination host of a file transfer or UC4 Job
-
setDestinationHost
public void setDestinationHost(java.lang.String destinationHost)
Sets the filter for the destination host of a FileTransfer or UC4 Job. The wildcard characters "*" and "?" can also be used. The tasks of all active hosts are displayed with the default value "*" Only hosts where the pattern matches are returned the result of this search.- Parameters:
destinationHost
- Pattern conaining the destination host of a FileTransfer or UC4 Job
-
getRunID
public java.lang.String getRunID()
Returns the selected RunID.- Returns:
- String containing the selected RunID
-
setRunID
public void setRunID(java.lang.String runID)
Sets the filter for the RunID. With the function for saving jobs and job reports in the file system being activated, the corresponding file names are then composed of a 7-figure string (letters). In this case, you may also search for this string instead of the RunID (see also RUNNR2ALPHA)- Parameters:
runID
- String containing the filter for a specific RunID
-
getTopRunID
public java.lang.String getTopRunID()
Returns the selected topRunID.- Returns:
- String containing the selected topRunID
-
setTopRunID
public void setTopRunID(java.lang.String topRunID)
Sets the filter for the topRunID. With the function for saving jobs and job reports in the file system being activated, the corresponding file names are then composed of a 7-figure string (letters). In this case, you may also search for this string instead of the RunID (see also RUNNR2ALPHA)- Parameters:
topRunID
- String containing the filter for a specific topRunID
-
setClient
public void setClient(int client)
Sets the client for the statistics search if this request is executed in client zero. To search in all client use-1
. If this request is not executed in client zero this property is ignored.- Parameters:
client
- Client
-
getClient
public int getClient()
Returns the client number.- Returns:
- Client number or
-1
for all clients
-
getSourceHost
public java.lang.String getSourceHost()
Returns the selected source host of a FileTransfer.- Returns:
- Pattern for the source host of a FileTransfer
-
setSourceHost
public void setSourceHost(java.lang.String sourceHost)
Sets the source host of a FileTransfer. Wildcards are supported. Only hosts where the specified pattern matches the source host are returned.- Parameters:
sourceHost
- Pattern for source host in a FileTransfer
-
isArchiveKeyAndRelation
public boolean isArchiveKeyAndRelation()
Returnstrue
if both archive keys must match.- Returns:
- Boolean indicating the relation of archive keys
-
setArchiveKeyAndRelation
public void setArchiveKeyAndRelation(boolean archiveKeyAndRelation)
Sets the relation of archive keys in the filter. ifarchiveKeyAndRelation
is set totrue
only tasks are returned where both archive keys match. IfarchiveKeyAndRelation
only one archive key must match.- Parameters:
archiveKeyAndRelation
- Boolean containing the archive key relation
-
getArchiveKey1
public java.lang.String getArchiveKey1()
Returns the first archive key.- Returns:
- String containing archive key 1
-
setArchiveKey1
public void setArchiveKey1(java.lang.String archiveKey1)
Sets the filter for the first archive key. The wildcard characters "*" and "?" are supported. "?" refers to exactly one, "*" to any characters.- Parameters:
archiveKey1
- String containing the first archive key
-
getArchiveKey2
public java.lang.String getArchiveKey2()
Returns the second archive key.- Returns:
- String containing the second archive key
-
setArchiveKey2
public void setArchiveKey2(java.lang.String archiveKey2)
Sets the filter for the second archive key. The wildcard characters "*" and "?" are supported. "?" refers to exactly one, "*" to any characters.- Parameters:
archiveKey2
- String containing the second archive key
-
getStatus
public java.lang.String getStatus()
Returns the selected status for tasks.- Returns:
- String containing the selected status
-
setStatus
public void setStatus(java.lang.String status)
Sets a filter on the task status.Example
1900 ... returns tasks with status ENDED_OK 1850,1851 ... returns tasks with a canceled status 1800-1899 ... returns disrupted tasks
See the chapter "System Return Codes of Executable Objects" in the UC4 documentation for more information.- Parameters:
status
- Status
-
setObjectName
public void setObjectName(java.lang.String pattern)
Sets a filter for object names. All objects are returned by default when the wildcard character "*" is used. Use "*" and "?" to specify the filter. "*" refers to any, "?" to exactly one character.- Parameters:
pattern
- Pattern containing a filter for the object name
-
getAlias
public java.lang.String getAlias()
Returns a filter for the alias.- Returns:
- Pattern containing a filter for the alias
-
setAlias
public void setAlias(java.lang.String alias)
Sets a filter for alias. All objects are returned by default when the wildcard character "*" is used. Use "*" and "?" to specify the filter. "*" refers to any, "?" to exactly one character.- Parameters:
alias
- Pattern containing a filter for the alias
-
getPeriodDescription
public java.lang.String getPeriodDescription()
Returns a filter for the period description.- Returns:
- Pattern containing a filter for the period description
-
setPeriodDescription
public void setPeriodDescription(java.lang.String periodDescription)
Sets a filter for a period description. All objects are returned by default when the wildcard character "*" is used. Use "*" and "?" to specify the filter. "*" refers to any, "?" to exactly one character.- Parameters:
periodDescription
- Pattern containing a filter for the period description
-
getFromDate
public DateTime getFromDate()
Returns the from date for the selection.- Returns:
- Date when the selection starts
-
setFromDate
public void setFromDate(DateTime fromDate)
Sets the from date for the selection.- Parameters:
fromDate
- Date when the selection starts
-
getToDate
public DateTime getToDate()
Returns the until date for the selection.- Returns:
- Date where the selection ends
-
setToDate
public void setToDate(DateTime toDate)
Sets the end date of the selection.- Parameters:
toDate
- Date where the selection ends
-
selectAllTypes
public void selectAllTypes()
Selects all object types.
-
unselectAllTypes
public void unselectAllTypes()
Unselects all object types.
-
isTypeAPI
public boolean isTypeAPI()
Returns whether the type API is enabled for the search or not.- Returns:
- Boolean containing
true
if the type API is enabled
-
isTypeJOBQ
public boolean isTypeJOBQ()
Returns whether the type JOBQ is enabled for the search or not.- Returns:
- Boolean containing
true
if the type JOBQ is enabled
-
setTypeJOBQ
public void setTypeJOBQ(boolean typeJOBQ)
Enables or disables the type JOBQ.- Parameters:
typeJOBQ
- Boolean which is set totrue
if JOBQ items should be returned.
-
setTypeAPI
public void setTypeAPI(boolean typeAPI)
Enables or disables the type API.- Parameters:
typeAPI
- Boolean which is set totrue
if API items should be returned.
-
isTypeCALL
public boolean isTypeCALL()
Returns whether the type CALL is enabled for the search or not.- Returns:
- Boolean containing
true
if the type CALL is enabled
-
isTypeC_PERIOD
public boolean isTypeC_PERIOD()
Returns whether the type period container is enabled for the search or not.- Returns:
- Boolean containing
true
if the type period container is enabled
-
setTypeC_PERIOD
public void setTypeC_PERIOD(boolean typeC_PERIOD)
Enables or disables the type period container.- Parameters:
typeC_PERIOD
- Boolean which is set totrue
if period container items should be returned.
-
isTypeC_HOSTG
public boolean isTypeC_HOSTG()
Returns whether the type host group container is enabled for the search or not.- Returns:
- Boolean containing
true
if the type host group container is enabled
-
setTypeC_HOSTG
public void setTypeC_HOSTG(boolean typeC_HOSTG)
Enables or disables the type host group container.- Parameters:
typeC_HOSTG
- Boolean which is set totrue
if host group container items should be returned.
-
setTypeCALL
public void setTypeCALL(boolean typeCALL)
Enables or disables the type CALL.- Parameters:
typeCALL
- Boolean which is set totrue
if CALL items should be returned.
-
isTypeCLNT
public boolean isTypeCLNT()
Returns whether the type CLNT is enabled for the search or not.- Returns:
- Boolean containing
true
if the type CLNT is enabled
-
setTypeCLNT
public void setTypeCLNT(boolean typeCLNT)
Enables or disables the type CLNT.- Parameters:
typeCLNT
- Boolean which is set totrue
if CLNT items should be returned
-
isTypeCPIT
public boolean isTypeCPIT()
Returns whether the type CPIT is enabled for the search or not.- Returns:
- Boolean containing
true
if the type CPIT is enabled
-
setTypeCPIT
public void setTypeCPIT(boolean typeCPIT)
Enables or disables the type CPIT.- Parameters:
typeCPIT
- Boolean which is set totrue
if CPIT items should be returned
-
isTypeEVENT_CHILD
public boolean isTypeEVENT_CHILD()
Returns whether the type EVENT_CHILD is enabled for the search or not.- Returns:
- Boolean containing
true
if the type EVENT_CHILD is enabled
-
setTypeEVENT_CHILD
public void setTypeEVENT_CHILD(boolean typeEVENT_CHILD)
Enables or disables the type EVENT_CHILD.- Parameters:
typeEVENT_CHILD
- Boolean containingtrue
if the type EVENT_CHILD is enabled
-
isTypeEVNT
public boolean isTypeEVNT()
Returns whether the type EVENT is enabled for the search or not.- Returns:
- Boolean containing
true
if the type EVENT is enabled
-
setTypeEVNT
public void setTypeEVNT(boolean typeEVNT)
Enables or disables the type EVENT.- Parameters:
typeEVNT
- Boolean containingtrue
if the type EVENT is enabled
-
isTypeHOST
public boolean isTypeHOST()
Returns whether the type HOST is enabled for the search or not.- Returns:
- Boolean containing
true
if the type HOST is enabled
-
setTypeHOST
public void setTypeHOST(boolean typeHOST)
Enables or disables the type HOST.- Parameters:
typeHOST
- Boolean containingtrue
if the type HOST is enabled
-
isTypeJOBD
public boolean isTypeJOBD()
Returns whether the type JOBD is enabled for the search or not.- Returns:
- Boolean containing
true
if the type JOBD is enabled
-
setTypeJOBD
public void setTypeJOBD(boolean typeJOBD)
Enables or disables the type JOBD.- Parameters:
typeJOBD
- Boolean containingtrue
if the type JOBD is enabled
-
isTypeJOBF
public boolean isTypeJOBF()
Returns whether the type JOBF is enabled for the search or not.- Returns:
- Boolean containing
true
if the type JOBF is enabled
-
setTypeJOBF
public void setTypeJOBF(boolean typeJOBF)
Enables or disables the type JOBF.- Parameters:
typeJOBF
- Boolean containingtrue
if the type JOBF is enabled
-
isTypeJOBG
public boolean isTypeJOBG()
Returns whether the type JOBG is enabled for the search or not.- Returns:
- Boolean containing
true
if the type JOBG is enabled
-
setTypeJOBG
public void setTypeJOBG(boolean typeJOBG)
Enables or disables the type JOBG.- Parameters:
typeJOBG
- Boolean containingtrue
if the type JOBG is enabled
-
isTypeJOBP
public boolean isTypeJOBP()
Returns whether the type JOBP is enabled for the search or not.- Returns:
- Boolean containing
true
if the type JOBP is enabled
-
setTypeJOBP
public void setTypeJOBP(boolean typeJOBP)
Enables or disables the type JOBP.- Parameters:
typeJOBP
- Boolean containingtrue
if the type JOBP is enabled
-
isTypeJOBS
public boolean isTypeJOBS()
Returns whether the type JOBS is enabled for the search or not.- Returns:
- Boolean containing
true
if the type JOBS is enabled
-
setTypeJOBS
public void setTypeJOBS(boolean typeJOBS)
Enables or disables the type JOBS.- Parameters:
typeJOBS
- Boolean containingtrue
if the type JOBS is enabled
-
isTypeJSCH
public boolean isTypeJSCH()
Returns whether the type JSCH is enabled for the search or not.- Returns:
- Boolean containing
true
if the type JSCH is enabled
-
setTypeJSCH
public void setTypeJSCH(boolean typeJSCH)
Enables or disables the type JSCH.- Parameters:
typeJSCH
- Boolean containingtrue
if the type JSCH is enabled
-
isTypeREPORT
public boolean isTypeREPORT()
Returns whether the type REPORT is enabled for the search or not.- Returns:
- Boolean containing
true
if the type REPORT is enabled
-
setTypeREPORT
public void setTypeREPORT(boolean typeREPORT)
Enables or disables the type REPORT.- Parameters:
typeREPORT
- Boolean containingtrue
if the type REPORT is enabled
-
isTypeSCRI
public boolean isTypeSCRI()
Returns whether the type SCRI is enabled for the search or not.- Returns:
- Boolean containing
true
if the type SCRI is enabled
-
setTypeSCRI
public void setTypeSCRI(boolean typeSCRI)
Enables or disables the type SCRI.- Parameters:
typeSCRI
- Boolean containingtrue
if the type SCRI is enabled
-
isTypeSERV
public boolean isTypeSERV()
Returns whether the type SERV is enabled for the search or not.- Returns:
- Boolean containing
true
if the type SERV is enabled
-
setTypeSERV
public void setTypeSERV(boolean typeSERV)
Enables or disables the type SERV.- Parameters:
typeSERV
- Boolean containingtrue
if the type SERV is enabled
-
isTypeSYNC
public boolean isTypeSYNC()
Returns whether the type SYNC is enabled for the search or not.- Returns:
- Boolean containing
true
if the type SYNC is enabled
-
setTypeSYNC
public void setTypeSYNC(boolean typeSYNC)
Enables or disables the type SYNC.- Parameters:
typeSYNC
- Boolean containingtrue
if the type SYNC is enabled
-
isTypeUSER
public boolean isTypeUSER()
Returns whether the type USER is enabled for the search or not.- Returns:
- Boolean containing
true
if the type USER is enabled
-
setTypeUSER
public void setTypeUSER(boolean typeUSER)
Enables or disables the type USER.- Parameters:
typeUSER
- Boolean containingtrue
if the type USER is enabled
-
setDateSelectionNone
public void setDateSelectionNone()
Disables date selection. The date period is not used to select tasks.
-
isDateSelectionNone
public boolean isDateSelectionNone()
Returnstrue
if the date selection is disabled.- Returns:
- Boolean value indicating if the date selection is disabled
-
setDateSelectionActivation
public void setDateSelectionActivation()
Selects activation date selection. The specified date period is checked against the activation date of tasks.
-
isDateSelectionActivation
public boolean isDateSelectionActivation()
Returnstrue
if activation date selection is used.- Returns:
- Boolean value indicating a date selection on the activation date of tasks is enabled
-
setDateSelectionStart
public void setDateSelectionStart()
Selects the start date of tasks for date selection. The specified date period is checked against the start date of tasks.
-
isDateSelectionStart
public boolean isDateSelectionStart()
Returnstrue
if start date selection is used.- Returns:
- Boolean value indicating a date selection on the start date of tasks is enabled
-
setDateSelectionEnd
public void setDateSelectionEnd()
Selects the start date of tasks for date selection. The specified date period is checked against the end date of tasks.
-
isDateSelectionEnd
public boolean isDateSelectionEnd()
Returnstrue
if end date selection is used.- Returns:
- Boolean value indicating a date selection on the end date of tasks is enabled
-
getSrc
protected java.lang.String getSrc()
Description copied from class:XMLRequest
Returns the request source. This method is used internally.- Specified by:
getSrc
in classXMLRequest
- Returns:
- Source
-
setQueue
public void setQueue(java.lang.String queue)
Sets the filter for a Queue.- Parameters:
queue
- Name of the Queue or * to ignore the Queue
-
createRequest
protected void createRequest(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request, ConnectionAttributes sessionInfo)
Description copied from class:XMLRequest
Creates the XML Document for the request. This method is used internally.- Specified by:
createRequest
in classXMLRequest
- Parameters:
doc
- Document, used to create new Elementsrequest
- Request Element - classes append information to this request elementsessionInfo
- Information about the session
-
handleContent
protected void handleContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
Description copied from class:XMLRequest
Sub classes extract the values from the XML document and provide public getter methods.- Overrides:
handleContent
in classXMLRequest
- Parameters:
doc
- XML Documentsession
- Info about the user session
-
resultIterator
public java.util.Iterator<StatisticSearchItem> resultIterator()
Returns an iterator overStatisticSearchItem
.- Returns:
- iterator over
StatisticSearchItem
ornull
if this request does not contain a search result
-
size
public int size()
Returns the number of items in the result.- Returns:
- Number of
StatisticSearchItem
items
-
isAllowedInClientZero
protected boolean isAllowedInClientZero()
Description copied from class:XMLRequest
This method is used internally. Tests if thisXMLRequest
is allowed in client 0. The default implementation returnsfalse
, subclasses may override.- Overrides:
isAllowedInClientZero
in classXMLRequest
- Returns:
true
if this request is allowed in client 0,false
otherwise
-
selectAllPlatforms
public void selectAllPlatforms()
Select all platforms.
-
unselectAllPlatforms
public void unselectAllPlatforms()
Unselect all platforms.
-
isPlatformBS2000
public boolean isPlatformBS2000()
Returnstrue
if BS2000 Jobs are selected.- Returns:
- BS2000 Job selection
-
setPlatformBS2000
public void setPlatformBS2000(boolean platformBS2000)
Select BS2000 Jobs if the parameterplatformBS2000
istrue
.- Parameters:
platformBS2000
- BS2000 Jobs selection
-
isPlatformCIT
public boolean isPlatformCIT()
Returnstrue
if Rapid Automation Jobs are selected.- Returns:
- Rapid Automation Job selection
-
setPlatformCIT
public void setPlatformCIT(boolean platformCIT)
Select Rapid Automation Jobs if the parameterplatformCIT
istrue
.- Parameters:
platformCIT
- Rapid Automation Job selection
-
isPlatformGCOS8
public boolean isPlatformGCOS8()
Returnstrue
if GCOS8 Jobs are selected.- Returns:
- GCOS8 Job selection
-
setPlatformGCOS8
public void setPlatformGCOS8(boolean platformGCOS8)
Select GCOS8 Jobs if the parameterplatformGCOS8
istrue
.- Parameters:
platformGCOS8
- GCOS8 Job selection
-
isPlatformJMX
public boolean isPlatformJMX()
Returnstrue
if JMX Jobs are selected.- Returns:
- JMX Job selection
-
setPlatformJMX
public void setPlatformJMX(boolean platformJMX)
Select JMX Jobs if the parameterplatformJMX
istrue
.- Parameters:
platformJMX
- JMX Job selection
-
isPlatformMAIL
public boolean isPlatformMAIL()
Returnstrue
if MAIL Jobs are selected.- Returns:
- MAIL Job selection
-
setPlatformMAIL
public void setPlatformMAIL(boolean platformMAIL)
Select MAIL Jobs if the parameterplatformMAIL
istrue
.- Parameters:
platformMAIL
- MAIL Job selection
-
isPlatformMPE
public boolean isPlatformMPE()
Returnstrue
if MPE Jobs are selected.- Returns:
- MPE Job selection
-
setPlatformMPE
public void setPlatformMPE(boolean platformMPE)
Select MPE Jobs if the parameterplatformMPE
istrue
.- Parameters:
platformMPE
- MPE Job selection
-
isPlatformMVS
public boolean isPlatformMVS()
Returnstrue
if MVS Jobs are selected.- Returns:
- MVS Job selection
-
setPlatformMVS
public void setPlatformMVS(boolean platformMVS)
Select VMS Jobs if the parameterplatformMVS
istrue
.- Parameters:
platformMVS
- VMS Job selection
-
isPlatformNSK
public boolean isPlatformNSK()
Returnstrue
if NSK Jobs are selected.- Returns:
- NSK Job selection
-
setPlatformNSK
public void setPlatformNSK(boolean platformNSK)
Select NSK Jobs if the parameterplatformNSK
istrue
.- Parameters:
platformNSK
- NSK Job selection
-
isPlatformOA
public boolean isPlatformOA()
Returnstrue
if OA Jobs are selected.- Returns:
- OA Job selection
-
setPlatformOA
public void setPlatformOA(boolean platformOA)
Select OA Jobs if the parameterplatformOA
istrue
.- Parameters:
platformOA
- OA Job selection
-
isPlatformOS400
public boolean isPlatformOS400()
Returnstrue
if OS400 Jobs are selected.- Returns:
- OS400 Job selection
-
setPlatformOS400
public void setPlatformOS400(boolean platformOS400)
Select OS400 Jobs if the parameterplatformOS400
istrue
.- Parameters:
platformOS400
- OS400 Job selection
-
isPlatformPS
public boolean isPlatformPS()
Returnstrue
if PS Jobs are selected.- Returns:
- PS Job selection
-
setPlatformPS
public void setPlatformPS(boolean platformPS)
Select PS Jobs if the parameterplatformPS
istrue
.- Parameters:
platformPS
- PS Job selection
-
isPlatformR3
public boolean isPlatformR3()
Returnstrue
if SAP Jobs are selected.- Returns:
- SAP Job selection
-
setPlatformR3
public void setPlatformR3(boolean platformR3)
Select SAP Jobs if the parameterplatformR3
istrue
.- Parameters:
platformR3
- SAP Job selection
-
isPlatformSiebel
public boolean isPlatformSiebel()
Returnstrue
if Siebel Jobs are selected.- Returns:
- Siebel Job selection
-
setPlatformSiebel
public void setPlatformSiebel(boolean platformSiebel)
Select Siebel Jobs if the parameterplatformSiebel
istrue
.- Parameters:
platformSiebel
- Siebel Job selection
-
isPlatformSQL
public boolean isPlatformSQL()
Returnstrue
if SQL Jobs are selected.- Returns:
- SQL Job selection
-
setPlatformSQL
public void setPlatformSQL(boolean platformSQL)
Select SQL Jobs if the parameterplatformSQL
istrue
.- Parameters:
platformSQL
- SQL Job selection
-
isPlatformUNIX
public boolean isPlatformUNIX()
Returnstrue
if UNIX Jobs are selected.- Returns:
- UNIX Job selection
-
setPlatformUNIX
public void setPlatformUNIX(boolean platformUNIX)
Select UNIX Jobs if the parameterplatformUNIX
istrue
.- Parameters:
platformUNIX
- UNIX Job selection
-
isPlatformVMS
public boolean isPlatformVMS()
Returnstrue
if VMS Jobs are selected.- Returns:
- VMS Job selection
-
setPlatformVMS
public void setPlatformVMS(boolean platformVMS)
Select VMS Jobs if the parameterplatformVMS
istrue
.- Parameters:
platformVMS
- VMS Job selection
-
isPlatformWindows
public boolean isPlatformWindows()
Returnstrue
if Windows Jobs are selected.- Returns:
- Windows Job selection
-
setPlatformWindows
public void setPlatformWindows(boolean platformWindows)
Select Windows Jobs if the parameterplatformWindows
istrue
.- Parameters:
platformWindows
- Windows Job selection
-
-