|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.integration.model.DirectoryEntity
com.atlassian.crowd.integration.model.DirectoryContainer
public class DirectoryContainer
| Field Summary | |
|---|---|
protected Directory |
directory
|
protected Set |
members
The principal members of the group. |
| Fields inherited from class com.atlassian.crowd.integration.model.DirectoryEntity |
|---|
active, attributes, conception, description, directoryID, ID, lastModified, name |
| Constructor Summary | |
|---|---|
DirectoryContainer()
|
|
| Method Summary | |
|---|---|
boolean |
addMember(Principal user)
Adds the user to the group. |
Directory |
getDirectory()
|
Set |
getMembers()
Gets the principals who are a member of the group. |
boolean |
isMember(Principal member)
Checks if the principal is a member of the group. |
Enumeration |
members()
Gets the members of the group. |
boolean |
removeMember(Principal user)
Removes the supplied principal from the group. |
void |
setDirectory(Directory directory)
|
void |
setMembers(Set members)
Sets the members of the group. |
| Methods inherited from class com.atlassian.crowd.integration.model.DirectoryEntity |
|---|
equals, getAttribute, getAttributes, getConception, getDescription, getDirectoryID, getID, getLastModified, getName, hashCode, isActive, setActive, setAttribute, setAttribute, setAttributes, setConception, setDescription, setDirectoryID, setID, setLastModified, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.security.Principal |
|---|
equals, getName, hashCode, toString |
| Field Detail |
|---|
protected Set members
protected Directory directory
| Constructor Detail |
|---|
public DirectoryContainer()
| Method Detail |
|---|
public boolean addMember(Principal user)
user to the group.
addMember in interface Groupuser - The user to add.
public boolean isMember(Principal member)
isMember in interface Groupmember - The principal to validate member ship.
true if and only if the principal is a member, otherwise false.public boolean removeMember(Principal user)
removeMember in interface Groupuser - The principal to remove.
true if and only if the principal was removed, otherwise false.public Enumeration members()
members of the group.
members in interface Grouppublic Set getMembers()
principals who are a member of the group.
public void setMembers(Set members)
members of the group.
members - The members.public Directory getDirectory()
public void setDirectory(Directory directory)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||