| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.questionReply.web.ReplyEntity
public class ReplyEntity
| Constructor Summary | |
|---|---|
protected  | 
ReplyEntity()
 | 
| Method Summary | |
|---|---|
 boolean | 
equals(Object obj)
 | 
static List<ReplyEntity> | 
fromReplies(Iterable<Reply> replies,
            String lang)
Creates several new reply entities from the specified list of replies.  | 
static List<ReplyEntity> | 
fromReplies(Reply... replies)
Creates several new reply entities from the specified replies.  | 
static ReplyEntity | 
fromReply(Reply reply,
          String lang)
Creates a new reply entity from the specified reply.  | 
 com.silverpeas.attachment.web.AttachmentEntity[] | 
getAttachments()
 | 
 String | 
getContent()
 | 
 String | 
getCreationDate()
 | 
 String | 
getCreatorId()
 | 
 String | 
getCreatorName()
 | 
 String | 
getId()
 | 
 String | 
getLanguage()
 | 
 String | 
getTitle()
 | 
 URI | 
getURI()
 | 
 int | 
hashCode()
 | 
 boolean | 
isPrivateReply()
 | 
 boolean | 
isPublicReply()
 | 
 Reply | 
toReply()
Gets the reply business objet this entity represent.  | 
 String | 
toString()
 | 
 ReplyEntity | 
withAttachments(Collection<org.silverpeas.attachment.model.SimpleDocument> attachmentDetails)
Sets a URI to this entity.  | 
 ReplyEntity | 
withProfile(com.stratelia.webactiv.SilverpeasRole profile)
Sets the accessing user profile to this entity.  | 
 ReplyEntity | 
withURI(URI uri)
Sets a URI to this entity.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
protected ReplyEntity()
| Method Detail | 
|---|
public String getContent()
public String getCreationDate()
public String getCreatorId()
public String getCreatorName()
public String getId()
public boolean isPrivateReply()
public boolean isPublicReply()
public String getTitle()
public String getLanguage()
public com.silverpeas.attachment.web.AttachmentEntity[] getAttachments()
public URI getURI()
getURI in interface com.silverpeas.web.Exposablepublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
public static ReplyEntity fromReply(Reply reply,
                                    String lang)
reply - the reply to entitify.
public static List<ReplyEntity> fromReplies(Reply... replies)
replies - the replies to entitify.
public static List<ReplyEntity> fromReplies(Iterable<Reply> replies,
                                            String lang)
replies - the list of replies to entitify.
public Reply toReply()
public ReplyEntity withURI(URI uri)
uri - the web entity URI.
public ReplyEntity withAttachments(Collection<org.silverpeas.attachment.model.SimpleDocument> attachmentDetails)
attachmentDetails - 
public ReplyEntity withProfile(com.stratelia.webactiv.SilverpeasRole profile)
profile - the profile of the accessing user.
public String toString()
toString in class Object
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||