wt.dataops.purge
Class PurgeServiceFwd

java.lang.Object
  extended bywt.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

Field Summary
private static String CLASSNAME
           
private static String FC_RESOURCE
           
(package private) static boolean SERVER
           
 
Fields inherited from interface wt.method.RemoteAccess
versionID
 
Constructor Summary
PurgeServiceFwd()
           
 
Method Summary
private static Manager getManager()
           
 PurgeResult purge(PurgeRecord purgeRecord, WTCollection objectsToPurge, ConflictResolution[] resolutions, Locale locale)
          Performs the purge operation on the collection of objects passed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVER

static final boolean SERVER

FC_RESOURCE

private static final String FC_RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

PurgeServiceFwd

public PurgeServiceFwd()
Method Detail

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 log
objectsToPurge - Collection of objects to be purged
resolutions - User specified resolutions for overridable conflicts
locale - Locale to be used for the messages in logs.
Returns:
PurgeResult
Throws:
WTException