public class RefreshFolderTumbnails extends ProcessDefinition
| Modifier and Type | Class and Description |
|---|---|
static class |
RefreshFolderTumbnails.ReportColumns |
protected static class |
RefreshFolderTumbnails.ThumbnailScanLogic |
| Modifier and Type | Field and Description |
|---|---|
static String |
FOLDER_THUMBNAIL |
| Constructor and Description |
|---|
RefreshFolderTumbnails(com.day.cq.contentsync.handler.util.RequestResponseFactory reqRspFactory,
org.apache.sling.engine.SlingRequestProcessor slingProcessor) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildProcess(ProcessInstance instance,
org.apache.sling.api.resource.ResourceResolver rr) |
void |
init() |
protected static boolean |
isAssetMissingOrNewer(org.apache.sling.api.resource.Resource asset,
Date compareDate) |
protected static boolean |
isPlaceholderThumbnail(org.apache.sling.api.resource.Resource damFolder) |
protected static boolean |
isThumbnailAutomatic(org.apache.sling.api.resource.Resource damFolder) |
protected static boolean |
isThumbnailContentsOutdated(org.apache.sling.api.resource.Resource damFolder) |
protected static boolean |
isThumbnailManual(org.apache.sling.api.resource.Resource damFolder) |
protected static boolean |
isThumbnailMissing(org.apache.sling.api.resource.Resource damFolder) |
void |
storeReport(ProcessInstance instance,
org.apache.sling.api.resource.ResourceResolver rr) |
getName, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseInputspublic static final String FOLDER_THUMBNAIL
public RefreshFolderTumbnails(com.day.cq.contentsync.handler.util.RequestResponseFactory reqRspFactory,
org.apache.sling.engine.SlingRequestProcessor slingProcessor)
public void init()
public void buildProcess(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr) throws org.apache.sling.api.resource.LoginException, javax.jcr.RepositoryException
buildProcess in class ProcessDefinitionorg.apache.sling.api.resource.LoginExceptionjavax.jcr.RepositoryExceptionpublic void storeReport(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr) throws javax.jcr.RepositoryException, org.apache.sling.api.resource.PersistenceException
storeReport in class ProcessDefinitionjavax.jcr.RepositoryExceptionorg.apache.sling.api.resource.PersistenceExceptionprotected static boolean isThumbnailMissing(org.apache.sling.api.resource.Resource damFolder)
protected static boolean isPlaceholderThumbnail(org.apache.sling.api.resource.Resource damFolder)
throws IOException
IOExceptionprotected static boolean isThumbnailContentsOutdated(org.apache.sling.api.resource.Resource damFolder)
protected static boolean isAssetMissingOrNewer(org.apache.sling.api.resource.Resource asset,
Date compareDate)
protected static boolean isThumbnailManual(org.apache.sling.api.resource.Resource damFolder)
protected static boolean isThumbnailAutomatic(org.apache.sling.api.resource.Resource damFolder)
Copyright © 2013–2020 Adobe. All rights reserved.