public interface PrincipalCollection extends Principal, Serializable, Iterable<Principal>
principals
.Modifier and Type | Method and Description |
---|---|
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) |
forEach, spliterator
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)
boolean contains(String name)
Collection<Principal> getCollection()
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.