Class ApplicationImpl

java.lang.Object
com.atlassian.crowd.model.InternalEntity
com.atlassian.crowd.model.application.ApplicationImpl
All Implemented Interfaces:
Attributes, Application, TimestampedEntity, Serializable

@Deprecated public class ApplicationImpl extends InternalEntity implements Application
Deprecated.
Use Application or ImmutableApplication instead. Since v2.12.
Implementation of Application (designed for use for Hibernate).
See Also:
  • Constructor Details

  • Method Details

    • convertIfNeeded

      public static ApplicationImpl convertIfNeeded(Application application)
      Deprecated.
    • newInstance

      public static ApplicationImpl newInstance(Application application)
      Deprecated.
    • newInstance

      public static ApplicationImpl newInstance(String name, ApplicationType type)
      Deprecated.
    • newInstanceWithIdAndCredential

      public static ApplicationImpl newInstanceWithIdAndCredential(String name, ApplicationType type, PasswordCredential credential, long id)
      Deprecated.
    • newInstanceWithCredential

      public static ApplicationImpl newInstanceWithCredential(String name, ApplicationType type, PasswordCredential credential)
      Deprecated.
    • newInstanceWithPassword

      public static ApplicationImpl newInstanceWithPassword(String name, ApplicationType type, String password)
      Deprecated.
    • updateDetailsFromApplication

      public void updateDetailsFromApplication(Application application)
      Deprecated.
      Only to be used by the ApplicationDAO#update method
    • updateAttributesFrom

      public void updateAttributesFrom(Map<String,String> attributes)
      Deprecated.
    • validate

      public void validate()
      Deprecated.
    • setName

      public void setName(String name)
      Deprecated.
      Overrides:
      setName in class InternalEntity
    • setActive

      public void setActive(boolean active)
      Deprecated.
      Overrides:
      setActive in class InternalEntity
    • getLowerName

      public String getLowerName()
      Deprecated.
    • getType

      public ApplicationType getType()
      Deprecated.
      Specified by:
      getType in interface Application
    • setType

      public void setType(ApplicationType type)
      Deprecated.
    • getDescription

      public String getDescription()
      Deprecated.
      Specified by:
      getDescription in interface Application
    • setDescription

      public void setDescription(String description)
      Deprecated.
    • getCredential

      public PasswordCredential getCredential()
      Deprecated.
      Specified by:
      getCredential in interface Application
    • setCredential

      public void setCredential(PasswordCredential credential)
      Deprecated.
    • isPermanent

      public boolean isPermanent()
      Deprecated.
      Specified by:
      isPermanent in interface Application
    • getAttributes

      public Map<String,String> getAttributes()
      Deprecated.
      Specified by:
      getAttributes in interface Application
    • setAttributes

      public void setAttributes(Map<String,String> attributes)
      Deprecated.
      Sets the attributes of the application. attributes must be a mutable Map.
      Parameters:
      attributes - new attributes
    • getDirectoryMappings

      public List<DirectoryMapping> getDirectoryMappings()
      Deprecated.
      Specified by:
      getDirectoryMappings in interface Application
    • getApplicationDirectoryMappings

      @Nonnull public List<ApplicationDirectoryMapping> getApplicationDirectoryMappings()
      Deprecated.
      Specified by:
      getApplicationDirectoryMappings in interface Application
    • addDirectoryMapping

      public void addDirectoryMapping(Directory directory, boolean allowAllToAuthenticate, OperationType... operationTypes)
      Deprecated.
    • addGroupMapping

      public void addGroupMapping(long directoryId, String groupName)
      Deprecated.
    • getDirectoryMapping

      public DirectoryMapping getDirectoryMapping(long directoryId)
      Deprecated.
      Specified by:
      getDirectoryMapping in interface Application
    • getApplicationDirectoryMapping

      @Nullable public ApplicationDirectoryMapping getApplicationDirectoryMapping(long directoryId)
      Deprecated.
      Specified by:
      getApplicationDirectoryMapping in interface Application
    • removeDirectoryMapping

      public boolean removeDirectoryMapping(long directoryId)
      Deprecated.
    • getRemoteAddresses

      public Set<RemoteAddress> getRemoteAddresses()
      Deprecated.
      Specified by:
      getRemoteAddresses in interface Application
    • addRemoteAddress

      public void addRemoteAddress(String remoteAddress)
      Deprecated.
    • setRemoteAddresses

      public void setRemoteAddresses(Set<RemoteAddress> remoteAddresses)
      Deprecated.
    • hasRemoteAddress

      public boolean hasRemoteAddress(String remoteAddress)
      Deprecated.
      Specified by:
      hasRemoteAddress in interface Application
    • removeRemoteAddress

      public boolean removeRemoteAddress(String remoteAddress)
      Deprecated.
    • getWebhooks

      public Set<Webhook> getWebhooks()
      Deprecated.
      Specified by:
      getWebhooks in interface Application
    • setWebhooks

      public void setWebhooks(Set<Webhook> webhooks)
      Deprecated.
      This setter should only be called by hibernate and must replace the collection instance; compare with updateDetailsFromApplication(Application).
      Parameters:
      webhooks - new Set of webhooks
    • getValues

      public Set<String> getValues(String name)
      Deprecated.
      Specified by:
      getValues in interface Attributes
      Parameters:
      name - attribute name.
      Returns:
      a collection of the only attribtue value or null if the directory does not have the attribute.
    • getValue

      public String getValue(String name)
      Deprecated.
      Specified by:
      getValue in interface Attributes
    • getKeys

      public Set<String> getKeys()
      Deprecated.
      Specified by:
      getKeys in interface Attributes
    • isEmpty

      public boolean isEmpty()
      Deprecated.
      Specified by:
      isEmpty in interface Attributes
    • setAttribute

      public void setAttribute(String name, String value)
      Deprecated.
    • removeAttribute

      public void removeAttribute(String name)
      Deprecated.
    • isFilteringUsersWithAccessEnabled

      public boolean isFilteringUsersWithAccessEnabled()
      Deprecated.
      Specified by:
      isFilteringUsersWithAccessEnabled in interface Application
    • setFilterUsersWithAccessEnabled

      public void setFilterUsersWithAccessEnabled(boolean filterUsersWithAccessEnabled)
      Deprecated.
    • isFilteringGroupsWithAccessEnabled

      public boolean isFilteringGroupsWithAccessEnabled()
      Deprecated.
      Specified by:
      isFilteringGroupsWithAccessEnabled in interface Application
    • setFilterGroupsWithAccessEnabled

      public void setFilterGroupsWithAccessEnabled(boolean filterGroupsWithAccessEnabled)
      Deprecated.
    • isLowerCaseOutput

      public boolean isLowerCaseOutput()
      Deprecated.
      Specified by:
      isLowerCaseOutput in interface Application
    • setLowerCaseOutput

      public void setLowerCaseOutput(boolean value)
      Deprecated.
    • setAliasingEnabled

      public void setAliasingEnabled(boolean aliasingEnabled)
      Deprecated.
    • isAliasingEnabled

      public boolean isAliasingEnabled()
      Deprecated.
      Specified by:
      isAliasingEnabled in interface Application
    • isMembershipAggregationEnabled

      public boolean isMembershipAggregationEnabled()
      Deprecated.
      Specified by:
      isMembershipAggregationEnabled in interface Application
    • setMembershipAggregationEnabled

      public void setMembershipAggregationEnabled(boolean membershipAggregationEnabled)
      Deprecated.
    • isCachedDirectoriesAuthenticationOrderOptimisationEnabled

      public boolean isCachedDirectoriesAuthenticationOrderOptimisationEnabled()
      Deprecated.
      Specified by:
      isCachedDirectoriesAuthenticationOrderOptimisationEnabled in interface Application
    • setAuthenticationOrderOptimizationForCachedDirectoriesEnabled

      public void setAuthenticationOrderOptimizationForCachedDirectoriesEnabled(boolean authenticationOrderOptimizationForCachedDirectoriesEnabled)
      Deprecated.
    • isAuthenticationWithoutPasswordEnabled

      public boolean isAuthenticationWithoutPasswordEnabled()
      Deprecated.
      Specified by:
      isAuthenticationWithoutPasswordEnabled in interface Application
    • setAuthenticationWithoutPasswordEnabled

      public void setAuthenticationWithoutPasswordEnabled(boolean authenticationWithoutPasswordEnabled)
      Deprecated.
    • isAuthenticationViaEmailEnabled

      public boolean isAuthenticationViaEmailEnabled()
      Deprecated.
      Specified by:
      isAuthenticationViaEmailEnabled in interface Application
    • setAuthenticationViaEmailEnabled

      public void setAuthenticationViaEmailEnabled(boolean authenticationViaEmailEnabled)
      Deprecated.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Specified by:
      equals in class InternalEntity
    • hashCode

      public int hashCode()
      Deprecated.
      Specified by:
      hashCode in class InternalEntity
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object