org.apache.jetspeed.om.servlet.impl
Class SecurityRoleSetImpl

java.lang.Object
  extended by org.apache.jetspeed.om.servlet.impl.SecurityRoleSetImpl
All Implemented Interfaces:
Serializable, Iterable, Collection, Set, org.apache.jetspeed.om.common.servlet.MutableSecurityRoleSet, org.apache.pluto.om.common.SecurityRoleSet, org.apache.pluto.om.Model

public class SecurityRoleSetImpl
extends Object
implements org.apache.pluto.om.common.SecurityRoleSet, org.apache.jetspeed.om.common.servlet.MutableSecurityRoleSet, Serializable

SecurityRoleRefSetImpl

Version:
$Id: SecurityRoleSetImpl.java 517121 2007-03-12 07:45:49Z ate $
Author:
Ate Douma
See Also:
Serialized Form

Field Summary
protected  Collection innerCollection
           
 
Constructor Summary
SecurityRoleSetImpl()
           
SecurityRoleSetImpl(Collection collection)
           
 
Method Summary
 boolean add(Object o)
           
 org.apache.pluto.om.common.SecurityRole add(org.apache.pluto.om.common.SecurityRole securityRole)
           
 boolean addAll(Collection c)
           
 void clear()
           
 boolean contains(Object o)
           
 boolean containsAll(Collection c)
           
 org.apache.pluto.om.common.SecurityRole get(String name)
           
 Collection getInnerCollection()
           
 boolean isEmpty()
           
 Iterator iterator()
           
 boolean remove(Object o)
           
 boolean removeAll(Collection c)
           
 boolean retainAll(Collection c)
           
 void setInnerCollection(Collection collection)
           
 int size()
           
 Object[] toArray()
           
 Object[] toArray(Object[] a)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

innerCollection

protected Collection innerCollection
Constructor Detail

SecurityRoleSetImpl

public SecurityRoleSetImpl()

SecurityRoleSetImpl

public SecurityRoleSetImpl(Collection collection)
Method Detail

get

public org.apache.pluto.om.common.SecurityRole get(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)
Specified by:
add in interface org.apache.jetspeed.om.common.servlet.MutableSecurityRoleSet
See Also:
MutableSecurityRoleSet.add(org.apache.pluto.om.common.SecurityRole)

add

public boolean add(Object o)
Specified by:
add in interface Collection
Specified by:
add in interface Set
See Also:
Collection.add(java.lang.Object)

remove

public boolean remove(Object o)
Specified by:
remove in interface Collection
Specified by:
remove in interface Set
See Also:
Collection.remove(java.lang.Object)

addAll

public boolean addAll(Collection c)
Specified by:
addAll in interface Collection
Specified by:
addAll in interface Set
See Also:
Collection.addAll(java.util.Collection)

clear

public void clear()
Specified by:
clear in interface Collection
Specified by:
clear in interface Set
See Also:
Collection.clear()

contains

public boolean contains(Object o)
Specified by:
contains in interface Collection
Specified by:
contains in interface Set
See Also:
Collection.contains(java.lang.Object)

containsAll

public boolean containsAll(Collection c)
Specified by:
containsAll in interface Collection
Specified by:
containsAll in interface Set
See Also:
Collection.containsAll(java.util.Collection)

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection
Specified by:
isEmpty in interface Set
See Also:
Collection.isEmpty()

iterator

public Iterator iterator()
Specified by:
iterator in interface Iterable
Specified by:
iterator in interface Collection
Specified by:
iterator in interface Set
See Also:
Collection.iterator()

removeAll

public boolean removeAll(Collection c)
Specified by:
removeAll in interface Collection
Specified by:
removeAll in interface Set
See Also:
Collection.removeAll(java.util.Collection)

retainAll

public boolean retainAll(Collection c)
Specified by:
retainAll in interface Collection
Specified by:
retainAll in interface Set
See Also:
Collection.retainAll(java.util.Collection)

size

public int size()
Specified by:
size in interface Collection
Specified by:
size in interface Set
See Also:
Collection.size()

toArray

public Object[] toArray()
Specified by:
toArray in interface Collection
Specified by:
toArray in interface Set
See Also:
Collection.toArray()

toArray

public Object[] toArray(Object[] a)
Specified by:
toArray in interface Collection
Specified by:
toArray in interface Set
See Also:
Collection.toArray(java.lang.Object[])

getInnerCollection

public Collection getInnerCollection()
Returns:
collection

setInnerCollection

public void setInnerCollection(Collection collection)
Parameters:
collection -


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.