Package com.atlassian.crowd.embedded.api
Interface Directory
- All Superinterfaces:
Attributes
,Serializable
- All Known Implementing Classes:
DirectoryImpl
,DirectoryWrapper
,ImmutableDirectory
,ImmutableDirectory
,LazyAttributesEvaluationDirectory
,RecoveryModeDirectory
Represents a Directory configuration in Crowd. It is used to create a
RemoteDirectory
for want of a better
name, you could really call this a Directory Configuration class.-
Method Summary
Modifier and TypeMethodDescriptionReturns the operations allowed to be performed on this directory.Returns the attributes of the directory.Returns the date the directory was created.Returns a description of the directory.Returns the encryption algorithm used by the directory.getId()
Returns the directory ID.Returns the fully qualified name of the class that implements the directory.getName()
Returns the name of the directory.getType()
Returns the type of the directory.Returns the date the directory was last modified.boolean
isActive()
Returnstrue</tt> if the directory is currently active, otherwise <tt>false
.default boolean
Returnsfalse</tt> for in-memory directory, otherwise <tt>true
.Methods inherited from interface com.atlassian.crowd.embedded.api.Attributes
getKeys, getValue, getValues, isEmpty
-
Method Details
-
getId
Long getId()Returns the directory ID.- Returns:
- directory ID
-
getName
String getName()Returns the name of the directory.- Returns:
- name of the directory
-
isActive
boolean isActive()Returnstrue</tt> if the directory is currently active, otherwise <tt>false
.- Returns:
true</tt> if the directory is currently active, otherwise <tt>false
.
-
getEncryptionType
String getEncryptionType()Returns the encryption algorithm used by the directory.- Returns:
- encryption algorithm used by the directory
-
getAttributes
Returns the attributes of the directory.- Returns:
- attributes of the directory
-
getAllowedOperations
Set<OperationType> getAllowedOperations()Returns the operations allowed to be performed on this directory.- Returns:
- the operations allowed to be performed on this directory
-
getDescription
String getDescription()Returns a description of the directory.- Returns:
- description of the directory
-
getType
DirectoryType getType()Returns the type of the directory.- Returns:
- type of the directory
- See Also:
-
getImplementationClass
String getImplementationClass()Returns the fully qualified name of the class that implements the directory.- Returns:
- the fully qualified name of the class that implements the directory
-
getCreatedDate
Date getCreatedDate()Returns the date the directory was created.- Returns:
- date the directory was created
-
getUpdatedDate
Date getUpdatedDate()Returns the date the directory was last modified.- Returns:
- date the directory was last modified
-
isPersistable
default boolean isPersistable()Returnsfalse</tt> for in-memory directory, otherwise <tt>true
.- Returns:
false</tt> for in-memory directory, otherwise <tt>true
-