OSID Logo
OSID Specifications
tracking package
Version 3.1.0
Interfaceosid.tracking.LogEntryQuery
Implementsosid.OsidObjectQuery
Used Byosid.tracking.IssueQuery
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.IdagentId the agent Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT agentId is null
Compliancemandatory This method must be implemented.
MethodclearAgentIdTerms
Description

Clears the agent Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsAgentQuery
Description

Tests if an AgentQuery is available.

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

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

Returnosid.authentication.AgentQuery the agent query
ErrorsUNIMPLEMENTED supportsAgentQuery() is false
Complianceoptional This method must be implemented if supportsAgentQuery() is true.
MethodclearAgentTerms
Description

Clears the agent query terms.

Compliancemandatory This method must be implemented.
MethodmatchIssueId
Description

Sets the issue Id for this query.

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

Clears the issue Id query terms.

Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodgetIssueQuery
Description

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

Returnosid.tracking.IssueQuery the issue query
ErrorsUNIMPLEMENTED supportsIssueQuery() is false
Complianceoptional This method must be implemented if supportsIssueQuery() is true.
MethodclearIssueTerms
Description

Clears the issue query terms.

Compliancemandatory This method must be implemented.
MethodmatchDate
Description

Matches log entries that have the specified date inclusive.

Parametersosid.calendaring.DateTimefrom starting range
osid.calendaring.DateTimeto ending 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
Compliancemandatory This method must be implemented.
MethodclearDateTerms
Description

Clears the date query terms.

Compliancemandatory This method must be implemented.
MethodmatchSummary
Description

Matches a summary.

Parametersstringsummary summary
osid.type.TypestringMatchType a 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
Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodclearSummaryTerms
Description

Clears the summary query terms.

Compliancemandatory This method must be implemented.
MethodmatchMessage
Description

Matches a message.

Parametersstringmessage a message
osid.type.TypestringMatchType a 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
Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodclearMessageTerms
Description

Clears the message query terms.

Compliancemandatory This method must be implemented.
MethodmatchFrontOfficeId
Description

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

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

Clears the front office Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsFrontOfficeQuery
Description

Tests if a FrontOfficeQuery is available.

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

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

Returnosid.tracking.FrontOfficeQuery the front office query
ErrorsUNIMPLEMENTED supportsFrontOfficeQuery() is false
Complianceoptional This method must be implemented if supportsFrontOfficeQuery() is true.
MethodclearFrontOfficeTerms
Description

Clears the front office query terms.

Compliancemandatory This 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.TypelogEntryRecordType an log entry record type
Returnosid.tracking.records.LogEntryQueryRecord the log entry query record
ErrorsNULL_ARGUMENT logEntryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(logEntryRecordType) is false
Compliancemandatory This method must be implemented.