org.broadleafcommerce.core.content.service
Interface ContentService

All Known Implementing Classes:
ContentServiceImpl

public interface ContentService

Author:
btaylor

Method Summary
 void approveContent(List<Integer> contentIds, String sandboxName, String username)
           
 List<Content> checkoutContentToSandbox(List<Integer> contentIds, String sandboxName)
           
 Map<Integer,String> constructParentUrlMap()
           
 List<Content> findContent(String sandbox, String contentType, Map<String,Object> mvelParameters, Date displayDate)
           
 Content findContentById(Integer id)
           
 List<ContentDetails> findContentDetails(String sandbox, String contentType, Map<String,Object> mvelParameters)
           
 List<ContentDetails> findContentDetails(String sandbox, String contentType, Map<String,Object> mvelParameters, Date displayDate)
           
 ContentDetails findContentDetailsById(Integer id)
           
 List<ContentXmlData> findContentDetailsListById(Integer id)
           
 Map<String,Object> findContentDetailsMapById(Integer id)
           
 String findContentDetailsXmlById(Integer id)
           
 List<ContentPageInfo> readAllContentPageInfos()
           
 List<Content> readContentAwaitingApproval()
           
 List<Content> readContentForSandbox(String sandbox)
           
 List<Content> readContentForSandboxAndType(String sandbox, String contentType)
           
 void rejectContent(List<Integer> contentIds, String sandbox, String username)
           
 void removeContentFromSandbox(List<Integer> contentIds, String sandbox)
           
 String renderedContent(String styleSheetString, List<Content> contentList, int rowCount)
           
 String renderedContentDetails(String styleSheet, List<ContentDetails> contentDetails)
           
 String renderedContentDetails(String styleSheetString, List<ContentDetails> contentDetails, int rowCount)
           
 Content saveContent(Content content, List<ContentXmlData> details)
           
 void submitContentFromSandbox(List<Integer> contentIds, String sandboxName, String username, String note)
           
 

Method Detail

findContentById

Content findContentById(Integer id)

findContentDetailsById

ContentDetails findContentDetailsById(Integer id)

findContentDetailsXmlById

String findContentDetailsXmlById(Integer id)

findContentDetailsMapById

Map<String,Object> findContentDetailsMapById(Integer id)
                                             throws Exception
Throws:
Exception

findContentDetailsListById

List<ContentXmlData> findContentDetailsListById(Integer id)
                                                throws Exception
Throws:
Exception

findContentDetails

List<ContentDetails> findContentDetails(String sandbox,
                                        String contentType,
                                        Map<String,Object> mvelParameters)

findContentDetails

List<ContentDetails> findContentDetails(String sandbox,
                                        String contentType,
                                        Map<String,Object> mvelParameters,
                                        Date displayDate)

findContent

List<Content> findContent(String sandbox,
                          String contentType,
                          Map<String,Object> mvelParameters,
                          Date displayDate)

renderedContentDetails

String renderedContentDetails(String styleSheet,
                              List<ContentDetails> contentDetails)
                              throws Exception
Throws:
Exception

renderedContentDetails

String renderedContentDetails(String styleSheetString,
                              List<ContentDetails> contentDetails,
                              int rowCount)
                              throws Exception
Throws:
Exception

renderedContent

String renderedContent(String styleSheetString,
                       List<Content> contentList,
                       int rowCount)
                       throws Exception
Throws:
Exception

checkoutContentToSandbox

List<Content> checkoutContentToSandbox(List<Integer> contentIds,
                                       String sandboxName)

submitContentFromSandbox

void submitContentFromSandbox(List<Integer> contentIds,
                              String sandboxName,
                              String username,
                              String note)

approveContent

void approveContent(List<Integer> contentIds,
                    String sandboxName,
                    String username)

removeContentFromSandbox

void removeContentFromSandbox(List<Integer> contentIds,
                              String sandbox)

rejectContent

void rejectContent(List<Integer> contentIds,
                   String sandbox,
                   String username)

readContentForSandbox

List<Content> readContentForSandbox(String sandbox)

readContentForSandboxAndType

List<Content> readContentForSandboxAndType(String sandbox,
                                           String contentType)

readContentAwaitingApproval

List<Content> readContentAwaitingApproval()

saveContent

Content saveContent(Content content,
                    List<ContentXmlData> details)

readAllContentPageInfos

List<ContentPageInfo> readAllContentPageInfos()

constructParentUrlMap

Map<Integer,String> constructParentUrlMap()


Copyright © 2012. All Rights Reserved.