Interface PositionSearchOrder
- All Superinterfaces:
Extensible, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidSearchOrder, OsidSubjugateableSearchOrder, OsidTemporalSearchOrder, Suppliable
public interface PositionSearchOrder
extends OsidObjectSearchOrder, OsidTemporalSearchOrder, OsidSubjugateableSearchOrder
An interface for specifying the ordering of search results.
-
Method Summary
Modifier and TypeMethodDescriptionGets the level search order.Gets the organization search order.getPositionSearchOrderRecord(Type positionRecordType) Gets the position search order record corresponding to the given position recordType.voidSpecifies a preference for ordering the result set by the benefits type.voidSpecifies a preference for ordering the result set by the compensation frequency.voidorderByExempt(SearchOrderStyle style) Specifies a preference for ordering the result set by the exempt flag.voidSpecifies a preference for ordering the result set by the high salary.voidorderByLevel(SearchOrderStyle style) Specifies a preference for ordering the result set by the level.voidSpecifies a preference for ordering the result set by the low salary.voidSpecifies a preference for ordering the result set by the midpoint salary.voidSpecifies a preference for ordering the result set by the organization.voidSpecifies a preference for ordering the result set by the required commitment.voidSpecifies a preference for ordering the result set by the target appointments.voidorderByTitle(SearchOrderStyle style) Specifies a preference for ordering the result set by the title.booleanTests if a grade level search order is available.booleanTests if an organization 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.Methods inherited from interface OsidTemporalSearchOrder
orderByEffective, orderByEndDate, orderByStartDateModifier and TypeMethodDescriptionvoidorderByEffective(SearchOrderStyle style) Specifies a preference for ordering the result set by the effective status.voidorderByEndDate(SearchOrderStyle style) Specifies a preference for ordering the result set by the end date.voidorderByStartDate(SearchOrderStyle style) Specifies a preference for ordering the result set by the start date.
-
Method Details
-
orderByOrganization
Specifies a preference for ordering the result set by the organization.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsOrganizationSearchOrder
boolean supportsOrganizationSearchOrder()Tests if an organization search order is available.- Returns:
trueif an organization search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getOrganizationSearchOrder
OrganizationSearchOrder getOrganizationSearchOrder()Gets the organization search order.- Returns:
- the organization search order
- Throws:
UnimplementedException-supportsOrganizationSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsOrganizationSearchOrder()} is {@code true} .
-
orderByTitle
Specifies a preference for ordering the result set by the title.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByLevel
Specifies a preference for ordering the result set by the level.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsLevelSearchOrder
boolean supportsLevelSearchOrder()Tests if a grade level search order is available.- Returns:
trueif a level search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getLevelSearchOrder
GradeSearchOrder getLevelSearchOrder()Gets the level search order.- Returns:
- the level search order
- Throws:
UnimplementedException-supportsLevelSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLevelSearchOrder()} is {@code true} .
-
orderByTargetAppointments
Specifies a preference for ordering the result set by the target appointments.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByRequiredCommitment
Specifies a preference for ordering the result set by the required commitment.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByLowSalaryRange
Specifies a preference for ordering the result set by the low salary.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByMidpointSalaryRange
Specifies a preference for ordering the result set by the midpoint salary.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByHighSalaryRange
Specifies a preference for ordering the result set by the high salary.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByCompensationFrequency
Specifies a preference for ordering the result set by the compensation frequency.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByExempt
Specifies a preference for ordering the result set by the exempt flag.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByBenefitsType
Specifies a preference for ordering the result set by the benefits type.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
getPositionSearchOrderRecord
PositionSearchOrderRecord getPositionSearchOrderRecord(Type positionRecordType) throws OperationFailedException Gets the position search order record corresponding to the given position recordType. Multiple retrievals return the same underlying object.- Parameters:
positionRecordType- a position record type- Returns:
- the position search order record
- Throws:
NullArgumentException-positionRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(positionRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-