Class ViewApplication

java.lang.Object
com.opensymphony.xwork2.ActionSupport
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

public class ViewApplication extends ApplicationBaseAction
See Also:
  • Field Details

    • logger

      protected final org.slf4j.Logger logger
    • ID

      protected long ID
    • name

      protected String name
    • type

      protected ApplicationType type
    • applicationDescription

      protected String applicationDescription
    • active

      protected boolean active
    • lowerCaseOutput

      protected boolean lowerCaseOutput
    • aliasingEnabled

      protected boolean aliasingEnabled
    • authenticationWithoutPasswordEnabled

      protected boolean authenticationWithoutPasswordEnabled
    • authenticationViaEmailEnabled

      protected boolean authenticationViaEmailEnabled
    • password

      protected String password
    • passwordConfirm

      protected String passwordConfirm
    • testUsername

      protected String testUsername
    • testPassword

      protected String testPassword
    • directoryId

      protected String directoryId
    • permissionManager

      protected PermissionManager permissionManager
    • selectedApplinkId

      protected String selectedApplinkId
    • syncIntervalInMin

      protected String syncIntervalInMin
    • applicationLicensingService

      protected ApplicationLicensingService applicationLicensingService
    • applicationLinkServiceSupplier

      protected ApplicationLinkServiceSupplier applicationLinkServiceSupplier
    • applicationLicensingEnabledChecker

      protected ApplicationLicensingEnabledChecker applicationLicensingEnabledChecker
    • dcLicenseChecker

      protected DcLicenseChecker dcLicenseChecker
    • showLicensing

      protected boolean showLicensing
  • Constructor Details

    • ViewApplication

      public ViewApplication()
  • Method Details

    • execute

      public String execute()
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class BaseAction
    • configTest

      public String configTest()
    • toAppLinksType

      protected Class<? extends com.atlassian.applinks.api.ApplicationType> toAppLinksType(ApplicationType applicationType)
    • processGeneral

      protected void processGeneral() throws ApplicationNotFoundException
      Throws:
      ApplicationNotFoundException
    • getCrowdId

      protected Long getCrowdId() throws ApplicationNotFoundException
      Throws:
      ApplicationNotFoundException
    • isTestAuthentication

      public boolean isTestAuthentication()
    • isValidTestAuthentication

      public boolean isValidTestAuthentication() throws ApplicationNotFoundException
      Throws:
      ApplicationNotFoundException
    • getUnsubscribedDirectories

      public List<Directory> getUnsubscribedDirectories()
    • getUnsubscribedGroups

      public List<GroupMapping> getUnsubscribedGroups()
    • hasPermission

      public boolean hasPermission(OperationType operationType)
    • permissionEnabledGlobally

      public boolean permissionEnabledGlobally(OperationType operationType)
    • getGroupMappingsForApplication

      public List<GroupMapping> getGroupMappingsForApplication() throws ApplicationNotFoundException
      Throws:
      ApplicationNotFoundException
    • getIsIncrementalSyncAvailable

      public boolean getIsIncrementalSyncAvailable() throws ApplicationNotFoundException
      Throws:
      ApplicationNotFoundException
    • setPermissionManager

      public void setPermissionManager(PermissionManager permissionManager)
    • getDirectoryId

      public String getDirectoryId()
    • setDirectoryId

      public void setDirectoryId(String directoryId)
    • getID

      public long getID()
    • setID

      public void setID(long ID)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getApplicationDescription

      public String getApplicationDescription()
    • setApplicationDescription

      public void setApplicationDescription(String applicationDescription)
    • isActive

      public boolean isActive()
    • setActive

      public void setActive(boolean active)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • getPasswordConfirm

      public String getPasswordConfirm()
    • setPasswordConfirm

      public void setPasswordConfirm(String passwordConfirm)
    • getTestUsername

      public String getTestUsername()
    • setTestUsername

      public void setTestUsername(String testUsername)
    • getTestPassword

      public String getTestPassword()
    • setTestPassword

      public void setTestPassword(String testPassword)
    • isPluginApplication

      public boolean isPluginApplication() throws ApplicationNotFoundException
      Throws:
      ApplicationNotFoundException
    • isCrowdApplication

      public boolean isCrowdApplication() throws ApplicationNotFoundException
      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

      public Application getApplication() throws ApplicationNotFoundException
      Specified by:
      getApplication in class ApplicationBaseAction
      Throws:
      ApplicationNotFoundException
    • getApplicationByName

      public Application getApplicationByName() throws ApplicationNotFoundException
      Throws:
      ApplicationNotFoundException
    • getAllowAllToAuthenticateOption

      public List<PairType> getAllowAllToAuthenticateOption()
    • isMembershipAggregationEnabled

      public boolean isMembershipAggregationEnabled()
    • setMembershipAggregationEnabled

      public void setMembershipAggregationEnabled(boolean membershipAggregationEnabled)
    • getAvailableApplinks

      public List<ViewApplication.ApplicationLinkDTO> getAvailableApplinks()
    • getSelectedApplinkId

      public String getSelectedApplinkId()
    • setSelectedApplinkId

      public void setSelectedApplinkId(String selectedApplinkId)
    • getSyncIntervalInMin

      public String getSyncIntervalInMin()
    • setSyncIntervalInMin

      public void setSyncIntervalInMin(String syncIntervalInMin)
    • setApplicationLicensingService

      public void setApplicationLicensingService(ApplicationLicensingService applicationLicensingService)
    • setApplicationLinkServiceSupplier

      public void setApplicationLinkServiceSupplier(ApplicationLinkServiceSupplier applicationLinkServiceSupplier)
    • setApplicationLicensingEnabledChecker

      public void setApplicationLicensingEnabledChecker(ApplicationLicensingEnabledChecker applicationLicensingEnabledChecker)
    • setDcLicenseChecker

      public void setDcLicenseChecker(DcLicenseChecker dcLicenseChecker)
    • isCachedDirectoriesAuthenticationOrderOptimisationEnabled

      public boolean isCachedDirectoriesAuthenticationOrderOptimisationEnabled()
    • setCachedDirectoriesAuthenticationOrderOptimisationEnabled

      public void setCachedDirectoriesAuthenticationOrderOptimisationEnabled(boolean cachedDirectoriesAuthenticationOrderOptimisationEnabled)
    • getAccessBasedSynchronizationFilterType

      public String getAccessBasedSynchronizationFilterType()
    • setAccessBasedSynchronizationFilterType

      public void setAccessBasedSynchronizationFilterType(String accessBasedSynchronizationFilterType)
    • isAccessBasedFilteringAvailable

      public boolean isAccessBasedFilteringAvailable() throws ApplicationNotFoundException
      Throws:
      ApplicationNotFoundException
    • isDcLicense

      public boolean isDcLicense()
    • getAccessBasedFilterTypeOptions

      public List<Map<String,Object>> getAccessBasedFilterTypeOptions()