Class Ordering
java.lang.Object
oracle.bpel.services.workflow.repos.Ordering
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOrdering
(List<OrderingClauseType> clauses) Constructs an Ordering object from a list of OrderingClauseType objects.Constructor to create the Ordering. -
Method Summary
Modifier and TypeMethodDescriptionvoid
To add the more orderby columns.Deprecated.since 11.1.1.2.0Returns the list of columns in the orderby part of the resulting SQL statementgetOrderingClauseList returns the ordering clause listReturnsTaskOrderingType
JAXB representation of this Ordering objecttoString()
Returns String representation of the Ordering object.
-
Field Details
-
ASCSTRING
For ascending order- See Also:
-
DESCSTRING
For descending order- See Also:
-
ASCENDING_ORDER
Ascending order- See Also:
-
DESCENDING_ORDER
Descending order- See Also:
-
-
Constructor Details
-
Ordering
Constructs an Ordering object from a list of OrderingClauseType objects. If an OrderingClauseType object specifies a column, it must also specify a table name.- Parameters:
clauses
- a List of OrderingClauseType objects.
-
Ordering
Constructor to create the Ordering. This column gets added to the SQL statement that gets executed with the options specified.- Parameters:
column
- Name Column to order byisAscending
- true if the order isAscending else falseisNullFirst
- true if the order contains null value first else false- Throws:
Exception
WorkflowException
-
-
Method Details
-
addClause
public void addClause(Column column, boolean isAscending, boolean isNullFirst) throws WorkflowException To add the more orderby columns. This order gets added to the SQL statement that gets executed.- Parameters:
column
- Name Column to order byisAscending
- true if the order isAscending else falseisNullFirst
- true if the order contains null value first else false- Throws:
Exception
WorkflowException
-
getOrderBy
Deprecated.since 11.1.1.2.0Deprecated. Conversion of Ordering to database port-specific SQL statement is handled internally by the persistency service.- Returns:
- String a deprecated Order by sql string, for Oracle databases only.
-
toString
Returns String representation of the Ordering object. This representation is for informational purposes only. It should NOT be used to form part of a SQL statement. -
getOrderColumns
Returns the list of columns in the orderby part of the resulting SQL statement- Returns:
-
getOrderingClauseList
getOrderingClauseList returns the ordering clause list -
getTaskOrderingType
ReturnsTaskOrderingType
JAXB representation of this Ordering object- Returns:
-