com.atlassian.crowd.console.action.role
Class AddRole

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.crowd.console.action.BaseAction
          extended by com.atlassian.crowd.console.action.role.AddRole
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 AddRole
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
AddRole()
           
 
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()
           
 java.lang.String getName()
           
 RemoteRole getRole()
           
 boolean isActive()
           
 void setActive(boolean active)
           
 void setDescription(java.lang.String description)
           
 void setDirectoryID(long directoryID)
           
 void setName(java.lang.String name)
           
protected  void syncFieldsFromRole()
           
protected  void syncFieldsToRole()
           
 
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

AddRole

public AddRole()
Method Detail

doDefault

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

doUpdate

public java.lang.String doUpdate()

doValidation

protected void doValidation()

syncFieldsToRole

protected void syncFieldsToRole()

syncFieldsFromRole

protected void syncFieldsFromRole()

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)

getRole

public RemoteRole getRole()

getDirectory

public Directory getDirectory()

getDirectories

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


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.