Package lumis.portal.file.transformation
Class RemoveTransformedFilesTask
- java.lang.Object
-
- lumis.portal.processqueue.AbstractQueueTask
-
- lumis.portal.file.transformation.RemoveTransformedFilesTask
-
- All Implemented Interfaces:
java.io.Serializable
,IQueueTask
public class RemoveTransformedFilesTask extends AbstractQueueTask
Runnable to performs remove transformed files.- Since:
- 6.1.0
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
serviceInstanceId
-
Constructor Summary
Constructors Constructor Description RemoveTransformedFilesTask(java.lang.String transformedFileId, java.lang.String transformedFilePath, java.lang.String serviceInstanceId)
Creates a new instance using the given parameters.RemoveTransformedFilesTask(java.util.Collection<java.lang.String> transformedFileIds, java.util.Collection<java.lang.String> transformedFilePaths, java.lang.String serviceInstanceId)
Creates a new instance using the given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IWebRootPortalBaseFolder
getWebRootBaseFolder()
Returns theIWebRootPortalBaseFolder
for the service instance.void
run()
Method to be called by queue processor in order to process queue item.
-
-
-
Constructor Detail
-
RemoveTransformedFilesTask
public RemoveTransformedFilesTask(java.util.Collection<java.lang.String> transformedFileIds, java.util.Collection<java.lang.String> transformedFilePaths, java.lang.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(java.lang.String transformedFileId, java.lang.String transformedFilePath, java.lang.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 theIWebRootPortalBaseFolder
for the service instance.- Returns:
- the
IWebRootPortalBaseFolder
for the service instance. - Throws:
PortalException
- Since:
- 7.0.1
-
-