org.ow2.bonita.identity
Interface GroupOp

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
GroupImpl

public interface GroupOp
extends java.io.Serializable

Author:
"Pierre Vigneras"

Method Summary
 java.util.Set<GroupOp> getChildren()
          Get the set of children of this group.
 java.lang.String getId()
           
 java.util.Set<Membership> getMemberships()
          Get the set of memberships of this group.
 GroupOp getParent()
           
 java.util.Set<java.security.Permission> getPermissions()
          Get the set of permissions of this group.
 java.util.Properties getProperties()
          Get the Properties of this group.
 GroupOp getRoot()
           
 boolean hasMember(UserOp userOp)
           
 void setPermissions(java.util.Set<java.security.Permission> permissions)
           
 void setProperties(java.util.Properties newProperties)
           
 

Method Detail

getId

java.lang.String getId()

getMemberships

java.util.Set<Membership> getMemberships()
Get the set of memberships of this group. The returned set is a copy of the actual one. Any modifications made to the returned set are not propagated to the backing store.

Returns:
the set of memberships of this group

getProperties

java.util.Properties getProperties()
Get the Properties of this group. The returned Properties is a copy of the actual one. Any modifications made to the returned properties are not propagated to the backing store.

Returns:
the properties of this group

setProperties

void setProperties(java.util.Properties newProperties)

getPermissions

java.util.Set<java.security.Permission> getPermissions()
Get the set of permissions of this group. The returned set is a copy of the actual one. Any modifications made to the returned set are not propagated to the backing store.

Returns:
the set of permissions of this group

setPermissions

void setPermissions(java.util.Set<java.security.Permission> permissions)

getParent

GroupOp getParent()

getRoot

GroupOp getRoot()

getChildren

java.util.Set<GroupOp> getChildren()
Get the set of children of this group. The returned set is a copy of the actual one. Any modifications made to the returned set are not propagated to the backing store.

Returns:
the set of children of this user

hasMember

boolean hasMember(UserOp userOp)
Parameters:
userOp -
Returns:


Copyright © 2009 OW2 Consortium. All Rights Reserved.