public interface IVariantResourceEvent extends IResourceEvent
IResource, ICollection
or ILogicalVariantResource interfaces. This means, that
the resource attached to the event is always the logical resource and it can be accessed by calling
IResourceEvent.getResource() and casting it:
(ILogicalVariantResource)event.getResource().as(ILogicalVariantResource.class)
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IVariantResourceEvent.EVENT_SUB_TYPE |
| Modifier and Type | Method and Description |
|---|---|
IResource |
getPhysicalResource()
Returns the physical resource attached to this event or
null. |
int |
getPhysicalResourceEventSubType()
Returns the event sub-type indicating the operation performed on the physical resource if the
event type is
. |
getResourcegetDescription, getDescription, getParameter, getType, isLikeIResource getPhysicalResource()
null. Note: This is not always the same physical resource
associated with the logical resource of this event.ResourceEvent.CREATE_CHILD: The first physical resources
created together with a logical resource.ResourceEvent.SET:
The created, updated or deleted physical resource - see also getPhysicalResourceEventSubType().ResourceEvent.PROPERTY_SET,
ResourceEvent.PROPERTY_DELETE:
The physical resource whose properties have been updated.
ResourceEvent.DELETE: null (all physical resources are
deleted when the logical resource is deleted).int getPhysicalResourceEventSubType()
ResourceEvent.SET.| Access 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 2017 SAP AG Complete Copyright Notice