Class ShareFeedUtil
java.lang.Object
de.uplanet.lucy.server.share.businesslogic.feed.util.ShareFeedUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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
Delete feeds from deleted events.static void
Delete feeds from deleted groups.static void
deleteFeedsMarkedAsDeleted
(IProcessingContext p_ctx, long p_lDelay) Delete feeds marked as deleted.static void
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)
-
Method Details
-
deleteArchivedFeeds
Delete archived feeds. For usage in Share administration workflow.- Parameters:
p_ctx
- The processing context.p_lDelay
- The delay. Delete feeds that have been archived since at least p_lDelay milliseconds.- Throws:
Exception
-
deleteFeedsMarkedAsDeleted
public static void deleteFeedsMarkedAsDeleted(IProcessingContext p_ctx, long p_lDelay) throws Exception Delete feeds marked as deleted. For usage in Share administration workflow.- Parameters:
p_ctx
- The processing context.p_lDelay
- The delay. Delete feeds that have been marked as deleted since at least p_lDelay milliseconds.- Throws:
Exception
-
deleteFeedsFromDeletedGroups
Delete feeds from deleted groups. For usage in Share administration workflow.- Parameters:
p_ctx
- The processing context.- Throws:
Exception
-
deleteFeedsFromDeletedEvents
Delete feeds from deleted events. For usage in Share administration workflow.- Parameters:
p_ctx
- The processing context.- Throws:
Exception
-
deleteFeedsWithInvalidReferences
Delete feeds with invalid references, i.e. feeds that reference non-existent data records.- Parameters:
p_ctx
- The processing context.- Throws:
Exception
-
deleteFeeds
public static void deleteFeeds(IProcessingContext p_ctx, String p_strDataGroupGuid, Collection<String> p_recordIds, boolean p_bSeparateTransactionPerCycle) throws Exception Delete feeds for data records of a data group for which plugins are defined.- Parameters:
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.- Throws:
Exception
-
getFeedPluginRecordId
public static String getFeedPluginRecordId(IProcessingContext p_ctx, Collection<String> p_fieldGuids, Collection<Object> p_values) throws Exception - Parameters:
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.- Returns:
- The plugin record ID in the format used in Share feeds.
- Throws:
Exception
-