Compoze Software, Inc.

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

public java.lang.String getName()
Gets the name of the access entry.
Returns:
the name (not null)

set

public 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

public 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

public boolean isSet(ContainerPermission permission)
Gets if a particular permission was set.
Parameters:
permission - the permission to check
Returns:
true if the permission is set

Compoze Software, Inc.

Copyright ©1999-2005 Compoze Software, Inc. All rights reserved.