Class ScenarioRenameDeleteMoveInstance

java.lang.Object
org.alfresco.filesys.repo.rules.ScenarioRenameDeleteMoveInstance
All Implemented Interfaces:
ScenarioInstance

public class ScenarioRenameDeleteMoveInstance extends Object implements ScenarioInstance
This is an instance of a rename, delete, move scenario triggered by a rename of a file matching a specified pattern.

a) Original file is renamed. Typically with an obscure name. b) Renamed file is deleted via delete command or via deleteOnClose flag and close operation. c) Temp file is moved into original file location.

If this filter is active then this is what happens. a) Original file is renamed: - File is renamed. b) Renamed file is deleted via delete command or via deleteOnClose flag and close operation: - File is deleted. c) Temp file is moved into original file location - Scenario fires - Deleted file is restored. - Restored file is renamed to it's original name. - Content from file that must be moved is copied to restored file. - File that must be moved is deleted.

  • Constructor Details

    • ScenarioRenameDeleteMoveInstance

      public ScenarioRenameDeleteMoveInstance()
  • Method Details