public interface MoveOperationImplementation extends DataFilesProviderImplementation
DefaultProjectOperations
to perform the rename/move operation.
Implementations are encouraged to implement MoveOrRenameOperationImplementation
instead.
Modifier and Type | Method and Description |
---|---|
void |
notifyMoved(Project original,
File originalPath,
String nueName)
Notification that the move operation has finished.
|
void |
notifyMoving()
Pre-move notification.
|
getDataFiles, getMetadataFiles
void notifyMoving() throws IOException
IOException
- if an I/O operation fails.MoveOrRenameOperationImplementation.notifyRenaming()
void notifyMoved(Project original, File originalPath, String nueName) throws IOException
ProjectState.notifyDeleted()
on the original project.
Should be called on both original and newly created project (in this order).original
- null
when called on the original project, the original project when called on the new projectoriginalPath
- the project folder of the original projectnueName
- new name for the newly created project.IOException
- if an I/O operation fails.MoveOrRenameOperationImplementation.notifyRenamed(java.lang.String)