com.atlassian.crowd.security.demo.action.user
Class ViewUser

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.crowd.security.demo.action.BaseAction
          extended by com.atlassian.crowd.security.demo.action.user.ViewUser
All Implemented Interfaces:
com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, Serializable, Cloneable
Direct Known Subclasses:
UpdateUser

public class ViewUser
extends BaseAction

See Also:
Serialized Form

Field Summary
protected  boolean active
           
protected  String description
           
protected  String email
           
protected  String firstname
           
protected  String lastname
           
protected  String name
           
protected  String password
           
protected  String passwordConfirm
           
protected  List<Group> subscribedGroups
           
protected  List<Group> unsubscribedGroups
           
protected  User user
           
 
Fields inherited from class com.atlassian.crowd.security.demo.action.BaseAction
authenticated, crowdClient, crowdHttpAuthenticator, logger, remoteUser, tab
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ViewUser()
           
 
Method Summary
 String doDefault()
           
 String getDescription()
           
 String getEmail()
           
 String getFirstname()
           
 String getLastname()
           
 String getName()
           
 String getPassword()
           
 String getPasswordConfirm()
           
 List getSubscribedGroups()
           
 List getUnsubscribedGroups()
           
 User getUser()
           
 boolean isActive()
           
protected  void processGeneral()
           
protected  List<Group> processGroups()
           
protected  void processMemberships()
           
 void setActive(boolean active)
           
 void setDescription(String description)
           
 void setEmail(String email)
           
 void setFirstname(String firstname)
           
 void setLastname(String lastname)
           
 void setName(String name)
           
 void setPassword(String password)
           
 void setPasswordConfirm(String passwordConfirm)
           
 
Methods inherited from class com.atlassian.crowd.security.demo.action.BaseAction
getCrowdClient, getCrowdHttpAuthenticator, getDisplayName, getRemoteUser, getSession, getTab, isAuthenticated, setCrowdClient, setCrowdHttpAuthenticator, setTab
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

user

protected User user

subscribedGroups

protected List<Group> subscribedGroups

unsubscribedGroups

protected List<Group> unsubscribedGroups

name

protected String name

description

protected String description

active

protected boolean active

firstname

protected String firstname

lastname

protected String lastname

email

protected String email

password

protected String password

passwordConfirm

protected String passwordConfirm
Constructor Detail

ViewUser

public ViewUser()
Method Detail

doDefault

public String doDefault()
Overrides:
doDefault in class BaseAction

processGeneral

protected void processGeneral()
                       throws InvalidAuthorizationTokenException,
                              RemoteException,
                              ApplicationPermissionException,
                              UserNotFoundException,
                              InvalidAuthenticationException,
                              OperationFailedException
Throws:
InvalidAuthorizationTokenException
RemoteException
ApplicationPermissionException
UserNotFoundException
InvalidAuthenticationException
OperationFailedException

processMemberships

protected void processMemberships()
                           throws InvalidAuthorizationTokenException,
                                  RemoteException,
                                  ApplicationPermissionException,
                                  InvalidAuthenticationException,
                                  OperationFailedException
Throws:
InvalidAuthorizationTokenException
RemoteException
ApplicationPermissionException
InvalidAuthenticationException
OperationFailedException

processGroups

protected List<Group> processGroups()

getUser

public User getUser()

getSubscribedGroups

public List getSubscribedGroups()

getUnsubscribedGroups

public List getUnsubscribedGroups()

isActive

public boolean isActive()

setActive

public void setActive(boolean active)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getName

public String getName()

setName

public void setName(String name)

getFirstname

public String getFirstname()

setFirstname

public void setFirstname(String firstname)

getLastname

public String getLastname()

setLastname

public void setLastname(String lastname)

getEmail

public String getEmail()

setEmail

public void setEmail(String email)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

getPasswordConfirm

public String getPasswordConfirm()

setPasswordConfirm

public void setPasswordConfirm(String passwordConfirm)


Copyright © 2013 Atlassian. All Rights Reserved.