java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.crowd.console.action.BaseAction
com.atlassian.crowd.console.action.group.AddGroup
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 AddGroup extends BaseAction
See Also:
  • Field Details

  • Constructor Details

    • AddGroup

      public AddGroup()
  • Method Details

    • execute

      public String execute()
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class BaseAction
    • update

      public String update()
    • doValidation

      protected void doValidation()
    • syncFieldsToGroup

      protected GroupTemplate syncFieldsToGroup()
      Ensures that the group contains the same values as the object fields (eg name, active).
    • syncFieldsFromGroup

      protected void syncFieldsFromGroup(Group group)
      Ensures that the fields (eg name, active) are the same as the values in the group
    • 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)
    • getDirectoryID

      public long getDirectoryID()
    • setDirectoryID

      public void setDirectoryID(long directoryID)
    • getDirectories

      public List<Directory> getDirectories()
    • getDirectory

      public Directory getDirectory()