|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.fc.delete.StandardDeleteManager
StandardDeleteManager is a concrete persistent manager targeted for WTObject classes.
Use the newStandardDeleteManager
static factory method(s),
not the StandardDeleteManager
constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
FC_RESOURCE
|
private static String |
RESOURCE
|
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardDeleteManager()
|
Method Summary | |
protected void |
checkMarkForDelete(Persistable obj)
Ensure that it is valid to store the given persistable object into the datastore. |
private void |
dispatchVetoableEvent(DeleteManagerEvent a_event)
|
protected void |
dispatchVetoableEvent(String eventType,
Persistable obj)
Supported API: false |
String |
getConceptualClassname()
Deprecated. |
Persistable |
makeUnrestorable(Persistable obj)
Makes the marked-for-delete object unrestorable. |
Persistable |
markForDelete(Persistable obj)
Updates the given Persistable object in the datastore. |
static StandardDeleteManager |
newStandardDeleteManager()
Default factory for the class. |
void |
registerEvents(ManagerService ms)
Register events with the passed ManagerService. |
Persistable |
restoreMarkForDelete(Persistable obj)
Updates the given Persistable object in the datastore. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String FC_RESOURCE
Constructor Detail |
public StandardDeleteManager()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
protected void checkMarkForDelete(Persistable obj) throws WTException
obj
-
WTException
protected void dispatchVetoableEvent(String eventType, Persistable obj) throws WTException
eventType
- obj
-
WTException
public void registerEvents(ManagerService ms)
registerEvents
in interface Manager
registerEvents
in class StandardManager
ms
- public static StandardDeleteManager newStandardDeleteManager() throws WTException
WTException
public Persistable markForDelete(Persistable obj) throws WTException
markForDelete
in interface DeleteManager
obj
- The object to be modified in the datastore
WTException
public Persistable restoreMarkForDelete(Persistable obj) throws WTException
restoreMarkForDelete
in interface DeleteManager
obj
- The object to be modified in the datastore
WTException
public Persistable makeUnrestorable(Persistable obj) throws WTException
makeUnrestorable
in interface DeleteManager
obj
-
WTException
private void dispatchVetoableEvent(DeleteManagerEvent a_event) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |