com.ibm.itim.workflow.provisioning
Class ProvisioningQueryStatement

java.lang.Object
  |
  +--com.ibm.itim.workflow.provisioning.ProvisioningQueryStatement
All Implemented Interfaces:
java.io.Serializable, WorkflowQueryStatement

public class ProvisioningQueryStatement
extends java.lang.Object
implements WorkflowQueryStatement, java.io.Serializable

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.

See Also:
Serialized Form

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

LOWER

public static final boolean LOWER
Constant for paging backward

See Also:
Constant Field Values

HIGHER

public static final boolean HIGHER
Constant for paging forward

See Also:
Constant Field Values

ASC

public static final int ASC
Constant for ascending sort order

See Also:
Constant Field Values

DESC

public static final int DESC
Constant for descending sort order

See Also:
Constant Field Values

COMPLETED_PROCESS

public static final long COMPLETED_PROCESS
Constant for completed process

See Also:
Constant Field Values

PENDING_PROCESS

public static final long PENDING_PROCESS
Constant for pending process

See Also:
Constant Field Values

PENDING_AND_COMPLETED_PROCESS

public static final long PENDING_AND_COMPLETED_PROCESS
Constant for pending and completed processes

See Also:
Constant Field Values

STARTED_FIELD

public static final java.lang.String STARTED_FIELD
Constant for submitted sort column

See Also:
Constant Field Values

COMPLETED_FIELD

public static final java.lang.String COMPLETED_FIELD
Constant for completed sort column

See Also:
Constant Field Values

REQUESTER

public static final java.lang.String REQUESTER
Constant for requester sort column

See Also:
Constant Field Values

REQUESTEE

public static final java.lang.String REQUESTEE
Constant for requestee sort column

See Also:
Constant Field Values

SERVICE_FIELD

public static final java.lang.String SERVICE_FIELD
Constant for 'subject service' sort column

See Also:
Constant Field Values

RESULT_SUMMARY

public static final java.lang.String RESULT_SUMMARY
Constant for 'result summary' sort column

See Also:
Constant Field Values
Constructor Detail

ProvisioningQueryStatement

public ProvisioningQueryStatement(WorkflowQuery query,
                                  long process,
                                  java.lang.String sortColumn,
                                  java.lang.String processType)
Constructs with a WorkflowQuery as its query parameters.

Parameters:
query - WorkflowQuery holding the query parameters.
process - 0 completed process, 1 pending process
sortColumn - sort column field name
processType - process type of the request
See Also:
ProcessType
Method Detail

getStatement

public java.lang.String getStatement()
Returns the query logic as a workflow engine readable set of instructions.

Specified by:
getStatement in interface WorkflowQueryStatement
Returns:
Workflow engine readable set of instructions.

getWorkflowQuery

public WorkflowQuery getWorkflowQuery()
Returns the WorkflowQuery object


getProcess

public long getProcess()
Returns the process


getProcessType

public java.lang.String getProcessType()
Returns the process type

See Also:
ProcessType

setSetSize

public void setSetSize(int setSize)
Sets the query results size


setSortInfo

public void setSortInfo(java.lang.String sortBy,
                        int sortOrder)
Sets the sort information

Parameters:
sortBy - name of the sort column
sortOrder - sort order for the column

setStartPoint

public void setStartPoint(java.lang.String startPoint,
                          java.lang.String id)
Sets the starting point for the query

Parameters:
startPoint - value of the sort column
id - value of the id column

getSortOrder

public java.lang.String getSortOrder()
Returns the sort order


reverse

public void reverse()
Reverses the sort order


setOperation

public void setOperation(boolean pageBound)
Set the operation based on the pagebound.

Parameters:
pageBound - <>true<> lower pagebound, <false<> higer pagebound.

getSortColumn

public java.lang.String getSortColumn()
Returns the current sort column name



IBM Tivoli Identity Manager 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.