Package lumis.portal.file.transformation
Class RemoveTransformedFilesTask
- java.lang.Object
-
- lumis.portal.processqueue.AbstractQueueTask
-
- 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
- Version:
- $Revision: 15208 $ $Date: 2013-03-12 15:01:55 -0300 (Tue, 12 Mar 2013) $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
serviceInstanceId
-
Constructor Summary
Constructors Constructor Description RemoveTransformedFilesTask(String transformedFileId, String transformedFilePath, String serviceInstanceId)
Creates a new instance using the given parameters.RemoveTransformedFilesTask(Collection<String> transformedFileIds, Collection<String> transformedFilePaths, 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.
-
-
-
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 theIWebRootPortalBaseFolder
for the service instance.- Returns:
- the
IWebRootPortalBaseFolder
for the service instance. - Throws:
PortalException
- Since:
- 7.0.1
-
-