Guvnor - Services API 6.1.0.Beta3

org.guvnor.common.services.backend.file
Interface RenameHelper


public interface RenameHelper

Helper for when a file is renamed. Helpers are always invoked after the rename occurs.


Method Summary
 void postProcess(org.uberfire.backend.vfs.Path source, org.uberfire.backend.vfs.Path destination)
          Perform post processing following the rename operation.
 boolean supports(org.uberfire.backend.vfs.Path destination)
          This is invoked by parent code to provide the means for a Helper to signal whether it supports the given Path
 

Method Detail

supports

boolean supports(org.uberfire.backend.vfs.Path destination)
This is invoked by parent code to provide the means for a Helper to signal whether it supports the given Path

Parameters:
destination - Path
Returns:

postProcess

void postProcess(org.uberfire.backend.vfs.Path source,
                 org.uberfire.backend.vfs.Path destination)
Perform post processing following the rename operation. This is always within a IOService batch operation.

Parameters:
source - Path Source before copy
destination - Path Destination after copy

Guvnor - Services API 6.1.0.Beta3

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.