wt.dataops.purge
Interface PurgeService

All Known Implementing Classes:
PurgeServiceFwd, StandardPurgeService

public interface PurgeService



Supported API: false

Extendable: false


Method Summary
 PurgeResult purge(PurgeRecord purgeRecord, WTCollection objectsToPurge, ConflictResolution[] resolutions, Locale locale)
          Performs the purge operation on the collection of objects passed.
 

Method Detail

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

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