com.sapportals.wcm.repository.service.discussion

Class SingleDiscPersistenceData

java.lang.Object
  extended bycom.sapportals.wcm.repository.service.discussion.SingleDiscPersistenceData
All Implemented Interfaces:
IControlStatus

public class SingleDiscPersistenceData
extends Object
implements IControlStatus


Field Summary
static String SINGLE_DISC_PERSISTENCE_DATA_CACHE_ID
           
 
Constructor Summary
SingleDiscPersistenceData()
           
 
Method Summary
 StatusInformation execute(IExecutable arg0)
          carries out the action described by the given parameter.
 StatusInformation execute(String arg0)
          different signature for this method.
 IExecutable getAction(FieldIdentifier arg0)
          returns the IExecutable with the given ident-parameter or null , if no such instance could be found.
 List getActions()
          returns a list with all IExecutable s defined by the implementing class
 String getAllItems()
           
 Vector getCurrentPostsListRidVector()
           
 IField getField(FieldIdentifier arg0)
          returns the field with the given ident-parameter or null , if no such instance could be found.
 List getFields()
          returns a list with all fields defined by the implementing class
 String getID()
          returns the ID under which this status was registered by the Service
 String getItemsPerPage()
           
 String getMarkPostsID()
           
 IResource getSelectedPostInTree()
           
 String getStartRow()
           
 StatusInformation getStatusInformation()
          returns the status of the implementing class.
 String getTopicRepliesFolder()
           
 void setAllItems(String string)
           
 void setCurrentPostsListRidVector(Vector vector)
           
 void setID(String controlStatusID)
          sets the ID under which this status was registered by the service this field is set by the service and must not be altered afterwards.
 void setItemsPerPage(String itemsPerPage)
           
 void setMarkPostsID(String string)
           
 void setSelectedPostInTree(IResource resource)
           
 void setStartRow(String startRow)
           
 void setTopicRepliesFolder(String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SINGLE_DISC_PERSISTENCE_DATA_CACHE_ID

public static String SINGLE_DISC_PERSISTENCE_DATA_CACHE_ID
Constructor Detail

SingleDiscPersistenceData

public SingleDiscPersistenceData()
Method Detail

getItemsPerPage

public String getItemsPerPage()

getStartRow

public String getStartRow()

setItemsPerPage

public void setItemsPerPage(String itemsPerPage)

setStartRow

public void setStartRow(String startRow)

getMarkPostsID

public String getMarkPostsID()

setMarkPostsID

public void setMarkPostsID(String string)

getAllItems

public String getAllItems()

setAllItems

public void setAllItems(String string)

getCurrentPostsListRidVector

public Vector getCurrentPostsListRidVector()

setCurrentPostsListRidVector

public void setCurrentPostsListRidVector(Vector vector)

getSelectedPostInTree

public IResource getSelectedPostInTree()
Returns:

setSelectedPostInTree

public void setSelectedPostInTree(IResource resource)
Parameters:
resource -

getTopicRepliesFolder

public String getTopicRepliesFolder()
Returns:

setTopicRepliesFolder

public void setTopicRepliesFolder(String string)
Parameters:
string -

execute

public StatusInformation execute(IExecutable arg0)
                          throws WcmException
Description copied from interface: IControlStatus
carries out the action described by the given parameter.

Specified by:
execute in interface IControlStatus
Parameters:
arg0 - TBD: Description of the incoming method parameter
Returns:
the status of the execution - can be null.
Throws:
WcmException - Exception raised in failure situation

execute

public StatusInformation execute(String arg0)
                          throws WcmException
Description copied from interface: IControlStatus
different signature for this method. The implementation must iterate through its defined list of IExecutable objects. If the given parameter matches the IExecutable 's getIdentifier.getID , this IExecutable must be passed to the other signature of this method.

Specified by:
execute in interface IControlStatus
Parameters:
arg0 - TBD: Description of the incoming method parameter
Returns:
TBD: Description of the outgoing return value
Throws:
WcmException - Exception raised in failure situation

getField

public IField getField(FieldIdentifier arg0)
Description copied from interface: IControlStatus
returns the field with the given ident-parameter or null , if no such instance could be found.

Specified by:
getField in interface IControlStatus
Parameters:
arg0 - TBD: Description of the incoming method parameter
Returns:
field

getAction

public IExecutable getAction(FieldIdentifier arg0)
Description copied from interface: IControlStatus
returns the IExecutable with the given ident-parameter or null , if no such instance could be found.

Specified by:
getAction in interface IControlStatus
Parameters:
arg0 - TBD: Description of the incoming method parameter
Returns:
action

getFields

public List getFields()
Description copied from interface: IControlStatus
returns a list with all fields defined by the implementing class

Specified by:
getFields in interface IControlStatus
Returns:
fields

getActions

public List getActions()
Description copied from interface: IControlStatus
returns a list with all IExecutable s defined by the implementing class

Specified by:
getActions in interface IControlStatus
Returns:
actions

getStatusInformation

public StatusInformation getStatusInformation()
Description copied from interface: IControlStatus
returns the status of the implementing class. This status is obtained by asking all of the fields of the implementing class for their status. The first class, that returns a status != null will be used and its status will be returned. Consequently, this method might return null

Specified by:
getStatusInformation in interface IControlStatus
Returns:
statusInformation

getID

public String getID()
Description copied from interface: IControlStatus
returns the ID under which this status was registered by the Service

Specified by:
getID in interface IControlStatus
Returns:
iD

setID

public void setID(String controlStatusID)
Description copied from interface: IControlStatus
sets the ID under which this status was registered by the service this field is set by the service and must not be altered afterwards.

Specified by:
setID in interface IControlStatus
Parameters:
controlStatusID - iD to be set


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.