wt.fc.delete
Interface DeleteManager

All Known Implementing Classes:
StandardDeleteManager

public interface DeleteManager

The DeleteManager interface identifies the set of methods that applications use to manage the Mark for Delete state of their business objects. While all of the methods declared by this interface execute on the server, they are accessable to client application through a helper class. See DeleteHelper.

Supported API: true

Extendable: false


Method Summary
 Persistable markForDelete(Persistable obj)
          Updates the given Persistable object in the datastore.
 Persistable restoreMarkForDelete(Persistable obj)
          Updates the given Persistable object in the datastore.
 

Method Detail

markForDelete

Persistable markForDelete(Persistable obj)
                          throws WTException
Updates the given Persistable object in the datastore. The markForDelete method ensures that the operation is valid before updating the Persistable object in the datastore.

Supported API: true

Parameters:
obj - The object to be modified in the datastore
Returns:
Persistable
Throws:
WTException

restoreMarkForDelete

Persistable restoreMarkForDelete(Persistable obj)
                                 throws WTException
Updates the given Persistable object in the datastore. The object will nolonger be marked for delete.

Supported API: true

Parameters:
obj - The object to be modified in the datastore
Returns:
Persistable
Throws:
WTException