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, java.io.Serializable, java.lang.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, crowdLicenseManager, directoryManager, initialLoad, propertyManager, 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
AddGroup()
           
 
Method Summary
 java.lang.String doDefault()
           
 java.lang.String doUpdate()
           
protected  void doValidation()
           
 java.lang.String getDescription()
           
 java.util.List<Directory> getDirectories()
           
 Directory getDirectory()
           
 long getDirectoryID()
           
 RemoteGroup getGroup()
           
 java.lang.String getName()
           
 boolean isActive()
           
 void setActive(boolean active)
           
 void setDescription(java.lang.String description)
           
 void setDirectoryID(long directoryID)
           
 void setName(java.lang.String name)
           
protected  void syncFieldsFromGroup()
          Ensures that the fields (eg name, active) are the same as the values in the group
protected  void 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
addActionMessage, assignDefaultApplicationPermissions, containsActionMessages, containsErrorMessages, directory, getActionMessageAlertColor, getAttribute, getBootstrapManager, getCurrentLicenseResourceTotal, getDisplayableLink, getFirstAttribute, getHttpRequest, getImageLocation, getImageTitle, getLicense, getLink, getPrincipalName, getRemotePrincipal, getSession, getSitemeshPageProperties, getSitemeshPageProperty, getTab, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebSectionsForLocation, isAdmin, isAtResourceLimit, isAuthenticated, isEvaluation, isInitialLoad, isLicenseExpired, renderFreemarkerTemplate, setApplicationDirectoryPermissionDAO, setApplicationManager, setCrowdLicenseManager, setCrowdUserDetailsService, setDirectoryManager, setPropertyManager, setTab, setWebInterfaceManager, updateAuthenticationStatus
 
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

directory

protected Directory directory
Constructor Detail

AddGroup

public AddGroup()
Method Detail

doDefault

public java.lang.String doDefault()
Overrides:
doDefault in class BaseAction

doUpdate

public java.lang.String doUpdate()

doValidation

protected void doValidation()

syncFieldsToGroup

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


syncFieldsFromGroup

protected void syncFieldsFromGroup()
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 java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDirectoryID

public long getDirectoryID()

setDirectoryID

public void setDirectoryID(long directoryID)

getGroup

public RemoteGroup getGroup()

getDirectories

public java.util.List<Directory> getDirectories()

getDirectory

public Directory getDirectory()


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.