|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.jcms.context.JcmsContext com.jalios.jcms.context.JcmsJspContext com.jalios.jcms.handler.JcmsFormHandler com.jalios.jcms.handler.EditDataHandler com.jalios.jcms.handler.EditPublicationHandler com.jalios.jcms.handler.EditFormHandler
public abstract class EditFormHandler
This form handler processes Form
forms.
Form
,
EditPublicationHandler
Field Summary | |
---|---|
static String |
REVISION
|
String |
submitRemoteAddr
|
Fields inherited from class com.jalios.jcms.handler.EditPublicationHandler |
---|
adate, anchor, author, authorizedGroupsAddCount, authorizedGroupSet, authorizedMemberSet, authorizedMemberSetAddCount, categorySet, cids, DISPLAY_URL_TOKEN, edate, fieldStatusMap, friendlyURLSet, ID_TOKEN, internalWf, isAuthorForced, isCategorized, isContentType, isDBType, isFormType, isPortletType, isTracked, isUGCType, itemPos, listToProcess, mainLanguage, majorUpdate, oldPstatus, opAddItem, opAddItemReadRights, opAddItemUpdateRights, openTab, opMerge, pdate, PREVIEW_URL_TOKEN, pstatus, pubClass, publication, roleIds, roleMap, roleMembers, sdate, showAllTabs, showContentTabOnly, templates, title, titleML, typeLabel, updateGroupsAddCount, updateGroupSet, updateMemberSet, updateMemberSetAddCount, wf, wfNote, workingPub, wste |
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 |
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 | |
---|---|
EditFormHandler()
|
Method Summary | |
---|---|
String |
getCookieName()
|
boolean |
internalPerformCreate()
|
boolean |
isCategoryTabHidden()
|
boolean |
isForm()
Is this handler dedicated to Form sub-class processing. |
boolean |
isNotifySubmit()
|
boolean |
isOneSubmit()
|
boolean |
isSubmitted()
|
boolean |
isTemplateTabHidden()
|
boolean |
processAction()
Method to be implemented to check/validate action to be performed and process them. |
void |
setFields(Publication pub)
Set the common (Publication) fields. |
void |
setRequest(javax.servlet.http.HttpServletRequest request)
Setter for the request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String REVISION
public String submitRemoteAddr
Constructor Detail |
---|
public EditFormHandler()
Method Detail |
---|
public boolean isCategoryTabHidden()
isCategoryTabHidden
in class EditPublicationHandler
public boolean isTemplateTabHidden()
isTemplateTabHidden
in class EditPublicationHandler
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 EditPublicationHandler
IOException
public void setFields(Publication pub)
EditPublicationHandler
setFields
in class EditPublicationHandler
pub
- the publication to set the fieldspublic void setRequest(javax.servlet.http.HttpServletRequest request)
JcmsContext
setRequest
in class JcmsContext
request
- the HttpServletRequest from twhich to retrieve all jcms context
information.public boolean internalPerformCreate() throws IOException
internalPerformCreate
in class EditPublicationHandler
IOException
public String getCookieName()
public boolean isOneSubmit()
public boolean isNotifySubmit()
public boolean isSubmitted()
public boolean isForm()
EditPublicationHandler
isForm
in class EditPublicationHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |