Class sap.suite.ui.generic.template.ObjectPage.extensionAPI.NonDraftTransactionControllerModule: sap/suite/ui/generic/template/ObjectPage/extensionAPI/NonDraftTransactionController


Constructor Summary
new sap.suite.ui.generic.template.ObjectPage.extensionAPI.NonDraftTransactionController()Non Draft transaction controller to be used in extensions of ObjectPage.
Method Summary
sap.suite.ui.generic.template.ObjectPage.extensionAPI.NonDraftTransactionController.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.suite.ui.generic.template.ObjectPage.extensionAPI.NonDraftTransactionController with name sClassName and enriches it with the information contained in oClassInfo.
sap.suite.ui.generic.template.ObjectPage.extensionAPI.NonDraftTransactionController.getMetadata()Returns a metadata object for class sap.suite.ui.generic.template.ObjectPage.extensionAPI.NonDraftTransactionController.
attachAfterCancel(fnFunction)Attach a handler to the cancel event
attachAfterDelete(fnFunction)Attach a handler to the delete event
attachAfterSave(fnFunction)Attach a handler to the save event
detachAfterCancel(fnFunction)Detach a handler from the cancel event
detachAfterDelete(fnFunction)Detach a handler from the delete event
detachAfterSave(fnFunction)Detach a handler from the save event
Constructor Detail
new sap.suite.ui.generic.template.ObjectPage.extensionAPI.NonDraftTransactionController()
Non Draft transaction controller to be used in extensions of ObjectPage. Breakout coding can access an instance of this class via ExtensionAPI.getTransactionController. Do not instantiate yourself.
Method Detail
sap.suite.ui.generic.template.ObjectPage.extensionAPI.NonDraftTransactionController.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.suite.ui.generic.template.ObjectPage.extensionAPI.NonDraftTransactionController with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in Object.extend.

Parameters:
{string}sClassName Name of the class being created
{object}oClassInfo? Object literal with information about the class
{function}FNMetaImpl? Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata
Returns:
{function} Created class / constructor function
sap.suite.ui.generic.template.ObjectPage.extensionAPI.NonDraftTransactionController.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.suite.ui.generic.template.ObjectPage.extensionAPI.NonDraftTransactionController.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
attachAfterCancel(fnFunction)
Attach a handler to the cancel event
Parameters:
{function}fnFunction the handler function
attachAfterDelete(fnFunction)
Attach a handler to the delete event
Parameters:
{function}fnFunction the handler function
attachAfterSave(fnFunction)
Attach a handler to the save event
Parameters:
{function}fnFunction the handler function
detachAfterCancel(fnFunction)
Detach a handler from the cancel event
Parameters:
{function}fnFunction the handler function
detachAfterDelete(fnFunction)
Detach a handler from the delete event
Parameters:
{function}fnFunction the handler function
detachAfterSave(fnFunction)
Detach a handler from the save event
Parameters:
{function}fnFunction the handler function