Uses of Enum Class
org.exoplatform.addons.documents.cleanup.constant.CleanupItemState
Packages that use CleanupItemState
Package
Description
-
Uses of CleanupItemState in org.exoplatform.addons.documents.cleanup.constant
Methods in org.exoplatform.addons.documents.cleanup.constant that return CleanupItemStateModifier and TypeMethodDescriptionstatic CleanupItemStateReturns the enum constant of this class with the specified name.static CleanupItemState[]CleanupItemState.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of CleanupItemState in org.exoplatform.addons.documents.cleanup.service
Methods in org.exoplatform.addons.documents.cleanup.service with parameters of type CleanupItemStateModifier 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. -
Uses of CleanupItemState in org.exoplatform.addons.documents.cleanup.storage
Methods in org.exoplatform.addons.documents.cleanup.storage with parameters of type CleanupItemStateModifier and TypeMethodDescriptionlongCleanupCampaignStorage.countItemsByOwnersAndState(long campaignId, List<Long> ownerIdentityIds, CleanupItemState state) Chunked likeCleanupCampaignStorage.getItemsByOwners(long, java.util.List<java.lang.Long>, java.lang.String, org.springframework.data.domain.Pageable), but merging is trivial and EXACT here: the owner sets are disjoint, so the per-chunk counts simply add up.longCleanupCampaignStorage.countItemsByState(long campaignId, CleanupItemState state) org.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.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.longCleanupCampaignStorage.sumReclaimableBytesByOwnersAndState(long campaignId, List<Long> ownerIdentityIds, CleanupItemState state) longCleanupCampaignStorage.sumReclaimableBytesByState(long campaignId, CleanupItemState state)