Interface WorkflowEventSearchOrder
- All Superinterfaces:
Extensible, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidSearchOrder, Suppliable
An interface for specifying the ordering of search results.
-
Method Summary
Modifier and TypeMethodDescriptionGets the process search order.Gets the step search order.Gets the resource search order.getWorkflowEventSearchOrderRecord(Type workflowEventRecordType) Gets the workflow event search order record corresponding to the given workflow event recordType.Gets the agent search order.Gets the work search order.voidorderByCancaled(SearchOrderStyle style) Orders the results by the canceled flag.voidorderByProcess(SearchOrderStyle style) Orders the results by process.voidorderByStep(SearchOrderStyle style) Orders the results by step.voidorderByTimestamp(SearchOrderStyle style) Orders the results by timestamp.voidorderByWork(SearchOrderStyle style) Orders the results by work.voidorderByWorker(SearchOrderStyle style) Orders the results by worker.voidOrders the results by working agent.booleanTests if a process search order is available.booleanTests if a step search order is available.booleanTests if a worker resource search order is available.booleanTests if a working agent search order is available.booleanTests if a work search order is available.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidIdentifiableSearchOrder
orderByIdModifier and TypeMethodDescriptionvoidorderById(SearchOrderStyle style) Specifies a preference for ordering the result set by theId.Methods inherited from interface OsidObjectSearchOrder
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatisticModifier and TypeMethodDescriptionvoidOrders by the timestamp of the first journal entry.voidorderByCumulativeRating(Id bookId, SearchOrderStyle style) Orders by the cumulative rating in a givenBook.voidSpecifies a preference for ordering the result set by the description.voidSpecifies a preference for ordering the result set by the display name.voidorderByGenusType(SearchOrderStyle style) Specifies a preference for ordering the result set by the genus type.voidOrders by the timestamp of the last journal entry.voidorderByState(Id processId, SearchOrderStyle style) Orders by the state in a givenProcess.voidorderByStatistic(Id meterId, SearchOrderStyle style) Orders by a statistic for a givenMeter.
-
Method Details
-
orderByTimestamp
Orders the results by timestamp.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByProcess
Orders the results by process.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsProcessSearchOrder
boolean supportsProcessSearchOrder()Tests if a process search order is available.- Returns:
trueif a process search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getProcessSearchOrder
ProcessSearchOrder getProcessSearchOrder()Gets the process search order.- Returns:
- the process search order
- Throws:
IllegalStateException-supportsProcessSearchOrder()isfalse- Compliance:
mandatory- This method must be implemented.
-
orderByWorker
Orders the results by worker.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsWorkerSearchOrder
boolean supportsWorkerSearchOrder()Tests if a worker resource search order is available.- Returns:
trueif a resource search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getWorkerSearchOrder
ResourceSearchOrder getWorkerSearchOrder()Gets the resource search order.- Returns:
- the resource search order
- Throws:
IllegalStateException-supportsWorkerSearchOrder()isfalse- Compliance:
mandatory- This method must be implemented.
-
orderByWorkingAgent
Orders the results by working agent.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsWorkingAgentSearchOrder
boolean supportsWorkingAgentSearchOrder()Tests if a working agent search order is available.- Returns:
trueif an agent search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getWorkingAgentSearchOrder
AgentSearchOrder getWorkingAgentSearchOrder()Gets the agent search order.- Returns:
- the agent search order
- Throws:
IllegalStateException-supportsWorkingAgentSearchOrder()isfalse- Compliance:
mandatory- This method must be implemented.
-
orderByWork
Orders the results by work.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsWorkSearchOrder
boolean supportsWorkSearchOrder()Tests if a work search order is available.- Returns:
trueif a work search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getWorkSearchOrder
WorkSearchOrder getWorkSearchOrder()Gets the work search order.- Returns:
- the work search order
- Throws:
IllegalStateException-supportsWorkSearchOrder()isfalse- Compliance:
mandatory- This method must be implemented.
-
orderByCancaled
Orders the results by the canceled flag.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByStep
Orders the results by step.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsStepSearchOrder
boolean supportsStepSearchOrder()Tests if a step search order is available.- Returns:
trueif a step search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getStepSearchOrder
StepSearchOrder getStepSearchOrder()Gets the step search order.- Returns:
- the step search order
- Throws:
IllegalStateException-supportsStepSearchOrder()isfalse- Compliance:
mandatory- This method must be implemented.
-
getWorkflowEventSearchOrderRecord
WorkflowEventSearchOrderRecord getWorkflowEventSearchOrderRecord(Type workflowEventRecordType) throws OperationFailedException Gets the workflow event search order record corresponding to the given workflow event recordType. Multiple retrievals return the same underlying object.- Parameters:
workflowEventRecordType- a workflow event record type- Returns:
- the workflow event search order record
- Throws:
NullArgumentException-workflowEventRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(workflowEventRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-