public class StatemanagementEvent extends Object implements IStatemanagementEvent
IStatemanagementEvent
which is send to inform about state changes.Modifier and Type | Field and Description |
---|---|
static StatemanagementEvent |
ARCHIVE_TEMPLATE |
static StatemanagementEvent |
BACK_IN_PROGRESS_TEMPLATE |
static StatemanagementEvent |
PRE_ARCHIVE_TEMPLATE |
static StatemanagementEvent |
PRE_BACK_IN_PROGRESS_TEMPLATE |
static StatemanagementEvent |
PRE_PUBLISH_TEMPLATE
The event templates
|
static StatemanagementEvent |
PUBLISH_TEMPLATE |
ALL, ARCHIVE, BACK_IN_PROGRESS, PRE_ARCHIVE, PRE_BACK_IN_PROGRESS, PRE_PUBLISH, PUBLISH
Constructor and Description |
---|
StatemanagementEvent(int aType,
IResource aResource)
Construct object of class StatemanagementEvent.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get the Description attribute of the StatemanagementEvent object.
|
String |
getDescription(Locale locale)
Get the Description attribute of the StatemanagementEvent object.
|
String |
getName()
Deprecated.
as of NW04. Please use getType() or getDescription()
|
Object |
getParameter()
Get the Parameter attribute of the StatemanagementEvent object.
|
IResource |
getResource()
Get the Resource attribute of the StatemanagementEvent object.
|
int |
getType()
Get the Type attribute of the StatemanagementEvent object.
|
boolean |
isLike(IEvent template)
Compares the event to a template event like isInstanceOf()
|
boolean |
isSemanticEvent()
Get the SemanticEvent attribute of the StatemanagementEvent object.
|
public static final StatemanagementEvent PRE_PUBLISH_TEMPLATE
public static final StatemanagementEvent PRE_ARCHIVE_TEMPLATE
public static final StatemanagementEvent PRE_BACK_IN_PROGRESS_TEMPLATE
public static final StatemanagementEvent PUBLISH_TEMPLATE
public static final StatemanagementEvent ARCHIVE_TEMPLATE
public static final StatemanagementEvent BACK_IN_PROGRESS_TEMPLATE
public StatemanagementEvent(int aType, IResource aResource)
aType
- The type of the event as defined int IStatemanagementEvent
aResource
- The resource to send the event forpublic boolean isLike(IEvent template)
public IResource getResource()
getResource
in interface IResourceEvent
public String getName()
public String getDescription()
getDescription
in interface IEvent
public String getDescription(Locale locale)
getDescription
in interface IEvent
locale
- the locale to use for the language dependent descriptionpublic int getType()
public Object getParameter()
getParameter
in interface IEvent
public boolean isSemanticEvent()
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 2018 SAP AG Complete Copyright Notice