|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.model.group.LDAPGroupWithAttributes
public class LDAPGroupWithAttributes
| Constructor Summary | |
|---|---|
LDAPGroupWithAttributes(String dn,
GroupTemplateWithAttributes group)
|
|
| Method Summary | |
|---|---|
int |
compareTo(Group group)
|
boolean |
equals(Object o)
Implementations must ensure equality based on getDirectoryId() and case-insensitive getName(). |
String |
getDescription()
|
long |
getDirectoryId()
|
String |
getDn()
Gets the standardised distinguished name for the LDAP entity. |
Set<String> |
getKeys()
Gets all the keys of the attributes. |
String |
getName()
|
GroupType |
getType()
|
String |
getValue(String name)
Returns any value associated with the given key, returns null if there is no value. |
Set<String> |
getValues(String name)
Get all the values associated with a given key. |
int |
hashCode()
Implementations must produce a hashcode based on getDirectoryId() and case-insensitive getName(). |
boolean |
isActive()
|
boolean |
isEmpty()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LDAPGroupWithAttributes(String dn,
GroupTemplateWithAttributes group)
| Method Detail |
|---|
public String getDn()
LDAPDirectoryEntity
getDn in interface LDAPDirectoryEntitypublic String getName()
getName in interface DirectoryEntitypublic long getDirectoryId()
getDirectoryId in interface DirectoryEntitypublic GroupType getType()
getType in interface Grouppublic boolean isActive()
isActive in interface Grouptrue if and only if the user is allowed to authenticate.public String getDescription()
getDescription in interface Groupnull if there is no description.public Set<String> getValues(String name)
Attributes
getValues in interface Attributesname - the key to retrieve the values for
public String getValue(String name)
Attributesnull if there is no value.
getValue in interface Attributesname - the key to retrieve the value for
null if there is no valuepublic Set<String> getKeys()
Attributes
getKeys in interface Attributespublic boolean isEmpty()
isEmpty in interface Attributestrue if there are no attributespublic boolean equals(Object o)
DirectoryEntity
equals in interface DirectoryEntityequals in class Objecto - object to compare to.
true if and only if the directoryId
and the lowercase names of the directory entities match.public int hashCode()
DirectoryEntity
hashCode in interface DirectoryEntityhashCode in class Objectpublic int compareTo(Group group)
compareTo in interface Comparable<Group>public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||