Class BatchOperationsListener
java.lang.Object
ro.sync.exml.workspace.api.listeners.BatchOperationsListener
Listener which can be notified before and after a batch operation which will modify lots of resources
(Replace All in Files, Rename in Files) is started.
For example a CMS may automatically check out resources if Oxygen wants to modify them during such operations.
- Since:
- 18.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaboutToModifyResource(BatchOperationInfo batchOperationInfo, URL url) A resource is about to be modified.voidoperationAboutToStart(BatchOperationInfo batchOperationInfo) About to start a batch operation.voidoperationFinished(BatchOperationInfo batchOperationInfo) The batch operation finished.voidresourceModified(BatchOperationInfo batchOperationInfo, URL url) A resource was modified.
-
Constructor Details
-
BatchOperationsListener
public BatchOperationsListener()
-
-
Method Details
-
operationAboutToStart
About to start a batch operation.- Parameters:
batchOperationInfo- Information about the operation that will start.
-
operationFinished
The batch operation finished.- Parameters:
batchOperationInfo- Information about the operation that was finished.
-
aboutToModifyResource
A resource is about to be modified. This is called after the content from the URL has been read and before it is saved back.- Parameters:
batchOperationInfo- Information about the current operation.url- The URL of the resource which will be modified.
-
resourceModified
A resource was modified.- Parameters:
batchOperationInfo- Information about the current operation.url- The URL of the resource which was modified.
-