OSID Logo
OSID Specifications
tracking package
Version 3.0.0
Release Candidate Preview
Interfaceosid.tracking.LogEntryQuery
Implementsosid.OsidObjectQuery
Description

This is the query for searching log entries. Each method match specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchAgentId
Description

Sets the agent Id for this query.

Parametersosid.id.IdagentIdthe agent Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT agentId is null
CompliancemandatoryThis method must be implemented.
MethodclearAgentIdTerms
Description

Clears the agent Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsAgentQuery
Description

Tests if an AgentQuery is available.

Returnboolean true if an agent query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAgentQuery
Description

Gets the query for an agent. Multiple retrievals produce a nested OR term.

Returnosid.authentication.AgentQuerythe agent query
ErrorsUNIMPLEMENTED supportsAgentQuery() is false
ComplianceoptionalThis method must be implemented if supportsAgentQuery() is true.
MethodclearAgentTerms
Description

Clears the agent query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchIssueId
Description

Sets the issue Id for this query.

Parametersosid.id.IdissueIdthe issue Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT issueId is null
CompliancemandatoryThis method must be implemented.
MethodclearIssueIdTerms
Description

Clears the issue Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsIssueQuery
Description

Tests if an IssueQuery is available for an ending issue.

Returnboolean true if an issue query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetIssueQuery
Description

Gets the query for an issue. Multiple retrievals produce a nested OR term.

Returnosid.tracking.IssueQuerythe issue query
ErrorsUNIMPLEMENTED supportsIssueQuery() is false
ComplianceoptionalThis method must be implemented if supportsIssueQuery() is true.
MethodclearIssueTerms
Description

Clears the issue query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchDate
Description

Matches log entries that have the specified date inclusive.

Parametersosid.calendaring.DateTimefromstarting range
osid.calendaring.DateTimetoending range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT to is less than from
NULL_ARGUMENT from or to is null
CompliancemandatoryThis method must be implemented.
MethodclearDateTerms
Description

Clears the date query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchSummary
Description

Matches a summary.

Parametersstringsummarysummary
osid.type.TypestringMatchTypea string match type
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT summary not of stringMatchType
NULL_ARGUMENT summary or stringMatchType is null
UNSUPPORTED stringMatchType not supported
CompliancemandatoryThis method must be implemented.
MethodmatchAnySummary
Description

Matches log entries that has any summary.

Parametersbooleanmatch true to match log entries with any summary, false to match log entries with no summary
CompliancemandatoryThis method must be implemented.
MethodclearSummaryTerms
Description

Clears the summary query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchMessage
Description

Matches a message.

Parametersstringmessagea message
osid.type.TypestringMatchTypea string match type
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT message not of stringMatchType
NULL_ARGUMENT message or stringMatchType is null
UNSUPPORTED stringMatchType not supported
CompliancemandatoryThis method must be implemented.
MethodmatchAnyMessage
Description

Matches log entries that has any message.

Parametersbooleanmatch true to match log entries with any message, false to match log entries with no message
CompliancemandatoryThis method must be implemented.
MethodclearMessageTerms
Description

Clears the message query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchFrontOfficeId
Description

Sets the front office Id for this query to match log entries assigned to front offices.

Parametersosid.id.IdfrontOfficeIdthe front office Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT frontOfficeId is null
CompliancemandatoryThis method must be implemented.
MethodclearFrontOfficeIdTerms
Description

Clears the front office Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsFrontOfficeQuery
Description

Tests if a FrontOfficeQuery is available.

Returnboolean true if a front office query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetFrontOfficeQuery
Description

Gets the query for a front office. Multiple retrievals produce a nested OR term.

Returnosid.tracking.FrontOfficeQuerythe front office query
ErrorsUNIMPLEMENTED supportsFrontOfficeQuery() is false
ComplianceoptionalThis method must be implemented if supportsFrontOfficeQuery() is true.
MethodclearFrontOfficeTerms
Description

Clears the front office query terms.

CompliancemandatoryThis method must be implemented.
MethodgetLogEntryQueryRecord
Description

Gets the log entry query record corresponding to the given LogEntry record Type. Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypelogEntryRecordTypean log entry record type
Returnosid.tracking.records.LogEntryQueryRecordthe log entry query record
ErrorsNULL_ARGUMENT logEntryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(logEntryRecordType) is false
CompliancemandatoryThis method must be implemented.