Class EditProfile

java.lang.Object
com.opensymphony.xwork2.ActionSupport
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

public class EditProfile extends BaseUserAction
See Also:
  • Field Details

    • permissionManager

      protected PermissionManager permissionManager
    • emailChangeManager

      protected EmailChangeManager emailChangeManager
    • username

      protected String username
    • displayname

      protected String displayname
    • firstname

      protected String firstname
    • lastname

      protected String lastname
    • email

      protected String email
    • canUpdateEmail

      protected boolean canUpdateEmail
  • Constructor Details

    • EditProfile

      public EditProfile()
  • Method Details

    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class BaseAction
      Throws:
      Exception
    • doValidation

      public void doValidation()
    • update

      public String update() throws Exception
      Throws:
      Exception
    • hasUpdateProfilePermission

      public boolean hasUpdateProfilePermission()
      Check if the user belongs to a directory that has UPDATE_USER permission.
    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String username)
    • getEmail

      public String getEmail()
    • getDisplayname

      public String getDisplayname()
    • setDisplayname

      public void setDisplayname(String displayname)
    • getFirstname

      public String getFirstname()
    • setFirstname

      public void setFirstname(String firstname)
    • getLastname

      public String getLastname()
    • setLastname

      public void setLastname(String lastname)
    • isCanUpdateEmail

      public boolean isCanUpdateEmail()
    • setPermissionManager

      public void setPermissionManager(PermissionManager permissionManager)
    • setEmailChangeManager

      public void setEmailChangeManager(EmailChangeManager emailChangeManager)
    • getAvatarUrl

      public String getAvatarUrl()