Uses of Class
org.exoplatform.addons.documents.cleanup.entity.CleanupCampaignItemEntity
Packages that use CleanupCampaignItemEntity
-
Uses of CleanupCampaignItemEntity in org.exoplatform.addons.documents.cleanup.dao
Methods in org.exoplatform.addons.documents.cleanup.dao that return types with arguments of type CleanupCampaignItemEntityModifier and TypeMethodDescriptionCleanupCampaignItemDAO.findByCampaignIdAndIdGreaterThanOrderByIdAsc(long campaignId, long lastId, org.springframework.data.domain.Pageable pageable) KEYSET page of a campaign's items in id order — the CSV export walk.CleanupCampaignItemDAO.findByCampaignIdAndNodeUuidIn(long campaignId, Collection<String> nodeUuids) CleanupCampaignItemDAO.findByCampaignIdAndPathTouchedBy(long campaignId, List<String> ancestorPaths, String escapedEventPath) Items touched by a JCR event path, in two index-friendly directions (the column always stays on the LEFT of the LIKE, the parameter on the right): items that are the event node or one of its ancestors: exact match against the ancestor chain computed in Java by the Storage layer items below the event node (a deleted/moved FOLDER fires a single JCR event for the top-most node only): prefix LIKE on the event path, with its '_'/'%' wildcards escaped by the Storage layer ('|' escape character), so padded segments like /Users/j___/ never wildcard-match unrelated rowsorg.springframework.data.domain.Page<CleanupCampaignItemEntity> CleanupCampaignItemDAO.findByCampaignIdAndState(long campaignId, String state, org.springframework.data.domain.Pageable pageable) org.springframework.data.domain.Page<CleanupCampaignItemEntity> CleanupCampaignItemDAO.findByFilters(long campaignId, Long ownerIdentityId, String state, String action, Long minSize, String searchPattern, org.springframework.data.domain.Pageable pageable) Campaign items matching every provided filter, each one null-tolerant so a single query serves any combination.org.springframework.data.domain.Page<CleanupCampaignItemEntity> CleanupCampaignItemDAO.findByOwnersAndSearch(long campaignId, List<Long> ownerIdentityIds, String searchPattern, org.springframework.data.domain.Pageable pageable) The user-review counterpart ofCleanupCampaignItemDAO.findByFilters(long, java.lang.Long, java.lang.String, java.lang.String, java.lang.Long, java.lang.String, org.springframework.data.domain.Pageable): the items of the campaign owned by the given identities (the user plus the spaces they manage), optionally narrowed by the same null-tolerant path search — see that method's javadoc for the pattern contract and the index note.CleanupCampaignItemDAO.findByStateOrderedByReclaimableBytes(long campaignId, String state, Long lastReclaimableBytes, long lastId, org.springframework.data.domain.Pageable pageable) KEYSET page of the items of a campaign in a given state, BIGGEST FIRST — the order the purge worker consumes them in.CleanupCampaignItemDAO.findRetryableFailures(long campaignId, String state, Collection<String> failureReasons, long maxAttemptCount, long lastId, org.springframework.data.domain.Pageable pageable) KEYSET page of the RETRYABLE failures of a campaign: SKIPPED items whose failure reason belongs to the allowlist the Service owns and whose attempt count is still under the bound.