public interface Reply extends OsidObject, Containable, Subjugateable
A Reply
is a response to a Post
or
another Reply.
Modifier and Type | Method and Description |
---|---|
Post |
getPost()
Gets the original top level post.
|
Resource |
getPoster()
Gets the posting of this entry.
|
Id |
getPosterId()
Gets the poster resource
Id of this entry. |
Id |
getPostId()
Gets the
Id of the original top level post for this
reply. |
Agent |
getPostingAgent()
Gets the posting of this entry.
|
Id |
getPostingAgentId()
Gets the posting
Id of this entry. |
ReplyList |
getReplies()
Gets the replies to this reply.
|
IdList |
getReplyIds()
Gets the
Ids of the replies to this rpely. |
ReplyRecord |
getReplyRecord(Type replyRecordType)
Gets the reply record corresponding to the given
Reply
record Type. |
DisplayText |
getSubjectLine()
Gets the subject line of this entry.
|
DisplayText |
getText()
Gets the text of the entry.
|
DateTime |
getTimestamp()
Gets the time of this entry.
|
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
isSequestered
Id getPostId()
Id
of the original top level post for this
reply. Id
mandatory
- This method must be implemented. Post getPost() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. IdList getReplyIds()
Ids
of the replies to this rpely. Ids
mandatory
- This method must be implemented. ReplyList getReplies() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. DateTime getTimestamp()
mandatory
- This method must be implemented. Id getPosterId()
Id
of this entry. Id
mandatory
- This method must be implemented. Resource getPoster() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Id getPostingAgentId()
Id
of this entry. Id
mandatory
- This method must be implemented. Agent getPostingAgent() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. DisplayText getSubjectLine()
mandatory
- This method must be implemented. DisplayText getText()
mandatory
- This method must be implemented. ReplyRecord getReplyRecord(Type replyRecordType) throws OperationFailedException
Reply
record Type.
This method is used to retrieve an object
implementing the requested record. The replyRecordType
may be the Type
returned in getRecordTypes()
or any of its parents in a Type
hierarchy where
hasRecordType(replyRecordType)
is true
.replyRecordType
- the type of reply record to retrieveNullArgumentException
- replyRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(replyRecordType)
is false
mandatory
- This method must be implemented.