02/28/2005
 

com.epicentric.permission
Class PermissionsManager

java.lang.Object
  |
  +--com.epicentric.permission.PermissionsManager

Deprecated. As of version 4.0, to be removed in 8.0 or later; replaced by a new permissioning system, described in the section on permissions checking in Vignette Portal Developer's Guide.

public abstract class PermissionsManager
extends Object

Handles the storage and retrieval of PermissionContext objects, and performs maintenance operations over the Permission objects that exist in permanent storage. New PermissionContext objects should always be retrieved by the getPermissionContext() method of this class; they should not be instantiated directly. Each PermissionContext object is identified in permanent storage by a unique objectType/objectID pair. The getPermissionContext() method will create a new PermissionContext object if one does not already exist for the objectType/objectID pair that are passed as parameters.


Constructor Summary
PermissionsManager()
          Deprecated.  
 
Method Summary
abstract  void deleteGroup(String groupID)
          Deprecated. Purges all permissions relating to the group specified by groupID from permanent storage.
abstract  void deleteObject(String objectType, String objectID)
          Deprecated. Purges all permissions from a object specified by objectType and objectID from permanent storage.
static PermissionsManager getInstance()
          Deprecated. Get the global instance of the PermissionsManager.
abstract  PermissionContext getPermissionContext(PermissionCatalog catalog, String objectType, String objectID)
          Deprecated. Retrieves a PermissionContext object from permanent storage based on the PermissionCatalog.
abstract  void savePermissionContext(PermissionContext context)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionsManager

public PermissionsManager()
Deprecated. 
Method Detail

getPermissionContext

public abstract PermissionContext getPermissionContext(PermissionCatalog catalog,
                                                       String objectType,
                                                       String objectID)
Deprecated. 
Retrieves a PermissionContext object from permanent storage based on the PermissionCatalog. Creates a new one if it doesn't exist.

deleteObject

public abstract void deleteObject(String objectType,
                                  String objectID)
Deprecated. 
Purges all permissions from a object specified by objectType and objectID from permanent storage.

deleteGroup

public abstract void deleteGroup(String groupID)
Deprecated. 
Purges all permissions relating to the group specified by groupID from permanent storage.

getInstance

public static PermissionsManager getInstance()
Deprecated. 
Get the global instance of the PermissionsManager.

savePermissionContext

public abstract void savePermissionContext(PermissionContext context)
Deprecated. 

02/28/2005
 

Copyright and Trademark Notices