|
||||||||||
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.caddy.AbstractCaddyManagerHandler com.jalios.jcms.caddy.PublicationCaddyManagerHandler
public class PublicationCaddyManagerHandler
This form handler process Publication Caddy Manager actions.
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, 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 | |
---|---|
PublicationCaddyManagerHandler()
|
Method Summary | |
---|---|
protected void |
compute()
This methods computes all the common attributes of the publication in the caddy. |
protected void |
computeWorkingPubSet()
|
Member |
getAuthor()
|
String |
getAuthorId()
|
int |
getAuthorizedGroupsAddCount()
|
int |
getAuthorizedGroupsCount()
|
int |
getAuthorizedMemberSetCount()
|
Date |
getAvailableAdate()
|
Member |
getAvailableAuthor()
|
Group[] |
getAvailableAuthorizedGroups()
|
Set<Member> |
getAvailableAuthorizedMemberSet()
|
Date |
getAvailableEdate()
|
Workspace |
getAvailableNewWS()
|
Date |
getAvailablePdate()
|
String[] |
getAvailableTemplates()
|
Group[] |
getAvailableUpdateGroups()
|
Set<Member> |
getAvailableUpdateMemberSet()
|
SortedSet<Category> |
getCategorySet()
|
Class<? extends Publication> |
getCommonClass()
|
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()
|
String[] |
getTemplates()
Get the value of templates. |
int |
getUpdateGroupsAddCount()
|
int |
getUpdateGroupsCount()
|
int |
getUpdateMemberSetAddCount()
|
int |
getUpdateMemberSetCount()
|
boolean |
isCommonTrackedAvailable()
|
boolean |
isExpanded(Category cat,
String inputName)
|
boolean |
isTypeHomogeneous()
|
boolean |
isWFHomogeneous()
|
boolean |
processAction()
Method to be implemented to check/validate action to be performed and process them. |
void |
setAdate(String v)
Set the value of adate. |
void |
setAuthorId(String v)
|
void |
setAuthorizedGroups(String[] v)
|
void |
setAuthorizedGroupsAddCount(int v)
|
void |
setAuthorizedMemberIds(String[] mbrIds)
Set the value of authorizedMemberIds. |
void |
setAuthorizedMemberSetAddCount(int v)
|
void |
setCids(String[] cids)
Set the value of cids. |
void |
setEdate(String v)
Set the value of edate. |
void |
setGenerateFriendlyURLs(boolean v)
|
void |
setMainLanguage(String v)
|
void |
setMajorUpdate(String v)
|
void |
setNewWSId(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(String v)
|
void |
setPdate(String v)
Set the value of pdate. |
void |
setPstatus(int v)
Set the value of pstatus. |
void |
setRefineCids(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(String[] reftypes)
Important: This setter trigger an immediate action modifying the caddy content! Sets the types of publication to keep in the caddy. |
void |
setRemoveFriendlyURLs(boolean v)
|
void |
setTemplates(String[] v)
Set the value of templates. |
void |
setTracked(boolean v)
|
void |
setUpdateGroups(String[] v)
|
void |
setUpdateGroupsAddCount(int v)
|
void |
setUpdateMemberIds(String[] mbrIds)
Set the value of updateMemberIds. |
void |
setUpdateMemberSetAddCount(int v)
|
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 String REVISION
protected String opRefine
protected String[] refcids
protected String[] reftypes
protected boolean noCategory
protected boolean noCommonCategory
protected String authorId
protected String commonAuthorId
protected String newWSId
protected String commonWSId
protected boolean commonTracked
protected boolean commonTrackedAvailable
protected boolean isTrackedProvided
protected boolean isTracked
protected String[] templates
protected String[] commonTemplates
protected int pstatus
protected Date pdate
protected Date commonPdate
protected Date edate
protected Date commonEdate
protected Date adate
protected Date commonAdate
protected boolean noPdate
protected boolean noEdate
protected boolean noAdate
protected String commonMainLanguage
protected String mainLanguage
protected boolean majorUpdate
protected boolean removeFriendlyURLs
protected boolean generateFriendlyURLs
protected boolean noReadRight
protected TreeSet<Member> authorizedMemberSet
protected TreeSet<Member> 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 TreeSet<Member> updateMemberSet
protected TreeSet<Member> commonUpdateMemberSet
protected int updateMemberSetAddCount
protected TreeSet<Category> categorySet
protected TreeSet<Category> commonCategorySet
protected Class<? extends Publication> 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 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 AbstractCaddyManagerHandler
IOException
public boolean validateCommonPdateEdate()
public void setOpRefine(String v)
public void setRefineCids(String[] refcids)
refcids
- The id of the category that is to be used to select a subset of the caddy.public void setRefineTypes(String[] reftypes)
reftypes
- The types to keep in the caddy.public SortedSet<Category> getCategorySet()
public boolean isExpanded(Category cat, String inputName)
public boolean isWFHomogeneous()
public Workflow getCommonWorkflow()
public WFState getCommonWFState()
public boolean isTypeHomogeneous()
public Class<? extends Publication> getCommonClass()
public String getAuthorId()
public Member getAuthor()
public void setAuthorId(String v)
public Workspace getAvailableNewWS()
public void setNewWSId(String v)
public String[] getTemplates()
public void setTemplates(String[] v)
public int getPstatus()
public void setPstatus(int v)
v
- Value to assign to pstatus.public void setPdate(String v)
v
- Value to assign to pdate.public void setEdate(String v)
v
- Value to assign to edate.public void setAdate(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(String[] mbrIds)
mbrIds
- Value to assign to authorizedMemberIds.public Group[] getAvailableAuthorizedGroups()
public Member getAvailableAuthor()
public String[] getAvailableTemplates()
public void setAuthorizedGroups(String[] v)
public void setAuthorizedGroupsAddCount(int v)
public void setAuthorizedMemberSetAddCount(int v)
public void setUpdateMemberSetAddCount(int v)
public int getAuthorizedGroupsCount()
public int getAuthorizedGroupsAddCount()
public Set<Member> getAvailableAuthorizedMemberSet()
public Set<Member> getAvailableUpdateMemberSet()
public Date getAvailablePdate()
public Date getAvailableEdate()
public Date getAvailableAdate()
public void setUpdateMemberIds(String[] mbrIds)
mbrIds
- Value to assign to updateMemberIds.public Group[] getAvailableUpdateGroups()
public void setUpdateGroups(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(String[] cids)
cids
- Value to assign to cids.public void setTracked(boolean v)
public boolean isCommonTrackedAvailable()
public boolean getCommonTracked()
public void setMainLanguage(String v)
public String getCommonMainLanguage()
public void setMajorUpdate(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 |