|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jalios.jcms.context.JcmsContext
com.jalios.jcms.context.JcmsJspContext
com.jalios.jcms.handler.JcmsFormHandler
com.jalios.jcms.handler.EditDataHandler
com.jalios.jcms.handler.EditNotificationCriteriaHandler
public class EditNotificationCriteriaHandler
Field Summary | |
---|---|
protected Set<Category> |
categorySet
|
protected String |
catMode
|
protected Set<Class<? extends Publication>> |
classSet
|
static int |
CRITERIA_STEP
|
protected boolean |
exactCat
|
protected boolean |
isCreate
|
protected Member |
member
|
protected int |
mutationType
|
protected NotificationCriteria |
notificationCriteria
|
protected String |
openTab
|
protected int |
periodType
|
protected Workspace |
refineWS
|
protected String |
text
|
protected String |
textMode
|
static int |
TYPES_STEP
|
protected NotificationCriteria |
workingData
|
Fields inherited from class com.jalios.jcms.handler.EditDataHandler |
---|
extFormHandler, formStep, id, isDeleteForced, op, opCancel, opCreate, opDelete, opFinish, opNext, opPrevious, opRefresh, opUpdate, resultOpCreate, resultOpDelete, resultOpUpdate, REVISION |
Fields inherited from class com.jalios.jcms.handler.JcmsFormHandler |
---|
contextMap, editFieldSet, noRedirect, noSendRedirect, popupEdition, redirect, redirectOnClosePopup, workspaceForced |
Fields inherited from class com.jalios.jcms.context.JcmsJspContext |
---|
AJAX_REQUEST_ATTRIBUTES, BODY_HEADER, CSS_HEADER, cssboMap, cssfoMap, CUSTOM_HEADER, editIcon, HTTPEQUIV_HEADER, httpequivMap, HTTPNAME_HEADER, httpnameMap, initEditIcon, JAVASCRIPT_CODE_SET_ATTRIBUTE, JAVASCRIPT_SET_ATTRIBUTE, jsboSet, jsfoSet, out, pageContext, SHOW_EDIT_ICON, STYLE_HEADER |
Fields inherited from class com.jalios.jcms.context.JcmsContext |
---|
browser, caddy, channel, inFO, initDone, initWorkspace, isAdmin, isAjaxRequest, isDBMember, isDebug, isLogged, loggedMember, request, response, userCountry, userLang, userLocale, workspace |
Fields inherited from interface com.jalios.util.JaliosConstants |
---|
CRLF, MILLIS_IN_ONE_DAY, MILLIS_IN_ONE_HOUR, MILLIS_IN_ONE_MINUTE, MILLIS_IN_ONE_MONTH, MILLIS_IN_ONE_SECOND, MILLIS_IN_ONE_WEEK, MILLIS_IN_ONE_YEAR |
Constructor Summary | |
---|---|
EditNotificationCriteriaHandler()
|
Method Summary | |
---|---|
List |
getAllClassList()
|
Set<Category> |
getAvailableCategorySet()
|
String |
getAvailableCatMode()
|
Set<Class<? extends Publication>> |
getAvailableClassSet()
|
boolean |
getAvailableExactCat()
|
int |
getAvailableMutationType()
|
int |
getAvailablePeriodType()
|
Workspace |
getAvailableRefineWS()
|
String |
getAvailableText()
|
String |
getAvailableTextMode()
|
Class<? extends Data> |
getDataClass()
|
int |
getFormStepCount()
Retrieve the total number of steps used for edition when invoking this form handler. |
String |
getFormStepHiddenFields()
|
String |
getOpenTab()
|
protected String |
getQueryString()
|
boolean |
isCatModeAnd()
|
protected boolean |
performDelete()
|
protected boolean |
performFinish()
|
boolean |
processAction()
Method to be implemented to check/validate action to be performed and process them. |
void |
setCatMode(String v)
|
void |
setCids(String[] v)
|
void |
setExactCat(String v)
|
void |
setFields(Data data)
Set the common (Data) fields. |
void |
setId(String id)
|
void |
setMember(String v)
|
void |
setMutationType(int v)
|
void |
setOpenTab(String v)
|
void |
setPeriodType(int v)
|
void |
setRefineWS(String v)
|
void |
setText(String v)
|
void |
setTextMode(String v)
|
void |
setTypes(String[] types)
|
boolean |
showCategoryOptions()
|
boolean |
showFinishButton()
Check if the "Finish" button should be displayed in step modal form. |
boolean |
showNextButton()
Check if the "Next" button should be displayed in step modal form. |
boolean |
showTextOptions()
|
protected boolean |
validateDelete()
|
protected boolean |
validateFinish()
|
boolean |
validateMember()
|
protected boolean |
validateNext()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CRITERIA_STEP
public static final int TYPES_STEP
protected NotificationCriteria notificationCriteria
protected Member member
protected int periodType
protected int mutationType
protected Set<Category> categorySet
protected String catMode
protected boolean exactCat
protected String text
protected String textMode
protected Set<Class<? extends Publication>> classSet
protected Workspace refineWS
protected NotificationCriteria workingData
protected boolean isCreate
protected String openTab
Constructor Detail |
---|
public EditNotificationCriteriaHandler()
Method Detail |
---|
public boolean processAction() throws IOException
JcmsFormHandler
Default implementation is to return false. No need to call super method.
This method may NOT be invoked at all if security validation are not met.
You must ensure your handler and JSP can work properly without any code invoked
in this method.
processAction
in class EditDataHandler
IOException
public boolean validateMember()
protected boolean validateNext() throws IOException
validateNext
in class EditDataHandler
IOException
protected boolean validateFinish() throws IOException
validateFinish
in class EditDataHandler
IOException
protected boolean performFinish() throws IOException
performFinish
in class EditDataHandler
IOException
protected boolean validateDelete() throws IOException
IOException
protected boolean performDelete() throws IOException
IOException
public void setFields(Data data)
EditDataHandler
setFields
in class EditDataHandler
data
- the publication to set the fieldsprotected String getQueryString()
public int getFormStepCount()
EditDataHandler
The default implementation of this method is to return 1, corresponding to one step (which means only 1 screen being displayed).
You can provide a custom FormHandler to override this behavior.
See jcore/doSteps.jspf for use of this method.
getFormStepCount
in class EditDataHandler
public boolean showNextButton()
EditDataHandler
The default implementation of this method is to return true
unless the finish button is being displayed
by method EditDataHandler.showFinishButton()
.
You can provide a custom FormHandler to override this behavior.
See jcore/doStepButtons.jspf for use of this method.
showNextButton
in class EditDataHandler
public boolean showFinishButton()
EditDataHandler
The default implementation of this method is to return true
if the current step (as returned by EditDataHandler.getFormStep()
is
the last one (as compared with EditDataHandler.getFormStepCount()
.
You can provide a custom FormHandler to override this behavior.
See jcore/doStepButtons.jspf for use of this method.
showFinishButton
in class EditDataHandler
public String getFormStepHiddenFields()
public Class<? extends Data> getDataClass()
getDataClass
in class EditDataHandler
public void setId(String id)
setId
in class EditDataHandler
public void setMember(String v)
public boolean showCategoryOptions()
public boolean showTextOptions()
public void setOpenTab(String v)
public String getOpenTab()
public void setPeriodType(int v)
public int getAvailablePeriodType()
public void setMutationType(int v)
public int getAvailableMutationType()
public void setCids(String[] v)
public Set<Category> getAvailableCategorySet()
public void setText(String v)
public String getAvailableText()
public void setTextMode(String v)
public String getAvailableTextMode()
public void setCatMode(String v)
public String getAvailableCatMode()
public boolean isCatModeAnd()
public void setExactCat(String v)
public boolean getAvailableExactCat()
public void setTypes(String[] types)
public Set<Class<? extends Publication>> getAvailableClassSet()
public List getAllClassList()
public void setRefineWS(String v)
public Workspace getAvailableRefineWS()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |