|
||||||||||
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.handler.EditDataHandler com.jalios.jcms.handler.EditGroupHandler
public class EditGroupHandler
This form handler process Group
forms.
Group
Field Summary | |
---|---|
protected AccessControlList |
acl
|
protected String |
name
|
protected HashMap<String,String> |
nameML
|
static String |
REVISION
|
Fields inherited from class com.jalios.jcms.handler.EditDataHandler |
---|
extFormHandler, formStep, id, isDeleteForced, op, opCancel, opCreate, opDelete, opFinish, opNext, opPrevious, opRefresh, opUpdate, resultOpCreate, resultOpDelete, resultOpUpdate |
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 | |
---|---|
EditGroupHandler()
|
Method Summary | |
---|---|
boolean |
canDelete(Class clazz)
|
boolean |
canPublish(Class clazz)
|
boolean |
canUpdate(Class clazz)
|
HashMap |
getAllAvailableNameML()
|
AccessControlList |
getAvailableAccessControlList()
Retrieve the ACL in use for the group being edited. |
int |
getAvailableCookieMaxAge()
|
Workspace |
getAvailableGroupWorkspace()
|
String |
getAvailableLdapDN()
Return the distinguish name of the group being edited. |
boolean |
getAvailableLdapSync()
Return true if the group being edited should be synchronized with LDAP, false otherwise. |
String |
getAvailableName()
|
String |
getAvailableName(String lang)
|
HashMap<String,String> |
getAvailableNameML()
|
int |
getAvailableOrder()
|
HashSet |
getAvailableParentSet()
|
Set |
getAvailableRootEditCatSet()
|
Set |
getAvailableRootUseCatSet()
|
List |
getAvailableTypeList()
|
TreeSet |
getAvailableUseCategorySet()
|
int |
getAvailableVisibility()
|
boolean |
getAvailableWebdavAccess()
|
Set |
getCategorySet(String inputName)
Returns the root set bound to the given inputName |
Class |
getDataClass()
|
Group |
getGroup()
|
int |
getParentIdsCount()
|
String[] |
getVisibilityLabels()
|
String[] |
getVisibilityValues()
|
boolean |
isAdminArea()
|
boolean |
isExpanded(Category cat,
String inputName)
|
boolean |
processAction()
Method to be implemented to check/validate action to be performed and process them. |
protected void |
sendRedirect()
|
void |
setAclId(String id)
Define the ACL id to use for the group being edited. |
void |
setCanDelete(String[] v)
|
void |
setCanPublish(String[] v)
|
void |
setCanUpdate(String[] v)
|
void |
setCids(String[] v)
|
void |
setCookieMaxAge(int v)
|
void |
setGroupWorkspace(String wsId)
|
void |
setId(String id)
|
void |
setLdapDN(String ldapDN)
Set the distinguish name of the group being edited. |
void |
setLdapSync(boolean ldapSync)
Define if the group being edited should be synchronized with LDAP (true), false. |
void |
setName(String[] v)
|
void |
setNotificationFormHandler(EditNotificationHandler v)
|
void |
setOrder(int v)
|
void |
setParentIds(String[] parentIds)
|
void |
setParentSetAddCount(int v)
|
void |
setUsecids(String[] v)
|
void |
setVisibility(int v)
|
void |
setWebdavAccess(boolean webdavAccess)
|
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 name
protected HashMap<String,String> nameML
protected AccessControlList acl
Constructor Detail |
---|
public EditGroupHandler()
Method Detail |
---|
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 EditDataHandler
IOException
public Class getDataClass()
getDataClass
in class EditDataHandler
protected void sendRedirect() throws IOException
sendRedirect
in class EditDataHandler
IOException
public Group getGroup()
public boolean canPublish(Class clazz)
public boolean canUpdate(Class clazz)
public boolean canDelete(Class clazz)
public Set getCategorySet(String inputName)
inputName
- the name of category set to get
public boolean isExpanded(Category cat, String inputName)
cat
- the category to work oninputName
- the name of the input
public boolean isAdminArea()
public List getAvailableTypeList()
public void setGroupWorkspace(String wsId)
public Workspace getAvailableGroupWorkspace()
public Set getAvailableRootEditCatSet()
public Set getAvailableRootUseCatSet()
public void setId(String id)
setId
in class EditDataHandler
public String getAvailableName()
public HashMap<String,String> getAvailableNameML()
public HashMap getAllAvailableNameML()
public String getAvailableName(String lang)
public void setName(String[] v)
public int getAvailableOrder()
public void setOrder(int v)
public int getAvailableVisibility()
public void setVisibility(int v)
public String[] getVisibilityValues()
public String[] getVisibilityLabels()
public boolean getAvailableWebdavAccess()
public void setWebdavAccess(boolean webdavAccess)
public int getAvailableCookieMaxAge()
public void setCookieMaxAge(int v)
public void setCanPublish(String[] v)
public void setCanUpdate(String[] v)
public void setCanDelete(String[] v)
public void setCids(String[] v)
public void setUsecids(String[] v)
public TreeSet getAvailableUseCategorySet()
public HashSet getAvailableParentSet()
public void setParentIds(String[] parentIds)
public void setParentSetAddCount(int v)
public int getParentIdsCount()
public void setNotificationFormHandler(EditNotificationHandler v)
public String getAvailableLdapDN()
public void setLdapDN(String ldapDN)
public boolean getAvailableLdapSync()
public void setLdapSync(boolean ldapSync)
public void setAclId(String id)
public AccessControlList getAvailableAccessControlList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |