com.jivesoftware.profiles.action
Class CreateProfile
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.jivesoftware.base.action.JiveActionSupport
com.jivesoftware.forum.action.ForumActionSupport
com.jivesoftware.profiles.action.ProfileAction
com.jivesoftware.profiles.action.EditProfileAction
com.jivesoftware.profiles.action.CreateProfile
- All Implemented Interfaces:
- AuthTokenAware, EntityAware, UserAware, ForumFactoryAware, ProfileFieldManagerAware, ProfileManagerAware, com.opensymphony.webwork.interceptor.ServletRequestAware, com.opensymphony.webwork.interceptor.ServletResponseAware, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.Preparable, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable
public class CreateProfile
- extends EditProfileAction
Action to create the user profile when the user object is created.
- See Also:
- Serialized Form
Field Summary |
static int |
DEFAULT_MIN_PASSWORD_LENGTH
The minimum number of characters required in a password - 6 characters by default. |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.jivesoftware.profiles.action.EditProfileAction |
getAimID, getEmail, getFields, getIntrospectiveUser, getJID, getName, getProfile, getProfileMap, getSignature, isAvatarEditEnabled, isShowEmail, isShowName, isShowSignature, prepare, setAimID, setEmail, setJID, setName, setProfile, setProfileMap, setShowEmail, setShowName, setShowSignature, setSignature |
Methods inherited from class com.jivesoftware.forum.action.ForumActionSupport |
getCanAttach, getCanCreateMessage, getCanCreatePoll, getCanCreatePoll, getCanCreateThread, getCanCreateThread, getCanEdit, getCanEditAttach, getCanEditPoll, getCanEditPoll, getCanEditProfile, getCanEditTags, getCanPostAnnounce, getCanPostAnnounce, getCanRead, getCanRead, getEntityDescriptor, getForumFactory, getPageUser, getReadStatus, getSkinProperty, getThemeName, isAdmin, isAdmin, isAuthor, isAuthor, isMessageModerationOn, isModerator, isModerator, isResourceInTheme, isSystemAdmin, isThreadModerationOn, setForumFactory, setUser |
Methods inherited from class com.jivesoftware.base.action.JiveActionSupport |
getAuthToken, getGuestProperty, getJiveProperty, getLocales, getPageURL, getSession, getText, getText, getTimeZone, getTimeZones, isFailedLookup, isGuest, setAuthToken, setGuestProperty, setLoginAttributes, setPageUser, setServletRequest, setServletResponse |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_MIN_PASSWORD_LENGTH
public static final int DEFAULT_MIN_PASSWORD_LENGTH
- The minimum number of characters required in a password - 6 characters by default.
- See Also:
- Constant Field Values
CreateProfile
public CreateProfile()
getEmailVisible
public boolean getEmailVisible()
setEmailVisible
public void setEmailVisible(boolean emailVisible)
getNameVisible
public boolean getNameVisible()
setNameVisible
public void setNameVisible(boolean nameVisible)
getTargetUser
protected User getTargetUser()
- Specified by:
getTargetUser
in class EditProfileAction
validate
public void validate()
- Specified by:
validate
in interface com.opensymphony.xwork.Validateable
- Overrides:
validate
in class EditProfileAction
doCancel
public java.lang.String doCancel()
- Overrides:
doCancel
in class EditProfileAction
doInput
public java.lang.String doInput()
- Overrides:
doInput
in class EditProfileAction
execute
public java.lang.String execute()
- Description copied from class:
ForumActionSupport
- Default implementation of doExecute() method. This class is intended to be a base class for
other actions but can be used as an action itself if the skin author simply wants to get
access to the context & methods provided by this class.
- Specified by:
execute
in interface com.opensymphony.xwork.Action
- Overrides:
execute
in class EditProfileAction
- Returns:
- Action.SUCCESS
getUsername
public java.lang.String getUsername()
setUsername
public void setUsername(java.lang.String username)
getPassword
public java.lang.String getPassword()
setPassword
public void setPassword(java.lang.String password)
getPasswordConfirm
public java.lang.String getPasswordConfirm()
setPasswordConfirm
public void setPasswordConfirm(java.lang.String passwordConfirm)
getAutoLogin
public java.lang.Boolean getAutoLogin()
setAutoLogin
public void setAutoLogin(java.lang.Boolean autoLogin)
getAgree
public java.lang.Boolean getAgree()
setAgree
public void setAgree(java.lang.Boolean agree)
getAdminEmail
public java.lang.String getAdminEmail()
setAdminEmail
public void setAdminEmail(java.lang.String adminEmail)
getValidation
public java.lang.String getValidation()
setValidation
public void setValidation(java.lang.String validation)
getUser
public User getUser()
Copyright © 1999-2006 Jive Software.