com.sapportals.wcm.service.indexmanagement

Class IndexServiceEvent

java.lang.Object
  extended bycom.sapportals.wcm.repository.manager.ResourceEvent
      extended bycom.sapportals.wcm.service.indexmanagement.IndexServiceEvent
All Implemented Interfaces:
IEvent, IIndexServiceEvent, IResourceEvent

public class IndexServiceEvent
extends ResourceEvent
implements IIndexServiceEvent

This event is send by the event mapper if another service send an event. In the index service event the original event is stored


Field Summary
 
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
 
Constructor Summary
IndexServiceEvent(int type, IResource resource, Object param, IResourceEvent originalEvent)
          Construct object of class IndexServiceEvent.
 
Method Summary
 RID getEventRID()
          Gets the RID of the resource stored in the event.
 IResourceEvent getOriginalEvent()
          Get the OriginalEvent attribute of the IndexServiceEvent object.
 IResource getResource()
          Gets the resource of the event.
 void setEventRID(RID eventRID)
          Sets the RID of the resource stored in the event.
 void setResource(IResource resource)
          Sets the resource of the event.
 
Methods inherited from class com.sapportals.wcm.repository.manager.ResourceEvent
getClientId, getCorrelationId, getDescription, getDescription, getParameter, getReceiverProperty, getResourceContext, getType, getUniqueId, isLike, isPostEvent, isPreEvent, 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.util.events.IEvent
getDescription, getDescription, getParameter, getType, isLike
 

Constructor Detail

IndexServiceEvent

public IndexServiceEvent(int type,
                         IResource resource,
                         Object param,
                         IResourceEvent originalEvent)
Construct object of class IndexServiceEvent.

Parameters:
type - type of mapped event
resource - resource that caused the event
param - event parameter
originalEvent - original event
Method Detail

getOriginalEvent

public IResourceEvent getOriginalEvent()
Get the OriginalEvent attribute of the IndexServiceEvent object.

Specified by:
getOriginalEvent in interface IIndexServiceEvent
Returns:
The OriginalEvent value

getEventRID

public RID getEventRID()
Description copied from interface: IIndexServiceEvent
Gets the RID of the resource stored in the event.

Specified by:
getEventRID in interface IIndexServiceEvent
Returns:
The OriginalEvent value

setEventRID

public void setEventRID(RID eventRID)
Description copied from interface: IIndexServiceEvent
Sets the RID of the resource stored in the event.

Specified by:
setEventRID in interface IIndexServiceEvent
Parameters:
eventRID -
Returns:
The OriginalEvent value

getResource

public IResource getResource()
Description copied from interface: IIndexServiceEvent
Gets the resource of the event.

Specified by:
getResource in interface IIndexServiceEvent
Overrides:
getResource in class ResourceEvent

setResource

public void setResource(IResource resource)
Description copied from interface: IIndexServiceEvent
Sets the resource of the event.

Specified by:
setResource in interface IIndexServiceEvent
Parameters:
resource -


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. 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.