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

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

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 186452 2004-05-10 17:43:28Z taylor $
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
 
Methods inherited from interface java.util.Set
equals, hashCode
 

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 Set
See Also:
Collection.add(java.lang.Object)

remove

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

addAll

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

clear

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

contains

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

containsAll

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

isEmpty

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

iterator

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

removeAll

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

retainAll

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

size

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

toArray

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

toArray

public Object[] toArray(Object[] a)
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-2005 Apache Software Foundation. All Rights Reserved.