lumis.portal.file.transformation
Class RemoveTransformedFilesTask

Package class diagram package RemoveTransformedFilesTask
java.lang.Object
  extended by lumis.portal.processqueue.AbstractQueueTask
      extended by lumis.portal.file.transformation.RemoveTransformedFilesTask
All Implemented Interfaces:
Serializable, IQueueTask

public class RemoveTransformedFilesTask
extends AbstractQueueTask

Runnable to performs remove transformed files.

Since:
6.1.0
See Also:
Serialized Form

Field Summary
protected  String serviceInstanceId
           
 
Constructor Summary
RemoveTransformedFilesTask(Collection<String> transformedFileIds, Collection<String> transformedFilePaths, String serviceInstanceId)
          Creates a new instance using the given parameters.
RemoveTransformedFilesTask(String transformedFileId, String transformedFilePath, String serviceInstanceId)
          Creates a new instance using the given parameters.
 
Method Summary
protected  IWebRootPortalBaseFolder getWebRootBaseFolder()
          Returns the IWebRootPortalBaseFolder for the service instance.
 void run()
          Method to be called by queue processor in order to process queue item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceInstanceId

protected final String serviceInstanceId
Constructor Detail

RemoveTransformedFilesTask

public RemoveTransformedFilesTask(Collection<String> transformedFileIds,
                                  Collection<String> transformedFilePaths,
                                  String serviceInstanceId)
Creates a new instance using the given parameters.

Parameters:
transformedFileIds - the transformed file identifiers.
transformedFilePaths - the transformed file paths.
webRootBaseFolder - the web root base folder.
Since:
7.0.1

RemoveTransformedFilesTask

public RemoveTransformedFilesTask(String transformedFileId,
                                  String transformedFilePath,
                                  String serviceInstanceId)
Creates a new instance using the given parameters.

Parameters:
transformedFileId - the transformed file identifier.
transformedFilePath - the transformed file path.
webRootBaseFolder - the web root base folder.
Since:
7.0.1
Method Detail

run

public void run()
         throws PortalException
Description copied from interface: IQueueTask
Method to be called by queue processor in order to process queue item.

Throws:
PortalException

getWebRootBaseFolder

protected IWebRootPortalBaseFolder getWebRootBaseFolder()
                                                 throws PortalException
Returns the IWebRootPortalBaseFolder for the service instance.

Returns:
the IWebRootPortalBaseFolder for the service instance.
Throws:
PortalException
Since:
7.0.1


Lumisportal  7.0.1.130329 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.