com.sapportals.wcm.repository.service.statemanagement

Interface IStatemanagementManager

All Superinterfaces:
IRepositoryService

public interface IStatemanagementManager
extends IRepositoryService

A service returned from the service factory using the IWCMConst.STATEMANAGEMENT_SERVICE has to implement this interface. The state management service makes it possible to assign different states to a resource and to define transitions between states. For a particular transition, an approval workflow can be defined.


Method Summary
 IEventSender getEventSender()
          Returns an instance of the event sender of the state management service.
 IStatemanagement getStatemanagement()
          Deprecated. as of NW04. All state management related classes will become resource-dependent. Please use getStatemanagementResource() to handle states and transitions for a single resource.
 IStatemanagementEvent getStatemanagementEventTemplate(int type)
          Get a IStatemanagementEvent-template for the given IStatemanagementEvent-type.
 IStatemanagementUtils getStatemanagementUtils()
          Deprecated. as of NW04. All state management related classes will become resource-dependent please use getStatemanagementResource().getUtils() to handle persistent storage of state management related data
 IStatemanagementResource getStatemangementResource(IResource impResource)
          Gets an instance of the IStatemanagementResource for a resource.
 
Methods inherited from interface com.sapportals.wcm.repository.service.IRepositoryService
acceptServletCall, getDescription, getDescription, getID, getServiceType
 

Method Detail

getStatemanagement

public IStatemanagement getStatemanagement()
Deprecated. as of NW04. All state management related classes will become resource-dependent. Please use getStatemanagementResource() to handle states and transitions for a single resource.

Returns the IStatemanagement interface to work with states and transitions

Returns:
instance of IStatemanagement

getStatemanagementUtils

public IStatemanagementUtils getStatemanagementUtils()
Deprecated. as of NW04. All state management related classes will become resource-dependent please use getStatemanagementResource().getUtils() to handle persistent storage of state management related data

Gets the IStatemanagementUtils interface to enable persistent storage of state management information

Returns:
instance of statemanagement utils

getEventSender

public IEventSender getEventSender()
Returns an instance of the event sender of the state management service. Can be null.

Returns:
instance of event sender

getStatemangementResource

public IStatemanagementResource getStatemangementResource(IResource impResource)
                                                   throws StatemanagementException,
                                                          WcmException
Gets an instance of the IStatemanagementResource for a resource. This is the central class for dealing with states and transitions for a resource.

Parameters:
impResource - the resource to get the instance for
Returns:
an instance of the state management resource, can be null
Throws:
StatemanagementException
WcmException

getStatemanagementEventTemplate

public IStatemanagementEvent getStatemanagementEventTemplate(int type)
Get a IStatemanagementEvent-template for the given IStatemanagementEvent-type.

Parameters:
type - the IStatemanagementEvent-type to get the template for.
Returns:
an IStatemanagementEvent-template for the given type or null if the given type is not valid.


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.