public interface LogEntryQuery extends OsidObjectQuery
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.
Modifier and Type | Method and Description |
---|---|
void |
clearAgentIdTerms()
Clears the agent
Id query terms. |
void |
clearAgentTerms()
Clears the agent query terms.
|
void |
clearDateTerms()
Clears the date query terms.
|
void |
clearFrontOfficeIdTerms()
Clears the front office
Id query terms. |
void |
clearFrontOfficeTerms()
Clears the front office query terms.
|
void |
clearIssueIdTerms()
Clears the issue
Id query terms. |
void |
clearIssueTerms()
Clears the issue query terms.
|
void |
clearMessageTerms()
Clears the message query terms.
|
void |
clearSummaryTerms()
Clears the summary query terms.
|
AgentQuery |
getAgentQuery()
Gets the query for an agent.
|
FrontOfficeQuery |
getFrontOfficeQuery()
Gets the query for a front office.
|
IssueQuery |
getIssueQuery()
Gets the query for an issue.
|
LogEntryQueryRecord |
getLogEntryQueryRecord(Type logEntryRecordType)
Gets the log entry query record corresponding to the given
LogEntry record Type. |
void |
matchAgentId(Id agentId,
boolean match)
Sets the agent
Id for this query. |
void |
matchAnyMessage(boolean match)
Matches log entries that has any message.
|
void |
matchAnySummary(boolean match)
Matches log entries that has any summary.
|
void |
matchDate(DateTime from,
DateTime to,
boolean match)
Matches log entries that have the specified date inclusive.
|
void |
matchFrontOfficeId(Id frontOfficeId,
boolean match)
Sets the front office
Id for this query to match log
entries assigned to front offices. |
void |
matchIssueId(Id issueId,
boolean match)
Sets the issue
Id for this query. |
void |
matchMessage(java.lang.String message,
Type stringMatchType,
boolean match)
Matches a message.
|
void |
matchSummary(java.lang.String summary,
Type stringMatchType,
boolean match)
Matches a summary.
|
boolean |
supportsAgentQuery()
Tests if an
AgentQuery is available. |
boolean |
supportsFrontOfficeQuery()
Tests if a
FrontOfficeQuery is available. |
boolean |
supportsIssueQuery()
Tests if an
IssueQuery is available for an ending
issue. |
clearCommentIdTerms, clearCommentTerms, clearCreditIdTerms, clearCreditTerms, clearDescriptionTerms, clearDisplayNameTerms, clearGenusTypeTerms, clearJournalEntryIdTerms, clearJournalEntryTerms, clearParentGenusTypeTerms, clearRelationshipIdTerms, clearRelationshipPeerIdTerms, clearRelationshipTerms, clearStateIdTerms, clearStateTerms, clearStatisticTerms, clearSubjectIdTerms, clearSubjectRelevancyTerms, clearSubjectTerms, getCommentQuery, getCreditQuery, getJournalEntryQuery, getRelationshipQuery, getStateQuery, getStatisticQuery, getSubjectQuery, getSubjectRelevancyQuery, matchAnyComment, matchAnyCredit, matchAnyDescription, matchAnyDisplayName, matchAnyGenusType, matchAnyJournalEntry, matchAnyRelationship, matchAnyState, matchAnyStatistic, matchAnySubject, matchCommentId, matchCreditId, matchDescription, matchDisplayName, matchGenusType, matchJournalEntryId, matchParentGenusType, matchRelationshipId, matchRelationshipPeerId, matchStateId, matchSubjectId, supportsCommentQuery, supportsCreditQuery, supportsJournalEntryQuery, supportsRelationshipQuery, supportsStateQuery, supportsStatisticQuery, supportsSubjectQuery, supportsSubjectRelevancyQuery
clearIdTerms, matchId
clearRecordTerms, matchAnyRecord, matchRecordType
getRecordTypes, hasRecordType
clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchType
void matchAgentId(Id agentId, boolean match)
Id
for this query.agentId
- the agent Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- agentId
is
null
mandatory
- This method must be implemented. void clearAgentIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsAgentQuery()
AgentQuery
is available. true
if an agent query is available,
false
otherwisemandatory
- This method must be implemented. AgentQuery getAgentQuery()
OR
term.UnimplementedException
- supportsAgentQuery()
is false
optional
- This method must be implemented if
supportsAgentQuery()
is true.
void clearAgentTerms()
mandatory
- This method must be implemented. void matchIssueId(Id issueId, boolean match)
Id
for this query.issueId
- the issue Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- issueId
is
null
mandatory
- This method must be implemented. void clearIssueIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsIssueQuery()
IssueQuery
is available for an ending
issue. true
if an issue query is available,
false
otherwisemandatory
- This method must be implemented. IssueQuery getIssueQuery()
OR
term.UnimplementedException
- supportsIssueQuery()
is false
optional
- This method must be implemented if
supportsIssueQuery()
is true.
void clearIssueTerms()
mandatory
- This method must be implemented. void matchDate(DateTime from, DateTime to, boolean match)
from
- starting rangeto
- ending rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- to
is less
than from
NullArgumentException
- from
or
to
is null
mandatory
- This method must be implemented. void clearDateTerms()
mandatory
- This method must be implemented. void matchSummary(java.lang.String summary, Type stringMatchType, boolean match)
summary
- summarystringMatchType
- a string match typematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- summary
not
of stringMatchType
NullArgumentException
- summary
or
stringMatchType
is null
UnsupportedException
- stringMatchType
not supportedmandatory
- This method must be implemented. void matchAnySummary(boolean match)
match
- true
to match log entries with any
summary, false
to match log entries with no
summarymandatory
- This method must be implemented. void clearSummaryTerms()
mandatory
- This method must be implemented. void matchMessage(java.lang.String message, Type stringMatchType, boolean match)
message
- a messagestringMatchType
- a string match typematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- message
not
of stringMatchType
NullArgumentException
- message
or
stringMatchType
is null
UnsupportedException
- stringMatchType
not supportedmandatory
- This method must be implemented. void matchAnyMessage(boolean match)
match
- true
to match log entries with any
message, false
to match log entries with no
messagemandatory
- This method must be implemented. void clearMessageTerms()
mandatory
- This method must be implemented. void matchFrontOfficeId(Id frontOfficeId, boolean match)
Id
for this query to match log
entries assigned to front offices.frontOfficeId
- the front office Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- frontOfficeId
is
null
mandatory
- This method must be implemented. void clearFrontOfficeIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsFrontOfficeQuery()
FrontOfficeQuery
is available. true
if a front office query is available,
false
otherwisemandatory
- This method must be implemented. FrontOfficeQuery getFrontOfficeQuery()
OR
term.UnimplementedException
-
supportsFrontOfficeQuery()
is false
optional
- This method must be implemented if
supportsFrontOfficeQuery()
is true.
void clearFrontOfficeTerms()
mandatory
- This method must be implemented. LogEntryQueryRecord getLogEntryQueryRecord(Type logEntryRecordType) throws OperationFailedException
LogEntry
record Type.
Multiple record
retrievals produce a nested OR
term.logEntryRecordType
- an log entry record typeNullArgumentException
- logEntryRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(logEntryRecordType)
is false
mandatory
- This method must be implemented.