Interface LogEntry
- All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject
A LogEntry is an entry of an issue.
Like all OsidObjects, LogEntry is managed by its
OsidSessions and may not be accessed by concurrent processing
threads.
-
Method Summary
Modifier and TypeMethodDescriptionGets the action of this log entry.getAgent()Gets the agent.Gets theIdof the agent.getDate()Gets the date of this log entry.getIssue()Gets the issue of this log entry.Gets theIdof the issue of this log entry.getLogEntryRecord(Type logEntryRecordType) Gets the log entry record corresponding to the givenLogEntryrecordType.This method is used to retrieve an object implementing the requested record.Gets the text of this entry.Gets a summary header for this entry.Methods inherited from interface Browsable
getProperties, getPropertiesByRecordTypeMethods inherited from interface Extensible
getRecordTypes, hasRecordTypeMethods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidObject
getDescription, getDisplayName, getGenusType, isOfGenusType
-
Method Details
-
getAgentId
Id getAgentId()Gets theIdof the agent.- Returns:
- the agent
Id - Compliance:
mandatory- This method must be implemented.
-
getAgent
Gets the agent.- Returns:
- the agent
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getIssueId
Id getIssueId()Gets theIdof the issue of this log entry.- Returns:
- the issue
Id - Compliance:
mandatory- This method must be implemented.
-
getIssue
Gets the issue of this log entry.- Returns:
- the issue
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getDate
DateTime getDate()Gets the date of this log entry.- Returns:
- the date
- Compliance:
mandatory- This method must be implemented.
-
getAction
IssueAction getAction()Gets the action of this log entry.- Returns:
- the issue action
- Compliance:
mandatory- This method must be implemented.
-
getSummary
DisplayText getSummary()Gets a summary header for this entry.- Returns:
- the summary
- Compliance:
mandatory- This method must be implemented.
-
getMessage
DisplayText getMessage()Gets the text of this entry.- Returns:
- the entry text
- Compliance:
mandatory- This method must be implemented.
-
getLogEntryRecord
Gets the log entry record corresponding to the givenLogEntryrecordType.This method is used to retrieve an object implementing the requested record. ThelogEntryRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(logEntryRecordType)istrue.- Parameters:
logEntryRecordType- the type of log entry record to retrieve- Returns:
- the log entry record
- Throws:
NullArgumentException-logEntryRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(logEntryRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-