|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PrincipalCollection
A collection of principals
.
Method Summary | |
---|---|
void |
add(Principal principal)
|
void |
addAll(Collection<Principal> principal)
|
void |
clearAll()
|
boolean |
contains(Principal principal)
|
boolean |
contains(String name)
Checks if this collection contains object with the specified name. |
Principal |
get(String name)
Get principal associated to the specified name from the collection. |
Collection<Principal> |
getCollection()
|
String |
getName()
|
Iterator<Principal> |
iterator()
|
void |
remove(Principal principal)
|
void |
set(Collection<Principal> collection)
|
void |
setName(String name)
|
Methods inherited from interface java.security.Principal |
---|
equals, hashCode, toString |
Method Detail |
---|
String getName()
getName
in interface Principal
void setName(String name)
void set(Collection<Principal> collection)
void add(Principal principal)
void addAll(Collection<Principal> principal)
void remove(Principal principal)
void clearAll()
boolean contains(Principal principal)
Iterator<Principal> iterator()
iterator
in interface Iterable<Principal>
boolean contains(String name)
Principal get(String name)
Collection<Principal> getCollection()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |