public abstract class EditPublicationHandler extends EditDataHandler
Publication
forms.Publication
Modifier and Type | Field and Description |
---|---|
protected java.util.Date |
adate |
protected java.lang.String |
anchor |
protected Member |
author |
protected int |
authorizedGroupsAddCount |
protected java.util.TreeSet<Group> |
authorizedGroupSet |
protected java.util.TreeSet<Member> |
authorizedMemberSet |
protected int |
authorizedMemberSetAddCount |
protected java.util.Set<Category> |
categorySet |
protected java.lang.String[] |
cids |
static java.lang.String |
DISPLAY_URL_TOKEN |
protected java.util.Date |
edate |
protected java.util.Map<java.lang.String,FieldStatus> |
fieldStatusMap |
protected java.util.TreeSet<java.lang.String> |
friendlyURLSet |
static java.lang.String |
ID_TOKEN |
protected Workflow |
internalWf |
protected boolean |
isAuthorForced |
protected boolean |
isCategorized |
protected boolean |
isContentType |
protected boolean |
isDBType |
protected boolean |
isFormType |
protected boolean |
isPortletType |
protected boolean |
isTracked |
protected boolean |
isUGCType |
protected int |
itemPos |
protected java.lang.String |
listToProcess |
protected java.lang.String |
mainLanguage |
protected boolean |
majorUpdate |
protected int |
oldPstatus |
protected boolean |
opAddItem |
protected boolean |
opAddItemReadRights |
protected boolean |
opAddItemUpdateRights |
protected int |
openTab |
protected boolean |
opMerge |
protected java.util.Date |
pdate |
static java.lang.String |
PREVIEW_URL_TOKEN |
protected int |
pstatus |
protected java.lang.Class<? extends Publication> |
pubClass |
protected Publication |
publication |
protected int |
reviewRating |
static java.lang.String |
REVISION |
protected java.lang.String[] |
roleIds |
protected java.util.HashMap<java.lang.String,java.util.TreeSet<Member>> |
roleMap |
protected Member[] |
roleMembers |
protected java.util.Date |
sdate |
protected boolean |
showAllTabs |
protected boolean |
showContentTabOnly |
protected java.lang.String[] |
templates |
protected java.lang.String |
title |
protected java.util.HashMap<java.lang.String,java.lang.String> |
titleML |
protected java.lang.String |
typeLabel |
protected int |
updateGroupsAddCount |
protected java.util.TreeSet<Group> |
updateGroupSet |
protected java.util.TreeSet<Member> |
updateMemberSet |
protected int |
updateMemberSetAddCount |
protected Workflow |
wf |
protected java.lang.String |
wfNote |
protected Publication |
workingPub |
protected WSTypeEntry |
wste |
extFormHandler, formStep, id, isDeleteForced, op, opCancel, opCreate, opDelete, opFinish, opNext, opPrevious, opRefresh, opUpdate, resultOpCreate, resultOpDelete, resultOpUpdate
contextMap, editFieldSet, noRedirect, noSendRedirect, popupEdition, redirect, redirectOnClosePopup, workspaceForced
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
browser, caddy, channel, inFO, initDone, initWorkspace, isAdmin, isAjaxRequest, isDBMember, isDebug, isLogged, loggedMember, request, response, userCountry, userLang, userLocale, workspace
ADATE_SEARCH, ADMIN_NOTES_PROP, ADVANCED_TAB, ARCHIVES_DIR, ASCII_WIDTH, CATEGORY_TAB, CDATE_SEARCH, COMMON_ALARM, CONTENT_TAB, COOKIE_MAX_AGE, 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_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, 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, PREVIOUS_TAB, 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, 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, URL_REGEXP, WARNING_MSG, WEBAPP_PROP, WFEXPRESS_ALARM, WFREMINDER_ALARM, WORKFLOW_TAB, WORKFLOW_XML
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 and Description |
---|
EditPublicationHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
cannotRead()
Returns true if the loggedMember cannot read this publication.
|
boolean |
containsHiddenParts() |
java.util.HashMap<java.lang.String,java.lang.String> |
getAllAvailableTitleML() |
java.lang.String |
getAnchor()
Get the value of anchor.
|
int |
getAuthorizedGroupsCount() |
int |
getAuthorizedMemberSetCount() |
java.util.Date |
getAvailableAdate() |
Member |
getAvailableAuthor() |
java.util.Set<Group> |
getAvailableAuthorizedGroupSet() |
java.util.Set<Member> |
getAvailableAuthorizedMemberSet() |
Category[] |
getAvailableCategories() |
java.util.Date |
getAvailableEdate() |
java.util.TreeSet<java.lang.String> |
getAvailableFriendlyURLSet() |
Workflow |
getAvailableInternalWorkflow() |
java.lang.String |
getAvailableMainLanguage() |
boolean |
getAvailableMajorUpdate() |
java.util.Date |
getAvailablePdate() |
int |
getAvailablePstatus() |
java.util.HashMap<java.lang.String,java.util.TreeSet<Member>> |
getAvailableRoleMap() |
java.util.Date |
getAvailableSdate() |
TypeTemplateEntry |
getAvailableTemplateEntry(java.lang.String usage) |
java.lang.String[] |
getAvailableTemplates() |
java.lang.String |
getAvailableTitle() |
java.lang.String |
getAvailableTitle(java.lang.String lang) |
java.util.HashMap<java.lang.String,java.lang.String> |
getAvailableTitleML() |
boolean |
getAvailableTracked() |
java.util.Set<Group> |
getAvailableUpdateGroupSet() |
java.util.Set<Member> |
getAvailableUpdateMemberSet() |
java.lang.String |
getAvailableWFNote() |
Workspace |
getAvailableWorkspace() |
java.util.Set<Category> |
getCategorySet(java.lang.String inputName)
Returns the root set bound to the given inputName
|
protected java.util.HashMap |
getControllerContext()
Build a controller context.
|
java.lang.Class<? extends Data> |
getDataClass() |
java.util.Set<Group> |
getDefaultAuthorizedGroupSet()
This method should be overriden by sub-classes
|
java.util.Set<Member> |
getDefaultAuthorizedMemberSet()
This method should be overriden by sub-classes
|
java.util.Set<Category> |
getDefaultCategorySet()
This method should be overriden by sub-classes
|
java.lang.String |
getDefaultTemplateUsage()
Returns the default template usage used to display the publication.
|
java.util.Set<Group> |
getDefaultUpdateGroupSet()
This method should be overriden by sub-classes
|
java.util.Set<Member> |
getDefaultUpdateMemberSet()
This method should be overriden by sub-classes
|
FieldStatus |
getFieldStatus(java.lang.String fieldName)
Returns the FieldStatus for the given field.
|
java.util.Set<Category> |
getHiddenCatSet(java.util.Set<Category> typeRemovedCatSet) |
java.util.TreeSet<Member> |
getMemberSetAssignedToRole(java.lang.String roleId) |
int |
getOpenTab() |
Publication |
getPublication() |
abstract java.lang.Class<? extends Publication> |
getPublicationClass() |
boolean |
getShowAllTabs() |
boolean |
getShowContentTabOnly() |
java.lang.String |
getTabLabel(java.lang.String tabId) |
java.lang.Object |
getTitleFieldValue(boolean isTitleML) |
java.lang.String |
getTypeLabel()
Returns the label of the edited type.
|
int |
getUpdateGroupsCount() |
int |
getUpdateMemberSetCount() |
java.lang.String |
getWorkAreaCss()
Returns the css class used for style, and javascript window resize in footer in popup edition.
|
Workflow |
getWorkflow() |
WSTypeEntry |
getWSTypeEntry() |
protected void |
init()
Method to implement if you need to initialize your handler from parameter received,
prior to all security validation.
|
protected boolean |
internalPerformCreate() |
protected boolean |
internalPerformDelete() |
protected boolean |
internalPerformUpdate() |
boolean |
isAdvancedTabHidden() |
boolean |
isCategoryTabHidden() |
boolean |
isContentTabOnly() |
boolean |
isDBType()
Returns true if the publication class extends DBData.
|
boolean |
isExpanded(Category cat,
java.lang.String inputName) |
boolean |
isFieldEdition(java.lang.String field) |
boolean |
isForm()
Is this handler dedicated to Form sub-class processing.
|
boolean |
isLocked()
Returns true if the publication is (weakly) locked.
|
boolean |
isReadRightTabHidden() |
boolean |
isStrongLocked()
Returns true if the publication is a FileDocument with a strong lock.
|
boolean |
isTabForced() |
boolean |
isTemplateTabHidden() |
boolean |
isUpdateRightTabHidden() |
boolean |
isWorkflowTabHidden() |
boolean |
performAddItem() |
boolean |
performAddItemReadRights() |
boolean |
performAddItemUpdateRights() |
boolean |
performCreate() |
boolean |
performDelete() |
boolean |
performMerge() |
boolean |
performRefresh() |
boolean |
performUpdate() |
void |
prepare() |
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 |
releaseDBWorkingPub() |
protected void |
sendRedirect() |
void |
setAdate(java.lang.String v) |
void |
setAnchor(java.lang.String v)
Set the value of anchor.
|
void |
setAuthor(java.lang.String v) |
void |
setAuthorForced(boolean v,
Member author) |
void |
setAuthorizedGroupIds(java.lang.String[] v) |
void |
setAuthorizedMemberIds(java.lang.String[] v) |
void |
setAuthorizedMemberSetAddCount(int v) |
void |
setCids(java.lang.String[] v) |
void |
setEdate(java.lang.String v) |
void |
setFields(Publication pub)
Set the common (Publication) fields.
|
void |
setFriendlyURL(java.lang.String[] v)
Set the friendly urls.
|
void |
setId(java.lang.String id)
Set the value of id.
|
void |
setInternalWf(java.lang.String internalWf) |
void |
setItemPos(int v) |
void |
setMainLanguage(java.lang.String v)
Set the main language.
|
void |
setMajorUpdate(java.lang.String v) |
void |
setOpAddItem(java.lang.String v) |
void |
setOpAddItemReadRights(java.lang.String v) |
void |
setOpAddItemUpdateRights(java.lang.String v) |
void |
setOpenTab(int openTab)
Set the open tab
|
void |
setOpMerge(java.lang.String v) |
void |
setPdate(java.lang.String v) |
void |
setPstatus(int v) |
void |
setRoleId(java.lang.String[] v)
Set the role ids
|
void |
setSdate(java.lang.String v) |
void |
setShowAllTabs(boolean v) |
void |
setShowContentTabOnly(boolean v)
since jcms-5.5.0
|
void |
setTemplates(java.lang.String[] v) |
void |
setTitle(java.lang.String[] v) |
void |
setTracked(boolean v) |
void |
setUpdateGroupIds(java.lang.String[] v) |
void |
setUpdateMemberIds(java.lang.String[] v) |
void |
setUpdateMemberSetAddCount(int v) |
void |
setWfNote(java.lang.String v) |
boolean |
showForceDelete()
Returns true if the "Force deletion" option must be proposed.
|
boolean |
showFriendlyURL() |
boolean |
showLockWarning()
Returns true if the lock warning message must be displayed.
|
boolean |
showMainLanguage() |
boolean |
showReaderTracker() |
boolean |
showSDate() |
boolean |
showWFRole() |
void |
updateCids(java.lang.String[] v)
Update the cids (this method is called by setCids() and all setCidsXXX() methods)
|
boolean |
validateAddItem() |
boolean |
validateAddItemReadRights() |
boolean |
validateAddItemUpdateRights() |
boolean |
validateBeforeOp() |
boolean |
validateCreate() |
boolean |
validateDelete() |
boolean |
validateFieldFormat() |
boolean |
validateMember() |
boolean |
validateMerge() |
boolean |
validateUpdate() |
boolean |
validateWorkspace() |
afterValidation, createUploadedFileDocument, createUploadedFileDocument, createUploadedFileDocument, createUploadedFileDocument, getAvailableData, getAvailableDataArray, getAvailableExtraDataMap, getAvailableExtraDBDataMap, getExtFormHandler, getFormStep, getFormStepCount, getId, handleRestResponse, isFirstAccess, performCancel, performCreateExtension, performFinish, performNext, performPrevious, performUpdateExtension, processDataId, processDataIds, processDataIds, processMLData, processMLDataArray, restValidation, setExtFormHandler, setExtraDBKeys, setExtraDBValues, setExtraKeys, setExtraValues, setFields, setForceDelete, setFormStep, setOpCancel, setOpCreate, setOpDelete, setOpFinish, setOpNext, setOpPrevious, setOpRefresh, setOpUpdate, showCancelButton, showFinishButton, showNextButton, showPreviousButton, validateCancel, validateCreateExtension, validateFinish, validateNext, validatePrevious, validateRefresh, validateUpdateExtension, validateUploadedFileDocument, validateUploadedFileDocument, validateUploadedFileDocument, validateUploadedFileDocument
checkMissingField, getEditFieldSet, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenField, getHiddenFieldML, getMainLangValue, getMainLangValueArray, getMLMap, getMLMapArray, getRedirect, getRedirectOnClosePopup, getWorkspace, isFieldMissing, isPartialFieldEdition, isPopupEdition, isWorkspaceForced, sendRedirect, sendRedirect, setEditField, setNoRedirect, setNoSendRedirect, setPopupEdition, setRedirect, setRedirectOnClosePopup, setWorkspace, setWs, updateUploadedField, updateUploadedFields, validate
addBodyAttributes, addCSSHeader, addCSSHeader, addCSSHeader, addCSSHeader, addCustomHeader, addHttpEquivHeader, addHttpNameHeader, addJavaScript, addJavaScript, addJavaScript, addJavaScriptCode, addPrefetchHeader, addStyleHeader, addStyleHeader, checkAccess, checkAccess, checkCSRF, debugDisplayContext, disablePacker, forceEditIcon, forceUpdate, getAjaxRequestAttribute, getAjaxRequestId, getAllHeadersDiffMap, getAllHeadersMap, getBackOfficeCSSHeader, getBackOfficeJavaScriptSet, getBodyAttributes, getContentForm, getCSSHeaders, getCtxCategories, getCurrentCategory, getCustomHeaders, getDocType, getFinalCSSMap, getFinalJavaScriptSet, getFormElementCount, getFrontOfficeCSSHeader, getFrontOfficeJavaScriptSet, getHttpEquivHeaders, getHttpNameHeaders, getJavaScriptCodeSet, getJavaScriptSet, getJSONBridge, getPackVersion, getPageContext, getPageTitle, getPageZone, getPortal, getPortalCategory, getPortlet, getStyleHeaders, getTemplateUsage, internalSetupEmptyHeader, isEditIcon, isEditIcon, isPrintView, registerDisplayContext, removeAjaxRequestAttribute, setAjaxRequestAttribute, setAjaxRequestId, setAllHeadersDiffMap, setDocType, setEditIcon, setFormElementCount, setPageContext, setPageTitle, setPageZone, setShowEditIcon, setTemplateUsage, showEditIcon, showEditIcon, workaroundBrowserBaseHrefBug
addCookie, addMsg, addMsg, addMsgSession, addMsgSession, applySelector, forceWorkspaceUpdate, getBaseUrl, getBrowser, getCaddy, getContextPath, getErrorMsg, getErrorMsgList, getErrorMsgSession, getErrorMsgSessionList, getInfoMsg, getInfoMsgList, getInfoMsgSession, getInfoMsgSessionList, getLoggedMember, getMsgList, getMsgSessionList, getRequest, getResponse, getSession, getUploadedFile, getUploadedFileList, getUrlWithCommonUpdatedParams, getUserCountry, getUserLang, getUserLocale, getWarningMsg, getWarningMsgList, getWarningMsgSession, getWarningMsgSessionList, glp, isAdmin, isAjaxRequest, isDBMember, isDebug, isInFrontOffice, isLogged, isWebdavAccess, removeMessage, removeMessage, retrieveUploadedFile, select, sendForbidden, sendForbidden, sendRedirect, sendRedirect, sendRedirect, setErrorMsg, setErrorMsg, setErrorMsgSession, setErrorMsgSession, setInfoMsg, setInfoMsg, setInfoMsgSession, setInfoMsgSession, setLoggedMember, setRequest, setResponse, setWarningMsg, setWarningMsg, setWarningMsgSession, setWarningMsgSession, validateRegexp, validateSchedule
public static final java.lang.String REVISION
public static final java.lang.String ID_TOKEN
public static final java.lang.String DISPLAY_URL_TOKEN
public static final java.lang.String PREVIEW_URL_TOKEN
protected boolean opMerge
protected boolean opAddItem
protected boolean opAddItemReadRights
protected boolean opAddItemUpdateRights
protected boolean majorUpdate
protected java.lang.String title
protected java.util.HashMap<java.lang.String,java.lang.String> titleML
protected java.lang.String[] cids
protected java.lang.String[] templates
protected int pstatus
protected int oldPstatus
protected java.util.Date pdate
protected java.util.Date edate
protected java.util.Date sdate
protected java.util.Date adate
protected java.lang.String wfNote
protected int authorizedMemberSetAddCount
protected int authorizedGroupsAddCount
protected int updateMemberSetAddCount
protected int updateGroupsAddCount
protected java.lang.String anchor
protected boolean isTracked
protected java.lang.String mainLanguage
protected java.util.TreeSet<java.lang.String> friendlyURLSet
protected java.lang.String[] roleIds
protected Member[] roleMembers
protected java.util.HashMap<java.lang.String,java.util.TreeSet<Member>> roleMap
protected Publication publication
protected java.lang.Class<? extends Publication> pubClass
protected WSTypeEntry wste
protected Workflow wf
protected Workflow internalWf
protected Member author
protected boolean isAuthorForced
protected java.util.Set<Category> categorySet
protected java.util.TreeSet<Member> authorizedMemberSet
protected java.util.TreeSet<Group> authorizedGroupSet
protected java.util.TreeSet<Member> updateMemberSet
protected java.util.TreeSet<Group> updateGroupSet
protected int openTab
protected boolean showAllTabs
protected boolean showContentTabOnly
protected java.lang.String typeLabel
protected boolean isContentType
protected boolean isPortletType
protected boolean isFormType
protected boolean isUGCType
protected boolean isDBType
protected boolean isCategorized
protected int reviewRating
protected java.lang.String listToProcess
protected int itemPos
protected Publication workingPub
protected java.util.Map<java.lang.String,FieldStatus> fieldStatusMap
public java.lang.Class<? extends Data> getDataClass()
getDataClass
in class EditDataHandler
public abstract java.lang.Class<? extends Publication> getPublicationClass()
public Publication getPublication()
getPublication
in class JcmsJspContext
public void setInternalWf(java.lang.String internalWf)
public Workflow getAvailableInternalWorkflow()
public Workflow getWorkflow()
public WSTypeEntry getWSTypeEntry()
public java.lang.String getTabLabel(java.lang.String tabId)
protected void init()
JcmsFormHandler
You must absolutely not perform any action which modify data or site configuration.
Therefore it is strongly recommend NOT TO implement this method, or use very wisely.
init
in class JcmsFormHandler
public boolean processAction() throws java.io.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
java.io.IOException
public boolean validateBeforeOp()
protected void releaseDBWorkingPub()
protected void sendRedirect() throws java.io.IOException
sendRedirect
in class EditDataHandler
java.io.IOException
public boolean validateMember() throws java.io.IOException
java.io.IOException
public boolean validateWorkspace() throws java.io.IOException
java.io.IOException
protected boolean processStatus(ControllerStatus status) throws java.io.IOException
JcmsFormHandler
processStatus
in class JcmsFormHandler
status
- the ControllerStatus to be processedjava.io.IOException
public boolean validateFieldFormat()
public boolean validateCreate() throws java.io.IOException
java.io.IOException
public boolean performCreate() throws java.io.IOException
java.io.IOException
protected boolean internalPerformCreate() throws java.io.IOException
java.io.IOException
protected java.util.HashMap getControllerContext()
JcmsFormHandler
getControllerContext
in class EditDataHandler
public boolean validateUpdate() throws java.io.IOException
java.io.IOException
public boolean performUpdate() throws java.io.IOException
java.io.IOException
protected boolean internalPerformUpdate() throws java.io.IOException
java.io.IOException
public boolean validateDelete() throws java.io.IOException
java.io.IOException
public boolean performDelete() throws java.io.IOException
java.io.IOException
protected boolean internalPerformDelete() throws java.io.IOException
java.io.IOException
public boolean validateMerge()
public boolean performMerge() throws java.io.IOException
java.io.IOException
public boolean validateAddItem()
public boolean performAddItem() throws java.io.IOException
java.io.IOException
public boolean validateAddItemReadRights()
public boolean performAddItemReadRights() throws java.io.IOException
java.io.IOException
public boolean validateAddItemUpdateRights()
public boolean performAddItemUpdateRights() throws java.io.IOException
java.io.IOException
public boolean performRefresh() throws java.io.IOException
performRefresh
in class EditDataHandler
java.io.IOException
public void prepare()
public void setFields(Publication pub)
pub
- the publication to set the fieldspublic boolean isFieldEdition(java.lang.String field)
isFieldEdition
in class JcmsFormHandler
JcmsFormHandler.getEditFieldSet()
public boolean isDBType()
public boolean showWFRole()
public boolean showReaderTracker()
public boolean showMainLanguage()
public boolean showSDate()
public boolean showFriendlyURL()
public boolean showForceDelete()
public boolean isLocked()
public boolean isStrongLocked()
public boolean showLockWarning()
public void setOpenTab(int openTab)
openTab
- the tab to openpublic int getOpenTab()
public boolean isTabForced()
public boolean containsHiddenParts()
public void setShowAllTabs(boolean v)
public boolean getShowAllTabs()
public void setShowContentTabOnly(boolean v)
public boolean getShowContentTabOnly()
public boolean isContentTabOnly()
public boolean isCategoryTabHidden()
public boolean isReadRightTabHidden()
public boolean isUpdateRightTabHidden()
public boolean isTemplateTabHidden()
public boolean isWorkflowTabHidden()
public boolean isAdvancedTabHidden()
public Category[] getAvailableCategories()
public java.util.Set<Category> getCategorySet(java.lang.String inputName)
inputName
- the name of category set to getpublic java.util.Set<Category> getHiddenCatSet(java.util.Set<Category> typeRemovedCatSet)
public boolean isExpanded(Category cat, java.lang.String inputName)
public java.lang.Object getTitleFieldValue(boolean isTitleML)
public java.lang.String getAvailableTitle()
public java.util.HashMap<java.lang.String,java.lang.String> getAllAvailableTitleML()
public java.util.HashMap<java.lang.String,java.lang.String> getAvailableTitleML()
public java.lang.String getAvailableTitle(java.lang.String lang)
public TypeTemplateEntry getAvailableTemplateEntry(java.lang.String usage)
public java.lang.String[] getAvailableTemplates()
public int getAvailablePstatus()
public java.util.Date getAvailablePdate()
public java.util.Date getAvailableEdate()
public java.util.Date getAvailableSdate()
public java.util.Date getAvailableAdate()
public java.lang.String getAvailableWFNote()
public java.util.Set<Member> getAvailableAuthorizedMemberSet()
public java.util.Set<Member> getDefaultAuthorizedMemberSet()
public java.util.Set<Group> getAvailableAuthorizedGroupSet()
public int getAuthorizedGroupsCount()
public int getUpdateGroupsCount()
public java.util.Set<Group> getDefaultAuthorizedGroupSet()
public java.util.Set<Category> getDefaultCategorySet()
public java.util.Set<Member> getAvailableUpdateMemberSet()
public java.util.Set<Member> getDefaultUpdateMemberSet()
public java.util.Set<Group> getAvailableUpdateGroupSet()
public java.util.Set<Group> getDefaultUpdateGroupSet()
public Member getAvailableAuthor()
public void setAuthorForced(boolean v, Member author)
public void updateCids(java.lang.String[] v)
public java.lang.String getDefaultTemplateUsage()
public void setOpMerge(java.lang.String v)
public void setOpAddItem(java.lang.String v)
public void setOpAddItemReadRights(java.lang.String v)
public void setOpAddItemUpdateRights(java.lang.String v)
public void setMajorUpdate(java.lang.String v)
public boolean getAvailableMajorUpdate()
public boolean isForm()
public void setItemPos(int v)
public void setId(java.lang.String id)
setId
in class EditDataHandler
id
- Value to assign to id.public void setTitle(java.lang.String[] v)
public void setCids(java.lang.String[] v)
public void setAuthor(java.lang.String v)
public void setTemplates(java.lang.String[] v)
public void setPstatus(int v)
public void setPdate(java.lang.String v)
public void setEdate(java.lang.String v)
public void setSdate(java.lang.String v)
public void setAdate(java.lang.String v)
public void setWfNote(java.lang.String v)
public void setAuthorizedMemberSetAddCount(int v)
public int getAuthorizedMemberSetCount()
public void setAuthorizedMemberIds(java.lang.String[] v)
public void setAuthorizedGroupIds(java.lang.String[] v)
public void setUpdateMemberSetAddCount(int v)
public int getUpdateMemberSetCount()
public void setUpdateMemberIds(java.lang.String[] v)
public void setUpdateGroupIds(java.lang.String[] v)
public java.lang.String getAnchor()
public void setAnchor(java.lang.String v)
v
- Value to assign to anchor.public void setTracked(boolean v)
public boolean getAvailableTracked()
public Workspace getAvailableWorkspace()
public void setMainLanguage(java.lang.String v)
public java.lang.String getAvailableMainLanguage()
public void setFriendlyURL(java.lang.String[] v)
public java.util.TreeSet<java.lang.String> getAvailableFriendlyURLSet()
public void setRoleId(java.lang.String[] v)
public java.util.HashMap<java.lang.String,java.util.TreeSet<Member>> getAvailableRoleMap()
public java.util.TreeSet<Member> getMemberSetAssignedToRole(java.lang.String roleId)
roleId
- a WFRole idpublic java.lang.String getTypeLabel()
public boolean cannotRead()
public java.lang.String getWorkAreaCss()
public FieldStatus getFieldStatus(java.lang.String fieldName)
fieldName
- the name of the fieldCopyright © 2001-2010 Jalios SA. All Rights Reserved.