com.sap.mdm.commands
Class AbstractCommand

java.lang.Object
  extended bycom.sap.mdm.commands.AbstractCommandBase
      extended bycom.sap.mdm.commands.AbstractCommand
All Implemented Interfaces:
Command, PassportSupport
Direct Known Subclasses:
AbstractSessionCommand, AddPublicationOfRecordSetTypeCommand, AddPublicationOfRecordSetTypeCommand, AuthenticateRepositorySessionCommand, AuthenticateServerSessionCommand, AuthenticateUserSessionCommand, CloseLayoutServerSessionCommand, CloseLayoutServerSessionCommand, DeregisterFromGlobalNotificationsCommand, DeregisterFromGlobalNotificationsCommand, GetCachedPrintableContentCommand, GetCachedPrintableContentCommand, GetCharStyleWorkspacePropertyBagCommand, GetCharStyleWorkspacePropertyBagCommand, GetDefaultItemNodePropertyBagCommand, GetDefaultItemNodePropertyBagCommand, GetDefaultStyleWorkspacePropertyBagCommand, GetDefaultStyleWorkspacePropertyBagCommand, GetExpandedFieldValuesCommand, GetFormattedMDSFieldValuesCommand, GetItemSchemaDefaultNodePropertyBagCommand, GetItemSchemaDefaultNodePropertyBagCommand, GetLivePrintableContentCommand, GetLivePrintableContentCommand, GetNodePropertyBagCommand, GetNodePropertyBagCommand, GetNodeRecordDataCommand, GetNodeTablePropertiesPropertyBagCommand, GetNodeTablePropertiesPropertyBagCommand, GetOrderingNodePropertyBagCommand, GetOrderingNodePropertyBagCommand, GetPageNumbersForPresentationNodeCommand, GetPagesForSectionCommand, GetPagesForSectionCommand, GetPageWorkspacePropertyBagCommand, GetPageWorkspacePropertyBagCommand, GetPaperPrintableLayoutCommand, GetPaperPrintableLayoutCommand, GetPartialItemSchemaDefaultNodePropertyBagCommand, GetPartialItemSchemaDefaultNodePropertyBagCommand, GetPresentationRecordsMatchingFieldValueCommand, GetPublicationListCommand, GetPublicationListCommand, GetPublicationTreeCommand, GetPublicationTreeCommand, GetPublisherNodesMatchingSearchResultsCommand, GetPublisherNodesMatchingSearchResultsCommand, GetRecordIdsForOnePresentationNodeCommand, GetRecordIdsForOnePresentationNodeCommand, GetSortedFieldValuesCommand, GetStyleWorkspacePropertyBagCommand, GetStyleWorkspacePropertyBagCommand, GetSwatchWorkspacePropertyBagCommand, GetSwatchWorkspacePropertyBagCommand, GetTableLayoutNodePropertyBagCommand, GetTableLayoutNodePropertyBagCommand, GetTagWorkspacePropertyBagCommand, GetTagWorkspacePropertyBagCommand, GetXSDForCharStyleWorkspacePropertyBagCommand, GetXSDForCharStyleWorkspacePropertyBagCommand, GetXSDForDefaultItemNodePropertyBagCommand, GetXSDForDefaultItemNodePropertyBagCommand, GetXSDForDefaultStyleWorkspacePropertyBagCommand, GetXSDForDefaultStyleWorkspacePropertyBagCommand, GetXSDForNodePropertyBagCommand, GetXSDForNodePropertyBagCommand, GetXSDForNodeTablePropertiesPropertyBagCommand, GetXSDForNodeTablePropertiesPropertyBagCommand, GetXSDForOrderingNodePropertyBagCommand, GetXSDForOrderingNodePropertyBagCommand, GetXSDForPageWorkspacePropertyBagCommand, GetXSDForPageWorkspacePropertyBagCommand, GetXSDForStyleWorkspacePropertyBagCommand, GetXSDForStyleWorkspacePropertyBagCommand, GetXSDForSwatchWorkspacePropertyBagCommand, GetXSDForSwatchWorkspacePropertyBagCommand, GetXSDForTableLayoutNodePropertyBagCommand, GetXSDForTableLayoutNodePropertyBagCommand, GetXSDForTagWorkspacePropertyBagCommand, GetXSDForTagWorkspacePropertyBagCommand, RecalculateNodePresentationLayoutObjectsCommand, RecalculateNodePresentationLayoutObjectsCommand, RegisterForGlobalNotificationsCommand, RegisterForGlobalNotificationsCommand, SetCharStyleWorkspacePropertyBagCommand, SetCharStyleWorkspacePropertyBagCommand, SetDefaultItemNodePropertyBagCommand, SetDefaultItemNodePropertyBagCommand, SetDefaultStyleWorkspacePropertyBagCommand, SetDefaultStyleWorkspacePropertyBagCommand, SetNodePropertyBagCommand, SetNodePropertyBagCommand, SetNodeTablePropertiesPropertyBagCommand, SetNodeTablePropertiesPropertyBagCommand, SetOrderingNodePropertyBagCommand, SetOrderingNodePropertyBagCommand, SetPageWorkspacePropertyBagCommand, SetPageWorkspacePropertyBagCommand, SetStyleWorkspacePropertyBagCommand, SetStyleWorkspacePropertyBagCommand, SetSwatchWorkspacePropertyBagCommand, SetSwatchWorkspacePropertyBagCommand, SetTableLayoutNodePropertyBagCommand, SetTableLayoutNodePropertyBagCommand, SetTagWorkspacePropertyBagCommand, SetTagWorkspacePropertyBagCommand, SetUnicodeNormalizationCommand, TrustedRepositorySessionCommand, TrustedServerSessionCommand, TrustedUserSessionCommand

public abstract class AbstractCommand
extends AbstractCommandBase

This abstract class specifies a command with a session.


Constructor Summary
AbstractCommand()
          Empty constructor
AbstractCommand(ConnectionAccessor connection)
          Constructs with the specified parameter.
 
Method Summary
 String getSession()
          Returns the session for the command.
 void setSession(String session)
          Sets the session for the command (required).
 
Methods inherited from class com.sap.mdm.commands.AbstractCommandBase
execute, getPassport, isCommandComplete, setPassport
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCommand

public AbstractCommand()
Empty constructor


AbstractCommand

public AbstractCommand(ConnectionAccessor connection)
Constructs with the specified parameter.

Parameters:
connection - a connection to the MDM server
Method Detail

setSession

public void setSession(String session)
Sets the session for the command (required).

Parameters:
session - a session

getSession

public String getSession()
Returns the session for the command.

Returns:
the session


Copyright 2004-2007 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.