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

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.ViewRole
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
Direct Known Subclasses:
UpdateRole

public class ViewRole
extends BaseAction

See Also:
Serialized Form

Field Summary
protected  boolean active
           
protected  java.lang.String description
           
protected  Directory directory
           
protected  long directoryID
           
protected  java.lang.String directoryName
           
protected  java.lang.String name
           
protected  Group role
           
 
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
ViewRole()
           
 
Method Summary
 java.lang.String doDefault()
           
 java.lang.String getDescription()
           
 Directory getDirectory()
           
 long getDirectoryID()
           
 java.lang.String getDirectoryName()
           
 java.lang.String getName()
           
 Group getRole()
           
 boolean isActive()
           
protected  void processDirectoryMapping()
           
protected  void processGeneral()
           
 void setActive(boolean active)
           
 void setDescription(java.lang.String description)
           
 void setDirectoryID(long directoryID)
           
 void setDirectoryName(java.lang.String directoryName)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class com.atlassian.crowd.console.action.BaseAction
addActionMessage, containsActionMessages, containsErrorMessages, directory, getActionMessageAlertColor, getAttribute, getBootstrapManager, getCurrentLicenseResourceTotal, getDisplayableLink, getFirstAttribute, getHttpRequest, getImageLocation, getImageTitle, getLicense, getLink, getRemoteUser, getSession, getSitemeshPageProperties, getSitemeshPageProperty, getTab, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, isAdmin, isAtResourceLimit, isAuthenticated, isEvaluation, isInitialLoad, isLicenseExpired, renderFreemarkerTemplate, setApplicationManager, setCrowdLicenseManager, setCrowdUserDetailsService, setDirectoryManager, setPropertyManager, setTab, setWebInterfaceManager, setWebResourceManager
 
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

role

protected Group role

directory

protected Directory directory

directoryID

protected long directoryID

name

protected java.lang.String name

description

protected java.lang.String description

active

protected boolean active

directoryName

protected java.lang.String directoryName
Constructor Detail

ViewRole

public ViewRole()
Method Detail

doDefault

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

processGeneral

protected void processGeneral()
                       throws ObjectNotFoundException,
                              DirectoryAccessException,
                              java.rmi.RemoteException
Throws:
ObjectNotFoundException
DirectoryAccessException
java.rmi.RemoteException

processDirectoryMapping

protected void processDirectoryMapping()
                                throws java.rmi.RemoteException,
                                       ObjectNotFoundException,
                                       DirectoryAccessException
Throws:
java.rmi.RemoteException
ObjectNotFoundException
DirectoryAccessException

getRole

public Group getRole()

getDirectory

public Directory getDirectory()

getDirectoryID

public long getDirectoryID()

setDirectoryID

public void setDirectoryID(long directoryID)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

isActive

public boolean isActive()

setActive

public void setActive(boolean active)

getDirectoryName

public java.lang.String getDirectoryName()

setDirectoryName

public void setDirectoryName(java.lang.String directoryName)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.