public class QueryAutoforecast extends XMLRequest implements java.lang.Iterable<AutoForecastItem>
Constructor and Description |
---|
QueryAutoforecast(AutoForecastRange range)
Creates a
QueryAutoforecast object and sets the same
default values for the query as seen in the GUI. |
Modifier and Type | Method and Description |
---|---|
void |
deselectAllObjectTypes()
Deselect all object types.
|
DateTime |
getDateFrom() |
DateTime |
getDateTo() |
java.lang.String |
getHost() |
java.lang.String |
getLogin() |
java.lang.String |
getName() |
java.lang.String |
getSourceHost() |
java.lang.String |
getSourceLogin() |
boolean |
isPlatformBS2000()
Returns
true if BS2000 Jobs are selected. |
boolean |
isPlatformCIT()
Returns
true if Rapid Automation Jobs are selected. |
boolean |
isPlatformGCOS8()
Returns
true if GCOS8 Jobs are selected. |
boolean |
isPlatformJMX()
Returns
true if JMX Jobs are selected. |
boolean |
isPlatformMAIL()
Returns
true if MAIL Jobs are selected. |
boolean |
isPlatformMPE()
Returns
true if MPE Jobs are selected. |
boolean |
isPlatformMVS()
Returns
true if MVS Jobs are selected. |
boolean |
isPlatformNSK()
Returns
true if NSK Jobs are selected. |
boolean |
isPlatformOA()
Returns
true if OA Jobs are selected. |
boolean |
isPlatformOS400()
Returns
true if OS400 Jobs are selected. |
boolean |
isPlatformPS()
Returns
true if PS Jobs are selected. |
boolean |
isPlatformR3()
Returns
true if SAP Jobs are selected. |
boolean |
isPlatformSiebel()
Returns
true if Siebel Jobs are selected. |
boolean |
isPlatformSQL()
Returns
true if SQL Jobs are selected. |
boolean |
isPlatformUNIX()
Returns
true if UNIX Jobs are selected. |
boolean |
isPlatformVMS()
Returns
true if VMS Jobs are selected. |
boolean |
isPlatformWindows()
Returns
true if Windows Jobs are selected. |
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 |
isTypeEVNT()
Returns whether the type EVENT 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 |
isTypeSCRI()
Returns whether the type SCRI is enabled for the search or not.
|
java.util.Iterator<AutoForecastItem> |
iterator()
Returns an
java.util.Iterator that can be used to read
each row in the returned list. |
void |
selectAllObjectTypes()
Select all object types.
|
void |
selectAllPlatforms()
Select all platforms.
|
void |
setDateFrom(DateTime dateFrom)
Sets the start date and time for the selection.
|
void |
setDateTo(DateTime dateTo)
Sets the end date and time for the selection.
|
void |
setHost(java.lang.String host)
Sets the filter for Agent names.
|
void |
setLogin(java.lang.String login)
Sets the filter for Login.
|
void |
setName(java.lang.String name)
Sets a filter on the Name of the UC4 Object.
|
void |
setPlatformBS2000(boolean platformBS2000)
Select BS2000 Jobs if the parameter
platformBS2000 is true . |
void |
setPlatformCIT(boolean platformCIT)
Select Rapid Automation Jobs if the parameter
platformCIT is true . |
void |
setPlatformGCOS8(boolean platformGCOS8)
Select GCOS8 Jobs if the parameter
platformGCOS8 is true . |
void |
setPlatformJMX(boolean platformJMX)
Select JMX Jobs if the parameter
platformJMX is true . |
void |
setPlatformMAIL(boolean platformMAIL)
Select MAIL Jobs if the parameter
platformMAIL is true . |
void |
setPlatformMPE(boolean platformMPE)
Select MPE Jobs if the parameter
platformMPE is true . |
void |
setPlatformMVS(boolean platformMVS)
Select VMS Jobs if the parameter
platformMVS is true . |
void |
setPlatformNSK(boolean platformNSK)
Select NSK Jobs if the parameter
platformNSK is true . |
void |
setPlatformOA(boolean platformOA)
Select OA Jobs if the parameter
platformOA is true . |
void |
setPlatformOS400(boolean platformOS400)
Select OS400 Jobs if the parameter
platformOS400 is true . |
void |
setPlatformPS(boolean platformPS)
Select PS Jobs if the parameter
platformPS is true . |
void |
setPlatformR3(boolean platformR3)
Select SAP Jobs if the parameter
platformR3 is true . |
void |
setPlatformSiebel(boolean platformSiebel)
Select Siebel Jobs if the parameter
platformSiebel is true . |
void |
setPlatformSQL(boolean platformSQL)
Select SQL Jobs if the parameter
platformSQL is true . |
void |
setPlatformUNIX(boolean platformUNIX)
Select UNIX Jobs if the parameter
platformUNIX is true . |
void |
setPlatformVMS(boolean platformVMS)
Select VMS Jobs if the parameter
platformVMS is true . |
void |
setPlatformWindows(boolean platformWindows)
Select Windows Jobs if the parameter
platformWindows is true . |
void |
setSourceHost(java.lang.String sourceHost)
Sets the filter for Agent names in the Source of FileTransfer objects.
|
void |
setSourceLogin(java.lang.String sourceLogin)
Sets the filter for Source Logins of FileTransfer objects.
|
void |
setTypeC_PERIOD(boolean typeC_PERIOD)
Enables or disables the type period container.
|
void |
setTypeCALL(boolean typeCALL)
Enables or disables the type CALL.
|
void |
setTypeEVNT(boolean typeEVNT)
Enables or disables the type EVENT.
|
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 |
setTypeSCRI(boolean typeSCRI)
Enables or disables the type SCRI.
|
int |
size() |
void |
unselectAllPlatforms()
Unselect all platforms.
|
getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, send
public QueryAutoforecast(AutoForecastRange range)
QueryAutoforecast
object and sets the same
default values for the query as seen in the GUI.
AutoForecastRange
is required.
This class contains the calculation range.range
- Autoforcast rangepublic void deselectAllObjectTypes()
public void selectAllObjectTypes()
public java.util.Iterator<AutoForecastItem> iterator()
java.util.Iterator
that can be used to read
each row in the returned list.iterator
in interface java.lang.Iterable<AutoForecastItem>
public int size()
public java.lang.String getSourceHost()
public void setSourceHost(java.lang.String sourceHost)
sourceHost
- Name of the Agent, Wildcards are allowed, max. 32 characterspublic java.lang.String getSourceLogin()
public void setSourceLogin(java.lang.String sourceLogin)
sourceLogin
- Name of the Login objectpublic java.lang.String getLogin()
public void setLogin(java.lang.String login)
login
- Max. 200 characterspublic java.lang.String getHost()
public void setHost(java.lang.String host)
host
- Maximum 32 characterspublic DateTime getDateFrom()
public void setDateFrom(DateTime dateFrom)
dateFrom
- Start date and timepublic DateTime getDateTo()
public void setDateTo(DateTime dateTo)
dateTo
- End date and timepublic java.lang.String getName()
public void setName(java.lang.String name)
name
- Name, maximum 200 characterspublic boolean isTypeCALL()
true
if the type CALL is enabledpublic void setTypeCALL(boolean typeCALL)
typeCALL
- Boolean which is set to true
if CALL items should be returned.public boolean isTypeEVNT()
true
if the type EVENT is enabledpublic void setTypeEVNT(boolean typeEVNT)
typeEVNT
- Boolean containing true
if the type EVENT is enabledpublic boolean isTypeJOBF()
true
if the type JOBF is enabledpublic void setTypeJOBF(boolean typeJOBF)
typeJOBF
- Boolean containing true
if the type JOBF is enabledpublic boolean isTypeJOBG()
true
if the type JOBG is enabledpublic void setTypeJOBG(boolean typeJOBG)
typeJOBG
- Boolean containing true
if the type JOBG is enabledpublic boolean isTypeJOBS()
true
if the type JOBS is enabledpublic void setTypeJOBS(boolean typeJOBS)
typeJOBS
- Boolean containing true
if the type JOBS is enabledpublic boolean isTypeJOBP()
true
if the type JOBP is enabledpublic void setTypeJOBP(boolean typeJOBP)
typeJOBP
- Boolean containing true
if the type JOBP is enabledpublic boolean isTypeJOBQ()
true
if the type JOBQ is enabledpublic void setTypeJOBQ(boolean typeJOBQ)
typeJOBQ
- Boolean which is set to true
if JOBQ items should be returned.public boolean isTypeJSCH()
true
if the type JSCH is enabledpublic void setTypeJSCH(boolean typeJSCH)
typeJSCH
- Boolean containing true
if the type JSCH is enabledpublic boolean isTypeSCRI()
true
if the type SCRI is enabledpublic void setTypeSCRI(boolean typeSCRI)
typeSCRI
- Boolean containing true
if the type SCRI is enabledpublic boolean isTypeC_PERIOD()
true
if the type period container is enabledpublic void setTypeC_PERIOD(boolean typeC_PERIOD)
typeC_PERIOD
- Boolean which is set to true
if period container items should be returned.public void selectAllPlatforms()
public void unselectAllPlatforms()
public boolean isPlatformBS2000()
true
if BS2000 Jobs are selected.public void setPlatformBS2000(boolean platformBS2000)
platformBS2000
is true
.platformBS2000
- BS2000 Jobs selectionpublic boolean isPlatformCIT()
true
if Rapid Automation Jobs are selected.public void setPlatformCIT(boolean platformCIT)
platformCIT
is true
.platformCIT
- Rapid Automation Job selectionpublic boolean isPlatformGCOS8()
true
if GCOS8 Jobs are selected.public void setPlatformGCOS8(boolean platformGCOS8)
platformGCOS8
is true
.platformGCOS8
- GCOS8 Job selectionpublic boolean isPlatformJMX()
true
if JMX Jobs are selected.public void setPlatformJMX(boolean platformJMX)
platformJMX
is true
.platformJMX
- JMX Job selectionpublic boolean isPlatformMAIL()
true
if MAIL Jobs are selected.public void setPlatformMAIL(boolean platformMAIL)
platformMAIL
is true
.platformMAIL
- MAIL Job selectionpublic boolean isPlatformMPE()
true
if MPE Jobs are selected.public void setPlatformMPE(boolean platformMPE)
platformMPE
is true
.platformMPE
- MPE Job selectionpublic boolean isPlatformMVS()
true
if MVS Jobs are selected.public void setPlatformMVS(boolean platformMVS)
platformMVS
is true
.platformMVS
- VMS Job selectionpublic boolean isPlatformNSK()
true
if NSK Jobs are selected.public void setPlatformNSK(boolean platformNSK)
platformNSK
is true
.platformNSK
- NSK Job selectionpublic boolean isPlatformOA()
true
if OA Jobs are selected.public void setPlatformOA(boolean platformOA)
platformOA
is true
.platformOA
- OA Job selectionpublic boolean isPlatformOS400()
true
if OS400 Jobs are selected.public void setPlatformOS400(boolean platformOS400)
platformOS400
is true
.platformOS400
- OS400 Job selectionpublic boolean isPlatformPS()
true
if PS Jobs are selected.public void setPlatformPS(boolean platformPS)
platformPS
is true
.platformPS
- PS Job selectionpublic boolean isPlatformR3()
true
if SAP Jobs are selected.public void setPlatformR3(boolean platformR3)
platformR3
is true
.platformR3
- SAP Job selectionpublic boolean isPlatformSiebel()
true
if Siebel Jobs are selected.public void setPlatformSiebel(boolean platformSiebel)
platformSiebel
is true
.platformSiebel
- Siebel Job selectionpublic boolean isPlatformSQL()
true
if SQL Jobs are selected.public void setPlatformSQL(boolean platformSQL)
platformSQL
is true
.platformSQL
- SQL Job selectionpublic boolean isPlatformUNIX()
true
if UNIX Jobs are selected.public void setPlatformUNIX(boolean platformUNIX)
platformUNIX
is true
.platformUNIX
- UNIX Job selectionpublic boolean isPlatformVMS()
true
if VMS Jobs are selected.public void setPlatformVMS(boolean platformVMS)
platformVMS
is true
.platformVMS
- VMS Job selectionpublic boolean isPlatformWindows()
true
if Windows Jobs are selected.public void setPlatformWindows(boolean platformWindows)
platformWindows
is true
.platformWindows
- Windows Job selection