com.atlassian.crowd.console.action.group
Class AddGroup

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.crowd.console.action.BaseAction
          extended by com.atlassian.crowd.console.action.group.AddGroup
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

public class AddGroup
extends BaseAction

See Also:
Serialized Form

Field Summary
protected  Directory directory
           
 
Fields inherited from class com.atlassian.crowd.console.action.BaseAction
actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, crowdLicenseManager, crowdUserDetailsService, directoryManager, initialLoad, propertyManager, tab, tokenAuthenticationManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
AddGroup()
           
 
Method Summary
 String doDefault()
           
 String doUpdate()
           
protected  void doValidation()
           
 String getDescription()
           
 List<Directory> getDirectories()
           
 Directory getDirectory()
           
 long getDirectoryID()
           
 String getName()
           
 boolean isActive()
           
 void setActive(boolean active)
           
 void setDescription(String description)
           
 void setDirectoryID(long directoryID)
           
 void setName(String name)
           
protected  void syncFieldsFromGroup(Group group)
          Ensures that the fields (eg name, active) are the same as the values in the group
protected  GroupTemplate syncFieldsToGroup()
          Ensures that the group contains the same values as the object fields (eg name, active).
 
Methods inherited from class com.atlassian.crowd.console.action.BaseAction
addActionError, addActionMessage, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, containsActionMessages, containsErrorMessages, directory, getActionMessageAlertColor, getBootstrapManager, getCrowdApplication, getCurrentLicenseResourceTotal, getDisplayableLink, getHttpRequest, getImageLocation, getImageTitle, getLicense, getLink, getPasswordComplexityMessage, getRemoteUser, getSession, getSitemeshPageProperties, getSitemeshPageProperty, getTab, getText, getText, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, getXsrfToken, getXsrfTokenName, hasAdminRole, isAdmin, isAtResourceLimit, isAuthenticated, isEvaluation, isInitialLoad, isLicenseExpired, isSubscription, isWithinGracePeriod, renderFreemarkerTemplate, setActionHelper, setApplicationManager, setApplicationService, setClientProperties, setCrowdApplication, setCrowdLicenseManager, setCrowdUserDetailsService, setDirectoryManager, setPropertyManager, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGenerator
 
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, 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

directory

protected Directory directory
Constructor Detail

AddGroup

public AddGroup()
Method Detail

doDefault

public String doDefault()
Overrides:
doDefault in class BaseAction

doUpdate

public String doUpdate()

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


Copyright © 2014 Atlassian. All Rights Reserved.