|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommentManagerActions
Provides comment manager related operations.
Field Summary | |
---|---|
static java.lang.String |
CHILDREN_COMMENT_LIST
|
Method Summary | |
---|---|
java.lang.String |
addComment()
creates a new comment from |
DocumentModel |
addComment(DocumentModel comment)
Add the given comment DocumentModel to commentableDoc. |
java.lang.String |
beginComment()
|
java.lang.String |
cancelComment()
|
java.lang.String |
createComment(DocumentModel docToComment)
Same as addComment() method but using the given document instead of currentDocument. |
java.lang.String |
deleteComment()
|
java.lang.String |
deleteComment(java.lang.String commentId)
|
void |
destroy()
|
void |
documentChanged()
Clean all the bean's context variables. |
java.util.List<Action> |
getActionsForComment()
|
java.util.List<Action> |
getActionsForComment(java.lang.String category)
|
java.util.List<ThreadEntry> |
getCommentsAsThread()
Initializes uiComments with currentDocument if uiComments is null. |
java.util.List<ThreadEntry> |
getCommentsAsThread(DocumentModel commentedDoc)
Initialize uiComments with given Document if uiComments is null. |
java.util.List<ThreadEntry> |
getCommentsAsThreadOnDoc(DocumentModel doc)
|
boolean |
getCommentStarted()
|
java.util.List<UIComment> |
getLastCommentsByDate(java.lang.String commentNumber)
Retrieves a given number of comments from currentDocument. |
java.util.List<UIComment> |
getLastCommentsByDate(java.lang.String commentNumber,
DocumentModel commentedDoc)
Retrieves a given number of comments from the given Document. |
java.lang.String |
getNewContent()
|
boolean |
getPrincipalIsAdmin()
|
java.lang.String |
getPrincipalName()
|
java.lang.String |
getSavedReplyCommentId()
|
boolean |
getShowCreateForm()
|
void |
initComments()
Initializes uiComments with currentDocument. |
void |
initComments(DocumentModel commentedDoc)
Initializes uiComments with given Document. |
void |
initialize()
Bean initialization method. |
void |
setNewContent(java.lang.String newContent)
|
void |
setSavedReplyCommentId(java.lang.String savedReplyCommentId)
|
void |
setShowCreateForm(boolean flag)
|
void |
toggleCreateForm(javax.faces.event.ActionEvent event)
|
Field Detail |
---|
static final java.lang.String CHILDREN_COMMENT_LIST
Method Detail |
---|
java.util.List<Action> getActionsForComment()
java.util.List<Action> getActionsForComment(java.lang.String category)
void initialize() throws java.lang.Exception
java.lang.Exception
void documentChanged()
void initComments() throws ClientException
ClientException
void initComments(DocumentModel commentedDoc) throws ClientException
ClientException
java.util.List<ThreadEntry> getCommentsAsThread() throws ClientException
ClientException
java.util.List<ThreadEntry> getCommentsAsThread(DocumentModel commentedDoc) throws ClientException
ClientException
java.util.List<ThreadEntry> getCommentsAsThreadOnDoc(DocumentModel doc) throws ClientException
ClientException
java.lang.String beginComment()
java.lang.String cancelComment()
java.lang.String addComment() throws ClientException
ClientException
java.lang.String createComment(DocumentModel docToComment) throws ClientException
ClientException
DocumentModel addComment(DocumentModel comment) throws ClientException
ClientException
java.lang.String deleteComment() throws ClientException
ClientException
java.lang.String deleteComment(java.lang.String commentId) throws ClientException
ClientException
void destroy()
java.lang.String getNewContent()
void setNewContent(java.lang.String newContent)
java.lang.String getPrincipalName()
boolean getPrincipalIsAdmin()
boolean getCommentStarted()
java.lang.String getSavedReplyCommentId()
void setSavedReplyCommentId(java.lang.String savedReplyCommentId)
boolean getShowCreateForm()
void setShowCreateForm(boolean flag)
void toggleCreateForm(javax.faces.event.ActionEvent event)
java.util.List<UIComment> getLastCommentsByDate(java.lang.String commentNumber) throws ClientException
commentNumber
- the number of comment to fetch
ClientException
java.util.List<UIComment> getLastCommentsByDate(java.lang.String commentNumber, DocumentModel commentedDoc) throws ClientException
commentNumber
- the number of comment to fetchcommentedDoc
-
ClientException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |