OSID Logo
OSID Specifications
personnel package
Version 3.0.0
Interfaceosid.personnel.AppointmentSearchOrder
Implementsosid.OsidRelationshipSearchOrder
Used Byosid.personnel.AppointmentSearchSession
osid.personnel.AppointmentSmartRealmSession
Description

An interface for specifying the ordering of search results.

MethodorderByPerson
Description

Specifies a preference for ordering the result set by the person.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsPersonSearchOrder
Description

Tests if a person search order is available.

Returnbooleantrue if a person search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetPersonSearchOrder
Description

Gets the person search order.

Returnosid.personnel.PersonSearchOrderthe person search order
ErrorsUNIMPLEMENTEDsupportsPersonSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsPersonSearchOrder() is true .
MethodorderByPosition
Description

Specifies a preference for ordering the result set by the position.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsPositionSearchOrder
Description

Tests if a position search order is available.

Returnbooleantrue if a position search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetPositionSearchOrder
Description

Gets the position search order.

Returnosid.personnel.PositionSearchOrderthe position search order
ErrorsUNIMPLEMENTEDsupportsPositionSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsPositionSearchOrder() is true .
MethodorderByCommitment
Description

Specifies a preference for ordering the result set by the commitment.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodorderByTitle
Description

Specifies a preference for ordering the result set by the title.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodorderBySalary
Description

Specifies a preference for ordering the result set by the salary.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodgetAppointmentSearchOrderRecord
Description

Gets the appointment search order record corresponding to the given appointment record Type . Multiple retrievals return the same underlying object.

Parametersosid.type.TypeappointmentRecordTypean appointment record type
Returnosid.personnel.records.AppointmentSearchOrderRecordthe appointment search order record
ErrorsNULL_ARGUMENTappointmentRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(appointmentRecordType) is false
CompliancemandatoryThis method must be implemented.