public abstract class AbstractSyncBusinessObjectDocumentCmdImpl extends AbstractChangeBusinessObjectDocumentCmdImpl implements BusinessObjectDocumentCmd
The abstract sync business object document command is an abstract controller implementation for processing Sync requests. The abstract controller extracts the verb from the requests and create the appropriate tasks to represent the actions. This abstract controller is responsible for the common processing logic and has specific call out to fetch and persist the data that is involved with the request.
Because the processing pattern of a Sync business object document is simular to that of the Change business object document, the controller extends the Change controller.
Constructor and Description |
---|
AbstractSyncBusinessObjectDocumentCmdImpl()
Instantiates an instance of the sync controller business object document command.
|
Modifier and Type | Method and Description |
---|---|
protected BusinessObjectDocumentType | buildConfirmBOD(java.util.Map nounsAndActions, java.util.Map persistentObjects)
This method builds and return the ConfirmBOD response that represents the response of this sync request.
|
protected BusinessObjectDocumentType | buildRespondBusinessObjectDocument(java.util.Map nounsAndActions, java.util.Map persistentObjects)
This method builds and returns the business object document that represents the response of this sync request.
|
protected java.lang.String | getVerbName()
This method returns the Sync verb to indicate the verb that is expected to be part of the request.
|
void | setSyncNounPartActionCommandInterface(java.lang.String syncNounPartActionCmdInterface)
This method sets the command interface name that represents the business logic that will perform the sync noun part tasks.
|
void | setSyncNounPartPostActionCommandInterface(java.lang.String syncNounPartPostActionCmdInterface)
This method sets the command interface name that represents the business logic that will perform the sync noun part tasks.
|
public AbstractSyncBusinessObjectDocumentCmdImpl()
protected java.lang.String getVerbName()
protected final BusinessObjectDocumentType buildRespondBusinessObjectDocument(java.util.Map nounsAndActions, java.util.Map persistentObjects)
protected BusinessObjectDocumentType buildConfirmBOD(java.util.Map nounsAndActions, java.util.Map persistentObjects)
public void setSyncNounPartActionCommandInterface(java.lang.String syncNounPartActionCmdInterface)
public void setSyncNounPartPostActionCommandInterface(java.lang.String syncNounPartPostActionCmdInterface)