Class CaseCommentsPresenter
- java.lang.Object
-
- org.jbpm.workbench.cm.client.util.AbstractPresenter<V>
-
- org.jbpm.workbench.cm.client.util.AbstractCaseInstancePresenter<CaseCommentsPresenter.CaseCommentsView>
-
- org.jbpm.workbench.cm.client.comments.CaseCommentsPresenter
-
@Dependent public class CaseCommentsPresenter extends AbstractCaseInstancePresenter<CaseCommentsPresenter.CaseCommentsView>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCaseCommentsPresenter.CaseCommentActionstatic interfaceCaseCommentsPresenter.CaseCommentsView
-
Field Summary
Fields Modifier and Type Field Description static intPAGE_SIZEstatic StringSCREEN_ID-
Fields inherited from class org.jbpm.workbench.cm.client.util.AbstractCaseInstancePresenter
caseId, caseService, containerId, PARAMETER_CASE_ID, PARAMETER_CONTAINER_ID, place, translationService
-
Fields inherited from class org.jbpm.workbench.cm.client.util.AbstractPresenter
view
-
-
Constructor Summary
Constructors Constructor Description CaseCommentsPresenter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddCaseComment(String caseCommentText)protected voidclearCaseInstance()protected voiddeleteCaseComment(org.jbpm.workbench.cm.model.CaseCommentSummary caseCommentSummary)intgetCurrentPage()intgetPageSize()StringgetTittle()protected voidloadCaseInstance(org.jbpm.workbench.cm.model.CaseInstanceSummary cis)voidloadMoreCaseComments()voidrefreshComments()voidsetCurrentPage(int i)voidsortComments(boolean sortAsc)protected voidupdateCaseComment(org.jbpm.workbench.cm.model.CaseCommentSummary caseCommentSummary, String caseCommentNewText)-
Methods inherited from class org.jbpm.workbench.cm.client.util.AbstractCaseInstancePresenter
findCaseInstance, isCaseInstanceValid, onCaseRefreshEvent, onStartup, setCaseService
-
Methods inherited from class org.jbpm.workbench.cm.client.util.AbstractPresenter
getView, init
-
-
-
-
Field Detail
-
SCREEN_ID
public static final String SCREEN_ID
- See Also:
- Constant Field Values
-
PAGE_SIZE
public static final int PAGE_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPageSize
public int getPageSize()
-
setCurrentPage
public void setCurrentPage(int i)
-
getCurrentPage
public int getCurrentPage()
-
getTittle
public String getTittle()
-
clearCaseInstance
protected void clearCaseInstance()
- Specified by:
clearCaseInstancein classAbstractCaseInstancePresenter<CaseCommentsPresenter.CaseCommentsView>
-
loadCaseInstance
protected void loadCaseInstance(org.jbpm.workbench.cm.model.CaseInstanceSummary cis)
- Specified by:
loadCaseInstancein classAbstractCaseInstancePresenter<CaseCommentsPresenter.CaseCommentsView>
-
refreshComments
public void refreshComments()
-
loadMoreCaseComments
public void loadMoreCaseComments()
-
sortComments
public void sortComments(boolean sortAsc)
-
addCaseComment
protected void addCaseComment(String caseCommentText)
-
updateCaseComment
protected void updateCaseComment(org.jbpm.workbench.cm.model.CaseCommentSummary caseCommentSummary, String caseCommentNewText)
-
deleteCaseComment
protected void deleteCaseComment(org.jbpm.workbench.cm.model.CaseCommentSummary caseCommentSummary)
-
-