org.apache.jetspeed.om.servlet.impl
Class SecurityRoleSetImpl
java.lang.Object
org.apache.jetspeed.om.servlet.impl.SecurityRoleSetImpl
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Iterable, java.util.Collection, java.util.Set, MutableSecurityRoleSet, org.apache.pluto.om.common.SecurityRoleSet, org.apache.pluto.om.Model
public class SecurityRoleSetImpl
- extends java.lang.Object
- implements org.apache.pluto.om.common.SecurityRoleSet, MutableSecurityRoleSet, java.io.Serializable
SecurityRoleRefSetImpl
- Version:
- $Id: SecurityRoleSetImpl.java 517121 2007-03-12 07:45:49Z ate $
- Author:
- Ate Douma
- See Also:
- Serialized Form
Method Summary |
boolean |
add(java.lang.Object o)
|
org.apache.pluto.om.common.SecurityRole |
add(org.apache.pluto.om.common.SecurityRole securityRole)
Adds a SecurityRole to the set |
boolean |
addAll(java.util.Collection c)
|
void |
clear()
|
boolean |
contains(java.lang.Object o)
|
boolean |
containsAll(java.util.Collection c)
|
org.apache.pluto.om.common.SecurityRole |
get(java.lang.String name)
|
java.util.Collection |
getInnerCollection()
|
boolean |
isEmpty()
|
java.util.Iterator |
iterator()
|
boolean |
remove(java.lang.Object o)
|
boolean |
removeAll(java.util.Collection c)
|
boolean |
retainAll(java.util.Collection c)
|
void |
setInnerCollection(java.util.Collection collection)
|
int |
size()
|
java.lang.Object[] |
toArray()
|
java.lang.Object[] |
toArray(java.lang.Object[] a)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
innerCollection
protected java.util.Collection innerCollection
SecurityRoleSetImpl
public SecurityRoleSetImpl()
SecurityRoleSetImpl
public SecurityRoleSetImpl(java.util.Collection collection)
get
public org.apache.pluto.om.common.SecurityRole get(java.lang.String name)
- Specified by:
get
in interface org.apache.pluto.om.common.SecurityRoleSet
- See Also:
SecurityRoleSet.get(java.lang.String)
add
public org.apache.pluto.om.common.SecurityRole add(org.apache.pluto.om.common.SecurityRole securityRole)
- Description copied from interface:
MutableSecurityRoleSet
- Adds a SecurityRole to the set
- Specified by:
add
in interface MutableSecurityRoleSet
- Parameters:
securityRole
- the security-role to be added
- Returns:
- the new SecurityRole
- See Also:
MutableSecurityRoleSet.add(org.apache.pluto.om.common.SecurityRole)
add
public boolean add(java.lang.Object o)
- Specified by:
add
in interface java.util.Collection
- Specified by:
add
in interface java.util.Set
- See Also:
Collection.add(java.lang.Object)
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interface java.util.Collection
- Specified by:
remove
in interface java.util.Set
- See Also:
Collection.remove(java.lang.Object)
addAll
public boolean addAll(java.util.Collection c)
- Specified by:
addAll
in interface java.util.Collection
- Specified by:
addAll
in interface java.util.Set
- See Also:
Collection.addAll(java.util.Collection)
clear
public void clear()
- Specified by:
clear
in interface java.util.Collection
- Specified by:
clear
in interface java.util.Set
- See Also:
Collection.clear()
contains
public boolean contains(java.lang.Object o)
- Specified by:
contains
in interface java.util.Collection
- Specified by:
contains
in interface java.util.Set
- See Also:
Collection.contains(java.lang.Object)
containsAll
public boolean containsAll(java.util.Collection c)
- Specified by:
containsAll
in interface java.util.Collection
- Specified by:
containsAll
in interface java.util.Set
- See Also:
Collection.containsAll(java.util.Collection)
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface java.util.Collection
- Specified by:
isEmpty
in interface java.util.Set
- See Also:
Collection.isEmpty()
iterator
public java.util.Iterator iterator()
- Specified by:
iterator
in interface java.lang.Iterable
- Specified by:
iterator
in interface java.util.Collection
- Specified by:
iterator
in interface java.util.Set
- See Also:
Collection.iterator()
removeAll
public boolean removeAll(java.util.Collection c)
- Specified by:
removeAll
in interface java.util.Collection
- Specified by:
removeAll
in interface java.util.Set
- See Also:
Collection.removeAll(java.util.Collection)
retainAll
public boolean retainAll(java.util.Collection c)
- Specified by:
retainAll
in interface java.util.Collection
- Specified by:
retainAll
in interface java.util.Set
- See Also:
Collection.retainAll(java.util.Collection)
size
public int size()
- Specified by:
size
in interface java.util.Collection
- Specified by:
size
in interface java.util.Set
- See Also:
Collection.size()
toArray
public java.lang.Object[] toArray()
- Specified by:
toArray
in interface java.util.Collection
- Specified by:
toArray
in interface java.util.Set
- See Also:
Collection.toArray()
toArray
public java.lang.Object[] toArray(java.lang.Object[] a)
- Specified by:
toArray
in interface java.util.Collection
- Specified by:
toArray
in interface java.util.Set
- See Also:
Collection.toArray(java.lang.Object[])
getInnerCollection
public java.util.Collection getInnerCollection()
- Returns:
- collection
setInnerCollection
public void setInnerCollection(java.util.Collection collection)
- Parameters:
collection
-
Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.