OSID Logo
OSID Specifications
logging package
Version 3.1.0
Interfaceosid.logging.LogEntrySearchOrder
Implementsosid.OsidObjectSearchOrder
Used Byosid.logging.LogEntrySearchSession
osid.logging.LogEntrySmartLogSession
Description

An interface for specifying the ordering of search results.

MethodorderByPriority
Description

Specifies a preference for ordering log entris by priority type.

Parametersosid.SearchOrderStylestyle search otrder style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByTimestamp
Description

Specifies a preference for ordering log entries by time.

Parametersosid.SearchOrderStylestyle search otrder style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByResource
Description

Specifies a preference for ordering log entries by resource.

Parametersosid.SearchOrderStylestyle search otrder style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsResourceSearchOrder
Description

Tests if a resource order is available.

Returnboolean true if a resource order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetResourceSearchOrder
Description

Gets the resource order.

Returnosid.resource.ResourceSearchOrder the resource search order
ErrorsUNIMPLEMENTED supportsResourceSearchOrder() is false
Complianceoptional This method must be implemented if supportsResourceSearchOrder() is true.
MethodorderByAgent
Description

Specifies a preference for ordering log entries by agent.

Parametersosid.SearchOrderStylestyle search otrder style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsAgentSearchOrder
Description

Tests if an agent order is available.

Returnboolean true if an agent order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAgentSearchOrder
Description

Gets the agent order.

Returnosid.authentication.AgentSearchOrder the agent search order
ErrorsUNIMPLEMENTED supportsAgentSearchOrder() is false
Complianceoptional This method must be implemented if supportsAgentSearchOrder() is true.
MethodgetLogEntrySearchOrderRecord
Description

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

Parametersosid.type.TypelogEntryRecordType a log entry record type
Returnosid.logging.records.LogEntrySearchOrderRecord the log entry search order record
ErrorsNULL_ARGUMENT logEntryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(logEntryRecordType) is false
Compliancemandatory This method must be implemented.