OSID Logo
OSID Specifications
tracking package
Version 3.0.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.IdagentIdthe agent Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTagentId 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.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsAgentQuery() 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
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTissueId 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.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsIssueQuery() 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
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTto is less than from
NULL_ARGUMENTfrom 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
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTsummary not of stringMatchType
NULL_ARGUMENTsummary or stringMatchType is null
UNSUPPORTEDstringMatchType not supported
CompliancemandatoryThis method must be implemented.
MethodmatchAnySummary
Description

Matches log entries that has any summary.

Parametersbooleanmatchtrue 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
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTmessage not of stringMatchType
NULL_ARGUMENTmessage or stringMatchType is null
UNSUPPORTEDstringMatchType not supported
CompliancemandatoryThis method must be implemented.
MethodmatchAnyMessage
Description

Matches log entries that has any message.

Parametersbooleanmatchtrue 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
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTfrontOfficeId 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.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsFrontOfficeQuery() 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_ARGUMENTlogEntryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(logEntryRecordType) is false
CompliancemandatoryThis method must be implemented.