com.day.cq.dam.core
Class AbstractAssetProcess
java.lang.Object
com.day.cq.dam.core.AbstractAssetProcess
- All Implemented Interfaces:
- JavaProcess, JavaProcessExt
- Direct Known Subclasses:
- CreateSubAssetsProcess, CreateThumbnailProcess, DeleteAssetProcess, DeleteDamAssetProcess, ExtractMetadataProcess, SyncAssetProcess
public abstract class AbstractAssetProcess
- extends Object
- implements JavaProcessExt
The AbstractAssetProcess class ...
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_JCR_PATH
public static final String TYPE_JCR_PATH
- See Also:
- Constant Field Values
mimeTypeService
protected org.apache.sling.commons.mime.MimeTypeService mimeTypeService
APPLICATION_OCTETSTREAM_MIMETYPE
public static final Object APPLICATION_OCTETSTREAM_MIMETYPE
AbstractAssetProcess
public AbstractAssetProcess()
getNodeFromPayload
protected Node getNodeFromPayload(WorkItem item,
Session session)
getMimetype
protected String getMimetype(Node file)
isNotReadyForProcessing
protected boolean isNotReadyForProcessing(Node asset)
throws RepositoryException
- This method is a temporary solution to workaround the mac webdav behaviour
which breaks the post processing stuff
- Parameters:
asset -
- Returns:
-
- Throws:
RepositoryException
getProcessingPath
protected String getProcessingPath(Node file)
throws RepositoryException
- TODO
- Parameters:
file -
- Returns:
-
- Throws:
RepositoryException
getFile
protected Node getFile(Node asset)
throws RepositoryException
- Throws:
RepositoryException
Copyright © 2009 Day Management AG. All Rights Reserved.