Class ApplicationImpl
java.lang.Object
com.atlassian.crowd.model.InternalEntity
com.atlassian.crowd.model.application.ApplicationImpl
- All Implemented Interfaces:
Attributes,Application,TimestampedEntity,Serializable
Deprecated.
Implementation of Application (designed for use for Hibernate).
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.crowd.model.InternalEntity
active, createdDate, id, name, updatedDate -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated.ApplicationImpl(InternalEntityTemplate template) Deprecated.Used for importing via XML migration.protectedApplicationImpl(String name, long id, ApplicationType type, String description, PasswordCredential credential, boolean active, Map<String, String> attributes, List<DirectoryMapping> directoryMappings, Set<RemoteAddress> remoteAddresses, Set<Webhook> webhooks, Date createdDate, Date updatedDate) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDirectoryMapping(Directory directory, boolean allowAllToAuthenticate, OperationType... operationTypes) Deprecated.voidaddGroupMapping(long directoryId, String groupName) Deprecated.voidaddRemoteAddress(String remoteAddress) Deprecated.static ApplicationImplconvertIfNeeded(Application application) Deprecated.booleanDeprecated.getApplicationDirectoryMapping(long directoryId) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getDirectoryMapping(long directoryId) Deprecated.Deprecated.getKeys()Deprecated.Deprecated.Deprecated.getType()Deprecated.Deprecated.Deprecated.Deprecated.inthashCode()Deprecated.booleanhasRemoteAddress(String remoteAddress) Deprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanisEmpty()Deprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.static ApplicationImplnewInstance(Application application) Deprecated.static ApplicationImplnewInstance(String name, ApplicationType type) Deprecated.static ApplicationImplnewInstanceWithCredential(String name, ApplicationType type, PasswordCredential credential) Deprecated.static ApplicationImplnewInstanceWithIdAndCredential(String name, ApplicationType type, PasswordCredential credential, long id) Deprecated.static ApplicationImplnewInstanceWithPassword(String name, ApplicationType type, String password) Deprecated.voidremoveAttribute(String name) Deprecated.booleanremoveDirectoryMapping(long directoryId) Deprecated.booleanremoveRemoteAddress(String remoteAddress) Deprecated.voidsetActive(boolean active) Deprecated.voidsetAliasingEnabled(boolean aliasingEnabled) Deprecated.voidsetAttribute(String name, String value) Deprecated.voidsetAttributes(Map<String, String> attributes) Deprecated.Sets the attributes of the application.voidsetAuthenticationOrderOptimizationForCachedDirectoriesEnabled(boolean authenticationOrderOptimizationForCachedDirectoriesEnabled) Deprecated.voidsetAuthenticationViaEmailEnabled(boolean authenticationViaEmailEnabled) Deprecated.voidsetAuthenticationWithoutPasswordEnabled(boolean authenticationWithoutPasswordEnabled) Deprecated.voidsetCredential(PasswordCredential credential) Deprecated.voidsetDescription(String description) Deprecated.voidsetFilterGroupsWithAccessEnabled(boolean filterGroupsWithAccessEnabled) Deprecated.voidsetFilterUsersWithAccessEnabled(boolean filterUsersWithAccessEnabled) Deprecated.voidsetLowerCaseOutput(boolean value) Deprecated.voidsetMembershipAggregationEnabled(boolean membershipAggregationEnabled) Deprecated.voidDeprecated.voidsetRemoteAddresses(Set<RemoteAddress> remoteAddresses) Deprecated.voidsetType(ApplicationType type) Deprecated.voidsetWebhooks(Set<Webhook> webhooks) Deprecated.This setter should only be called by hibernate and must replace the collection instance; compare withupdateDetailsFromApplication(Application).toString()Deprecated.voidupdateAttributesFrom(Map<String, String> attributes) Deprecated.voidupdateDetailsFromApplication(Application application) Deprecated.Only to be used by the ApplicationDAO#update methodvoidvalidate()Deprecated.Methods inherited from class com.atlassian.crowd.model.InternalEntity
getCreatedDate, getId, getName, getUpdatedDate, isActive, setCreatedDate, setCreatedDateToNow, setUpdatedDate, setUpdatedDateToNowMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.crowd.model.application.Application
getCreatedDate, getId, getName, getUpdatedDate, isActive
-
Constructor Details
-
ApplicationImpl
protected ApplicationImpl()Deprecated. -
ApplicationImpl
protected ApplicationImpl(String name, long id, ApplicationType type, String description, PasswordCredential credential, boolean active, Map<String, String> attributes, List<DirectoryMapping> directoryMappings, Set<RemoteAddress> remoteAddresses, Set<Webhook> webhooks, Date createdDate, Date updatedDate) Deprecated. -
ApplicationImpl
Deprecated.Used for importing via XML migration.- Parameters:
template- directory template.
-
-
Method Details
-
convertIfNeeded
Deprecated. -
newInstance
Deprecated. -
newInstance
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
Deprecated.Only to be used by the ApplicationDAO#update method -
updateAttributesFrom
Deprecated. -
validate
public void validate()Deprecated. -
setName
Deprecated.- Overrides:
setNamein classInternalEntity
-
setActive
public void setActive(boolean active) Deprecated.- Overrides:
setActivein classInternalEntity
-
getLowerName
Deprecated. -
getType
Deprecated.- Specified by:
getTypein interfaceApplication
-
setType
Deprecated. -
getDescription
Deprecated.- Specified by:
getDescriptionin interfaceApplication
-
setDescription
Deprecated. -
getCredential
Deprecated.- Specified by:
getCredentialin interfaceApplication
-
setCredential
Deprecated. -
isPermanent
public boolean isPermanent()Deprecated.- Specified by:
isPermanentin interfaceApplication
-
getAttributes
Deprecated.- Specified by:
getAttributesin interfaceApplication
-
setAttributes
Deprecated.Sets the attributes of the application.attributesmust be a mutableMap.- Parameters:
attributes- new attributes
-
getDirectoryMappings
Deprecated.- Specified by:
getDirectoryMappingsin interfaceApplication
-
getApplicationDirectoryMappings
Deprecated.- Specified by:
getApplicationDirectoryMappingsin interfaceApplication
-
addDirectoryMapping
public void addDirectoryMapping(Directory directory, boolean allowAllToAuthenticate, OperationType... operationTypes) Deprecated. -
addGroupMapping
Deprecated. -
getDirectoryMapping
Deprecated.- Specified by:
getDirectoryMappingin interfaceApplication
-
getApplicationDirectoryMapping
Deprecated.- Specified by:
getApplicationDirectoryMappingin interfaceApplication
-
removeDirectoryMapping
public boolean removeDirectoryMapping(long directoryId) Deprecated. -
getRemoteAddresses
Deprecated.- Specified by:
getRemoteAddressesin interfaceApplication
-
addRemoteAddress
Deprecated. -
setRemoteAddresses
Deprecated. -
hasRemoteAddress
Deprecated.- Specified by:
hasRemoteAddressin interfaceApplication
-
removeRemoteAddress
Deprecated. -
getWebhooks
Deprecated.- Specified by:
getWebhooksin interfaceApplication
-
setWebhooks
Deprecated.This setter should only be called by hibernate and must replace the collection instance; compare withupdateDetailsFromApplication(Application).- Parameters:
webhooks- new Set of webhooks
-
getValues
Deprecated.- Specified by:
getValuesin interfaceAttributes- Parameters:
name- attribute name.- Returns:
- a collection of the only attribtue value or
nullif the directory does not have the attribute.
-
getValue
Deprecated.- Specified by:
getValuein interfaceAttributes
-
getKeys
Deprecated.- Specified by:
getKeysin interfaceAttributes
-
isEmpty
public boolean isEmpty()Deprecated.- Specified by:
isEmptyin interfaceAttributes
-
setAttribute
Deprecated. -
removeAttribute
Deprecated. -
isFilteringUsersWithAccessEnabled
public boolean isFilteringUsersWithAccessEnabled()Deprecated.- Specified by:
isFilteringUsersWithAccessEnabledin interfaceApplication
-
setFilterUsersWithAccessEnabled
public void setFilterUsersWithAccessEnabled(boolean filterUsersWithAccessEnabled) Deprecated. -
isFilteringGroupsWithAccessEnabled
public boolean isFilteringGroupsWithAccessEnabled()Deprecated.- Specified by:
isFilteringGroupsWithAccessEnabledin interfaceApplication
-
setFilterGroupsWithAccessEnabled
public void setFilterGroupsWithAccessEnabled(boolean filterGroupsWithAccessEnabled) Deprecated. -
isLowerCaseOutput
public boolean isLowerCaseOutput()Deprecated.- Specified by:
isLowerCaseOutputin interfaceApplication
-
setLowerCaseOutput
public void setLowerCaseOutput(boolean value) Deprecated. -
setAliasingEnabled
public void setAliasingEnabled(boolean aliasingEnabled) Deprecated. -
isAliasingEnabled
public boolean isAliasingEnabled()Deprecated.- Specified by:
isAliasingEnabledin interfaceApplication
-
isMembershipAggregationEnabled
public boolean isMembershipAggregationEnabled()Deprecated.- Specified by:
isMembershipAggregationEnabledin interfaceApplication
-
setMembershipAggregationEnabled
public void setMembershipAggregationEnabled(boolean membershipAggregationEnabled) Deprecated. -
isCachedDirectoriesAuthenticationOrderOptimisationEnabled
public boolean isCachedDirectoriesAuthenticationOrderOptimisationEnabled()Deprecated.- Specified by:
isCachedDirectoriesAuthenticationOrderOptimisationEnabledin interfaceApplication
-
setAuthenticationOrderOptimizationForCachedDirectoriesEnabled
public void setAuthenticationOrderOptimizationForCachedDirectoriesEnabled(boolean authenticationOrderOptimizationForCachedDirectoriesEnabled) Deprecated. -
isAuthenticationWithoutPasswordEnabled
public boolean isAuthenticationWithoutPasswordEnabled()Deprecated.- Specified by:
isAuthenticationWithoutPasswordEnabledin interfaceApplication
-
setAuthenticationWithoutPasswordEnabled
public void setAuthenticationWithoutPasswordEnabled(boolean authenticationWithoutPasswordEnabled) Deprecated. -
isAuthenticationViaEmailEnabled
public boolean isAuthenticationViaEmailEnabled()Deprecated.- Specified by:
isAuthenticationViaEmailEnabledin interfaceApplication
-
setAuthenticationViaEmailEnabled
public void setAuthenticationViaEmailEnabled(boolean authenticationViaEmailEnabled) Deprecated. -
equals
Deprecated.- Specified by:
equalsin classInternalEntity
-
hashCode
public int hashCode()Deprecated.- Specified by:
hashCodein classInternalEntity
-
toString
Deprecated.
-
ApplicationorImmutableApplicationinstead. Since v2.12.