public interface LogEntry extends OsidObject
A log entry consists of a time, an agent, and a priority type.
Modifier and Type | Method and Description |
---|---|
Agent |
getAgent()
Gets the
Agent who created this entry. |
Id |
getAgentId()
Gets the agent
Id who created this entry. |
LogEntryRecord |
getLogEntryRecord(Type logEntryRecordType)
Gets the log entry record corresponding to the given
LogEntry
record Type. |
Type |
getPriority()
Gets the priority level of this entry.
|
Resource |
getResource()
Gets the
Resource who created this entry. |
Id |
getResourceId()
Gets the resource
Id who created this entry. |
DateTime |
getTimestamp()
Gets the time this entry was logged.
|
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
Type getPriority()
mandatory
- This method must be implemented. DateTime getTimestamp()
mandatory
- This method must be implemented. Id getResourceId()
Id
who created this entry. Id
mandatory
- This method must be implemented. Resource getResource() throws OperationFailedException
Resource
who created this entry. Resource
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Id getAgentId()
Id
who created this entry. Id
mandatory
- This method must be implemented. Agent getAgent() throws OperationFailedException
Agent
who created this entry. Agent
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. LogEntryRecord getLogEntryRecord(Type logEntryRecordType) throws OperationFailedException
LogEntry
record Type.
This method is used to retrieve an
object implementing the requested record. The
logEntryRecordType
may be the Type
returned in
getRecordTypes()
or any of its parents in a Type
hierarchy where hasRecordType(logEntryRecordType)
is true
.logEntryRecordType
- the type of log entry record to retrieveNullArgumentException
- logEntryRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(logEntryRecordType)
is false
mandatory
- This method must be implemented.