02/28/2005
 

com.epicentric.permission
Class MultiCatalog

java.lang.Object
  |
  +--com.epicentric.permission.MultiCatalog
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 MultiCatalog
extends Object
implements PermissionCatalog

A catalog that is a concatenation of several other catalogs. (Used by PortalBeans to concatenate standard permissions and custom permissions.)


Constructor Summary
MultiCatalog()
          Deprecated.  
 
Method Summary
 void addCatalog(PermissionCatalog cat)
          Deprecated. Append a catalog to the end of the path.
 PermissionCatalogItem getItem(String permission_id)
          Deprecated. Look up a single CatalogItem.
 PermissionCatalogItem[] getItems()
          Deprecated. Get an array containing the items from all catalogs concatenated together.
 PermissionCatalogItem[] getItemsPrefixedBy(String permission_id_prefix)
          Deprecated. Return items in the catalog whose permissionIDs are prefixed by the given string.
 String getObjectID()
          Deprecated. Every PermissionCatalog refers to an object of a specific type and a specific id (Although id can be "").
 String getObjectType()
          Deprecated. Every PermissionCatalog refers to an object of a specific type and a specific id (Although id can be "").
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiCatalog

public MultiCatalog()
Deprecated. 
Method Detail

addCatalog

public void addCatalog(PermissionCatalog cat)
Deprecated. 
Append a catalog to the end of the path.

getItems

public PermissionCatalogItem[] getItems()
Deprecated. 
Get an array containing the items from all catalogs concatenated together.
Specified by:
getItems in interface PermissionCatalog

getItem

public PermissionCatalogItem getItem(String permission_id)
Deprecated. 
Look up a single CatalogItem. Tries each catalog in turn. 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

getObjectType

public String getObjectType()
Deprecated. 
Every PermissionCatalog refers to an object of a specific type and a specific id (Although id can be "").

getObjectID

public String getObjectID()
Deprecated. 
Every PermissionCatalog refers to an object of a specific type and a specific id (Although id can be "").

02/28/2005
 

Copyright and Trademark Notices