org.apache.jetspeed.om.impl
Class SecurityRoleRefSetImpl

java.lang.Object
  extended by org.apache.jetspeed.om.impl.SecurityRoleRefSetImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Iterable, java.util.Collection, java.util.Set, org.apache.pluto.om.common.SecurityRoleRefSet, org.apache.pluto.om.common.SecurityRoleRefSetCtrl, org.apache.pluto.om.Controller, org.apache.pluto.om.Model

public class SecurityRoleRefSetImpl
extends java.lang.Object
implements org.apache.pluto.om.common.SecurityRoleRefSet, org.apache.pluto.om.common.SecurityRoleRefSetCtrl, java.io.Serializable

SecurityRoleRefSetImpl

Version:
$Id: SecurityRoleRefSetImpl.java 517121 2007-03-12 07:45:49Z ate $
Author:
Scott T. Weaver
See Also:
Serialized Form

Field Summary
protected  java.util.Collection innerCollection
           
 
Constructor Summary
SecurityRoleRefSetImpl()
           
SecurityRoleRefSetImpl(java.util.Collection collection)
           
 
Method Summary
 boolean add(java.lang.Object o)
           
 org.apache.pluto.om.common.SecurityRoleRef add(org.apache.pluto.om.common.SecurityRoleRef securityRoleRef)
           
 org.apache.pluto.om.common.SecurityRoleRef add(java.lang.String roleName, java.lang.String roleLink, org.apache.pluto.om.common.DescriptionSet descriptions)
           
 org.apache.pluto.om.common.SecurityRoleRef add(java.lang.String roleName, java.lang.String roleLink, java.lang.String description)
           
 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.SecurityRoleRef get(java.lang.String name)
           
 java.util.Collection getInnerCollection()
           
 boolean isEmpty()
           
 java.util.Iterator iterator()
           
 boolean remove(java.lang.Object o)
           
 void remove(org.apache.pluto.om.common.SecurityRoleRef securityRoleRef)
           
 org.apache.pluto.om.common.SecurityRoleRef remove(java.lang.String name)
           
 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
 
Methods inherited from interface java.util.Set
equals, hashCode
 

Field Detail

innerCollection

protected java.util.Collection innerCollection
Constructor Detail

SecurityRoleRefSetImpl

public SecurityRoleRefSetImpl()

SecurityRoleRefSetImpl

public SecurityRoleRefSetImpl(java.util.Collection collection)
Method Detail

get

public org.apache.pluto.om.common.SecurityRoleRef get(java.lang.String name)
Specified by:
get in interface org.apache.pluto.om.common.SecurityRoleRefSet
See Also:
SecurityRoleRefSet.get(java.lang.String)

add

public org.apache.pluto.om.common.SecurityRoleRef add(java.lang.String roleName,
                                                      java.lang.String roleLink,
                                                      java.lang.String description)
See Also:
org.apache.pluto.om.common.SecurityRoleRefSetCtrl#add(java.lang.String, java.lang.String, java.lang.String)

add

public org.apache.pluto.om.common.SecurityRoleRef add(org.apache.pluto.om.common.SecurityRoleRef securityRoleRef)
Specified by:
add in interface org.apache.pluto.om.common.SecurityRoleRefSetCtrl
See Also:
SecurityRoleRefSetCtrl.add(org.apache.pluto.om.common.SecurityRoleRef)

remove

public org.apache.pluto.om.common.SecurityRoleRef remove(java.lang.String name)
Specified by:
remove in interface org.apache.pluto.om.common.SecurityRoleRefSetCtrl
See Also:
SecurityRoleRefSetCtrl.remove(java.lang.String)

remove

public void remove(org.apache.pluto.om.common.SecurityRoleRef securityRoleRef)
Specified by:
remove in interface org.apache.pluto.om.common.SecurityRoleRefSetCtrl
See Also:
SecurityRoleRefSetCtrl.remove(org.apache.pluto.om.common.SecurityRoleRef)

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)

add

public org.apache.pluto.om.common.SecurityRoleRef add(java.lang.String roleName,
                                                      java.lang.String roleLink,
                                                      org.apache.pluto.om.common.DescriptionSet descriptions)
See Also:
org.apache.pluto.om.common.SecurityRoleRefSetCtrl#add(java.lang.String, java.lang.String, org.apache.pluto.om.common.DescriptionSet)

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:

setInnerCollection

public void setInnerCollection(java.util.Collection collection)
Parameters:
collection -


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