public interface ProfileEntrySearchOrder extends OsidRelationshipSearchOrder
An interface for specifying the ordering of search results.
| Modifier and Type | Method and Description |
|---|---|
AgentSearchOrder |
getAgentSearchOrder()
Gets the agent search order.
|
ProfileEntrySearchOrderRecord |
getProfileEntrySearchOrderRecord(Type profileEntryRecordType)
Gets the profile entry search order record corresponding to the given
profile entry record
Type. |
ProfileItemSearchOrder |
getProfileItemSearchOrder()
Gets the profil eitem search order.
|
ResourceSearchOrder |
getResourceSearchOrder()
Gets the resource search order.
|
void |
orderByAgent(SearchOrderStyle style)
Specifies a preference for ordering the result set by the agent.
|
void |
orderByImplicit(SearchOrderStyle style)
Specifies a preference for ordering the result set by the implicit
status.
|
void |
orderByProfileItem(SearchOrderStyle style)
Specifies a preference for ordering the result set by the active
status.
|
void |
orderByResource(SearchOrderStyle style)
Specifies a preference for ordering the result set by the resource.
|
boolean |
supportsAgentSearchOrder()
Tests if an
Agent is available. |
boolean |
supportsProfileItemSearchOrder()
Tests if a
ProfileItem is available. |
boolean |
supportsResourceSearchOrder()
Tests if a
Resource is available. |
getEndReasonSearchOrder, orderByEndReason, supportsEndReasonSearchOrderorderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatisticorderByIdgetRecordTypes, hasRecordTypeorderByEffective, orderByEndDate, orderByStartDatevoid orderByImplicit(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. void orderByResource(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. boolean supportsResourceSearchOrder()
Resource is available. true if a resource search order is available,
false otherwisemandatory - This method must be implemented. ResourceSearchOrder getResourceSearchOrder()
UnimplementedException -
supportsResourceSearchOrder() is false optional - This method must be implemented if
supportsResourceSearchOrder() is true.
void orderByAgent(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. boolean supportsAgentSearchOrder()
Agent is available. true if an agent search order is available,
false otherwisemandatory - This method must be implemented. AgentSearchOrder getAgentSearchOrder()
UnimplementedException -
supportsAgentSearchOrder() is false optional - This method must be implemented if
supportsAgentSearchOrder() is true. void orderByProfileItem(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. boolean supportsProfileItemSearchOrder()
ProfileItem is available. true if a profile item search order is
available, false otherwisemandatory - This method must be implemented. ProfileItemSearchOrder getProfileItemSearchOrder()
UnimplementedException -
supportsProfileItemSearchOrder() is false
optional - This method must be implemented if
supportsProfileItemSearchOrder() is true.
ProfileEntrySearchOrderRecord getProfileEntrySearchOrderRecord(Type profileEntryRecordType) throws OperationFailedException
Type. Multiple retrievals return
the same underlying object.profileEntryRecordType - a profile entry record typeNullArgumentException - profileEntryRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(profileEntryRecordType) is false
mandatory - This method must be implemented.