02/28/2005
 

com.epicentric.permission
Class PermissionCatalogContainer

java.lang.Object
  |
  +--com.epicentric.permission.PermissionCatalogContainer
All Implemented Interfaces:
PermissionCatalog

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 class PermissionCatalogContainer
extends Object
implements PermissionCatalog

Container implementation of a PermissionCatalog. Typically this is used when the actual catalog may be replaced transparently to the system surrounding it.


Constructor Summary
PermissionCatalogContainer(PermissionCatalog innerCatalog)
          Deprecated.  
 
Method Summary
 PermissionCatalog getInnerCatalog()
          Deprecated.  
 PermissionCatalogItem getItem(String permission_id)
          Deprecated. Look up a single descriptor.
 PermissionCatalogItem[] getItems()
          Deprecated. Returns an array containing all the catalog's items.
 PermissionCatalogItem[] getItemsPrefixedBy(String permission_id_prefix)
          Deprecated. Return items in the catalog whose permissionIDs are prefixed by the given string.
 void setInnerCatalog(PermissionCatalog innerCatalog)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionCatalogContainer

public PermissionCatalogContainer(PermissionCatalog innerCatalog)
Deprecated. 
Parameters:
innerCatalog - The inner catalog
Method Detail

getInnerCatalog

public PermissionCatalog getInnerCatalog()
Deprecated. 

setInnerCatalog

public void setInnerCatalog(PermissionCatalog innerCatalog)
Deprecated. 

getItems

public PermissionCatalogItem[] getItems()
Deprecated. 
Returns an array containing all the catalog's items. Used to iterate over all the descriptors, e.g. when rendering them in a user interface.
Specified by:
getItems in interface PermissionCatalog

getItem

public PermissionCatalogItem getItem(String permission_id)
Deprecated. 
Look up a single descriptor. Lookup is case-insensitive. Returns null if not found.
Specified by:
getItem in interface PermissionCatalog

getItemsPrefixedBy

public PermissionCatalogItem[] getItemsPrefixedBy(String permission_id_prefix)
Deprecated. 
Return items in the catalog whose permissionIDs are prefixed by the given string. For example, getItemsPrefixedBy("standard.") would return items "standard.edit" and "standard.enabled", if such items exist. Lookup is case-insensitive.

Return an array of length 0 if no items are found. Return no permissions if prefix is null. Return all permissions if prefix is blank.
Specified by:
getItemsPrefixedBy in interface PermissionCatalog

02/28/2005
 

Copyright and Trademark Notices