public interface IMutableVariantManager extends IVariantManager
Modifier and Type | Method and Description |
---|---|
IResourceHandle |
createPhysicalResource(IResourceHandle logicalResourceHandle,
IResourceCreateDescriptor createDescriptor)
Creates a new physical resources for the given logical resource and returns its handle.
|
void |
updateInvariantProperties(IResourceHandle logicalResourceHandle,
List updateDescriptors)
Updates the invariant properties of a logical resource.
|
void |
updateInvariantProperty(IResourceHandle logicalResourceHandle,
IPropertyUpdateDescriptor propertyUpdateDescriptor)
Sets or deletes an a invariant property at the logical resource.
|
findPhysicalResources, getAllInvariantProperties, getInvariantProperty, getListedInvariantProperties, getLogicalResource, getPhysicalResource, isLogicalResource, isPhysicalResource
IResourceHandle createPhysicalResource(IResourceHandle logicalResourceHandle, IResourceCreateDescriptor createDescriptor) throws InvalidVariantContextException, PhysicalResourceAlreadyExistsException, OperationNotSupportedException, ResourceException
PhysicalResourceAlreadyExistsException
must be thrown.logicalResourceHandle
- A handle of a logical resource.createDescriptor
- Descriptor containing the resource content and properties. The property map must contain all context
properties required by the repository. Whether it is required to specify all context properties or not
depends on the repository implementation. The descriptor will never be a ICollectionCreateDescriptor or a
ILinkCreateDescriptor because only the properties of a resource can vary (not the children or the link
target).null
.PhysicalResourceAlreadyExistsException
- If a physical resource with the specified context property values already exists.InvalidVariantContextException
- The context properties contained in the property map are invalid.OperationNotSupportedException
- The context properties contained in the property map are invalid.ResourceException
- resource exceptionvoid updateInvariantProperty(IResourceHandle logicalResourceHandle, IPropertyUpdateDescriptor propertyUpdateDescriptor) throws ResourceException
logicalResourceHandle
- The handle of a logical resource.propertyUpdateDescriptor
- The property update descriptorResourceException
- resource exceptionvoid updateInvariantProperties(IResourceHandle logicalResourceHandle, List updateDescriptors) throws ResourceException
logicalResourceHandle
- parameterupdateDescriptors
- A list containing IPropertyUpdateDescriptor
instances.ResourceException
- exception with repositoryAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice