|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.model.group.LDAPGroupWithAttributes
public class LDAPGroupWithAttributes
Constructor Summary | |
---|---|
LDAPGroupWithAttributes(java.lang.String dn,
GroupTemplateWithAttributes group)
|
Method Summary | |
---|---|
int |
compareTo(Group group)
|
boolean |
equals(java.lang.Object o)
Implementations must ensure equality based on getDirectoryId() and case-insensitive getName(). |
java.lang.String |
getDescription()
|
long |
getDirectoryId()
|
java.lang.String |
getDn()
Gets the standardised distinguished name for the LDAP entity. |
java.util.Set<java.lang.String> |
getKeys()
Gets all the keys of the attributes. |
java.lang.String |
getName()
|
GroupType |
getType()
|
java.lang.String |
getValue(java.lang.String name)
Returns any value associated with the given key, returns null if there is no value. |
java.util.Set<java.lang.String> |
getValues(java.lang.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()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LDAPGroupWithAttributes(java.lang.String dn, GroupTemplateWithAttributes group)
Method Detail |
---|
public java.lang.String getDn()
LDAPDirectoryEntity
getDn
in interface LDAPDirectoryEntity
public java.lang.String getName()
getName
in interface DirectoryEntity
public long getDirectoryId()
getDirectoryId
in interface DirectoryEntity
public GroupType getType()
getType
in interface Group
public boolean isActive()
isActive
in interface Group
true if and only if the user is allowed to authenticate.
public java.lang.String getDescription()
getDescription
in interface Group
null
if there is no description.public java.util.Set<java.lang.String> getValues(java.lang.String name)
Attributes
getValues
in interface Attributes
name
- the key to retrieve the values for
public java.lang.String getValue(java.lang.String name)
Attributes
null
if there is no value.
getValue
in interface Attributes
name
- 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 boolean equals(java.lang.Object o)
DirectoryEntity
equals
in interface DirectoryEntity
equals
in class java.lang.Object
o
- object to compare to.
true
if and only if the directoryId
and name.toLowerCase() of the directory entities match.public int hashCode()
DirectoryEntity
hashCode
in interface DirectoryEntity
hashCode
in class java.lang.Object
public int compareTo(Group group)
compareTo
in interface java.lang.Comparable<Group>
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |