Uses of Class
org.exoplatform.addons.documents.cleanup.model.CleanupCampaign
Packages that use CleanupCampaign
Package
Description
-
Uses of CleanupCampaign in org.exoplatform.addons.documents.cleanup.rest.util
Methods in org.exoplatform.addons.documents.cleanup.rest.util with parameters of type CleanupCampaignModifier and TypeMethodDescriptionstatic CampaignRestEntityCleanupEntityBuilder.build(CleanupCampaign campaign) -
Uses of CleanupCampaign in org.exoplatform.addons.documents.cleanup.service
Methods in org.exoplatform.addons.documents.cleanup.service that return CleanupCampaignModifier and TypeMethodDescriptionCleanupCampaignService.createCampaign(String name, CleanupParams overrides) Creates a campaign snapshotting the effective parameters, then launches its dry-run scan.CleanupCampaignService.executeCampaign(long campaignId) Triggers the batched purge of a LOCKED campaign.CleanupCampaignService.getCampaign(long campaignId) CleanupCampaignService.publishCampaign(long campaignId) Publishes a SIMULATED campaign, starting its grace period.CleanupCampaignService.retryCampaign(long campaignId) Re-attempts the RETRYABLE failed items of a COMPLETED campaign: no new scan, no new grace period, no new campaign.CleanupExecutionService.startExecution(long campaignId) Switches a campaign to EXECUTING and launches the asynchronous purge.CleanupCampaignLifecycle.transition(CleanupCampaign campaign, CleanupCampaignState targetState) Variant ofCleanupCampaignLifecycle.transition(CleanupCampaign, CleanupCampaignState, BiConsumer)for transitions never entering PUBLISHED.CleanupCampaignLifecycle.transition(CleanupCampaign campaign, CleanupCampaignState targetState, BiConsumer<String, String> refreshCallback) Applies a campaign state transition with all its side effects: guards it against the allowed-transitions map, persists the new state, registers/unregisters the JCR freshness observation listener on entry/exit of PUBLISHED (a campaign leaving PUBLISHED or getting cancelled never leaks the listener) and broadcasts the stateChanged WebSocket event.CleanupCampaignService.updateCampaign(long campaignId, String name, Integer graceDays) PARTIAL update of a campaign's editable attributes: its name, its grace period, or both.Methods in org.exoplatform.addons.documents.cleanup.service that return types with arguments of type CleanupCampaignMethods in org.exoplatform.addons.documents.cleanup.service with parameters of type CleanupCampaignModifier and TypeMethodDescriptionCleanupScanService.getScanFailures(CleanupCampaign campaign) Grouped failures of a campaign's SCAN, one entry per distinct failure message code with the number of subtrees that carry it — the unit-level twin ofCleanupCampaignService#getCampaignFailures, so the console renders both through the same block.CleanupScanService.getScanUnitProgress(CleanupCampaign campaign) Per-unit breakdown of a campaign's dry run.CleanupCampaignLifecycle.transition(CleanupCampaign campaign, CleanupCampaignState targetState) Variant ofCleanupCampaignLifecycle.transition(CleanupCampaign, CleanupCampaignState, BiConsumer)for transitions never entering PUBLISHED.CleanupCampaignLifecycle.transition(CleanupCampaign campaign, CleanupCampaignState targetState, BiConsumer<String, String> refreshCallback) Applies a campaign state transition with all its side effects: guards it against the allowed-transitions map, persists the new state, registers/unregisters the JCR freshness observation listener on entry/exit of PUBLISHED (a campaign leaving PUBLISHED or getting cancelled never leaks the listener) and broadcasts the stateChanged WebSocket event. -
Uses of CleanupCampaign in org.exoplatform.addons.documents.cleanup.storage
Methods in org.exoplatform.addons.documents.cleanup.storage that return CleanupCampaignModifier and TypeMethodDescriptionCleanupCampaignStorage.createCampaign(CleanupCampaign campaign) CleanupCampaignStorage.getCampaign(long campaignId) CleanupCampaignStorage.saveCampaign(CleanupCampaign campaign) Methods in org.exoplatform.addons.documents.cleanup.storage that return types with arguments of type CleanupCampaignModifier and TypeMethodDescriptionCleanupCampaignStorage.getCampaigns(org.springframework.data.domain.Pageable pageable) CleanupCampaignStorage.getCampaignsByStates(List<CleanupCampaignState> states) Methods in org.exoplatform.addons.documents.cleanup.storage with parameters of type CleanupCampaignModifier and TypeMethodDescriptionCleanupCampaignStorage.createCampaign(CleanupCampaign campaign) CleanupCampaignStorage.saveCampaign(CleanupCampaign campaign)