OSID Logo
OSID Specifications
personnel package
Version 3.1.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.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsPersonSearchOrder
Description

Tests if a person search order is available.

Returnboolean true if a person search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetPersonSearchOrder
Description

Gets the person search order.

Returnosid.personnel.PersonSearchOrder the person search order
ErrorsUNIMPLEMENTED supportsPersonSearchOrder() is false
Complianceoptional This method must be implemented if supportsPersonSearchOrder() is true.
MethodorderByPosition
Description

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

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsPositionSearchOrder
Description

Tests if a position search order is available.

Returnboolean true if a position search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetPositionSearchOrder
Description

Gets the position search order.

Returnosid.personnel.PositionSearchOrder the position search order
ErrorsUNIMPLEMENTED supportsPositionSearchOrder() is false
Complianceoptional This method must be implemented if supportsPositionSearchOrder() is true.
MethodorderByCommitment
Description

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

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByTitle
Description

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

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderBySalary
Description

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

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This 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.TypeappointmentRecordType an appointment record type
Returnosid.personnel.records.AppointmentSearchOrderRecord the appointment search order record
ErrorsNULL_ARGUMENT appointmentRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(appointmentRecordType) is false
Compliancemandatory This method must be implemented.