|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Answer
An answer is a first-level post to a Brainstorm question.
| Method Summary | |
|---|---|
void |
addComment(Comment comment)
Adds a comment to this answer. |
void |
addRevision(Revision revision)
Adds a revision to this answer. |
Set<AnswerTag> |
getAnswerTags()
Returns all of the AnserTags that are on this Answer. |
Set<Comment> |
getComments()
Get all the comments for this answer. |
Group |
getGroup()
Returns the Group that this answer was posted to, and members in the group can see this answer |
Set<Revision> |
getRevisions()
Gets all the revisions in this Answer. |
WISEWorkgroup |
getWorkgroup()
Get the WISEWorkgroup that authored
this answer |
Set<WISEWorkgroup> |
getWorkgroupsThatFoundAnswerHelpful()
Returns a Set of Workgroups that found this answer
helpful. |
boolean |
isAnonymous()
Indicates whether this answer should be posted as anonymous. |
void |
markAsHelpful(WISEWorkgroup workgroup)
Saves a workgroup that found this Answer to be helpful. |
void |
setAnonymous(boolean isAnonymous)
Indicates whether this answer should be posted as anonymous. |
void |
setGroup(Group group)
Sets the Group that this answer was posted to, and members in the group can see this answer |
void |
setWorkgroup(WISEWorkgroup workgroup)
Set the WISEWorkgroup that authored
this answer |
void |
unmarkAsHelpful(WISEWorkgroup workgroup)
Indicates that the specified workgroup no longer finds this Answer helpful. |
boolean |
workgroupMarkedAnswerHelpful(WISEWorkgroup workgroup)
Returns whether the specified workgroup found this answer as helpful. |
| Methods inherited from interface net.sf.sail.webapp.domain.Persistable |
|---|
getId |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
Set<Revision> getRevisions()
Group getGroup()
Group which group can see this
answervoid setGroup(Group group)
Group - which group can see this
answerWISEWorkgroup getWorkgroup()
WISEWorkgroup that authored
this answer
WISEWorkgroupvoid setWorkgroup(WISEWorkgroup workgroup)
WISEWorkgroup that authored
this answer
WISEWorkgroup - Set<Comment> getComments()
void addComment(Comment comment)
Comment - to add.void addRevision(Revision revision)
revision - boolean isAnonymous()
void setAnonymous(boolean isAnonymous)
true - iff this post should be posted as
anonymous.void markAsHelpful(WISEWorkgroup workgroup)
Workgroup - that found this answer
helpful.Set<WISEWorkgroup> getWorkgroupsThatFoundAnswerHelpful()
Set of Workgroups that found this answer
helpful.
Set of Workgroups that found this answer
helpful.Set<AnswerTag> getAnswerTags()
void unmarkAsHelpful(WISEWorkgroup workgroup)
workgroup - boolean workgroupMarkedAnswerHelpful(WISEWorkgroup workgroup)
workgroup -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||