|
Homepage | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.talos.impl.AbstractContainer<Category>
org.talos.impl.CategoryContainerImpl
public class CategoryContainerImpl
| Field Summary |
|---|
| Fields inherited from class org.talos.impl.AbstractContainer |
|---|
elements |
| Constructor Summary | |
|---|---|
CategoryContainerImpl(Category clone,
Repository repository)
|
|
CategoryContainerImpl(Collection<Category> elements,
Repository repository)
|
|
| Method Summary | |
|---|---|
CategoryContainer |
addObjects(Collection<SecureObject> objNames)
This method adds Object to the Categories that the container holds. |
CategoryContainer |
addObjects(String... objNames)
This method adds Object to the Categories that the container holds. |
Bouncer |
andSubject(Collection<Subject> subjects)
This method gives an instance of a Bouncer with all the Categories from this container and all Subjects. |
CategoryBouncer |
andSubject(String... subjectNames)
This method gives an instance of a Bouncer with all the Categories from this container and all Subjects with the given names. |
Bouncer |
andSubjectOr(Collection<Subject> subjects)
This method gives an instance of a Bouncer with all the Categories from this container and all Subjects. |
CategoryBouncer |
andSubjectOr(String... subjectNames)
This method gives an instance of a Bouncer with all the Categories from this container and all Subjects with the given names. |
CategoryContainer |
cloneAs(String name)
When this container contains a single element, you can use this method to create a new Category with the same contents as this one. |
Collection<SecureObject> |
listObjects()
This method list all SecureObjects from the Category that the container holds. |
protected void |
remove(Category element)
Removes an element from the storage permanently. |
CategoryContainer |
removeObjects(Collection<SecureObject> objNames)
This method removes SecureObjects from the Category that the container holds. |
CategoryContainer |
removeObjects(String... objNames)
This method removes SecureObjects from the Category that the container holds. |
| Methods inherited from class org.talos.impl.AbstractContainer |
|---|
checkCloneAllowed, contains, containsAll, getElement, getFirstElement, isEmpty, list, remove, size |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.talos.Container |
|---|
contains, containsAll, getElement, isEmpty, list, remove, size |
| Constructor Detail |
|---|
public CategoryContainerImpl(Collection<Category> elements,
Repository repository)
public CategoryContainerImpl(Category clone,
Repository repository)
| Method Detail |
|---|
protected void remove(Category element)
AbstractContainer
remove in class AbstractContainer<Category>element - the element that must be deleted
public CategoryBouncer andSubject(String... subjectNames)
throws EntityNotFoundException
CategoryContainer
andSubject in interface CategoryContainersubjectNames - the names of the Subjects.
EntityNotFoundException - if any given Subject is not found in Talos.
public CategoryBouncer andSubjectOr(String... subjectNames)
throws EntityNotFoundException
CategoryContainer
andSubjectOr in interface CategoryContainersubjectNames - the names of the Subjects.
EntityNotFoundException - if any given Subject is not found in Talos.
public CategoryContainer addObjects(String... objNames)
throws EntityNotFoundException
CategoryContainer
addObjects in interface CategoryContainerobjNames - the names of the SecureObjects to be added
EntityNotFoundException - if any of the given Objects is not found in Talospublic CategoryContainer addObjects(Collection<SecureObject> objNames)
CategoryContainer
addObjects in interface CategoryContainerobjNames - a collection of the SecureObjects to be added
public CategoryContainer cloneAs(String name)
CategoryContainer
cloneAs in interface CategoryContainername - the name of the new Category.
public CategoryContainer removeObjects(String... objNames)
throws EntityNotFoundException
CategoryContainer
removeObjects in interface CategoryContainerobjNames - the name of the SecureObjects to be removed
EntityNotFoundException - if any of the given SimplePermissions is not found in Talospublic CategoryContainer removeObjects(Collection<SecureObject> objNames)
CategoryContainer
removeObjects in interface CategoryContainerobjNames - a collection of the SecureObjects to be removed
public Collection<SecureObject> listObjects()
CategoryContainer
listObjects in interface CategoryContainerpublic Bouncer andSubject(Collection<Subject> subjects)
CategoryContainer
andSubject in interface CategoryContainersubjects - a collection of the Subjects.
public Bouncer andSubjectOr(Collection<Subject> subjects)
CategoryContainer
andSubjectOr in interface CategoryContainersubjects - a collection of the Subjects.
|
Homepage | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||