public class CacheFlushPublishAdapter extends AbstractPublishAdapter<ContentDescriber>
ContentDescriber
and all its ContentFacet
from the Cache.
QueryBasedContentExtractor
; and we wish to target specific ContentFacet
(s) on Status.PUBLISH
contentFilter
Constructor and Description |
---|
CacheFlushPublishAdapter() |
CacheFlushPublishAdapter(ContentLocationResolver locationResolver) |
Modifier and Type | Method and Description |
---|---|
ContentLocationResolver |
getLocationResolver()
Define a Custom
ContentLocationResolver based on how its populating the cache
and flush it on publish. |
void |
publishActions(Template template,
ContentDescriber content) |
void |
setLocationResolver(ContentLocationResolver locationResolver)
Define a Custom
ContentLocationResolver based on how its populating the cache
and flush it on publish. |
filterContentAndApplyDefault, getContentFilter, setContentFilter
public CacheFlushPublishAdapter()
public CacheFlushPublishAdapter(ContentLocationResolver locationResolver)
public void publishActions(Template template, ContentDescriber content) throws Exception
public ContentLocationResolver getLocationResolver()
ContentLocationResolver
based on how its populating the cache
and flush it on publish.public void setLocationResolver(ContentLocationResolver locationResolver)
ContentLocationResolver
based on how its populating the cache
and flush it on publish.Copyright © 2018. All rights reserved.