org.ow2.bonita.identity
Interface UserOp

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

public interface UserOp
extends java.io.Serializable

Represent a UserOp in NovaBonita.

Author:
"Pierre Vigneras"

Method Summary
 java.lang.String getId()
           
 java.util.Set<Membership> getMemberships()
          Return the memberships of this user.
 java.util.Set<java.security.Permission> getPermissions()
          Get the set of permissions of this user.
 java.util.Properties getProperties()
          Get the set of properties of this user.
 boolean isMember(GroupOp groupOp)
           
 void setPermissions(java.util.Set<java.security.Permission> permissions)
           
 void setProperties(java.util.Properties newProperties)
           
 

Method Detail

getId

java.lang.String getId()

getProperties

java.util.Properties getProperties()
Get the set of properties of this user. 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 user

setProperties

void setProperties(java.util.Properties newProperties)

getPermissions

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

Returns:
the set of permissions of this user

setPermissions

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

getMemberships

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

Returns:
a set of Membership
See Also:
Membership

isMember

boolean isMember(GroupOp groupOp)
Parameters:
groupOp -
Returns:


Copyright © 2009 OW2 Consortium. All Rights Reserved.