OSID Logo
OSID Specifications
personnel package
Version 3.0.0
Release Candidate Preview
Interfaceosid.personnel.AppointmentSearchOrder
Implementsosid.OsidRelationshipSearchOrder
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_ARGUMENT style is null
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodgetPersonSearchOrder
Description

Gets the person search order.

Returnosid.personnel.PersonSearchOrderthe person search order
ErrorsUNIMPLEMENTED supportsPersonSearchOrder() 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_ARGUMENT style is null
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodgetPositionSearchOrder
Description

Gets the position search order.

Returnosid.personnel.PositionSearchOrderthe position search order
ErrorsUNIMPLEMENTED supportsPositionSearchOrder() 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_ARGUMENT style 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_ARGUMENT style 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_ARGUMENT style 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_ARGUMENT appointmentRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(appointmentRecordType) is false
CompliancemandatoryThis method must be implemented.