com.sapportals.wcm.repository.variants
Interface IVariantResourceEvent
- All Superinterfaces:
- IEvent, IResourceEvent
- All Known Implementing Classes:
- VariantResourceEvent
public interface IVariantResourceEvent
- extends IResourceEvent
This interface is an extension of resource events generated for logical variant resources. Events of this type are
generated when a logical or physical variant resource is modified via the 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)
This event's sub-type extends the resource event with information about the physical resource that was created, modified
or deleted (directly or implicitly by a method called for the logical resource).
getPhysicalResource
IResource getPhysicalResource()
- Returns the phsysical resource attached to this event or
null. Note: This is not always the same physical resource
associated with the logical resource of this event.
Depending on the type and sub-type of this event the return value has the following meaning:
- Returns:
- the phsysical resource attached to this event.
getPhysicalResourceEventSubType
int getPhysicalResourceEventSubType()
- Returns the event sub-type indicating the operation performed on the physical resource if the
event type is
ResourceEvent.SET.
- Returns:
This class can be accessed from:
|
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 2011 SAP AG Complete Copyright Notice