|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.workflow.provisioning.ProvisioningQueryStatement
Class providing process query logic based on a provisioning specific parameters. These parameters are provided by the WorkflowQuery class defined in the com.ibm.itim.dataservices.system package.
Field Summary | |
---|---|
static int |
ASC
Constant for ascending sort order |
static java.lang.String |
COMPLETED_FIELD
Constant for completed sort column |
static long |
COMPLETED_PROCESS
Constant for completed process |
static int |
DESC
Constant for descending sort order |
static boolean |
HIGHER
Constant for paging forward |
static boolean |
LOWER
Constant for paging backward |
static long |
PENDING_AND_COMPLETED_PROCESS
Constant for pending and completed processes |
static long |
PENDING_PROCESS
Constant for pending process |
static java.lang.String |
REQUESTEE
Constant for requestee sort column |
static java.lang.String |
REQUESTER
Constant for requester sort column |
static java.lang.String |
RESULT_SUMMARY
Constant for 'result summary' sort column |
static java.lang.String |
SERVICE_FIELD
Constant for 'subject service' sort column |
static java.lang.String |
STARTED_FIELD
Constant for submitted sort column |
Fields inherited from interface com.ibm.itim.workflow.query.WorkflowQueryStatement |
---|
DBOWNER |
Constructor Summary | |
---|---|
ProvisioningQueryStatement(WorkflowQuery query,
long process,
java.lang.String sortColumn,
java.lang.String processType)
Constructs with a WorkflowQuery as its query parameters. |
Method Summary | |
---|---|
long |
getProcess()
Returns the process |
java.lang.String |
getProcessType()
Returns the process type |
java.lang.String |
getSortColumn()
Returns the current sort column name |
java.lang.String |
getSortOrder()
Returns the sort order |
java.lang.String |
getStatement()
Returns the query logic as a workflow engine readable set of instructions. |
WorkflowQuery |
getWorkflowQuery()
Returns the WorkflowQuery object |
void |
reverse()
Reverses the sort order |
void |
setOperation(boolean pageBound)
Set the operation based on the pagebound. |
void |
setSetSize(int setSize)
Sets the query results size |
void |
setSortInfo(java.lang.String sortBy,
int sortOrder)
Sets the sort information |
void |
setStartPoint(java.lang.String startPoint,
java.lang.String id)
Sets the starting point for the query |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final boolean LOWER
public static final boolean HIGHER
public static final int ASC
public static final int DESC
public static final long COMPLETED_PROCESS
public static final long PENDING_PROCESS
public static final long PENDING_AND_COMPLETED_PROCESS
public static final java.lang.String STARTED_FIELD
public static final java.lang.String COMPLETED_FIELD
public static final java.lang.String REQUESTER
public static final java.lang.String REQUESTEE
public static final java.lang.String SERVICE_FIELD
public static final java.lang.String RESULT_SUMMARY
Constructor Detail |
public ProvisioningQueryStatement(WorkflowQuery query, long process, java.lang.String sortColumn, java.lang.String processType)
query
- WorkflowQuery holding the query parameters.process
- 0
completed process, 1
pending processsortColumn
- sort column field nameprocessType
- process type of the requestProcessType
Method Detail |
public java.lang.String getStatement()
getStatement
in interface WorkflowQueryStatement
public WorkflowQuery getWorkflowQuery()
public long getProcess()
public java.lang.String getProcessType()
ProcessType
public void setSetSize(int setSize)
public void setSortInfo(java.lang.String sortBy, int sortOrder)
sortBy
- name of the sort columnsortOrder
- sort order for the columnpublic void setStartPoint(java.lang.String startPoint, java.lang.String id)
startPoint
- value of the sort columnid
- value of the id columnpublic java.lang.String getSortOrder()
public void reverse()
public void setOperation(boolean pageBound)
pageBound
- <>true<
> lower pagebound, <false<
> higer pagebound.public java.lang.String getSortColumn()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |