SAP NetWeaver '04

com.sapportals.wcm.repository.service.timebasedpublish.wcm
Class TimebasedPublishEvent

[contained in: com.sap.km.cm.repository.service.base.par - km.shared.repository.service.timebasedpublish_api.jar]
java.lang.Object
  |
  +--com.sapportals.wcm.repository.manager.ResourceEvent
        |
        +--com.sapportals.wcm.repository.service.timebasedpublish.wcm.TimebasedPublishEvent
All Implemented Interfaces:
IEvent, IResourceEvent, ITimebasedPublishEvent

public class TimebasedPublishEvent
extends ResourceEvent
implements ITimebasedPublishEvent

Copyright 2004 SAP AG


Field Summary
static TimebasedPublishEvent EVENT_TYPE_PRE_START_TEMPLATE
          The event templates
static TimebasedPublishEvent EVENT_TYPE_PRE_STOP_TEMPLATE
           
static TimebasedPublishEvent EVENT_TYPE_START_TEMPLATE
           
static TimebasedPublishEvent EVENT_TYPE_STOP_TEMPLATE
           
 
Fields inherited from class com.sapportals.wcm.repository.manager.ResourceEvent
ALL, ALL_TEMPLATE, CHECKIN, CHECKIN_TEMPLATE, CHECKOUT, CHECKOUT_TEMPLATE, clientId, COPY, COPY_TEMPLATE, correlationId, CREATE_CHILD, CREATE_CHILD_TEMPLATE, CREATE_COLLECTION, CREATE_COLLECTION_TEMPLATE, CREATE_LINK, CREATE_LINK_TEMPLATE, DELETE, DELETE_TEMPLATE, ENABLE_VERSIONING, ENABLE_VERSIONING_TEMPLATE, GET, GET_CHILDREN, GET_CHILDREN_TEMPLATE, GET_TEMPLATE, LOCK, LOCK_TEMPLATE, MIGRATION, MIGRATION_TEMPLATE, MOVE, MOVE_TEMPLATE, param, PRE_CHECKIN, PRE_CHECKIN_TEMPLATE, PRE_DELETE, PRE_DELETE_TEMPLATE, PRE_MOVE, PRE_MOVE_TEMPLATE, PRE_RENAME, PRE_RENAME_TEMPLATE, PRE_SET, PRE_SET_TEMPLATE, PROPERTY_DELETE, PROPERTY_DELETE_TEMPLATE, PROPERTY_GET, PROPERTY_GET_TEMPLATE, PROPERTY_SET, PROPERTY_SET_TEMPLATE, RENAME, RENAME_TEMPLATE, resource, resourceContext, SET, SET_TEMPLATE, type, UNDO_CHECKOUT, UNDO_CHECKOUT_TEMPLATE, uniqueId, UNLOCK, UNLOCK_TEMPLATE, UPDATE_LINK, UPDATE_LINK_TEMPLATE
 
Fields inherited from interface com.sapportals.wcm.repository.service.timebasedpublish.ITimebasedPublishEvent
EVENT_TYPE_PRE_START, EVENT_TYPE_PRE_STOP, EVENT_TYPE_START, EVENT_TYPE_STOP
 
Constructor Summary
TimebasedPublishEvent(int impType, IResource impResource)
          Create resource event from type and resource.
 
Method Summary
 boolean isLike(IEvent template)
          Checks if two events are of the same type.
 
Methods inherited from class com.sapportals.wcm.repository.manager.ResourceEvent
getClientId, getCorrelationId, getDescription, getDescription, getParameter, getReceiverProperty, getResource, getResourceContext, getType, getUniqueId, setReceiverProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sapportals.wcm.repository.manager.IResourceEvent
getResource
 
Methods inherited from interface com.sapportals.wcm.util.events.IEvent
getDescription, getDescription, getParameter, getType
 

Field Detail

EVENT_TYPE_PRE_START_TEMPLATE

public static final TimebasedPublishEvent EVENT_TYPE_PRE_START_TEMPLATE
The event templates

EVENT_TYPE_PRE_STOP_TEMPLATE

public static final TimebasedPublishEvent EVENT_TYPE_PRE_STOP_TEMPLATE

EVENT_TYPE_START_TEMPLATE

public static final TimebasedPublishEvent EVENT_TYPE_START_TEMPLATE

EVENT_TYPE_STOP_TEMPLATE

public static final TimebasedPublishEvent EVENT_TYPE_STOP_TEMPLATE
Constructor Detail

TimebasedPublishEvent

public TimebasedPublishEvent(int impType,
                             IResource impResource)
Create resource event from type and resource.
Parameters:
type - The type for this event (action).
resource - The resource that caused the event.
Method Detail

isLike

public boolean isLike(IEvent template)
Description copied from interface: ITimebasedPublishEvent
Checks if two events are of the same type. This is not a parity comparison, because true is returned even if other event properties differ.
Specified by:
isLike in interface ITimebasedPublishEvent
Overrides:
isLike in class ResourceEvent
Following copied from interface: com.sapportals.wcm.repository.service.timebasedpublish.ITimebasedPublishEvent
Returns:
true, if the events have the same type

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.