|
||||||||||
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.EditMemberHandler
public class EditMemberHandler
This form handler processes Member
forms.
Member
Field Summary | |
---|---|
protected String |
address
|
protected boolean |
admin
|
protected TreeSet |
delegateMemberSet
|
protected HashSet |
deleteSet
|
protected String |
department
|
protected int |
editCatMode
|
protected String |
email
|
protected String |
emailFormat
|
protected String |
firstName
|
protected String[] |
groupRight
|
protected HashSet |
groupRightSet
|
protected Group[] |
groups
|
protected String |
info
|
protected boolean |
isCharterAccepted
|
protected boolean |
isCharterRefused
|
protected boolean |
isEmailVisible
|
protected boolean |
isGroupEditCat
|
protected String |
jobTitle
|
protected String |
language
|
protected String |
login
|
protected Member |
member
|
protected String |
mobile
|
protected String |
name
|
protected boolean |
newPhoto
|
protected Notification |
notification
|
protected EditNotificationHandler |
notificationFormHandler
|
protected boolean |
opAddItem
|
protected boolean |
opConfirmSignup
|
protected boolean |
opConvertToMember
|
protected boolean |
opDisable
|
protected boolean |
opSignup
|
protected boolean |
opUpdateProfile
|
protected String |
organization
|
protected String |
password0
|
protected String |
password1
|
protected String |
password2
|
protected boolean |
passwordHasChanged
|
protected String |
phone
|
protected String |
photo
|
protected boolean |
profileEditor
|
protected HashSet |
publishSet
|
protected TreeSet |
readCategorySet
|
protected boolean |
removePhoto
|
static String |
REVISION
|
protected boolean |
rightsProvided
|
protected HashSet |
rootSet
|
protected String |
salutation
|
protected boolean |
showCharter
|
protected String |
signupKey
|
protected HashSet |
updateSet
|
protected int |
usage
|
protected TreeSet |
useCategorySet
|
protected int |
useCatMode
|
protected boolean |
webdavAccess
|
protected Member |
workingMember
|
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, 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 | |
---|---|
EditMemberHandler()
|
Method Summary | |
---|---|
protected boolean |
alertSignup(boolean signupValidationRequired)
|
boolean |
canDelete(Class clazz)
|
boolean |
canPublish(Class clazz)
|
boolean |
canUpdate(Class clazz)
|
String |
getAvailableAddress()
Get the value of address. |
boolean |
getAvailableAdmin()
Get the value of admin. |
TreeSet |
getAvailableDelegateMemberSet()
|
String |
getAvailableDepartment()
Get the value of department. |
int |
getAvailableEditCatMode()
|
String |
getAvailableEmail()
Get the value of email. |
String |
getAvailableEmailFormat()
Get the value of emailFormat. |
boolean |
getAvailableEmailVisible()
Get the value of emailVisible. |
String |
getAvailableFirstName()
Get the value of firstName. |
Group[] |
getAvailableGroups()
Get the value of groups. |
String |
getAvailableInfo()
Get the value of info. |
String |
getAvailableJobTitle()
Get the value of jobTitle. |
String |
getAvailableLanguage()
|
String |
getAvailableLogin()
Get the value of login. |
String |
getAvailableMobile()
Get the value of mobile. |
String |
getAvailableName()
Get the value of name. |
String |
getAvailableOrganization()
Get the value of organization. |
String |
getAvailablePhone()
Get the value of phone. |
TreeSet |
getAvailableReadCategorySet()
|
String |
getAvailableSalutation()
Get the value of salutation. |
int |
getAvailableUsage()
Get the value of usage. |
TreeSet |
getAvailableUseCategorySet()
|
int |
getAvailableUseCatMode()
|
boolean |
getAvailableWebdavAccess()
Get the value of webdavAccess. |
Set |
getCategorySet(String inputName)
Returns the root set bound to the given inputName |
Class<? extends Data> |
getDataClass()
|
String[] |
getGroupRight()
Get the value of groupRight. |
Group[] |
getGroups()
|
Member |
getMember()
|
String |
getPassword0()
Get the value of old password. |
String |
getPassword1()
Get the value of password1. |
String |
getPassword2()
Get the value of password2. |
boolean |
getProfileEditor()
Get the value of profileEditor. |
boolean |
getShowCharter()
|
boolean |
isCategoryGroupRight()
|
boolean |
isExpanded(Category cat,
String inputName)
|
boolean |
isGroupRight(Class clazz)
|
boolean |
performConfirmSignup()
|
boolean |
performConvertToMember()
|
protected boolean |
performCreate()
|
protected boolean |
performDelete()
|
boolean |
performDisable()
|
protected boolean |
performSignup()
|
protected boolean |
performUpdate()
|
boolean |
processAction()
|
protected void |
releaseDBWorkingMember()
|
protected void |
sendRedirect()
|
void |
setAddress(String v)
Set the value of address. |
void |
setAdmin(boolean v)
Set the value of admin. |
void |
setCanDelete(String[] v)
Set the value of canDelete. |
void |
setCanPublish(String[] v)
Set the value of canPublish. |
void |
setCanUpdate(String[] v)
Set the value of canUpdate. |
void |
setCharterAccepted(String v)
|
void |
setCharterRefused(String v)
|
void |
setCids(String[] v)
Set the value of cids. |
void |
setDelegateMbrIds(String[] v)
Set the value of delegateMbrIds. |
void |
setDepartment(String v)
Set the value of department. |
void |
setEditCatMode(String v)
Set the value of editCatMode. |
void |
setEmail(String v)
Set the value of email. |
void |
setEmailFormat(String v)
Set the value of email. |
void |
setEmailVisible(boolean v)
Set the value of emailVisible. |
protected void |
setFields(Member mbr)
|
void |
setFirstName(String v)
Set the value of firstName. |
void |
setGids(String[] v)
Set the value of gids. |
void |
setGroupRight(String[] v)
Set the value of groupRight. |
void |
setId(String v)
Set the value of id. |
void |
setInfo(String v)
Set the value of info. |
void |
setJobTitle(String v)
Set the value of jobTitle. |
void |
setLanguage(String v)
|
void |
setLogin(String v)
Set the value of login. |
void |
setMobile(String v)
Set the value of mobile. |
void |
setName(String v)
Set the value of name. |
void |
setNotificationFormHandler(EditNotificationHandler v)
Sets the value of notificationFormHandler. |
void |
setOpAddItem(String v)
|
void |
setOpConfirmSignup(String v)
|
void |
setOpConvertToMember(String v)
|
void |
setOpDisable(String v)
|
void |
setOpSignup(String v)
|
void |
setOpUpdateProfile(String v)
|
void |
setOrganization(String v)
Set the value of organization. |
void |
setPassword0(String v)
Set the value of old password. |
void |
setPassword1(String v)
Set the value of password1. |
void |
setPassword2(String v)
Set the value of password2. |
void |
setPhone(String v)
Set the value of phone. |
void |
setProfileEditor(boolean v)
Set the value of profileEditor. |
void |
setReadcids(String[] v)
Set the value of readcids. |
void |
setRemovePhoto(boolean v)
|
void |
setSalutation(String v)
Set the value of salutation. |
void |
setSignupKey(String string)
|
void |
setUsage(int v)
Set the value of usage. |
void |
setUseCatMode(String v)
Set the value of useCatMode. |
void |
setUsecids(String[] v)
Set the value of usecids. |
void |
setWebdavAccess(boolean webdavAccess)
Set the value of webdavAccess. |
boolean |
validateAddItem()
|
protected boolean |
validateCommonCreateSignup()
|
protected boolean |
validateCommonUpdate()
|
boolean |
validateConfirmSignup()
|
boolean |
validateConvertToMember()
|
protected boolean |
validateCreate()
|
protected boolean |
validateDelete()
|
boolean |
validateDisable()
|
protected boolean |
validateSignup()
|
protected boolean |
validateUpdate()
|
protected boolean |
validateUpdateProfile()
|
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 boolean opSignup
protected boolean opUpdateProfile
protected boolean opDisable
protected boolean opAddItem
protected boolean opConfirmSignup
protected boolean opConvertToMember
protected int usage
protected String login
protected String password0
protected String password1
protected String password2
protected String name
protected String firstName
protected String salutation
protected String organization
protected String department
protected String jobTitle
protected String email
protected String emailFormat
protected String phone
protected String mobile
protected String address
protected String photo
protected String info
protected String[] groupRight
protected String signupKey
protected String language
protected boolean isCharterAccepted
protected boolean isCharterRefused
protected boolean showCharter
protected boolean profileEditor
protected boolean removePhoto
protected boolean newPhoto
protected Member member
protected Member workingMember
protected Notification notification
protected Group[] groups
protected boolean passwordHasChanged
protected boolean isEmailVisible
protected boolean webdavAccess
protected boolean admin
protected HashSet groupRightSet
protected HashSet publishSet
protected HashSet updateSet
protected HashSet deleteSet
protected HashSet rootSet
protected int useCatMode
protected int editCatMode
protected boolean isGroupEditCat
protected TreeSet useCategorySet
protected EditNotificationHandler notificationFormHandler
protected boolean rightsProvided
protected TreeSet readCategorySet
protected TreeSet delegateMemberSet
Constructor Detail |
---|
public EditMemberHandler()
Method Detail |
---|
public boolean processAction() throws IOException
processAction
in class EditDataHandler
IOException
public boolean validateAddItem()
protected boolean validateCommonCreateSignup() throws IOException
IOException
protected void releaseDBWorkingMember()
public Class<? extends Data> getDataClass()
getDataClass
in class EditDataHandler
protected void setFields(Member mbr)
protected void sendRedirect() throws IOException
sendRedirect
in class EditDataHandler
IOException
protected boolean validateSignup() throws IOException
IOException
protected boolean performSignup() throws IOException
IOException
protected boolean alertSignup(boolean signupValidationRequired)
protected boolean validateCreate() throws IOException
IOException
protected boolean performCreate() throws IOException
IOException
protected boolean validateCommonUpdate() throws IOException
IOException
protected boolean validateUpdate() throws IOException
IOException
protected boolean performUpdate() throws IOException
IOException
protected boolean validateUpdateProfile() throws IOException
IOException
protected boolean validateDelete() throws IOException
IOException
protected boolean performDelete() throws IOException
IOException
public boolean validateDisable() throws IOException
IOException
public boolean performDisable() throws IOException
IOException
public boolean validateConfirmSignup() throws IOException
IOException
public boolean performConfirmSignup() throws IOException
IOException
public boolean validateConvertToMember() throws IOException
IOException
public boolean performConvertToMember() throws IOException
IOException
public Member getMember()
public Group[] getGroups()
public boolean isGroupRight(Class clazz)
public boolean canPublish(Class clazz)
public boolean canUpdate(Class clazz)
public boolean canDelete(Class clazz)
public boolean isCategoryGroupRight()
public int getAvailableUseCatMode()
public int getAvailableEditCatMode()
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 withinputName
- the name of the input
public void setOpSignup(String v)
public void setOpUpdateProfile(String v)
public void setOpDisable(String v)
public void setOpConfirmSignup(String v)
public void setOpConvertToMember(String v)
public void setId(String v)
setId
in class EditDataHandler
v
- Value to assign to id.public int getAvailableUsage()
public void setUsage(int v)
v
- Value to assign to usage.public String getAvailableLogin()
public void setLogin(String v)
v
- Value to assign to login.public String getPassword0()
public void setPassword0(String v)
v
- Value to assign to password0.public String getPassword1()
public void setPassword1(String v)
v
- Value to assign to password1.public String getPassword2()
public void setPassword2(String v)
v
- Value to assign to password2.public String getAvailableName()
public void setName(String v)
v
- Value to assign to name.public String getAvailableFirstName()
public void setFirstName(String v)
v
- Value to assign to firstName.public String getAvailableSalutation()
public void setSalutation(String v)
v
- Value to assign to salutation.public String getAvailableOrganization()
public String getAvailableDepartment()
public void setOrganization(String v)
v
- Value to assign to organization.public void setDepartment(String v)
v
- Value to assign to department.public String getAvailableJobTitle()
public void setJobTitle(String v)
v
- Value to assign to jobTitle.public String getAvailablePhone()
public void setPhone(String v)
v
- Value to assign to phone.public String getAvailableMobile()
public void setMobile(String v)
v
- Value to assign to mobile.public String getAvailableAddress()
public void setAddress(String v)
v
- Value to assign to address.public Group[] getAvailableGroups()
public void setGids(String[] v)
v
- Value to assign to gids.public String getAvailableEmail()
public void setEmail(String v)
v
- Value to assign to email.public String getAvailableEmailFormat()
public void setEmailFormat(String v)
v
- Value to assign to email.public boolean getAvailableEmailVisible()
public void setEmailVisible(boolean v)
v
- Value to assign to emailVisible.public boolean getAvailableWebdavAccess()
public void setWebdavAccess(boolean webdavAccess)
webdavAccess
- Value to assign to webdavAccess.public String getAvailableInfo()
public void setInfo(String v)
v
- Value to assign to info.public boolean getAvailableAdmin()
public void setAdmin(boolean v)
v
- Value to assign to admin.public String[] getGroupRight()
public void setGroupRight(String[] v)
v
- Value to assign to groupRight.public void setCanPublish(String[] v)
v
- Value to assign to canPublish.public void setCanUpdate(String[] v)
v
- Value to assign to canUpdate.public void setCanDelete(String[] v)
v
- Value to assign to canDelete.public void setCids(String[] v)
v
- Value to assign to cids.public void setUseCatMode(String v)
v
- Value to assign to useCatMode.public void setEditCatMode(String v)
v
- Value to assign to editCatMode.public void setUsecids(String[] v)
v
- Value to assign to usecids.public TreeSet getAvailableUseCategorySet()
public void setReadcids(String[] v)
v
- Value to assign to readcids.public TreeSet getAvailableReadCategorySet()
public void setDelegateMbrIds(String[] v)
v
- Value to assign to readcids.public TreeSet getAvailableDelegateMemberSet()
public boolean getProfileEditor()
public void setProfileEditor(boolean v)
v
- Value to assign to profileEditor.public void setOpAddItem(String v)
public void setNotificationFormHandler(EditNotificationHandler v)
v
- public void setLanguage(String v)
public String getAvailableLanguage()
public void setSignupKey(String string)
public void setCharterAccepted(String v)
public void setCharterRefused(String v)
public boolean getShowCharter()
public void setRemovePhoto(boolean v)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |