02/28/2005
 

com.epicentric.permission
Class GenericPermissionCatalogItem

java.lang.Object
  |
  +--com.epicentric.permission.GenericPermissionCatalogItem
All Implemented Interfaces:
PermissionCatalogItem

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 GenericPermissionCatalogItem
extends Object
implements PermissionCatalogItem

A simple, read-only catlog item for use in implementing a PermissionCatalog.


Field Summary
protected  boolean def
          Deprecated.  
protected  String description
          Deprecated.  
protected  String id
          Deprecated.  
protected  String name
          Deprecated.  
 
Fields inherited from interface com.epicentric.permission.PermissionCatalogItem
RESERVED_PREFIX
 
Constructor Summary
GenericPermissionCatalogItem(String id, String name, String description, boolean def)
          Deprecated. Constructor.
 
Method Summary
 boolean getDefault()
          Deprecated. Return whether or not the 'Everyone' group has this permission by default when a Permission is created from this catalog item.
 String getDescription()
          Deprecated. Return a short description suitable for displaying to the user.
 String getID()
          Deprecated. Return the id used to look up the permission.
 String getName()
          Deprecated. Return a friendly name suitable for displaying to the user.
 String toString()
          Deprecated. String representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected String id
Deprecated. 

name

protected String name
Deprecated. 

description

protected String description
Deprecated. 

def

protected boolean def
Deprecated. 
Constructor Detail

GenericPermissionCatalogItem

public GenericPermissionCatalogItem(String id,
                                    String name,
                                    String description,
                                    boolean def)
Deprecated. 
Constructor.
Parameters:
def - is default. True means permission is granted by default.
Method Detail

getID

public String getID()
Deprecated. 
Description copied from interface: PermissionCatalogItem
Return the id used to look up the permission. This string may be encoded in JSP pages etc, so it should never change.

IDs should use lowercase letters, numbers, underscores, and periods. A period should be used to separate a prefix from a permission name. For example: "sys.edit" would denote a system permission

Specified by:
getID in interface PermissionCatalogItem

getName

public String getName()
Deprecated. 
Description copied from interface: PermissionCatalogItem
Return a friendly name suitable for displaying to the user.
Specified by:
getName in interface PermissionCatalogItem

getDescription

public String getDescription()
Deprecated. 
Description copied from interface: PermissionCatalogItem
Return a short description suitable for displaying to the user.
Specified by:
getDescription in interface PermissionCatalogItem

getDefault

public boolean getDefault()
Deprecated. 
Description copied from interface: PermissionCatalogItem
Return whether or not the 'Everyone' group has this permission by default when a Permission is created from this catalog item.
Specified by:
getDefault in interface PermissionCatalogItem

toString

public String toString()
Deprecated. 
String representation.
Overrides:
toString in class Object

02/28/2005
 

Copyright and Trademark Notices