SAP NetWeaver '04

com.sapportals.wcm.repository.service.statemanagement.cm
Class StatemanagementEvent

[contained in: com.sap.km.cm.repository.service.base.par - km.shared.repository.service.statemanagement_api.jar]
java.lang.Object
  |
  +--com.sapportals.wcm.repository.service.statemanagement.cm.StatemanagementEvent
All Implemented Interfaces:
IEvent, IResourceEvent, IStatemanagementEvent

public class StatemanagementEvent
extends java.lang.Object
implements IStatemanagementEvent

The implementation of the IStatemanagementEvent which is send to inform about state changes.


Field Summary
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
           
 
Fields inherited from interface com.sapportals.wcm.repository.service.statemanagement.IStatemanagementEvent
ALL, ARCHIVE, BACK_IN_PROGRESS, PRE_ARCHIVE, PRE_BACK_IN_PROGRESS, PRE_PUBLISH, PUBLISH
 
Constructor Summary
StatemanagementEvent(int aType, IResource aResource)
          Construct object of class StatemanagementEvent.
 
Method Summary
 java.lang.String getDescription()
          Get the Description attribute of the StatemanagementEvent object.
 java.lang.String getDescription(java.util.Locale locale)
          Get the Description attribute of the StatemanagementEvent object.
 java.lang.String getName()
          Deprecated. as of NW04. Please use getType() or getDescription()
 java.lang.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRE_PUBLISH_TEMPLATE

public static final StatemanagementEvent PRE_PUBLISH_TEMPLATE
The event templates

PRE_ARCHIVE_TEMPLATE

public static final StatemanagementEvent PRE_ARCHIVE_TEMPLATE

PRE_BACK_IN_PROGRESS_TEMPLATE

public static final StatemanagementEvent PRE_BACK_IN_PROGRESS_TEMPLATE

PUBLISH_TEMPLATE

public static final StatemanagementEvent PUBLISH_TEMPLATE

ARCHIVE_TEMPLATE

public static final StatemanagementEvent ARCHIVE_TEMPLATE

BACK_IN_PROGRESS_TEMPLATE

public static final StatemanagementEvent BACK_IN_PROGRESS_TEMPLATE
Constructor Detail

StatemanagementEvent

public StatemanagementEvent(int aType,
                            IResource aResource)
Construct object of class StatemanagementEvent.
Parameters:
aType - The type of the event as defined int IStatemanagementEvent
aResource - The resource to send the event for
Method Detail

isLike

public boolean isLike(IEvent template)
Compares the event to a template event like isInstanceOf()
Specified by:
isLike in interface IEvent
Parameters:
template - the template event to compare this event to
Returns:
The Like value

getResource

public IResource getResource()
Get the Resource attribute of the StatemanagementEvent object.
Specified by:
getResource in interface IResourceEvent
Returns:
The Resource value

getName

public java.lang.String getName()
Deprecated. as of NW04. Please use getType() or getDescription()

Returns:
The Name value

getDescription

public java.lang.String getDescription()
Get the Description attribute of the StatemanagementEvent object.
Specified by:
getDescription in interface IEvent
Returns:
The Description value

getDescription

public java.lang.String getDescription(java.util.Locale locale)
Get the Description attribute of the StatemanagementEvent object.
Specified by:
getDescription in interface IEvent
Parameters:
locale - the locale to use for the language dependent description
Returns:
A language dependet description of the event

getType

public int getType()
Get the Type attribute of the StatemanagementEvent object.
Specified by:
getType in interface IEvent
Returns:
The Type value

getParameter

public java.lang.Object getParameter()
Get the Parameter attribute of the StatemanagementEvent object.
Specified by:
getParameter in interface IEvent
Returns:
The Parameter value

isSemanticEvent

public boolean isSemanticEvent()
Get the SemanticEvent attribute of the StatemanagementEvent object.
Returns:
The SemanticEvent value

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.