public class CommentServiceImpl extends GenericHierarchyContentServiceImpl<Comment,CommentAttribute,CommentFacet> implements CommentService, ChangeGenerator<Object[]>
cache, cacheManager, contentSource, contentStatusCriticalForMove, mountPathReLoader, searchMap, templateServiceCONTENT_LOOKUP_CACHE_NAME, CONTENT_PUBLISH_CACHE_NAME| Constructor and Description |
|---|
CommentServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Page<Comment> |
getComments(String topic,
PageInfo pageInfo) |
protected Comment |
getContentProxyObject() |
protected void |
moveHierarchyOnly(Comment content,
Comment newParent,
Integer sequence,
String parentLastHCode) |
Comment |
publish(Comment 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, setListenersprotected Comment getContentProxyObject()
getContentProxyObject in class GenericHierarchyContentServiceImpl<Comment,CommentAttribute,CommentFacet>@Transactional(readOnly=false) public Comment publish(Comment content) throws PartialTransactionException
GenericHierarchyContentServiceImplContent record (& related ContentFacets, attributes) to publishpublish in interface GenericContentService<Comment,CommentAttribute,CommentFacet>publish in class GenericHierarchyContentServiceImpl<Comment,CommentAttribute,CommentFacet>content - (this should be a record with Content.getStatus() as Status.DRAFT)PartialTransactionException@Transactional(readOnly=true) protected void moveHierarchyOnly(Comment content, Comment newParent, Integer sequence, String parentLastHCode) throws Exception
moveHierarchyOnly in class GenericHierarchyContentServiceImpl<Comment,CommentAttribute,CommentFacet>Exception@Transactional(readOnly=true) public Page<Comment> getComments(String topic, PageInfo pageInfo)
getComments in interface CommentServiceCopyright © 2018. All rights reserved.