Class sap.suite.ui.generic.template.ObjectPage.extensionAPI.DraftTransactionControllerModule: sap/suite/ui/generic/template/ObjectPage/extensionAPI/DraftTransactionController


Constructor Summary
new sap.suite.ui.generic.template.ObjectPage.extensionAPI.DraftTransactionController()Draft transaction controller to be used in extensions of ObjectPage.
Method Summary
attachAfterActivate(fnFunction)Attach a handler to the activate event
attachAfterCancel(fnFunction)Attach a handler to the discard event
attachAfterDelete(fnFunction)Attach a handler to the delete event
detachAfterActivate(fnFunction)Detach a handler from the activate event
detachAfterCancel(fnFunction)Detach a handler from the discard event
detachAfterDelete(fnFunction)Detach a handler from the delete event
Constructor Detail
new sap.suite.ui.generic.template.ObjectPage.extensionAPI.DraftTransactionController()
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
attachAfterActivate(fnFunction)
Attach a handler to the activate event
Parameters:
{function}fnFunction the handler function
attachAfterCancel(fnFunction)
Attach a handler to the discard event
Parameters:
{function}fnFunction the handler function
attachAfterDelete(fnFunction)
Attach a handler to the delete event
Parameters:
{function}fnFunction the handler function
detachAfterActivate(fnFunction)
Detach a handler from the activate event
Parameters:
{function}fnFunction the handler function
detachAfterCancel(fnFunction)
Detach a handler from the discard event
Parameters:
{function}fnFunction the handler function
detachAfterDelete(fnFunction)
Detach a handler from the delete event
Parameters:
{function}fnFunction the handler function