wt.dataops.purge
Interface PurgeService
- All Known Implementing Classes:
- PurgeServiceFwd, StandardPurgeService
- public interface PurgeService
Supported API: false
Extendable: false
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 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