com.jalios.jcms.handler
Class WFEditorHandler
java.lang.Object
com.jalios.jcms.context.JcmsContext
com.jalios.jcms.context.JcmsJspContext
com.jalios.jcms.handler.JcmsFormHandler
com.jalios.jcms.handler.WFEditorHandler
- All Implemented Interfaces:
- JcmsConstants, JaliosConstants
public class WFEditorHandler
- extends JcmsFormHandler
This form handler processes wfEditor.jsp
form.
- Since:
- jcms-3.0
- Version:
- $Revision: 28599 $
- Author:
- Olivier Dedieu, modified by Deboschère Tony for parallel and express WF
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, JS_HEADER, jsboMap, jsboSet, jsfoMap, 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, userLang, userLocale, workspace |
Fields inherited from interface com.jalios.jcms.JcmsConstants |
ADATE_SEARCH, ADMIN_NOTES_PROP, ADVANCED_TAB, ARCHIVES_DIR, ASCII_WIDTH, CATEGORY_TAB, CDATE_SEARCH, COMMON_ALARM, CONTENT_TAB, COOKIE_MAX_AGE, CRYPT_MD5, CRYPT_UNDEFINED, CRYPT_UNIX, CTRL_TOPIC_INTERNAL, CTRL_TOPIC_REF, CTRL_TOPIC_VALUE, CTRL_TOPIC_WRITE, CUSTOM_PROP, DOCCHOOSER_HEIGHT, DOCCHOOSER_WIDTH, DOCS_DIR, EDATE_SEARCH, EMAIL_REGEXP, ERROR_MSG, FORBIDDEN_FILE_ACCESS, FORBIDDEN_REDIRECT, FORCE_REDIRECT, ICON_ARCHIVE, ICON_LOCK, ICON_LOCK_STRONG, ICON_WARN, ICON_WH_BOOK_CLOSED, ICON_WH_BOOK_OPEN, INFORMATION_MSG, JALIOS_JUNIT_PROP, JCMS_CADDY, JCMS_MSG_LIST, JSYNC_DOWNLOAD_DIR, JSYNC_SYNC_ALARM, LOG_FILE, LOG_TOPIC_SECURITY, LOGGER_PROP, LOGGER_XMLPROP, MBR_PHOTO_DIR, MDATE_SEARCH, MONITOR_XML, OP_CREATE, OP_DEEP_COPY, OP_DEEP_DELETE, OP_DELETE, OP_MERGE, OP_UPDATE, PDATE_SEARCH, PHOTO_DIR, PHOTO_ICON, PHOTO_ICON_HEIGHT, PHOTO_ICON_WIDTH, PHOTO_LARGE, PHOTO_LARGE_HEIGHT, PHOTO_LARGE_WIDTH, PHOTO_NORMAL, PHOTO_NORMAL_HEIGHT, PHOTO_NORMAL_WIDTH, PHOTO_SMALL, PHOTO_SMALL_HEIGHT, PHOTO_SMALL_WIDTH, PHOTO_TINY, PHOTO_TINY_HEIGHT, PHOTO_TINY_WIDTH, PRINT_VIEW, PRIVATE_FILE_ACCESS, PUBLIC_FILE_ACCESS, READ_RIGHT_TAB, SDATE_SEARCH, SEARCHENGINE_ALARM, SESSION_AUTHORIZED_FILENAMES_SET, STATS_REPORT_DIR, STATUS_PROP, STORE_XML, TEMPLATE_TAB, THUMBNAIL_LARGE_HEIGHT, THUMBNAIL_LARGE_WIDTH, THUMBNAIL_SMALL_HEIGHT, THUMBNAIL_SMALL_WIDTH, UDATE_SEARCH, UPDATE_RIGHT_TAB, UPLOAD_DIR, URL_REGEXP, WARNING_MSG, WEBAPP_PROP, WFEXPRESS_ALARM, WFREMINDER_ALARM, WORKFLOW_TAB, WORKFLOW_XML |
Methods inherited from class com.jalios.jcms.handler.JcmsFormHandler |
checkMissingField, getControllerContext, getEditFieldSet, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenFieldML, getMainLangValue, getMainLangValueArray, getMLMap, getMLMapArray, getRedirect, getRedirectOnClosePopup, getWorkspace, isFieldEdition, isFieldMissing, isPartialFieldEdition, isPopupEdition, isWorkspaceForced, processStatus, sendRedirect, sendRedirect, setEditField, setNoRedirect, setNoSendRedirect, setPopupEdition, setRedirect, setRedirectOnClosePopup, setWorkspace, setWs, updateUploadedField, updateUploadedFields |
Methods inherited from class com.jalios.jcms.context.JcmsJspContext |
addBodyAttributes, addCSSHeader, addCSSHeader, addCSSHeader, addCSSHeader, addCustomHeader, addHttpEquivHeader, addHttpNameHeader, addJavaScript, addJavaScript, addJavaScript, addJavaScriptCode, addJSHeader, addJSHeader, addJSHeader, addJSHeader, addStyleHeader, addStyleHeader, checkAccess, checkAccess, debugDisplayContext, forceEditIcon, forceUpdate, getAjaxRequestAttribute, getAjaxRequestId, getAllHeadersDiffMap, getAllHeadersMap, getBackOfficeCSSHeader, getBackOfficeJavaScriptSet, getBackOfficeJSHeader, getBodyAttributes, getContentForm, getCSSHeaders, getCtxCategories, getCurrentCategory, getCustomHeaders, getDocType, getFinalCSSMap, getFinalJavaScriptSet, getFormElementCount, getFrontOfficeCSSHeader, getFrontOfficeJavaScriptSet, getFrontOfficeJSHeader, getHttpEquivHeaders, getHttpNameHeaders, getJavaScriptCodeSet, getJavaScriptSet, getJSHeaders, getJSONBridge, getPackVersion, getPageContext, getPageTitle, getPageZone, getPortal, getPortalCategory, getPortlet, getPublication, getStyleHeaders, getTemplateUsage, internalSetupEmptyHeader, isEditIcon, isPrintView, registerDisplayContext, removeAjaxRequestAttribute, setAjaxRequestAttribute, setAjaxRequestId, setAllHeadersDiffMap, setDocType, setEditIcon, setFormElementCount, setPageContext, setPageTitle, setPageZone, setShowEditIcon, setTemplateUsage, showEditIcon, workaroundBrowserBaseHrefBug |
Methods inherited from class com.jalios.jcms.context.JcmsContext |
addCookie, addMsg, addMsg, addMsgSession, applySelector, forceWorkspaceUpdate, getBaseUrl, getBrowser, getCaddy, getContextPath, getErrorMsg, getErrorMsgList, getErrorMsgSession, getErrorMsgSessionList, getInfoMsg, getInfoMsgList, getInfoMsgSession, getInfoMsgSessionList, getLoggedMember, getMsgList, getMsgSessionList, getRequest, getResponse, getSession, getUploadedFile, getUploadedFileList, getUrlWithCommonUpdatedParams, getUserLang, getUserLocale, getWarningMsg, getWarningMsgList, getWarningMsgSession, getWarningMsgSessionList, glp, isAdmin, isAjaxRequest, isDBMember, isDebug, isInFrontOffice, isLogged, isWebdavAccess, removeMessage, removeMessage, retrieveUploadedFile, select, sendForbidden, sendForbidden, sendRedirect, sendRedirect, setErrorMsg, setErrorMsg, setErrorMsgSession, setErrorMsgSession, setInfoMsg, setInfoMsg, setInfoMsgSession, setInfoMsgSession, setLoggedMember, setRequest, setResponse, setWarningMsg, setWarningMsg, setWarningMsgSession, setWarningMsgSession, validateRegexp, validateSchedule |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
PREVIOUS_TAB
public static final int PREVIOUS_TAB
- See Also:
- Constant Field Values
STATE_TAB
public static final int STATE_TAB
- See Also:
- Constant Field Values
ROLE_TAB
public static final int ROLE_TAB
- See Also:
- Constant Field Values
TRANSITION_TAB
public static final int TRANSITION_TAB
- See Also:
- Constant Field Values
PROPERTIES_TAB
public static final int PROPERTIES_TAB
- See Also:
- Constant Field Values
openTab
protected int openTab
op
protected boolean op
opAddWorkflow
protected boolean opAddWorkflow
opDeleteWorkflow
protected boolean opDeleteWorkflow
opAddState
protected boolean opAddState
opUpdateState
protected boolean opUpdateState
opDeleteState
protected boolean opDeleteState
opCancel
protected boolean opCancel
opUpdateMatrix
protected boolean opUpdateMatrix
opSave
protected boolean opSave
opRevert
protected boolean opRevert
opAddItem
protected boolean opAddItem
opAddRole
protected boolean opAddRole
opUpdateMatrix2
protected boolean opUpdateMatrix2
opDeleteRole
protected boolean opDeleteRole
opEditRole
protected boolean opEditRole
opUpdateRole
protected boolean opUpdateRole
opUpdateWorkflow
protected boolean opUpdateWorkflow
wf
protected Workflow wf
wfFrom
protected Workflow wfFrom
wfLabelMap
protected Map wfLabelMap
wfId
protected String wfId
newId
protected String newId
wfFromId
protected String wfFromId
wfType
protected String wfType
role
protected WFRole role
roleId
protected String roleId
roleNameMap
protected Map roleNameMap
roleDescriptionMap
protected Map roleDescriptionMap
state
protected WFState state
stateLabelMap
protected Map stateLabelMap
stateDescriptionMap
protected Map stateDescriptionMap
initState
protected boolean initState
pstatus
protected int pstatus
newPstatus
protected int newPstatus
inAuthor
protected boolean inAuthor
inWorkers
protected boolean inWorkers
inAdmins
protected boolean inAdmins
repeatTime
protected long repeatTime
outAuthor
protected boolean outAuthor
outWorkers
protected boolean outWorkers
outAdmins
protected boolean outAdmins
duration
protected int duration
targetPstatus
protected int targetPstatus
reminder
protected int reminder
transitRole
protected WFRole transitRole
WFEditorHandler
public WFEditorHandler()
validate
public boolean validate()
throws IOException
- Throws:
IOException
validateCommonAddUpdateState
public boolean validateCommonAddUpdateState()
validateCommonAddUpdateWorkflow
public boolean validateCommonAddUpdateWorkflow()
validateAddWorkflow
public boolean validateAddWorkflow()
performAddWorkflow
public boolean performAddWorkflow()
validateUpdateWorkflow
public boolean validateUpdateWorkflow()
performUpdateWorkflow
public boolean performUpdateWorkflow()
throws IOException
- Throws:
IOException
validateDeleteWorkflow
public boolean validateDeleteWorkflow()
throws IOException
- Throws:
IOException
performDeleteWorkflow
public boolean performDeleteWorkflow()
throws IOException
- Throws:
IOException
cleanRole
public void cleanRole()
validateCommonAddUpdateRole
public boolean validateCommonAddUpdateRole()
validateAddRole
public boolean validateAddRole()
performAddRole
public boolean performAddRole()
validateUpdateRole
public boolean validateUpdateRole()
performUpdateRole
public boolean performUpdateRole()
validateEditRole
public boolean validateEditRole()
performEditRole
public boolean performEditRole()
validateDeleteRole
public boolean validateDeleteRole()
performDeleteRole
public boolean performDeleteRole()
validateAddState
public boolean validateAddState()
throws IOException
- Throws:
IOException
performAddState
public boolean performAddState()
throws IOException
- Throws:
IOException
validateUpdateState
public boolean validateUpdateState()
throws IOException
- Throws:
IOException
performUpdateState
public boolean performUpdateState()
throws IOException
- Throws:
IOException
validateDeleteState
public boolean validateDeleteState()
throws IOException
- Throws:
IOException
performDeleteState
public boolean performDeleteState()
throws IOException
- Throws:
IOException
validateCancel
public boolean validateCancel()
throws IOException
- Throws:
IOException
performCancel
public boolean performCancel()
throws IOException
- Throws:
IOException
validateUpdateMatrix
public boolean validateUpdateMatrix()
throws IOException
- Throws:
IOException
performUpdateMatrix
public boolean performUpdateMatrix()
throws IOException
- Throws:
IOException
getInvolvedRoles
public Set getInvolvedRoles()
validateRevert
public boolean validateRevert()
throws IOException
- Throws:
IOException
performRevert
public boolean performRevert()
throws IOException
- Throws:
IOException
validateSave
public boolean validateSave()
throws IOException
- Throws:
IOException
performSave
public boolean performSave()
throws IOException
- Throws:
IOException
setOpCancel
public void setOpCancel(String v)
setOpSave
public void setOpSave(String v)
setOpRevert
public void setOpRevert(String v)
isTabForced
public boolean isTabForced()
getOpenTab
public int getOpenTab()
setOpenTab
public void setOpenTab(int v)
setInAuthor
public void setInAuthor(boolean v)
setInWorkers
public void setInWorkers(boolean v)
setInAdmins
public void setInAdmins(boolean v)
setRepeatTime
public void setRepeatTime(long v)
setOutAuthor
public void setOutAuthor(boolean v)
setOutWorkers
public void setOutWorkers(boolean v)
setOutAdmins
public void setOutAdmins(boolean v)
getAvailableInAuthor
public boolean getAvailableInAuthor()
getAvailableInWorkers
public boolean getAvailableInWorkers()
getAvailableInAdmins
public boolean getAvailableInAdmins()
getAvailableRepeatTime
public long getAvailableRepeatTime()
getAvailableOutAuthor
public boolean getAvailableOutAuthor()
getAvailableOutWorkers
public boolean getAvailableOutWorkers()
getAvailableOutAdmins
public boolean getAvailableOutAdmins()
showOutgoingActions
public boolean showOutgoingActions()
showInitState
public boolean showInitState()
showWorkflowExpress
public boolean showWorkflowExpress()
showReminder
public boolean showReminder()
getWorkflowSet
public Set getWorkflowSet()
getAvailableNewId
public String getAvailableNewId()
setNewId
public void setNewId(String newId)
getAvailableId
public String getAvailableId()
setId
public void setId(String wfId)
getWorkflow
public Workflow getWorkflow()
getAvailableLabel
public String getAvailableLabel(String lang)
getAvailableLabelMap
public Map getAvailableLabelMap()
setLabel
public void setLabel(String[] v)
getAvailableType
public String getAvailableType()
setType
public void setType(String type)
setWfFrom
public void setWfFrom(String v)
setOpDeleteWorkflow
public void setOpDeleteWorkflow(String v)
setOpAddWorkflow
public void setOpAddWorkflow(String v)
setOpUpdateWorkflow
public void setOpUpdateWorkflow(String v)
clear
protected void clear()
setOpAddState
public void setOpAddState(String v)
setOpUpdateState
public void setOpUpdateState(String v)
setOpDeleteState
public void setOpDeleteState(String v)
setPstatus
public void setPstatus(String v)
setNewPstatus
public void setNewPstatus(String v)
setInitState
public void setInitState(boolean v)
setStateLabel
public void setStateLabel(String[] v)
setStateDescription
public void setStateDescription(String[] v)
getAvailableStateLabel
public String getAvailableStateLabel(String lang)
getAvailableStateLabelMap
public Map getAvailableStateLabelMap()
getAvailablePstatus
public String getAvailablePstatus()
getAvailableDescription
public String getAvailableDescription(String lang)
getAvailableDescriptionMap
public Map getAvailableDescriptionMap()
getAvailableInitState
public boolean getAvailableInitState()
getAvailableState
public WFState getAvailableState()
setState
public void setState(WFState v)
getAvailableDuration
public int getAvailableDuration()
setDuration
public void setDuration(int v)
setTargetPstatus
public void setTargetPstatus(int v)
getAvailaibleTargetPstatus
public int getAvailaibleTargetPstatus()
setReminder
public void setReminder(int v)
getAvailableReminder
public int getAvailableReminder()
setOpAddRole
public void setOpAddRole(String v)
setOpUpdateRole
public void setOpUpdateRole(String v)
setOpDeleteRole
public void setOpDeleteRole(String v)
setOpEditRole
public void setOpEditRole(String v)
setEditRole
public void setEditRole(String v)
getAvailableRole
public WFRole getAvailableRole()
setRoleName
public void setRoleName(String[] v)
getAvailableRoleName
public String getAvailableRoleName(String lang)
getAvailableRoleNameMap
public Map getAvailableRoleNameMap()
setRoleDescription
public void setRoleDescription(String[] v)
getAvailableRoleDescription
public String getAvailableRoleDescription(String lang)
getAvailableRoleDescriptionMap
public Map getAvailableRoleDescriptionMap()
setOpUpdateMatrix
public void setOpUpdateMatrix(String v)
setTransitRole
public void setTransitRole(String v)
getAvailableTransitRole
public WFRole getAvailableTransitRole()
Copyright © 2001-2010 Jalios SA. All Rights Reserved.