Package com.jalios.jcms.handler
Class EditCatHandler
- 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.EditCatHandler
-
- All Implemented Interfaces:
JcmsConstants
,JaliosConstants
public class EditCatHandler extends EditDataHandler
This form handler processeseditCat.jsp
forms.- Author:
- Olivier Dedieu
- See Also:
Category
-
-
Field Summary
Fields Modifier and Type Field Description static int
ADVANCED_TAB
protected boolean
allWorkspaceFilter
protected int
authorizedGroupsAddCount
protected java.util.TreeSet<Group>
authorizedGroupSet
protected java.util.TreeSet<Member>
authorizedMemberSet
protected int
authorizedMemberSetAddCount
protected Category
category
protected int
childrenOrder
protected boolean
childrenOrderProvided
protected java.lang.String
color
protected java.lang.String
description
protected java.util.HashMap<java.lang.String,java.lang.String>
descriptionML
protected java.util.Map<java.lang.String,FieldStatus>
fieldStatusMap
protected java.util.TreeSet<java.lang.String>
friendlyURLSet
static int
GENERAL_TAB
protected java.lang.String
icon
protected java.util.HashMap<java.lang.String,java.lang.String>
iconML
protected java.lang.String
image
protected java.util.HashMap<java.lang.String,java.lang.String>
imageML
protected java.util.HashSet<Group>
managerGroupSet
protected java.util.HashSet<Member>
managerMemberSet
protected java.lang.String
name
protected java.util.HashMap<java.lang.String,java.lang.String>
nameML
protected boolean
newTab
protected boolean
opAddItemReadRights
protected boolean
opCatDown
protected boolean
opCatUp
protected boolean
opDeepCopy
protected int
openTab
protected Category
parent
static int
PARENT_TAB
protected boolean
parentHasChanged
static int
PREVIOUS_TAB
static int
READ_RIGHT_TAB
protected boolean
selectable
protected java.lang.String[]
synonyms
protected java.util.HashSet<Group>
useGroupSet
protected java.util.HashSet<Member>
useMemberSet
protected Category
workingCat
protected boolean
workspaceFilter
-
Fields inherited from class com.jalios.jcms.handler.EditDataHandler
extFormHandler, id, isDeleteForced, opCancel, opCreate, opDelete, opRefresh, opUpdate, resultOpCreate, resultOpDelete, resultOpUpdate
-
Fields inherited from class com.jalios.jcms.handler.JcmsFormHandler
contextMap, csrfValidationEnabled, editFieldSet, formStep, noRedirect, noSendRedirect, op, opFinish, opNext, opPrevious, popupEdition, redirect, redirectOnClosePopup, workspaceForced
-
Fields inherited from class com.jalios.jcms.context.JcmsJspContext
AJAX_REQUEST_ATTRIBUTES, BODY_HEADER, CSS_FOOTER, 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, isDebugTemplatePath, isLogged, loggedMember, request, response, userCountry, userLang, userLocale, userZoneId, 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
-
Fields inherited from interface com.jalios.jcms.JcmsConstants
ADATE_SEARCH, ADMIN_NOTES_PROP, AJAX_MODE_ATTR, ARCHIVES_DIR, ASCII_WIDTH, CATEGORY_TAB, CDATE_SEARCH, CLASS_PROPERTY, COMMON_ALARM, CONTENT_TAB, COOKIE_MAX_AGE, COUNTRY_SPRITE, CS_TYPOLOGY_ROOT_CAT_VID, CTRL_TOPIC_INTERNAL, CTRL_TOPIC_REF, CTRL_TOPIC_VALUE, CTRL_TOPIC_WRITE, CUSTOM_PROP, DATA_DIRECTORY, DEFAULT_PHOTO_PROP, DOCCHOOSER_HEIGHT, DOCCHOOSER_WIDTH, DOCS_DIR, EDATE_SEARCH, EMAIL_REGEXP, ERROR_MSG, FORBIDDEN_FILE_ACCESS, FORBIDDEN_REDIRECT, FORCE_REDIRECT, GLYPH_ICON_PREFIX, ICON_ARCHIVE, ICON_ICON_PREFIX, ICON_LOCK, ICON_LOCK_STRONG, ICON_PREFIX_PROP, ICON_WARN, ICON_WH_BOOK_CLOSED, ICON_WH_BOOK_OPEN, INFORMATION_MSG, IS_IN_FRONT_OFFICE, JALIOS_JUNIT_PROP, JCMS_CADDY, JCMS_MSG_LIST, JCMS_TOASTR_COLLECTION, JSYNC_DOWNLOAD_DIR, JSYNC_SYNC_ALARM, LANG_SPRITE, LOG_FILE, LOG_TOPIC_SECURITY, LOGGER_PROP, LOGGER_XMLPROP, MBR_PHOTO_DIR, MDATE_SEARCH, MONITOR_XML, OP_CREATE, OP_CREATE_STR, OP_DEEP_COPY, OP_DEEP_COPY_STR, OP_DEEP_DELETE, OP_DEEP_DELETE_STR, OP_DELETE, OP_DELETE_STR, OP_MERGE, OP_MERGE_STR, OP_UPDATE, OP_UPDATE_STR, ORGANIZATION_ROOT_GROUP_PROP, PDATE_SEARCH, PHOTO_DIR, PHOTO_ICON, PHOTO_ICON_HEIGHT, PHOTO_ICON_PROP_PREFIX, PHOTO_ICON_WIDTH, PHOTO_LARGE, PHOTO_LARGE_HEIGHT, PHOTO_LARGE_PROP_PREFIX, PHOTO_LARGE_WIDTH, PHOTO_MINI, PHOTO_MINI_HEIGHT, PHOTO_MINI_PROP_PREFIX, PHOTO_MINI_WIDTH, PHOTO_NORMAL, PHOTO_NORMAL_HEIGHT, PHOTO_NORMAL_PROP_PREFIX, PHOTO_NORMAL_WIDTH, PHOTO_SMALL, PHOTO_SMALL_HEIGHT, PHOTO_SMALL_PROP_PREFIX, PHOTO_SMALL_WIDTH, PHOTO_TINY, PHOTO_TINY_HEIGHT, PHOTO_TINY_PROP_PREFIX, PHOTO_TINY_WIDTH, PRINT_VIEW, PRIVATE_FILE_ACCESS, PUBLIC_FILE_ACCESS, RAW_CONTENT_ICON_PREFIX, SDATE_SEARCH, SEARCHENGINE_ALARM, SECURITY_LOG_FILE, SESSION_AUTHORIZED_FILENAMES_SET, SPRITE_ICON_PREFIX, STATS_REPORT_DIR, STATUS_PROP, STORE_DIR, STORE_XML, SUCCESS_MSG, SVG_ICON_PREFIX, SVGINLINE_ICON_PREFIX, TEMPLATE_TAB, THUMBNAIL_LARGE_HEIGHT, THUMBNAIL_LARGE_WIDTH, THUMBNAIL_SMALL_HEIGHT, THUMBNAIL_SMALL_WIDTH, TTCARD_MEDIA_HEIGHT, TTCARD_MEDIA_WIDTH, TYPES_ICON_ALT_PROP, TYPES_ICON_SUFFIX_PROP, TYPES_ICON_TITLE_PROP, TYPES_PREFIX_PROP, TYPES_THUMB_SUFFIX_PROP, UDATE_SEARCH, UPDATE_RIGHT_TAB, UPLOAD_DIR, UPLOAD_PERMISSION_COUNT_PROP_PREFIX, UPLOAD_PERMISSION_SIZE_PROP_PREFIX, URL_REGEXP, VID_LOGGED_MEMBER, WARNING_MSG, WEBAPP_PROP, WFEXPRESS_ALARM, WFREMINDER_ALARM, WORKFLOW_TAB, WORKFLOW_XML
-
-
Constructor Summary
Constructors Constructor Description EditCatHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.HashMap
getAllAvailableDescriptionML()
java.util.HashMap<java.lang.String,java.lang.String>
getAllAvailableIconML()
java.util.HashMap<java.lang.String,java.lang.String>
getAllAvailableImageML()
java.util.HashMap
getAllAvailableNameML()
int
getAuthorizedGroupsCount()
int
getAuthorizedMemberSetCount()
java.util.Set<Group>
getAvailableAuthorizedGroupSet()
java.util.Set<Member>
getAvailableAuthorizedMemberSet()
int
getAvailableChildrenOrder()
java.lang.String
getAvailableColor()
java.lang.String
getAvailableDescription()
java.lang.String
getAvailableDescription(java.lang.String lang)
java.util.HashMap<java.lang.String,java.lang.String>
getAvailableDescriptionML()
java.util.TreeSet<java.lang.String>
getAvailableFriendlyURLSet()
java.lang.String
getAvailableIcon()
java.util.HashMap<java.lang.String,java.lang.String>
getAvailableIconML()
java.lang.String
getAvailableImage()
java.util.HashMap<java.lang.String,java.lang.String>
getAvailableImageML()
java.util.Set<Group>
getAvailableManagerGroupSet()
java.util.Set<Member>
getAvailableManagerMemberSet()
java.lang.String
getAvailableName()
java.lang.String
getAvailableName(java.lang.String lang)
java.util.HashMap<java.lang.String,java.lang.String>
getAvailableNameML()
boolean
getAvailableNewTab()
Category
getAvailableParent()
boolean
getAvailableSelectable()
java.lang.String[]
getAvailableSynonyms()
java.util.Set<Group>
getAvailableUseGroupSet()
java.util.Set<Member>
getAvailableUseMemberSet()
Category
getCategory()
java.lang.Class
getDataClass()
java.util.Set<Group>
getDefaultAuthorizedGroupSet()
This method should be overriden by sub-classesjava.util.Set<Member>
getDefaultAuthorizedMemberSet()
This method should be overriden by sub-classesFieldStatus
getFieldStatus(java.lang.String fieldName)
Returns the FieldStatus for the given field.int
getOpenTab()
java.util.Set<Category>
getRootCategories()
Category
getWorkingCat()
boolean
isAllWorkspaceFilter()
boolean
isExpanded(Category cat)
boolean
isTabForced()
boolean
isWorkspaceFilter()
boolean
performAddItemReadRights()
boolean
performCancel()
protected boolean
performCatDown()
protected boolean
performCatUp()
protected boolean
performCreate()
protected boolean
performDeepCopy()
protected boolean
performDelete()
protected boolean
performUpdate()
boolean
processAction()
Method to be implemented to check/validate action to be performed and process them.protected boolean
processStatus(ControllerStatus status)
Process the ControllerStatus: do nothing if OK, or send on forbidden, or put a warning message in the request.protected void
sendRedirect()
void
setAllWorkspaceFilter(boolean allWorkspaceFilter)
void
setAuthorizedGroupIds(java.lang.String[] v)
Set the Authorized Groups Idsvoid
setAuthorizedMemberIds(java.lang.String[] v)
Set the Authorized Members Idsvoid
setAuthorizedMemberSetAddCount(int v)
The Member Set AddCountvoid
setChildrenOrder(int v)
void
setColor(java.lang.String v)
void
setDescription(java.lang.String[] v)
void
setFriendlyURL(java.lang.String[] v)
Set the friendly urls.void
setIcon(java.lang.String[] v)
void
setId(java.lang.String id)
void
setImage(java.lang.String[] v)
void
setManagerGroupIds(java.lang.String[] v)
Set the Authorized Groups Idsvoid
setManagerMemberIds(java.lang.String[] v)
Set the Manager Members Idsvoid
setName(java.lang.String[] v)
void
setNewTab(java.lang.String v)
void
setOpAddItemReadRights(java.lang.String v)
void
setOpCatDown(java.lang.String v)
void
setOpCatUp(java.lang.String v)
void
setOpDeepCopy(java.lang.String v)
void
setOpenTab(int openTab)
void
setPid(java.lang.String pid)
void
setSelectable(boolean v)
void
setSynonymList(java.lang.String v)
void
setUseGroupIds(java.lang.String[] v)
Set the ids of Groups's authorized to use this categoryvoid
setUseMemberIds(java.lang.String[] v)
Set the Members' ids authorized to use this categoryvoid
setWorkspaceFilter(boolean workspaceFilter)
boolean
validateAddItemReadRights()
boolean
validateCancel()
protected boolean
validateCatDown()
protected boolean
validateCatUp()
protected boolean
validateCreate()
protected boolean
validateDeepCopy()
protected boolean
validateDelete()
protected boolean
validateUpdate()
-
Methods inherited from class com.jalios.jcms.handler.EditDataHandler
afterValidation, createUploadedFileDocument, createUploadedFileDocument, createUploadedFileDocument, createUploadedFileDocument, getAvailableData, getAvailableDataArray, getAvailableExtraDataMap, getAvailableExtraDBDataMap, getAvailableField, getControllerContext, getDeleteRedirect, getEnumLabels, getEnumValues, getExtFormHandler, getId, getModalRedirect, getTabGroupMaxCount, handleRestResponse, isFirstAccess, performCreateExtension, performRefresh, performUpdateExtension, processDataId, processDataIds, processDataIds, processMLData, processMLDataArray, restValidation, setExtFormHandler, setExtraDBKeys, setExtraDBValues, setExtraKeys, setExtraValues, setFields, setForceDelete, setOpCancel, setOpCreate, setOpDelete, setOpRefresh, setOpUpdate, validateCreateExtension, validateRefresh, validateUpdateExtension, validateUploadedFileDocument, validateUploadedFileDocument, validateUploadedFileDocument, validateUploadedFileDocument
-
Methods inherited from class com.jalios.jcms.handler.JcmsFormHandler
canStartProcess, checkMissingField, getAvailableMainLanguage, getBackgroundProcess, getClosePopupUrl, getEditFieldSet, getFormStep, getFormStepCount, getFormStepFinishLabel, getFormStepHiddenFields, getFormStepLabels, getFormStepPrefixProp, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenFieldML, getMainLangValue, getMainLangValueArray, getMLMap, getMLMapArray, getMonolingualValue, getMonolingualValueArray, getMultilingualMainValue, getMultilingualMainValueArray, getMultilingualMLMap, getMultilingualMLMapArray, getRedirect, getRedirectOnClosePopup, getWorkspace, init, isFieldEdition, isFieldMissing, isFormStepClickable, isPartialFieldEdition, isPopupEdition, isWorkspaceForced, mapStringArrayToMapStringList, mapStringListToMapStringArray, mustSendForbiddenOnCSRF, performFinish, performNext, performPrevious, sanitize, sanitize, sendRedirect, sendRedirect, setEditField, setFormStep, setNoRedirect, setNoSendRedirect, setOpFinish, setOpNext, setOpPrevious, setPopupEdition, setRedirect, setRedirectOnClosePopup, setWorkspace, setWs, showCancelButton, showFinishButton, showNextButton, showPreviousButton, startProcess, updateUploadedField, updateUploadedFields, updateUploadedFields, validate, validateCSRF, validateFinish, validateNext, validatePrevious
-
Methods inherited from class com.jalios.jcms.context.JcmsJspContext
addAvoidanceLink, addBodyAttributes, addCSSHeader, addCSSHeader, addCSSHeader, addCSSHeader, addCustomHeader, addHandlebarTemplate, addHttpEquivHeader, addHttpNameHeader, addJavaScript, addJavaScript, addJavaScript, addJavaScriptCode, addPrefetchHeader, addStyleHeader, addStyleHeader, addWebAssets, checkAccess, checkAccess, checkCSRF, debugDisplayContext, disablePacker, forceEditIcon, forceUpdate, getAjaxRequestAttribute, getAjaxRequestId, getAllHeadersDiffMap, getAllHeadersMap, getAvoidanceLinks, getBackOfficeCSSHeader, getBackOfficeJavaScriptSet, getBodyAttributes, getContentForm, getCSSHeaders, getCtxCategories, getCurrentCategory, getCustomHeaders, getDocType, getFinalCSSFooterMap, getFinalCSSMap, getFinalJavaScriptSet, getFrontOfficeCSSHeader, getFrontOfficeJavaScriptSet, getHandlebarTemplates, getHttpEquivHeaders, getHttpNameHeaders, getJavaScriptCodeSet, getJavaScriptSet, getJSONBridge, getPageContext, getPageTitle, getPageZone, getPortal, getPortalCategory, getPortlet, getPublication, getStyleHeaders, getTemplateUsage, internalSetupEmptyHeader, isEditIcon, isEditIcon, isEditIconForPublish, isEditIconForPublish, isPrintView, registerDisplayContext, removeAjaxRequestAttribute, setAjaxRequestAttribute, setAjaxRequestId, setAllHeadersDiffMap, setDocType, setEditIcon, setPageContext, setPageTitle, setPageZone, setShowEditIcon, setTemplateUsage, showEditIcon, showEditIcon, showEditIcon, workaroundBrowserBaseHrefBug
-
Methods inherited from class com.jalios.jcms.context.JcmsContext
addCookie, addMsg, addMsg, addMsgSession, addMsgSession, addToastr, addToastr, addToastrSession, addToastrSession, applySelector, copyMsgListToMsgSessionList, forceWorkspaceUpdate, getBaseUrl, getBrowser, getCaddy, getContextPath, getErrorMsg, getErrorMsgList, getErrorMsgSession, getErrorMsgSessionList, getInfoMsg, getInfoMsgList, getInfoMsgSession, getInfoMsgSessionList, getLoggedMember, getMsgList, getMsgSessionList, getRequest, getResponse, getSession, getSuccessMsg, getSuccessMsgList, getSuccessMsgSession, getSuccessMsgSessionList, getToastrCollection, getToastrSessionCollection, getUploadedFile, getUploadedFileList, getUploadedFiles, getUploadedFiles, getUrlWithCommonUpdatedParams, getUserCountry, getUserLang, getUserLocale, getUserZoneId, getWarningMsg, getWarningMsgList, getWarningMsgSession, getWarningMsgSessionList, glp, isAdmin, isAdminZone, isAjaxRequest, isDBMember, isDebug, isDebugTemplate, isInFrontOffice, isLogged, isWebdavAccess, isWorkZone, removeMessage, removeMessage, removeMsg, retrieveUploadedFile, select, sendError, sendError, sendForbidden, sendForbidden, sendRedirect, sendRedirect, sendRedirect, setErrorMsg, setErrorMsg, setErrorMsgSession, setErrorMsgSession, setInfoMsg, setInfoMsg, setInfoMsgSession, setInfoMsgSession, setLoggedMember, setRequest, setResponse, setSuccessMsg, setSuccessMsg, setSuccessMsgSession, setSuccessMsgSession, setWarningMsg, setWarningMsg, setWarningMsgSession, setWarningMsgSession, updateWorkspace, validateRegexp, validateSchedule
-
-
-
-
Field Detail
-
PREVIOUS_TAB
public static final int PREVIOUS_TAB
- See Also:
- Constant Field Values
-
GENERAL_TAB
public static final int GENERAL_TAB
- See Also:
- Constant Field Values
-
ADVANCED_TAB
public static final int ADVANCED_TAB
- See Also:
- Constant Field Values
-
READ_RIGHT_TAB
public static final int READ_RIGHT_TAB
- See Also:
- Constant Field Values
-
PARENT_TAB
public static final int PARENT_TAB
- See Also:
- Constant Field Values
-
opDeepCopy
protected boolean opDeepCopy
-
opCatUp
protected boolean opCatUp
-
opCatDown
protected boolean opCatDown
-
opAddItemReadRights
protected boolean opAddItemReadRights
-
name
protected java.lang.String name
-
nameML
protected java.util.HashMap<java.lang.String,java.lang.String> nameML
-
description
protected java.lang.String description
-
descriptionML
protected java.util.HashMap<java.lang.String,java.lang.String> descriptionML
-
synonyms
protected java.lang.String[] synonyms
-
selectable
protected boolean selectable
-
childrenOrder
protected int childrenOrder
-
childrenOrderProvided
protected boolean childrenOrderProvided
-
icon
protected java.lang.String icon
-
iconML
protected java.util.HashMap<java.lang.String,java.lang.String> iconML
-
image
protected java.lang.String image
-
imageML
protected java.util.HashMap<java.lang.String,java.lang.String> imageML
-
color
protected java.lang.String color
-
newTab
protected boolean newTab
-
authorizedMemberSetAddCount
protected int authorizedMemberSetAddCount
-
authorizedGroupsAddCount
protected int authorizedGroupsAddCount
-
authorizedMemberSet
protected java.util.TreeSet<Member> authorizedMemberSet
-
authorizedGroupSet
protected java.util.TreeSet<Group> authorizedGroupSet
-
useMemberSet
protected java.util.HashSet<Member> useMemberSet
-
useGroupSet
protected java.util.HashSet<Group> useGroupSet
-
managerMemberSet
protected java.util.HashSet<Member> managerMemberSet
-
managerGroupSet
protected java.util.HashSet<Group> managerGroupSet
-
friendlyURLSet
protected java.util.TreeSet<java.lang.String> friendlyURLSet
-
parent
protected Category parent
-
workspaceFilter
protected boolean workspaceFilter
-
allWorkspaceFilter
protected boolean allWorkspaceFilter
-
category
protected Category category
-
openTab
protected int openTab
-
workingCat
protected Category workingCat
-
parentHasChanged
protected boolean parentHasChanged
-
fieldStatusMap
protected java.util.Map<java.lang.String,FieldStatus> fieldStatusMap
-
-
Method Detail
-
processAction
public boolean processAction() throws java.io.IOException
Description copied from class:JcmsFormHandler
Method to be implemented to check/validate action to be performed and process them.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.
- Overrides:
processAction
in classEditDataHandler
- Returns:
- false if no redirection is needed, true otherwise
- Throws:
java.io.IOException
- IO Exception
-
isExpanded
public boolean isExpanded(Category cat)
- Parameters:
cat
- the category to check- Returns:
- true if the given category must be expanded
- Since:
- jcms-3.0
-
getDataClass
public java.lang.Class getDataClass()
- Specified by:
getDataClass
in classEditDataHandler
-
processStatus
protected boolean processStatus(ControllerStatus status) throws java.io.IOException
Description copied from class:JcmsFormHandler
Process the ControllerStatus: do nothing if OK, or send on forbidden, or put a warning message in the request.- Overrides:
processStatus
in classJcmsFormHandler
- Parameters:
status
- the ControllerStatus to be processed- Returns:
- true when status is OK, false if status was a failure (forbidden or anything else)
- Throws:
java.io.IOException
- if an error occurs
-
sendRedirect
protected void sendRedirect() throws java.io.IOException
- Overrides:
sendRedirect
in classEditDataHandler
- Throws:
java.io.IOException
-
validateCreate
protected boolean validateCreate() throws java.io.IOException
- Throws:
java.io.IOException
-
performCreate
protected boolean performCreate() throws java.io.IOException
- Throws:
java.io.IOException
-
validateUpdate
protected boolean validateUpdate() throws java.io.IOException
- Throws:
java.io.IOException
-
performUpdate
protected boolean performUpdate() throws java.io.IOException
- Throws:
java.io.IOException
-
validateDelete
protected boolean validateDelete() throws java.io.IOException
- Throws:
java.io.IOException
-
performDelete
protected boolean performDelete() throws java.io.IOException
- Throws:
java.io.IOException
-
validateDeepCopy
protected boolean validateDeepCopy() throws java.io.IOException
- Throws:
java.io.IOException
-
performDeepCopy
protected boolean performDeepCopy() throws java.io.IOException
- Throws:
java.io.IOException
-
validateCancel
public boolean validateCancel()
- Overrides:
validateCancel
in classEditDataHandler
-
performCancel
public boolean performCancel() throws java.io.IOException
- Overrides:
performCancel
in classEditDataHandler
- Throws:
java.io.IOException
-
validateCatUp
protected boolean validateCatUp()
-
performCatUp
protected boolean performCatUp() throws java.io.IOException
- Throws:
java.io.IOException
-
validateCatDown
protected boolean validateCatDown()
-
performCatDown
protected boolean performCatDown() throws java.io.IOException
- Throws:
java.io.IOException
-
validateAddItemReadRights
public boolean validateAddItemReadRights()
-
performAddItemReadRights
public boolean performAddItemReadRights() throws java.io.IOException
- Throws:
java.io.IOException
-
getAvailableName
public java.lang.String getAvailableName()
-
getAvailableNameML
public java.util.HashMap<java.lang.String,java.lang.String> getAvailableNameML()
-
getAllAvailableNameML
public java.util.HashMap getAllAvailableNameML()
-
getAvailableName
public java.lang.String getAvailableName(java.lang.String lang)
-
getAvailableDescription
public java.lang.String getAvailableDescription()
-
getAllAvailableDescriptionML
public java.util.HashMap getAllAvailableDescriptionML()
-
getAvailableDescriptionML
public java.util.HashMap<java.lang.String,java.lang.String> getAvailableDescriptionML()
-
getAvailableDescription
public java.lang.String getAvailableDescription(java.lang.String lang)
-
getAvailableSynonyms
public java.lang.String[] getAvailableSynonyms()
-
getAvailableSelectable
public boolean getAvailableSelectable()
-
getAvailableChildrenOrder
public int getAvailableChildrenOrder()
-
getAvailableIcon
public java.lang.String getAvailableIcon()
-
getAvailableIconML
public java.util.HashMap<java.lang.String,java.lang.String> getAvailableIconML()
-
getAllAvailableIconML
public java.util.HashMap<java.lang.String,java.lang.String> getAllAvailableIconML()
-
getAvailableImage
public java.lang.String getAvailableImage()
-
getAvailableImageML
public java.util.HashMap<java.lang.String,java.lang.String> getAvailableImageML()
-
getAllAvailableImageML
public java.util.HashMap<java.lang.String,java.lang.String> getAllAvailableImageML()
-
getAvailableColor
public java.lang.String getAvailableColor()
-
getAvailableNewTab
public boolean getAvailableNewTab()
-
getAvailableParent
public Category getAvailableParent()
-
setOpenTab
public void setOpenTab(int openTab)
- Parameters:
openTab
- the tab index to open in the GUI- Since:
- jcms-4.1
-
getOpenTab
public int getOpenTab()
- Returns:
- the tab index to open in the GUI
- Since:
- jcms-4.1
-
isTabForced
public boolean isTabForced()
- Returns:
- true if the tab to be opened has been set using setOpenTab
- Since:
- jcms-4.1
-
getRootCategories
public java.util.Set<Category> getRootCategories()
-
getCategory
public Category getCategory()
-
setOpCatUp
public void setOpCatUp(java.lang.String v)
-
setOpCatDown
public void setOpCatDown(java.lang.String v)
-
setOpDeepCopy
public void setOpDeepCopy(java.lang.String v)
-
setOpAddItemReadRights
public void setOpAddItemReadRights(java.lang.String v)
-
setId
public void setId(java.lang.String id)
- Overrides:
setId
in classEditDataHandler
-
setPid
public void setPid(java.lang.String pid)
-
setName
public void setName(java.lang.String[] v)
-
setDescription
public void setDescription(java.lang.String[] v)
-
setSynonymList
public void setSynonymList(java.lang.String v)
-
setSelectable
public void setSelectable(boolean v)
-
setChildrenOrder
public void setChildrenOrder(int v)
-
setIcon
public void setIcon(java.lang.String[] v)
-
setImage
public void setImage(java.lang.String[] v)
-
setColor
public void setColor(java.lang.String v)
-
setNewTab
public void setNewTab(java.lang.String v)
-
isWorkspaceFilter
public boolean isWorkspaceFilter()
-
setWorkspaceFilter
public void setWorkspaceFilter(boolean workspaceFilter)
-
isAllWorkspaceFilter
public boolean isAllWorkspaceFilter()
-
setAllWorkspaceFilter
public void setAllWorkspaceFilter(boolean allWorkspaceFilter)
-
setAuthorizedMemberSetAddCount
public void setAuthorizedMemberSetAddCount(int v)
The Member Set AddCount- Parameters:
v
- the add count- Since:
- jcms-4.1
-
getAuthorizedMemberSetCount
public int getAuthorizedMemberSetCount()
- Returns:
- The Member Set AddCount
- Since:
- jcms-4.1
-
getAuthorizedGroupsCount
public int getAuthorizedGroupsCount()
- Returns:
- The Group Set AddCount
- Since:
- jcms-4.1
-
setAuthorizedMemberIds
public void setAuthorizedMemberIds(java.lang.String[] v)
Set the Authorized Members Ids- Parameters:
v
- the authorized member ids- Since:
- jcms-4.1
-
setAuthorizedGroupIds
public void setAuthorizedGroupIds(java.lang.String[] v)
Set the Authorized Groups Ids- Parameters:
v
- the authorized group ids- Since:
- jcms-4.1
-
getAvailableAuthorizedMemberSet
public java.util.Set<Member> getAvailableAuthorizedMemberSet()
- Returns:
- the Authorized Member Set
- Since:
- jcms-4.1
-
getAvailableAuthorizedGroupSet
public java.util.Set<Group> getAvailableAuthorizedGroupSet()
- Returns:
- the Authorized Group Set
- Since:
- jcms-4.1
-
getDefaultAuthorizedMemberSet
public java.util.Set<Member> getDefaultAuthorizedMemberSet()
This method should be overriden by sub-classes- Returns:
- a set of Member or null
- Since:
- jcms-4.1
-
getDefaultAuthorizedGroupSet
public java.util.Set<Group> getDefaultAuthorizedGroupSet()
This method should be overriden by sub-classes- Returns:
- a set of Group or null
- Since:
- jcms-4.1
-
setUseMemberIds
public void setUseMemberIds(java.lang.String[] v)
Set the Members' ids authorized to use this category- Parameters:
v
- some members ids- Since:
- jcms-10.0.6 / JCMS-8769
-
setUseGroupIds
public void setUseGroupIds(java.lang.String[] v)
Set the ids of Groups's authorized to use this category- Parameters:
v
- some groups ids- Since:
- jcms-10.0.6 / JCMS-8769
-
getAvailableUseMemberSet
public java.util.Set<Member> getAvailableUseMemberSet()
- Returns:
- the Set of Member authorized to use this category
- Since:
- jcms-10.0.6
-
getAvailableUseGroupSet
public java.util.Set<Group> getAvailableUseGroupSet()
- Returns:
- the Set of Group authorized to use this category
- Since:
- jcms-10.0.6
-
setManagerMemberIds
public void setManagerMemberIds(java.lang.String[] v)
Set the Manager Members Ids- Parameters:
v
- the authorized member ids- Since:
- jcms-10.0.5
-
setManagerGroupIds
public void setManagerGroupIds(java.lang.String[] v)
Set the Authorized Groups Ids- Parameters:
v
- the authorized group ids- Since:
- jcms-10.0.5
-
getAvailableManagerMemberSet
public java.util.Set<Member> getAvailableManagerMemberSet()
- Returns:
- the Authorized Member Set
- Since:
- jcms-10.0.5
-
getAvailableManagerGroupSet
public java.util.Set<Group> getAvailableManagerGroupSet()
- Returns:
- the Authorized Group Set
- Since:
- jcms-10.0.5
-
setFriendlyURL
public void setFriendlyURL(java.lang.String[] v)
Set the friendly urls.- Parameters:
v
- the friendly url values to use- Since:
- jcms-5.5.0
-
getAvailableFriendlyURLSet
public java.util.TreeSet<java.lang.String> getAvailableFriendlyURLSet()
- Returns:
- the friendly urls HashMap (including the default language)
-
getFieldStatus
public FieldStatus getFieldStatus(java.lang.String fieldName)
Returns the FieldStatus for the given field.- Parameters:
fieldName
- the name of the field- Returns:
- the FieldStatus for the given field (never null).
- Since:
- jcms-10.0.5
-
getWorkingCat
public Category getWorkingCat()
-
-