Class ViewApplication
java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.crowd.console.action.BaseAction
com.atlassian.crowd.console.action.ApplicationBaseAction
com.atlassian.crowd.console.action.application.ViewApplication
- All Implemented Interfaces:
com.opensymphony.xwork2.Action
,com.opensymphony.xwork2.interceptor.ValidationAware
,com.opensymphony.xwork2.LocaleProvider
,com.opensymphony.xwork2.TextProvider
,com.opensymphony.xwork2.Validateable
,Serializable
- Direct Known Subclasses:
RemoveApplication
,UpdateAddresses
,UpdateApplication
,UpdateDirectories
,UpdatePermissions
,ViewApplicationGroups
,ViewApplicationLicenses
,ViewApplicationSSO
,ViewApplicationUsers
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected boolean
protected String
protected ApplicationLicensingEnabledChecker
protected ApplicationLicensingService
protected ApplicationLinkServiceSupplier
protected boolean
protected boolean
protected List<ViewApplication.ApplicationLinkDTO>
protected DcLicenseChecker
protected String
protected long
protected final org.slf4j.Logger
protected boolean
protected String
protected String
protected String
protected PermissionManager
protected String
protected boolean
protected String
protected String
protected String
protected ApplicationType
Fields inherited from class com.atlassian.crowd.console.action.BaseAction
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
Fields inherited from class com.opensymphony.xwork2.ActionSupport
container
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute()
protected Long
long
getID()
boolean
getName()
boolean
hasPermission
(OperationType operationType) boolean
boolean
isActive()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
permissionEnabledGlobally
(OperationType operationType) protected void
void
setAccessBasedSynchronizationFilterType
(String accessBasedSynchronizationFilterType) void
setActive
(boolean active) void
setAliasingEnabled
(boolean aliasingEnabled) void
setApplicationDescription
(String applicationDescription) void
setApplicationLicensingEnabledChecker
(ApplicationLicensingEnabledChecker applicationLicensingEnabledChecker) void
setApplicationLicensingService
(ApplicationLicensingService applicationLicensingService) void
setApplicationLinkServiceSupplier
(ApplicationLinkServiceSupplier applicationLinkServiceSupplier) void
setAuthenticationViaEmailEnabled
(boolean authenticationViaEmailEnabled) void
setAuthenticationWithoutPasswordEnabled
(boolean authenticationWithoutPasswordEnabled) void
setCachedDirectoriesAuthenticationOrderOptimisationEnabled
(boolean cachedDirectoriesAuthenticationOrderOptimisationEnabled) void
setDcLicenseChecker
(DcLicenseChecker dcLicenseChecker) void
setDirectoryId
(String directoryId) void
setID
(long ID) void
setLowerCaseOutput
(boolean lowerCaseOutput) void
setMembershipAggregationEnabled
(boolean membershipAggregationEnabled) void
void
setPassword
(String password) void
setPasswordConfirm
(String passwordConfirm) void
setPermissionManager
(PermissionManager permissionManager) void
setSelectedApplinkId
(String selectedApplinkId) void
setSyncIntervalInMin
(String syncIntervalInMin) void
setTestPassword
(String testPassword) void
setTestUsername
(String testUsername) protected Class<? extends com.atlassian.applinks.api.ApplicationType>
toAppLinksType
(ApplicationType applicationType) Methods inherited from class com.atlassian.crowd.console.action.ApplicationBaseAction
getWebItemsForApplication
Methods inherited from class com.atlassian.crowd.console.action.BaseAction
addActionError, addActionMessage, applyFieldError, applyFieldErrors, applyValidationErrors, 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, isDataCenterLicense, 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
Methods inherited from class com.opensymphony.xwork2.ActionSupport
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
-
Field Details
-
logger
protected final org.slf4j.Logger logger -
ID
protected long ID -
name
-
type
-
applicationDescription
-
active
protected boolean active -
lowerCaseOutput
protected boolean lowerCaseOutput -
aliasingEnabled
protected boolean aliasingEnabled -
authenticationWithoutPasswordEnabled
protected boolean authenticationWithoutPasswordEnabled -
authenticationViaEmailEnabled
protected boolean authenticationViaEmailEnabled -
password
-
passwordConfirm
-
testUsername
-
testPassword
-
directoryId
-
permissionManager
-
availableApplinks
-
selectedApplinkId
-
syncIntervalInMin
-
applicationLicensingService
-
applicationLinkServiceSupplier
-
applicationLicensingEnabledChecker
-
dcLicenseChecker
-
showLicensing
protected boolean showLicensing
-
-
Constructor Details
-
ViewApplication
public ViewApplication()
-
-
Method Details
-
execute
- Specified by:
execute
in interfacecom.opensymphony.xwork2.Action
- Overrides:
execute
in classBaseAction
-
configTest
-
toAppLinksType
protected Class<? extends com.atlassian.applinks.api.ApplicationType> toAppLinksType(ApplicationType applicationType) -
processGeneral
- Throws:
ApplicationNotFoundException
-
getCrowdId
- Throws:
ApplicationNotFoundException
-
isTestAuthentication
public boolean isTestAuthentication() -
isValidTestAuthentication
- Throws:
ApplicationNotFoundException
-
getUnsubscribedDirectories
-
getUnsubscribedGroups
-
hasPermission
-
permissionEnabledGlobally
-
getGroupMappingsForApplication
- Throws:
ApplicationNotFoundException
-
getIsIncrementalSyncAvailable
- Throws:
ApplicationNotFoundException
-
setPermissionManager
-
getDirectoryId
-
setDirectoryId
-
getID
public long getID() -
setID
public void setID(long ID) -
getName
-
setName
-
getApplicationDescription
-
setApplicationDescription
-
isActive
public boolean isActive() -
setActive
public void setActive(boolean active) -
getPassword
-
setPassword
-
getPasswordConfirm
-
setPasswordConfirm
-
getTestUsername
-
setTestUsername
-
getTestPassword
-
setTestPassword
-
isPluginApplication
- Throws:
ApplicationNotFoundException
-
isCrowdApplication
- Throws:
ApplicationNotFoundException
-
isLowerCaseOutput
public boolean isLowerCaseOutput() -
setLowerCaseOutput
public void setLowerCaseOutput(boolean lowerCaseOutput) -
isAliasingEnabled
public boolean isAliasingEnabled() -
setAliasingEnabled
public void setAliasingEnabled(boolean aliasingEnabled) -
isAuthenticationWithoutPasswordEnabled
public boolean isAuthenticationWithoutPasswordEnabled() -
setAuthenticationWithoutPasswordEnabled
public void setAuthenticationWithoutPasswordEnabled(boolean authenticationWithoutPasswordEnabled) -
isAuthenticationViaEmailEnabled
public boolean isAuthenticationViaEmailEnabled() -
setAuthenticationViaEmailEnabled
public void setAuthenticationViaEmailEnabled(boolean authenticationViaEmailEnabled) -
isShowLicensing
public boolean isShowLicensing() -
getApplication
- Specified by:
getApplication
in classApplicationBaseAction
- Throws:
ApplicationNotFoundException
-
getApplicationByName
- Throws:
ApplicationNotFoundException
-
getAllowAllToAuthenticateOption
-
isMembershipAggregationEnabled
public boolean isMembershipAggregationEnabled() -
setMembershipAggregationEnabled
public void setMembershipAggregationEnabled(boolean membershipAggregationEnabled) -
getAvailableApplinks
-
getSelectedApplinkId
-
setSelectedApplinkId
-
getSyncIntervalInMin
-
setSyncIntervalInMin
-
setApplicationLicensingService
-
setApplicationLinkServiceSupplier
public void setApplicationLinkServiceSupplier(ApplicationLinkServiceSupplier applicationLinkServiceSupplier) -
setApplicationLicensingEnabledChecker
public void setApplicationLicensingEnabledChecker(ApplicationLicensingEnabledChecker applicationLicensingEnabledChecker) -
setDcLicenseChecker
-
isCachedDirectoriesAuthenticationOrderOptimisationEnabled
public boolean isCachedDirectoriesAuthenticationOrderOptimisationEnabled() -
setCachedDirectoriesAuthenticationOrderOptimisationEnabled
public void setCachedDirectoriesAuthenticationOrderOptimisationEnabled(boolean cachedDirectoriesAuthenticationOrderOptimisationEnabled) -
getAccessBasedSynchronizationFilterType
-
setAccessBasedSynchronizationFilterType
-
isAccessBasedFilteringAvailable
- Throws:
ApplicationNotFoundException
-
isDcLicense
public boolean isDcLicense() -
getAccessBasedFilterTypeOptions
-