Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.profiles.action
Class CreateProfile

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.jivesoftware.base.action.JiveActionSupport
          extended by com.jivesoftware.forum.action.ForumActionSupport
              extended by com.jivesoftware.profiles.action.ProfileAction
                  extended by com.jivesoftware.profiles.action.EditProfileAction
                      extended by 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.jivesoftware.profiles.action.EditProfileAction
iUser
 
Fields inherited from class com.jivesoftware.profiles.action.ProfileAction
profileFieldManager, profileManager
 
Fields inherited from class com.jivesoftware.forum.action.ForumActionSupport
CANCEL, DISABLED, FATAL, NOTFOUND, SESSION_REFERRER_KEY, UNAUTHORIZED
 
Fields inherited from class com.jivesoftware.base.action.JiveActionSupport
pageUser, request, response
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
CreateProfile()
           
 
Method Summary
 java.lang.String doCancel()
           
 java.lang.String doInput()
           
 java.lang.String execute()
          Default implementation of doExecute() method.
 java.lang.String getAdminEmail()
           
 java.lang.Boolean getAgree()
           
 java.lang.Boolean getAutoLogin()
           
 boolean getEmailVisible()
           
 boolean getNameVisible()
           
 java.lang.String getPassword()
           
 java.lang.String getPasswordConfirm()
           
protected  User getTargetUser()
           
 User getUser()
           
 java.lang.String getUsername()
           
 java.lang.String getValidation()
           
 void setAdminEmail(java.lang.String adminEmail)
           
 void setAgree(java.lang.Boolean agree)
           
 void setAutoLogin(java.lang.Boolean autoLogin)
           
 void setEmailVisible(boolean emailVisible)
           
 void setNameVisible(boolean nameVisible)
           
 void setPassword(java.lang.String password)
           
 void setPasswordConfirm(java.lang.String passwordConfirm)
           
 void setUsername(java.lang.String username)
           
 void setValidation(java.lang.String validation)
           
 void validate()
           
 
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.profiles.action.ProfileAction
setProfileFieldManager, setProfileManager
 
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
 

Field Detail

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
Constructor Detail

CreateProfile

public CreateProfile()
Method Detail

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()

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.