Uses of Class
org.exoplatform.addons.documents.cleanup.rest.model.CampaignRestEntity
Packages that use CampaignRestEntity
Package
Description
-
Uses of CampaignRestEntity in org.exoplatform.addons.documents.cleanup.rest
Methods in org.exoplatform.addons.documents.cleanup.rest that return CampaignRestEntityModifier and TypeMethodDescriptionCleanupCampaignRest.createCampaign(CampaignRestEntity campaignEntity) ASYNCHRONOUS: the campaign row is created synchronously, its dry-run scan is handed off to a worker thread — hence the 202.CleanupCampaignRest.executeCampaign(long id) ASYNCHRONOUS: the campaign is switched to EXECUTING synchronously, the batched purge itself is handed off to a worker thread — hence the 202.CleanupCampaignRest.getCampaign(long id) CleanupCampaignRest.getDefaults()CleanupCampaignRest.publishCampaign(long id) CleanupCampaignRest.retryCampaign(long id) A sub-resource POST, unlike the rename PATCH next to it: a retry is an ACTION with a lifecycle transition behind it (COMPLETED back to EXECUTING), not the update of an attribute.CleanupCampaignRest.updateCampaign(long id, UpdateCampaignRestEntity updateEntity) PATCH on the campaign resource rather than an{id}/renameor{id}/gracesub-resource: this updates ATTRIBUTES of the campaign, it triggers no action and no lifecycle transition — unlike thepublish/executesub-resources next to it, which do.Methods in org.exoplatform.addons.documents.cleanup.rest that return types with arguments of type CampaignRestEntityMethods in org.exoplatform.addons.documents.cleanup.rest with parameters of type CampaignRestEntityModifier and TypeMethodDescriptionCleanupCampaignRest.createCampaign(CampaignRestEntity campaignEntity) ASYNCHRONOUS: the campaign row is created synchronously, its dry-run scan is handed off to a worker thread — hence the 202. -
Uses of CampaignRestEntity in org.exoplatform.addons.documents.cleanup.rest.util
Methods in org.exoplatform.addons.documents.cleanup.rest.util that return CampaignRestEntityModifier and TypeMethodDescriptionstatic CampaignRestEntityCleanupEntityBuilder.build(CleanupCampaign campaign) static CampaignRestEntityCleanupEntityBuilder.buildDefaults(CleanupParams params, int maxScanThreads) The platform DEFAULTS as the creation form consumes them: the same field names a campaign carries, so the form fills from either shape, plus the ceiling the scan-thread input must not exceed.Methods in org.exoplatform.addons.documents.cleanup.rest.util with parameters of type CampaignRestEntityModifier and TypeMethodDescriptionstatic CleanupParamsCleanupEntityBuilder.toParamOverrides(CampaignRestEntity entity)