Class RevertChangesTask

All Implemented Interfaces:
PersistTask<PrimaryKey,Void>

public class RevertChangesTask extends CopyPageContentTask
Clears the edit content and copies the published content to it. Behavior for snippets: - If a snippet is in more than one page which has status "changed" or "offline", it won't be reverted. - If the current page is the only one with status "changed" or "offline", which contains a snipped, the snippet will be reverted (copy published content to edit content).