|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.crowd.embedded.impl.ImmutableDirectory
public final class ImmutableDirectory
Nested Class Summary | |
---|---|
static class |
ImmutableDirectory.Builder
Used to aid in the construction of an ImmutableDirectory. |
Constructor Summary | |
---|---|
ImmutableDirectory(java.lang.Long id,
java.lang.String name,
boolean active,
java.lang.String description,
java.lang.String encryptionType,
DirectoryType type,
java.lang.String implementationClass,
java.util.Date createdDate,
java.util.Date updatedDate,
java.util.Set<OperationType> allowedOperations,
java.util.Map<java.lang.String,java.lang.String> attributes)
|
Method Summary | |
---|---|
java.util.Set<OperationType> |
getAllowedOperations()
|
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
|
java.util.Date |
getCreatedDate()
|
java.lang.String |
getDescription()
|
java.lang.String |
getEncryptionType()
|
java.lang.Long |
getId()
|
java.lang.String |
getImplementationClass()
|
java.util.Set<java.lang.String> |
getKeys()
Gets all the keys of the attributes. |
java.lang.String |
getName()
|
DirectoryType |
getType()
|
java.util.Date |
getUpdatedDate()
|
java.lang.String |
getValue(java.lang.String key)
Returns the value associated with the given key, returns null if there is no value,
or throws an exception if there is more than one value. |
java.util.Set<java.lang.String> |
getValues(java.lang.String key)
Get all the values associated with a given key. |
boolean |
isActive()
|
boolean |
isEmpty()
|
static ImmutableDirectory.Builder |
newBuilder()
Create an empty Builder. |
static ImmutableDirectory.Builder |
newBuilder(Directory directory)
Create a Builder that copies its initial values from the given directory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImmutableDirectory(java.lang.Long id, java.lang.String name, boolean active, java.lang.String description, java.lang.String encryptionType, DirectoryType type, java.lang.String implementationClass, @NotNull java.util.Date createdDate, @NotNull java.util.Date updatedDate, @Nullable java.util.Set<OperationType> allowedOperations, @Nullable java.util.Map<java.lang.String,java.lang.String> attributes)
Method Detail |
---|
public java.lang.Long getId()
getId
in interface Directory
public java.lang.String getName()
getName
in interface Directory
public boolean isActive()
isActive
in interface Directory
public java.lang.String getEncryptionType()
getEncryptionType
in interface Directory
public java.lang.String getDescription()
getDescription
in interface Directory
public DirectoryType getType()
getType
in interface Directory
public java.lang.String getImplementationClass()
getImplementationClass
in interface Directory
public java.util.Date getCreatedDate()
getCreatedDate
in interface Directory
public java.util.Date getUpdatedDate()
getUpdatedDate
in interface Directory
public java.util.Set<OperationType> getAllowedOperations()
getAllowedOperations
in interface Directory
public java.util.Map<java.lang.String,java.lang.String> getAttributes()
getAttributes
in interface Directory
public java.util.Set<java.lang.String> getValues(java.lang.String key)
Attributes
getValues
in interface Attributes
key
- the key to retrieve the values for
public java.lang.String getValue(java.lang.String key)
Attributes
null
if there is no value,
or throws an exception if there is more than one value.
getValue
in interface Attributes
key
- the key to retrieve the value for
null
if there is no valuepublic java.util.Set<java.lang.String> getKeys()
Attributes
getKeys
in interface Attributes
public boolean isEmpty()
isEmpty
in interface Attributes
true
if there are no attributespublic static ImmutableDirectory.Builder newBuilder()
public static ImmutableDirectory.Builder newBuilder(Directory directory)
directory
- The Directory to clone.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |