Oracle

com.compoze.collab.exchange
Interface IAccessEntry


public interface IAccessEntry

This interface defines an access entry, which is used when determining permissions for a container.


Method Summary
 java.lang.String getName()
          Gets the name of the access entry.
 boolean isSet(ContainerPermission permission)
          Gets if a particular permission was set.
 boolean set(ContainerPermission permission)
          Sets a permission.
 void unset(ContainerPermission permission)
          Un-sets a permission from this permission set.
 

Method Detail

getName

java.lang.String getName()
Gets the name of the access entry.

Returns:
the name (not null)

set

boolean set(ContainerPermission permission)
Sets a permission. Setting a role will break out individual permissions for that role.

Parameters:
permission - the permission to set
Returns:
true if the permission was set

unset

void unset(ContainerPermission permission)
Un-sets a permission from this permission set. Un-setting a role invalidates all the permissions for that role.

Parameters:
permission -

isSet

boolean isSet(ContainerPermission permission)
Gets if a particular permission was set.

Parameters:
permission - the permission to check
Returns:
true if the permission is set

Oracle

Copyright ©1999-2008 Oracle All rights reserved.