@Service(value="blContentService") public class ContentServiceImpl extends Object implements ContentService
Modifier and Type | Class and Description |
---|---|
class |
ContentServiceImpl.ContentComparator |
Modifier and Type | Field and Description |
---|---|
protected ContentDao |
contentDao |
protected ContentDetailsDao |
contentDetailsDao |
Constructor and Description |
---|
ContentServiceImpl() |
protected ContentDao contentDao
protected ContentDetailsDao contentDetailsDao
public Content findContentById(Integer id)
findContentById
in interface ContentService
public ContentDetails findContentDetailsById(Integer id)
findContentDetailsById
in interface ContentService
public String findContentDetailsXmlById(Integer id)
findContentDetailsXmlById
in interface ContentService
public Map<String,Object> findContentDetailsMapById(Integer id) throws Exception
findContentDetailsMapById
in interface ContentService
Exception
public List<ContentXmlData> findContentDetailsListById(Integer id) throws Exception
findContentDetailsListById
in interface ContentService
Exception
public List<ContentDetails> findContentDetails(String sandbox, String contentType, Map<String,Object> mvelParameters)
findContentDetails
in interface ContentService
public List<ContentDetails> findContentDetails(String sandbox, String contentType, Map<String,Object> mvelParameters, Date displayDate)
findContentDetails
in interface ContentService
public List<Content> findContent(String sandbox, String contentType, Map<String,Object> mvelParameters, Date displayDate)
findContent
in interface ContentService
public String renderedContentDetails(String styleSheetString, List<ContentDetails> contentDetails) throws Exception
renderedContentDetails
in interface ContentService
Exception
public String renderedContentDetails(String styleSheetString, List<ContentDetails> contentDetails, int rowCount) throws Exception
renderedContentDetails
in interface ContentService
Exception
public String renderedContent(String styleSheetString, List<Content> contentList, int rowCount) throws Exception
renderedContent
in interface ContentService
Exception
public void approveContent(List<Integer> contentIds, String sandboxName, String username)
approveContent
in interface ContentService
public List<Content> checkoutContentToSandbox(List<Integer> contentIds, String sandboxName)
checkoutContentToSandbox
in interface ContentService
public List<Content> readContentAwaitingApproval()
readContentAwaitingApproval
in interface ContentService
public List<Content> readContentForSandbox(String sandbox)
readContentForSandbox
in interface ContentService
public List<Content> readContentForSandboxAndType(String sandbox, String contentType)
readContentForSandboxAndType
in interface ContentService
public void rejectContent(List<Integer> contentIds, String sandbox, String username)
rejectContent
in interface ContentService
public void removeContentFromSandbox(List<Integer> contentIds, String sandbox)
removeContentFromSandbox
in interface ContentService
public void submitContentFromSandbox(List<Integer> contentIds, String sandboxName, String username, String note)
submitContentFromSandbox
in interface ContentService
public Content saveContent(Content content, List<ContentXmlData> details)
saveContent
in interface ContentService
public List<ContentPageInfo> readAllContentPageInfos()
readAllContentPageInfos
in interface ContentService
public Map<Integer,String> constructParentUrlMap()
constructParentUrlMap
in interface ContentService
Copyright © 2013. All rights reserved.