wt.dataops.purge
Class PurgeServiceFwd
java.lang.Object
wt.dataops.purge.PurgeServiceFwd
- All Implemented Interfaces:
- PurgeService, RemoteAccess, Serializable
- public class PurgeServiceFwd
- extends Object
- implements RemoteAccess, PurgeService, Serializable
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
PurgeServiceFwd
public PurgeServiceFwd()
getManager
private static Manager getManager()
throws WTException
- Returns:
- Manager
- Throws:
WTException
purge
public PurgeResult purge(PurgeRecord purgeRecord,
WTCollection objectsToPurge,
ConflictResolution[] resolutions,
Locale locale)
throws WTException
- Performs the purge operation on the collection of objects passed.
The operation will try to purge as many of the objects as possible.
The operation will create log of the operation and the log of objects
deleted using the locale passed.
Return PurgeResult containing the status of purge operation and objects
that could not be purged.
Supported API: false
- Specified by:
purge
in interface PurgeService
- Parameters:
purgeRecord
- Purge record to be used for creating log and operand list logobjectsToPurge
- Collection of objects to be purgedresolutions
- User specified resolutions for overridable conflictslocale
- Locale to be used for the messages in logs.
- Returns:
- PurgeResult
- Throws:
WTException