Uses of Class
org.exoplatform.addons.documents.cleanup.model.CleanupCampaignItem
Packages that use CleanupCampaignItem
Package
Description
-
Uses of CleanupCampaignItem in org.exoplatform.addons.documents.cleanup.rest.util
Methods in org.exoplatform.addons.documents.cleanup.rest.util with parameters of type CleanupCampaignItemModifier and TypeMethodDescriptionstatic CampaignItemRestEntityCleanupEntityBuilder.build(CleanupCampaignItem item, org.exoplatform.social.core.manager.IdentityManager identityManager) Item DTO WITHOUT its failure detail — the safe default, seeCleanupEntityBuilder.build(CleanupCampaignItem, IdentityManager, boolean).static CampaignItemRestEntityCleanupEntityBuilder.build(CleanupCampaignItem item, org.exoplatform.social.core.manager.IdentityManager identityManager, boolean includeFailureDetail) Item DTO, its administrator-only failure DETAIL included only when asked for.Method parameters in org.exoplatform.addons.documents.cleanup.rest.util with type arguments of type CleanupCampaignItemModifier and TypeMethodDescriptionstatic PagedResult<CampaignItemRestEntity> CleanupEntityBuilder.build(org.springframework.data.domain.Page<CleanupCampaignItem> page, org.exoplatform.social.core.manager.IdentityManager identityManager) Page of item DTOs WITHOUT their failure detail — the safe default, seeCleanupEntityBuilder.build(Page, IdentityManager, boolean).static PagedResult<CampaignItemRestEntity> CleanupEntityBuilder.build(org.springframework.data.domain.Page<CleanupCampaignItem> page, org.exoplatform.social.core.manager.IdentityManager identityManager, boolean includeFailureDetail) Page of item DTOs, their administrator-only failure detail included only when asked for — same security boundary asCleanupEntityBuilder.build(CleanupCampaignItem, IdentityManager, boolean), read that javadoc before touching this flag. -
Uses of CleanupCampaignItem in org.exoplatform.addons.documents.cleanup.service
Methods in org.exoplatform.addons.documents.cleanup.service that return types with arguments of type CleanupCampaignItemModifier and TypeMethodDescriptionorg.springframework.data.domain.Page<CleanupCampaignItem> CleanupCampaignService.getCampaignItems(long campaignId, Long ownerIdentityId, CleanupItemState state, CleanupAction action, Long minSize, String search, org.springframework.data.domain.Pageable pageable) Campaign items with optional filters, for the admin console.org.springframework.data.domain.Page<CleanupCampaignItem> CleanupCampaignService.getMyItems(String username, String search, org.springframework.data.domain.Pageable pageable) Items of the currently relevant campaign owned by the user (own files and files of spaces they manage). -
Uses of CleanupCampaignItem in org.exoplatform.addons.documents.cleanup.storage
Methods in org.exoplatform.addons.documents.cleanup.storage that return CleanupCampaignItemModifier and TypeMethodDescriptionCleanupCampaignStorage.getItem(long itemId) CleanupCampaignStorage.saveItem(CleanupCampaignItem item) Methods in org.exoplatform.addons.documents.cleanup.storage that return types with arguments of type CleanupCampaignItemModifier and TypeMethodDescriptionorg.springframework.data.domain.Page<CleanupCampaignItem> CleanupCampaignStorage.getItems(long campaignId, Long ownerIdentityId, CleanupItemState state, CleanupAction action, Long minSize, String search, org.springframework.data.domain.Pageable pageable) Campaign items matching the provided filters, any of them nullable.CleanupCampaignStorage.getItemsAfterId(long campaignId, long lastId, int batchSize) KEYSET page of a campaign's items in id order, for the CSV export walk — seeCleanupCampaignItemDAO.findByCampaignIdAndIdGreaterThanOrderByIdAsc(long, long, org.springframework.data.domain.Pageable)on why this is not an offsetPage.org.springframework.data.domain.Page<CleanupCampaignItem> CleanupCampaignStorage.getItemsByOwners(long campaignId, List<Long> ownerIdentityIds, String search, org.springframework.data.domain.Pageable pageable) Items of the campaign owned by the given identities, optionally narrowed by the same path search asCleanupCampaignStorage.getItems(long, java.lang.Long, org.exoplatform.addons.documents.cleanup.constant.CleanupItemState, org.exoplatform.addons.documents.cleanup.constant.CleanupAction, java.lang.Long, java.lang.String, org.springframework.data.domain.Pageable).org.springframework.data.domain.Page<CleanupCampaignItem> CleanupCampaignStorage.getItemsByState(long campaignId, CleanupItemState state, org.springframework.data.domain.Pageable pageable) CleanupCampaignStorage.getItemsByStateBiggestFirst(long campaignId, CleanupItemState state, Long lastReclaimableBytes, long lastId, int batchSize) KEYSET page of the items of a campaign in a given state, BIGGEST FIRST — see the DAO javadoc for why the cursor is a(reclaimableBytes, id)pair rather than an id, and why that still cannot revisit a row.CleanupCampaignStorage.getItemsTouchedByPath(long campaignId, String eventPath) Items touched by a JCR event path: the event node itself, its ancestors (exact match against the ancestor chain, computed here) and its descendants (escaped prefix LIKE, so a deleted/moved folder event matches the candidate files below it).CleanupCampaignStorage.getRetryableFailures(long campaignId, Set<String> failureReasons, long maxAttemptCount, long lastId, int batchSize) KEYSET page of the SKIPPED items of a campaign whose failure reason is one offailureReasonsand whose attempt count is still belowmaxAttemptCount— the retry candidates.Methods in org.exoplatform.addons.documents.cleanup.storage with parameters of type CleanupCampaignItem -
Uses of CleanupCampaignItem in org.exoplatform.addons.documents.cleanup.util
Methods in org.exoplatform.addons.documents.cleanup.util with parameters of type CleanupCampaignItemModifier and TypeMethodDescriptionstatic booleanCleanupRevalidationUtil.applyRevalidation(CleanupCampaignItem item, CleanupRevalidation revalidation) Applies a revalidation outcome to a campaign item: outcome unknown (transient JCR read failure): the item is left UNTOUCHED — never spared, never gone, never deleted on doubt; callers needing a distinct handling (e.g.