|
||||||||||
| 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.caddy.AbstractCaddyManagerHandler
com.jalios.jcms.caddy.PublicationCaddyManagerHandler
public class PublicationCaddyManagerHandler
This form handler process Publication Caddy Manager actions.
| Field Summary | |
|---|---|
protected java.util.Date |
adate
|
protected java.lang.String |
authorId
|
protected Group[] |
authorizedGroups
|
protected int |
authorizedGroupsAddCount
|
protected java.util.TreeSet |
authorizedMemberSet
|
protected int |
authorizedMemberSetAddCount
|
protected java.util.TreeSet |
categorySet
|
protected java.util.Date |
commonAdate
|
protected java.lang.String |
commonAuthorId
|
protected Group[] |
commonAuthorizedGroups
|
protected java.util.TreeSet |
commonAuthorizedMemberSet
|
protected java.util.TreeSet |
commonCategorySet
|
protected java.lang.Class |
commonClass
|
protected java.util.Date |
commonEdate
|
protected java.lang.String |
commonMainLanguage
|
protected java.util.Date |
commonPdate
|
protected java.lang.String[] |
commonTemplates
|
protected boolean |
commonTracked
|
protected boolean |
commonTrackedAvailable
|
protected Group[] |
commonUpdateGroups
|
protected java.util.TreeSet |
commonUpdateMemberSet
|
protected Workflow |
commonWF
|
protected WFState |
commonWFState
|
protected java.lang.String |
commonWSId
|
protected java.util.Date |
edate
|
protected boolean |
generateFriendlyURLs
|
protected boolean |
isTracked
|
protected boolean |
isTrackedProvided
|
protected java.lang.String |
mainLanguage
|
protected boolean |
majorUpdate
|
protected Member |
newAuthor
|
protected Workspace |
newWS
|
protected java.lang.String |
newWSId
|
protected boolean |
noAdate
|
protected boolean |
noCategory
|
protected boolean |
noCommonCategory
|
protected boolean |
noEdate
|
protected boolean |
noPdate
|
protected boolean |
noReadRight
|
protected boolean |
noUpdateRight
|
protected java.lang.String |
opRefine
|
protected java.util.Date |
pdate
|
protected int |
pstatus
|
protected java.lang.String[] |
refcids
|
protected java.lang.String[] |
reftypes
|
protected boolean |
removeFriendlyURLs
|
static java.lang.String |
REVISION
|
protected java.lang.String[] |
templates
|
protected Group[] |
updateGroups
|
protected int |
updateGroupsAddCount
|
protected java.util.TreeSet |
updateMemberSet
|
protected int |
updateMemberSetAddCount
|
protected Workflow |
wf
|
| Fields inherited from class com.jalios.jcms.caddy.AbstractCaddyManagerHandler |
|---|
applyInEmptyFields, deleteDataExtension, doSearchAndReplace, ignoreIntegrityCheck, opClearCaddy, opDelete, openTab, opPreview, opRemoveCaddy, opUpdate, PREVIOUS_TAB, replaceLangList, replacePattern, searchPattern, useRegExp |
| 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, 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.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 | |
|---|---|
PublicationCaddyManagerHandler()
|
|
| Method Summary | |
|---|---|
protected void |
compute()
This methods computes all the common attributes of the publication in the caddy. |
protected void |
computeWorkingPubSet()
|
Member |
getAuthor()
|
java.lang.String |
getAuthorId()
|
int |
getAuthorizedGroupsAddCount()
|
int |
getAuthorizedGroupsCount()
|
int |
getAuthorizedMemberSetCount()
|
java.util.Date |
getAvailableAdate()
|
Member |
getAvailableAuthor()
|
Group[] |
getAvailableAuthorizedGroups()
|
java.util.Set |
getAvailableAuthorizedMemberSet()
|
java.util.Date |
getAvailableEdate()
|
Workspace |
getAvailableNewWS()
|
java.util.Date |
getAvailablePdate()
|
java.lang.String[] |
getAvailableTemplates()
|
Group[] |
getAvailableUpdateGroups()
|
java.util.Set |
getAvailableUpdateMemberSet()
|
java.util.SortedSet |
getCategorySet()
|
java.lang.Class |
getCommonClass()
|
java.lang.String |
getCommonMainLanguage()
|
boolean |
getCommonTracked()
|
WFState |
getCommonWFState()
|
Workflow |
getCommonWorkflow()
|
boolean |
getGenerateFriendlyURLs()
|
boolean |
getNoAdate()
Get the value of noAdate. |
boolean |
getNoCategory()
Gets the value of noCategory |
boolean |
getNoCommonCategory()
Gets the value of noCommonCategory |
boolean |
getNoEdate()
Get the value of noEdate. |
boolean |
getNoPdate()
Get the value of noPdate. |
boolean |
getNoReadRight()
Get the value of noReadRight. |
boolean |
getNoUpdateRight()
Get the value of noUpdateRight. |
int |
getPstatus()
Get the value of pstatus. |
boolean |
getRemoveFriendlyURLs()
|
java.lang.String[] |
getTemplates()
Get the value of templates. |
int |
getUpdateGroupsAddCount()
|
int |
getUpdateGroupsCount()
|
int |
getUpdateMemberSetAddCount()
|
int |
getUpdateMemberSetCount()
|
boolean |
isCommonTrackedAvailable()
|
boolean |
isExpanded(Category cat,
java.lang.String inputName)
|
boolean |
isTypeHomogeneous()
|
boolean |
isWFHomogeneous()
|
void |
setAdate(java.lang.String v)
Set the value of adate. |
void |
setAuthorId(java.lang.String v)
|
void |
setAuthorizedGroups(java.lang.String[] v)
|
void |
setAuthorizedGroupsAddCount(int v)
|
void |
setAuthorizedMemberIds(java.lang.String[] mbrIds)
Set the value of authorizedMemberIds. |
void |
setAuthorizedMemberSetAddCount(int v)
|
void |
setCids(java.lang.String[] cids)
Set the value of cids. |
void |
setEdate(java.lang.String v)
Set the value of edate. |
void |
setGenerateFriendlyURLs(boolean v)
|
void |
setMainLanguage(java.lang.String v)
|
void |
setMajorUpdate(java.lang.String v)
|
void |
setNewWSId(java.lang.String v)
|
void |
setNoAdate(boolean v)
Set the value of noAdate. |
void |
setNoCategory(boolean v)
Set the value of noCategory. |
void |
setNoCommonCategory(boolean v)
Set the value of noCommonCategory. |
void |
setNoEdate(boolean v)
Set the value of noEdate. |
void |
setNoPdate(boolean v)
Set the value of noPdate. |
void |
setNoReadRight(boolean v)
Set the value of noReadRight. |
void |
setNoUpdateRight(boolean v)
Set the value of noUpdateRight. |
void |
setOpRefine(java.lang.String v)
|
void |
setPdate(java.lang.String v)
Set the value of pdate. |
void |
setPstatus(int v)
Set the value of pstatus. |
void |
setRefineCids(java.lang.String[] refcids)
Sets the cids to be used in refine operation to select publications which belong to the corresponding categories (remove all the others from the caddy). |
void |
setRefineTypes(java.lang.String[] reftypes)
Important: This setter trigger an immediate action modifying the caddy content! |
void |
setRemoveFriendlyURLs(boolean v)
|
void |
setTemplates(java.lang.String[] v)
Set the value of templates. |
void |
setTracked(boolean v)
|
void |
setUpdateGroups(java.lang.String[] v)
|
void |
setUpdateGroupsAddCount(int v)
|
void |
setUpdateMemberIds(java.lang.String[] mbrIds)
Set the value of updateMemberIds. |
void |
setUpdateMemberSetAddCount(int v)
|
boolean |
validate()
|
boolean |
validateCommonPdateEdate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String REVISION
protected java.lang.String opRefine
protected java.lang.String[] refcids
protected java.lang.String[] reftypes
protected boolean noCategory
protected boolean noCommonCategory
protected java.lang.String authorId
protected java.lang.String commonAuthorId
protected java.lang.String newWSId
protected java.lang.String commonWSId
protected boolean commonTracked
protected boolean commonTrackedAvailable
protected boolean isTrackedProvided
protected boolean isTracked
protected java.lang.String[] templates
protected java.lang.String[] commonTemplates
protected int pstatus
protected java.util.Date pdate
protected java.util.Date commonPdate
protected java.util.Date edate
protected java.util.Date commonEdate
protected java.util.Date adate
protected java.util.Date commonAdate
protected boolean noPdate
protected boolean noEdate
protected boolean noAdate
protected java.lang.String commonMainLanguage
protected java.lang.String mainLanguage
protected boolean majorUpdate
protected boolean removeFriendlyURLs
protected boolean generateFriendlyURLs
protected boolean noReadRight
protected java.util.TreeSet authorizedMemberSet
protected java.util.TreeSet commonAuthorizedMemberSet
protected int authorizedMemberSetAddCount
protected Group[] authorizedGroups
protected Group[] commonAuthorizedGroups
protected int authorizedGroupsAddCount
protected boolean noUpdateRight
protected Group[] updateGroups
protected Group[] commonUpdateGroups
protected int updateGroupsAddCount
protected java.util.TreeSet updateMemberSet
protected java.util.TreeSet commonUpdateMemberSet
protected int updateMemberSetAddCount
protected java.util.TreeSet categorySet
protected java.util.TreeSet commonCategorySet
protected java.lang.Class commonClass
protected Workflow commonWF
protected WFState commonWFState
protected Workflow wf
protected Member newAuthor
protected Workspace newWS
| Constructor Detail |
|---|
public PublicationCaddyManagerHandler()
| Method Detail |
|---|
protected void computeWorkingPubSet()
protected void compute()
public boolean validate()
throws java.io.IOException
validate in class AbstractCaddyManagerHandlerjava.io.IOExceptionpublic boolean validateCommonPdateEdate()
public void setOpRefine(java.lang.String v)
public void setRefineCids(java.lang.String[] refcids)
refcids - The id of the category that is to be used to select a subset of the caddy.public void setRefineTypes(java.lang.String[] reftypes)
reftypes - The types to keep in the caddy.public java.util.SortedSet getCategorySet()
public boolean isExpanded(Category cat,
java.lang.String inputName)
public boolean isWFHomogeneous()
public Workflow getCommonWorkflow()
public WFState getCommonWFState()
public boolean isTypeHomogeneous()
public java.lang.Class getCommonClass()
public java.lang.String getAuthorId()
public Member getAuthor()
public void setAuthorId(java.lang.String v)
public Workspace getAvailableNewWS()
public void setNewWSId(java.lang.String v)
public java.lang.String[] getTemplates()
public void setTemplates(java.lang.String[] v)
public int getPstatus()
public void setPstatus(int v)
v - Value to assign to pstatus.public void setPdate(java.lang.String v)
v - Value to assign to pdate.public void setEdate(java.lang.String v)
v - Value to assign to edate.public void setAdate(java.lang.String v)
v - Value to assign to adate.public boolean getNoPdate()
public void setNoPdate(boolean v)
v - Value to assign to noPdate.public boolean getNoEdate()
public void setNoEdate(boolean v)
v - Value to assign to noEdate.public boolean getNoAdate()
public void setNoAdate(boolean v)
v - Value to assign to noAdate.public void setAuthorizedMemberIds(java.lang.String[] mbrIds)
mbrIds - Value to assign to authorizedMemberIds.public Group[] getAvailableAuthorizedGroups()
public Member getAvailableAuthor()
public java.lang.String[] getAvailableTemplates()
public void setAuthorizedGroups(java.lang.String[] v)
public void setAuthorizedGroupsAddCount(int v)
public void setAuthorizedMemberSetAddCount(int v)
public void setUpdateMemberSetAddCount(int v)
public int getAuthorizedGroupsCount()
public int getAuthorizedGroupsAddCount()
public java.util.Set getAvailableAuthorizedMemberSet()
public java.util.Set getAvailableUpdateMemberSet()
public java.util.Date getAvailablePdate()
public java.util.Date getAvailableEdate()
public java.util.Date getAvailableAdate()
public void setUpdateMemberIds(java.lang.String[] mbrIds)
mbrIds - Value to assign to updateMemberIds.public Group[] getAvailableUpdateGroups()
public void setUpdateGroups(java.lang.String[] v)
public void setUpdateGroupsAddCount(int v)
public int getUpdateGroupsCount()
public int getUpdateGroupsAddCount()
public int getAuthorizedMemberSetCount()
public int getUpdateMemberSetCount()
public int getUpdateMemberSetAddCount()
public boolean getNoReadRight()
public void setNoReadRight(boolean v)
v - Value to assign to noReadRight.public boolean getNoUpdateRight()
public void setNoUpdateRight(boolean v)
v - Value to assign to noUpdateRight.public void setNoCategory(boolean v)
v - Value to assign to noCategory.public boolean getNoCategory()
public void setNoCommonCategory(boolean v)
v - Value to assign to noCommonCategory.public boolean getNoCommonCategory()
public void setCids(java.lang.String[] cids)
cids - Value to assign to cids.public void setTracked(boolean v)
public boolean isCommonTrackedAvailable()
public boolean getCommonTracked()
public void setMainLanguage(java.lang.String v)
public java.lang.String getCommonMainLanguage()
public void setMajorUpdate(java.lang.String v)
public boolean getRemoveFriendlyURLs()
public void setRemoveFriendlyURLs(boolean v)
public boolean getGenerateFriendlyURLs()
public void setGenerateFriendlyURLs(boolean v)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||