com.sap.portal.pcm.admin

Interface PcmConstants


public interface PcmConstants

This interface provides constants for the portal content model.


Nested Class Summary
static class PcmConstants.AttributeIds
          The class that provides constants for the PCM attributes
static class PcmConstants.ControlIds
          The class that provides constants that represent the control IDs.
static interface PcmConstants.ISearchPolicy
          Defines the search policy constants for searches in the PCM
static class PcmConstants.MetaAttributeIds
           
 
Field Summary
static String APPLY_ASPECTS_TO_CONTEXTS
          A constant that represents a JNDI environment key for defining that the returned object type from the lookup should be according to the requested aspect.
static String ASPECT_ADMINISTRATION
          A constant that represents a possible value for com.sap.portal.directory.Constants.REQUESTED_ASPECT.
static String ASPECT_SEMANTICS
          A constant that represents a possible value for com.sap.portal.directory.Constants.REQUESTED_ASPECT.
static String PCM_FILTER_EXPRESSION
          Environment key for filter.
static String PUBLIC_PREFIX_PCM
          A constant that represents the PCM public prefix.
static String REPORTING_PRINCIPAL
          A constant that represents a JNDI environment key for defining the principal that is to be used for reporting and tracing (e.g.
static String REQUESTED_ASPECT
          A constant that represents a JNDI environment key for the requested aspect of a portal object.
 

Field Detail

ASPECT_ADMINISTRATION

static final String ASPECT_ADMINISTRATION
A constant that represents a possible value for com.sap.portal.directory.Constants.REQUESTED_ASPECT.

The returned object expected is an implementation of IAdminBase.

See Also:
REQUESTED_ASPECT, Constant Field Values

ASPECT_SEMANTICS

static final String ASPECT_SEMANTICS
A constant that represents a possible value for com.sap.portal.directory.Constants.REQUESTED_ASPECT.

The returned object expected is an implementation of the specific object semantic such as IPage.

See Also:
REQUESTED_ASPECT, Constant Field Values

REQUESTED_ASPECT

static final String REQUESTED_ASPECT
A constant that represents a JNDI environment key for the requested aspect of a portal object.

Usage:

                Hashtable env = new Hashtable();
                env.put(PcmConstants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);
                InitialContext ctx = new InitialContext(env);
  

See Also:
Constant Field Values

APPLY_ASPECTS_TO_CONTEXTS

static final String APPLY_ASPECTS_TO_CONTEXTS
A constant that represents a JNDI environment key for defining that the returned object type from the lookup should be according to the requested aspect.

The value in the JNDI environment should also be this constant.

Usage:


                Hashtable env = new Hashtable();
                env.put(PcmConstants.APPLY_ASPECTS_TO_CONTEXTS, PcmConstants.APPLY_ASPECTS_TO_CONTEXTS);
                InitialContext ctx = new InitialContext(env);
 

See Also:
Constant Field Values

REPORTING_PRINCIPAL

static final String REPORTING_PRINCIPAL
A constant that represents a JNDI environment key for defining the principal that is to be used for reporting and tracing (e.g. Admin Traceability reports, Change Recording operations).

See Also:
Constant Field Values

PUBLIC_PREFIX_PCM

static final String PUBLIC_PREFIX_PCM
A constant that represents the PCM public prefix.

See Also:
Constant Field Values

PCM_FILTER_EXPRESSION

static final String PCM_FILTER_EXPRESSION
Environment key for filter. A filter is a filter expression in the format of JNDI search parameters. PCM Provider should filter lists and search results when added to the evironment. If expression is not valid than an exception will be from the provider.
For backward compatibility the constant value is identical to the one used by com.sapportals.portal.pcd.IPcdContext.PCD_FILTER Usage: Filtering all the objects that are not iView or page


                Hashtable env = new Hashtable();
                env.put(PcmConstants.PCM_FILTER_EXPRESSION, "(&(com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.iview)("com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.page))");
                InitialContext ctx = new InitialContext(env);
 

See Also:
Constant Field Values
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM
[sap.com] EP-BASIS-API [sap.com] tc/epbc/pcm/admin/public/api api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice