Interface LogEntry
- All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject
A LogEntry is an entry of an issue.
-
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, getPropertiesByRecordTypeModifier and TypeMethodDescriptionGets a list of properties.getPropertiesByRecordType(Type recordType) Gets a list of properties corresponding to the specified record type.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidObject
getDescription, getDisplayName, getGenusType, isOfGenusTypeModifier and TypeMethodDescriptionGets the description associated with this instance of this OSID object.Gets the preferred display name associated with this instance of this OSID object appropriate for display to the user.Gets the genus type of this object.booleanisOfGenusType(Type genusType) Tests if this object is of the given genusType.
-
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.
-