|
Oracle Content Management SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ifs.common.SortQualifier
A SortQualifer encapsulates the specification of the sort of a single attribute.
One or more SortQualifiers is associated with a SortSpecification, to enable the creation of a SQL order by clause associated with various queries used in iFS.
Constructor Summary | |
SortQualifier(java.lang.String sortAttribute,
boolean sortOrder)
Construct a SortQualifier for a simple qualifier of Attribute and sort direction. |
|
SortQualifier(java.lang.String sortAttribute,
boolean sortOrder,
java.lang.String sortClass,
java.lang.String sortAlias,
java.lang.String sqlFunction)
Construct a SortQualifier for complex qualifiers. |
Method Summary | |
java.lang.String |
getAttributeName()
Get the Attribute name. |
java.lang.String |
getClassAlias()
Get the alias for the sort attribute's class |
java.lang.String |
getClassName()
Get the sort attribute's class name |
boolean |
getSortOrder()
Get the sort order. |
protected java.lang.String |
getSqlFunction()
Get the SQL function to apply on this qualifier. |
Constructor Detail |
public SortQualifier(java.lang.String sortAttribute, boolean sortOrder) throws IfsException
sortAttribute
- the sort attribute namesortOrder
- the corresponding sort orderIfsException
- if operation fails.public SortQualifier(java.lang.String sortAttribute, boolean sortOrder, java.lang.String sortClass, java.lang.String sortAlias, java.lang.String sqlFunction) throws IfsException
sortAttribute
- the sort attribute namesortOrder
- the corresponding sort ordersortClass
- the sort attribute's class namesortAlias
- an alias for the sort attribute's classsqlFunction
- SQL function to apply to the qualifier, or null
for no functionIfsException
- if operation fails.Method Detail |
public java.lang.String getAttributeName() throws IfsException
IfsException
- if operation fails.public boolean getSortOrder() throws IfsException
IfsException
- if operation fails.public java.lang.String getClassName() throws IfsException
IfsException
- if operation fails.public java.lang.String getClassAlias() throws IfsException
IfsException
- if operation fails.protected java.lang.String getSqlFunction() throws IfsException
IfsException
- if operation fails.
|
Oracle Content Management SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |