public class PostServiceImpl extends GenericHierarchyContentServiceImpl<Post,PostAttribute,PostFacet> implements PostService, ChangeGenerator<Object[]>
cache, cacheManager, contentSource, contentStatusCriticalForMove, mountPathReLoader, searchMap, templateServiceCONTENT_LOOKUP_CACHE_NAME, CONTENT_PUBLISH_CACHE_NAME| Constructor and Description |
|---|
PostServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected Post |
getContentProxyObject() |
void |
init() |
protected void |
moveHierarchyOnly(Post content,
Post newParent,
Integer sequence,
String parentLastHCode) |
Post |
publish(Post content)
Performs operations needed to publish the content and its related attributes, facets etc.
|
addChangeListener, clone, clone, convert, createNewContent, deleteSubHierarchy, getContentSource, getFacets, getLastChildHierarchyCode, getListeners, loadHierarchy, loadHierarchyFlat, mount, move, notifyAllListeners, setContentSource, setListeners, unPublishclearCache, clearTemplates, deleteContent, getAdditionalCacheNames, getCache, getCacheManager, getContentStatusCriticalForMove, getMountPathReLoader, getRelatedNavigations, getSearchMap, getSearchService, getTemplateService, getURL, index, publish, save, saveFacet, search, searchCount, setAdditionalCacheNames, setCache, setCacheManager, setContentSource, setContentStatusCriticalForMove, setMountPathReLoader, setRelatedNavigations, setSearchMap, setTemplateService, sysAutoIndex, updateContentStatus, updateNavclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearCache, clearTemplates, clone, createNewContent, deleteContent, getCache, getContentSource, getFacets, getSearchService, getURL, index, mount, publish, save, saveFacet, search, searchCount, unPublish, updateContentStatus, updateNavconvert, deleteSubHierarchy, getLastChildHierarchyCode, loadHierarchy, loadHierarchyFlat, moveaddChangeListener, getListeners, notifyAllListeners, setListeners@PostConstruct public void init()
protected Post getContentProxyObject()
getContentProxyObject in class GenericHierarchyContentServiceImpl<Post,PostAttribute,PostFacet>@Transactional(readOnly=false) public Post publish(Post content) throws PartialTransactionException
GenericHierarchyContentServiceImplContent record (& related ContentFacets, attributes) to publishpublish in interface GenericContentService<Post,PostAttribute,PostFacet>publish in class GenericHierarchyContentServiceImpl<Post,PostAttribute,PostFacet>content - (this should be a record with Content.getStatus() as Status.DRAFT)PartialTransactionException@Transactional(readOnly=true) protected void moveHierarchyOnly(Post content, Post newParent, Integer sequence, String parentLastHCode) throws Exception
moveHierarchyOnly in class GenericHierarchyContentServiceImpl<Post,PostAttribute,PostFacet>ExceptionCopyright © 2018. All rights reserved.