com.sap.portal.pcm

Interface IObjectsManager

All Known Subinterfaces:
IiViews, ILayouts, INamespaceManager, IPages, ISystems

public interface IObjectsManager

Implement this base interface to manage semantic objects.

See Also:
INewObjectDescriptor

Method Summary
 IAttributeSet getDefaultAttributes(com.sap.security.api.IPrincipal user)
          Gets the object's default attributes
 Object instantiateDescriptor(CreateMethod createMethod, String[] targetIds, com.sap.security.api.IPrincipal user)
          Creates a descriptor for the new object creation based on a template object.
 Object instantiateDescriptor(CreateMethod createMethod, String targetId, com.sap.security.api.IPrincipal user)
          Instantiates a descriptor for the new object creation based on a template object.
 Object instantiateDescriptor(com.sap.security.api.IPrincipal user)
          Creates a descriptor for the new object creation.
 

Method Detail

getDefaultAttributes

IAttributeSet getDefaultAttributes(com.sap.security.api.IPrincipal user)
                                   throws UnsupportedOperationException
Gets the object's default attributes

Parameters:
user - the user who has permissions to access the object's default attributes
Returns:
An IAttributeSet object
Throws:
UnsupportedOperationException - when nothing is returned (no default attributes exist)

instantiateDescriptor

Object instantiateDescriptor(CreateMethod createMethod,
                             String targetId,
                             com.sap.security.api.IPrincipal user)
                             throws com.sap.portal.pcm.ObjectNotFoundException,
                                    com.sap.portal.pcm.OperationFailedException
Instantiates a descriptor for the new object creation based on a template object.

Parameters:
createMethod - the creation method for the new object, such as copy, delta-link, or link, defined by CreateMethod
targetId - a full JNDI url of the template target.
user - the user who has permissions to access the object's default attributes
Returns:
a descriptor object, depending on the specific semantic application implementation
Throws:
ObjectNotFoundException
OperationFailedException - on failure

instantiateDescriptor

Object instantiateDescriptor(com.sap.security.api.IPrincipal user)
Creates a descriptor for the new object creation.

Parameters:
user - the user who has permissions to access the object's default attributes
Returns:
a descriptor object, depending on the specific semantic application implementation
Throws:
ObjectNotFoundException
OperationFailedException - on failure

instantiateDescriptor

Object instantiateDescriptor(CreateMethod createMethod,
                             String[] targetIds,
                             com.sap.security.api.IPrincipal user)
                             throws com.sap.portal.pcm.ObjectNotFoundException,
                                    com.sap.portal.pcm.OperationFailedException,
                                    UnsupportedOperationException
Creates a descriptor for the new object creation based on a template object.

Parameters:
createMethod - the creation method for the new object, such as copy, delta-link, or link, defined by CreateMethod
targetIds - - An array of full JNDI urls of the template targets.
user -
Returns:
Object the descriptor. Depends on each semantic application implementation.
Throws:
ObjectNotFoundException
OperationFailedException - on failure
UnsupportedOperationException
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-RUNTIME [sap.com] tc/ep/semantics/api api EP-PIN


Copyright 2013 SAP AG Complete Copyright Notice