Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKPrivilegeICM

java.lang.Object
  |
  +--com.ibm.mm.sdk.common.dkAbstractPrivilege
        |
        +--com.ibm.mm.sdk.common.DKPrivilegeICM
All Implemented Interfaces:
DKMessageId, dkPrivilege, java.io.Serializable

public class DKPrivilegeICM
extends dkAbstractPrivilege
implements java.io.Serializable

A privilege is an ability to use the Content Manager system. Content Manager Privileges are used to grant to individual users and to define access control lists (ACLs). Content Manager privileges must be grouped into privilege sets before they can be used. The CM system provides a number of un-modifiable pre-defined privileges, called System-defined Privileges. Each of these privileges authorizes a certain operation(s). System-defined Privileges are enforced by the Content Manager Library Server stored procedures. The CM system also allows users to define their application-specific privileges, called User-defined Privileges. Each Privilege has a system-generated unique code, called the Privilege Definition Code. Privilege Definition Code 0 to 999 are reserved to store Content Manager System-defined Privileges. Code 1000 and up are open for user-defined privileges User-defined privileges contains the rights to access and modify the Content Manager controlled entities. Access to the controlled entities, in addition to ACL checking, is controlled by this category of privileges. Some examples of user-defined privileges include:

See Also:
DKPrivilegeSetICM, DKPrivilegeGroupICM, DKAccessControlListICM, Serialized Form

Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId
    For details, see the class or interface
 
Constructor Summary
DKPrivilegeICM()
          Default constructor.
DKPrivilegeICM(dkDatastore ds)
          Constructs and initializes a privilege class the specified datastore.
 
Method Summary
 long getID()
          Retrieves the identifier for this privilege objectid
 void setID(long id)
          Sets the identifier for this privilege object
 
Methods inherited from class com.ibm.mm.sdk.common.dkAbstractPrivilege
getDatastore, getDescription, getName, setDatastore, setDescription, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DKPrivilegeICM

public DKPrivilegeICM()
Default constructor. Constructs and initializes a privilege object that is currently not associated with any privilege group or privilege set or with a datastore

This class represents a privilege in the Library Server.

  DKPrivilegeICM priv = new DKPrivilegeICM();
  
See Also:
dkPrivilege, dkAbstractPrivilege

DKPrivilegeICM

public DKPrivilegeICM(dkDatastore ds)
Constructs and initializes a privilege class the specified datastore.
Parameters:
ds - Datastore reference Should be an instance of DKDatastoreICM
See Also:
dkPrivilege, dkAbstractPrivilege
Method Detail

setID

public void setID(long id)
Sets the identifier for this privilege object
Parameters:
id - new id to be associated with this privilege object

getID

public long getID()
Retrieves the identifier for this privilege objectid
Returns:
identifier for this privilege objectid

EIP Java APIs

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.