wt.fc.delete
Class DeleteManagerFwd
java.lang.Object
wt.fc.delete.DeleteManagerFwd
- All Implemented Interfaces:
- DeleteManager, RemoteAccess, Serializable
- public class DeleteManagerFwd
- extends Object
- implements RemoteAccess, DeleteManager, Serializable
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: false
Extendable: false
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVER
static final boolean SERVER
FC_RESOURCE
private static final String FC_RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
DeleteManagerFwd
public DeleteManagerFwd()
getManager
private static Manager getManager()
throws WTException
- Returns:
- Manager
- Throws:
WTException
markForDelete
public 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: false
- Specified by:
markForDelete
in interface DeleteManager
- Parameters:
obj
- The object to be modified in the datastore
- Returns:
- Persistable
- Throws:
WTException
restoreMarkForDelete
public Persistable restoreMarkForDelete(Persistable obj)
throws WTException
- Updates the given Persistable object in the datastore. The object
will nolonger be marked for delete.
Supported API: false
- Specified by:
restoreMarkForDelete
in interface DeleteManager
- Parameters:
obj
- The object to be modified in the datastore
- Returns:
- Persistable
- Throws:
WTException
makeUnrestorable
public Persistable makeUnrestorable(Persistable obj)
throws WTException
- Makes the marked-for-delete object unrestorable.
- Specified by:
makeUnrestorable
in interface DeleteManager
- Parameters:
obj
-
- Returns:
- The unrestorable object
- Throws:
WTException