@Scriptable public final class ShareFeedUtil extends Object
Modifier and Type | Method and Description |
---|---|
static void |
deleteArchivedFeeds(IProcessingContext p_ctx,
long p_lDelay)
Delete archived feeds.
|
static void |
deleteFeeds(IProcessingContext p_ctx,
String p_strDataGroupGuid,
Collection<String> p_recordIds,
boolean p_bSeparateTransactionPerCycle)
Delete feeds for data records of a data group for which plugins are defined.
|
static void |
deleteFeedsFromDeletedEvents(IProcessingContext p_ctx)
Delete feeds from deleted events.
|
static void |
deleteFeedsFromDeletedGroups(IProcessingContext p_ctx)
Delete feeds from deleted groups.
|
static void |
deleteFeedsMarkedAsDeleted(IProcessingContext p_ctx,
long p_lDelay)
Delete feeds marked as deleted.
|
static void |
deleteFeedsWithInvalidReferences(IProcessingContext p_ctx)
Delete feeds with invalid references, i.e. feeds that reference non-existent data records.
|
static String |
getFeedPluginRecordId(IProcessingContext p_ctx,
Collection<String> p_fieldGuids,
Collection<Object> p_values) |
public static void deleteArchivedFeeds(IProcessingContext p_ctx, long p_lDelay) throws Exception
p_ctx
- The processing context.p_lDelay
- The delay. Delete feeds that have been archived since at least p_lDelay milliseconds.Exception
public static void deleteFeedsMarkedAsDeleted(IProcessingContext p_ctx, long p_lDelay) throws Exception
p_ctx
- The processing context.p_lDelay
- The delay. Delete feeds that have been marked as deleted since at least p_lDelay milliseconds.Exception
public static void deleteFeedsFromDeletedGroups(IProcessingContext p_ctx) throws Exception
p_ctx
- The processing context.Exception
public static void deleteFeedsFromDeletedEvents(IProcessingContext p_ctx) throws Exception
p_ctx
- The processing context.Exception
public static void deleteFeedsWithInvalidReferences(IProcessingContext p_ctx) throws Exception
p_ctx
- The processing context.Exception
public static void deleteFeeds(IProcessingContext p_ctx, String p_strDataGroupGuid, Collection<String> p_recordIds, boolean p_bSeparateTransactionPerCycle) throws Exception
p_ctx
- The processing context.p_strDataGroupGuid
- The data group.p_recordIds
- The record IDs.p_bSeparateTransactionPerCycle
- true
to use a separate transaction per cycle, false
otherwise.Exception
public static String getFeedPluginRecordId(IProcessingContext p_ctx, Collection<String> p_fieldGuids, Collection<Object> p_values) throws Exception
p_ctx
- The processing context.p_fieldGuids
- The collection of primary key field GUIDs of a plugin data record.p_values
- The collection of values for the primary key fields.Exception