public class AddGroup extends BaseAction
Modifier and Type | Field and Description |
---|---|
protected Directory |
directory |
actionHelper, actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, clusterService, crowdLicenseManager, directoryManager, initialLoad, propertyManager, rememberMeService, SMALL_AVATAR_SIZE, smallAvatarUrl, tab, tokenAuthenticationManager
Constructor and Description |
---|
AddGroup() |
Modifier and Type | Method and Description |
---|---|
protected void |
doValidation() |
String |
execute() |
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 ). |
String |
update() |
addActionError, addActionMessage, applyFieldError, applyFieldErrors, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, bindInformationAboutLicense, containsActionMessages, containsErrorMessages, directory, findAvatarUrl, getActionMessageAlertColor, getBootstrapManager, getCrowdApplication, getCurrentLicenseResourceTotal, getDisplayableLink, getHttpRequest, getImageLocation, getImageTitle, getLabel, getLicense, getLink, getLocaleProvider, getPasswordComplexityMessage, getRemoteUser, getSession, getSitemeshPageProperties, getSmallAvatarUrl, getTab, getText, getText, getTextProvider, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, getXsrfToken, getXsrfTokenName, isAtResourceLimit, isAuthenticated, isEvaluation, isGroupAdmin, isInitialLoad, isLicenseExpired, isLicenseForged, isRestartRequiredToEnableClustering, isSubscription, isSysAdmin, isWithinGracePeriod, renderFreemarkerTemplate, resolveAvatarUri, setActionHelper, setApplicationManager, setApplicationService, setClientProperties, setClusterService, setCrowdApplication, setCrowdLicenseManager, setDirectoryManager, setPropertyManager, setRememberMeService, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGenerator
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
protected Directory directory
public String execute()
execute
in interface com.opensymphony.xwork2.Action
execute
in class BaseAction
public String update()
protected void doValidation()
protected GroupTemplate syncFieldsToGroup()
group
contains the same values as the object fields (eg name
, active
).protected void syncFieldsFromGroup(Group group)
name
, active
) are the same as the values in the group
public boolean isActive()
public void setActive(boolean active)
public String getDescription()
public void setDescription(String description)
public String getName()
public void setName(String name)
public long getDirectoryID()
public void setDirectoryID(long directoryID)
public Directory getDirectory()
Copyright © 2021 Atlassian. All rights reserved.
View cookie preferences