@Dependent public class CaseCommentsPresenter extends AbstractCaseInstancePresenter<CaseCommentsPresenter.CaseCommentsView>
Modifier and Type | Class and Description |
---|---|
static interface |
CaseCommentsPresenter.CaseCommentAction |
static interface |
CaseCommentsPresenter.CaseCommentsView |
Modifier and Type | Field and Description |
---|---|
static int |
PAGE_SIZE |
static String |
SCREEN_ID |
caseId, caseService, containerId, PARAMETER_CASE_ID, PARAMETER_CONTAINER_ID, place, translationService
view
Constructor and Description |
---|
CaseCommentsPresenter() |
Modifier and Type | Method and Description |
---|---|
protected void |
addCaseComment(String caseCommentText) |
protected void |
clearCaseInstance() |
protected void |
deleteCaseComment(CaseCommentSummary caseCommentSummary) |
int |
getCurrentPage() |
int |
getPageSize() |
String |
getTittle() |
protected void |
loadCaseInstance(CaseInstanceSummary cis) |
void |
loadMoreCaseComments() |
void |
refreshComments() |
void |
setCurrentPage(int i) |
void |
sortComments(boolean sortAsc) |
protected void |
updateCaseComment(CaseCommentSummary caseCommentSummary,
String caseCommentNewText) |
findCaseInstance, isCaseInstanceValid, onCaseRefreshEvent, onStartup, setCaseService
getView, init
public static final String SCREEN_ID
public static final int PAGE_SIZE
public int getPageSize()
public void setCurrentPage(int i)
public int getCurrentPage()
public String getTittle()
protected void clearCaseInstance()
clearCaseInstance
in class AbstractCaseInstancePresenter<CaseCommentsPresenter.CaseCommentsView>
protected void loadCaseInstance(CaseInstanceSummary cis)
loadCaseInstance
in class AbstractCaseInstancePresenter<CaseCommentsPresenter.CaseCommentsView>
public void refreshComments()
public void loadMoreCaseComments()
public void sortComments(boolean sortAsc)
protected void addCaseComment(String caseCommentText)
protected void updateCaseComment(CaseCommentSummary caseCommentSummary, String caseCommentNewText)
protected void deleteCaseComment(CaseCommentSummary caseCommentSummary)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.