Interface Reply
- All Superinterfaces:
Browsable, Containable, Extensible, Identifiable, OsidObject, Subjugateable
A Reply is a response to a Post or another
Reply .
-
Method Summary
Modifier and TypeMethodDescriptiongetPost()Gets the original top level post.Gets the posting of this entry.Gets the poster resourceIdof this entry.Gets theIdof the original top level post for this reply.Gets the posting of this entry.Gets the postingIdof this entry.Gets the replies to this reply.Gets theIdsof the replies to this rpely.getReplyRecord(Type replyRecordType) Gets the reply record corresponding to the givenReplyrecordType.This method is used to retrieve an object implementing the requested record.Gets the subject line of this entry.getText()Gets the text of the entry.Gets the time of 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 Containable
isSequesteredModifier and TypeMethodDescriptionbooleanTests if thisContainableis sequestered in that it should not appear outside of its aggregated composition.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
-
getPostId
Id getPostId()Gets theIdof the original top level post for this reply.- Returns:
- the post
Id - Compliance:
mandatory- This method must be implemented.
-
getPost
Gets the original top level post.- Returns:
- the post
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getReplyIds
IdList getReplyIds()Gets theIdsof the replies to this rpely.- Returns:
- the reply
Ids - Compliance:
mandatory- This method must be implemented.
-
getReplies
Gets the replies to this reply.- Returns:
- the replies
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getTimestamp
DateTime getTimestamp()Gets the time of this entry.- Returns:
- the time
- Compliance:
mandatory- This method must be implemented.
-
getPosterId
Id getPosterId()Gets the poster resourceIdof this entry.- Returns:
- the poster resource
Id - Compliance:
mandatory- This method must be implemented.
-
getPoster
Gets the posting of this entry.- Returns:
- the poster resource
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getPostingAgentId
Id getPostingAgentId()Gets the postingIdof this entry.- Returns:
- the posting agent
Id - Compliance:
mandatory- This method must be implemented.
-
getPostingAgent
Gets the posting of this entry.- Returns:
- the posting agent
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getSubjectLine
DisplayText getSubjectLine()Gets the subject line of this entry.- Returns:
- the subject
- Compliance:
mandatory- This method must be implemented.
-
getText
DisplayText getText()Gets the text of the entry.- Returns:
- the entry text
- Compliance:
mandatory- This method must be implemented.
-
getReplyRecord
Gets the reply record corresponding to the givenReplyrecordType.This method is used to retrieve an object implementing the requested record. ThereplyRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(replyRecordType)istrue.- Parameters:
replyRecordType- the type of reply record to retrieve- Returns:
- the reply record
- Throws:
NullArgumentException-replyRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(replyRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-