org.broadleafcommerce.core.content.service
Class ContentServiceImpl
java.lang.Object
org.broadleafcommerce.core.content.service.ContentServiceImpl
- All Implemented Interfaces:
- ContentService
@Service(value="blContentService")
public class ContentServiceImpl
- extends java.lang.Object
- implements ContentService
- Author:
- dwtalk
|
Method Summary |
void |
approveContent(java.util.List<java.lang.Integer> contentIds,
java.lang.String sandboxName,
java.lang.String username)
|
java.util.List<Content> |
checkoutContentToSandbox(java.util.List<java.lang.Integer> contentIds,
java.lang.String sandboxName)
|
java.util.Map<java.lang.Integer,java.lang.String> |
constructParentUrlMap()
|
protected java.lang.Boolean |
executeExpression(java.lang.String expression,
java.util.Map<java.lang.String,java.lang.Object> vars)
|
java.util.List<Content> |
findContent(java.lang.String sandbox,
java.lang.String contentType,
java.util.Map<java.lang.String,java.lang.Object> mvelParameters,
java.util.Date displayDate)
|
Content |
findContentById(java.lang.Integer id)
|
java.util.List<ContentDetails> |
findContentDetails(java.lang.String sandbox,
java.lang.String contentType,
java.util.Map<java.lang.String,java.lang.Object> mvelParameters)
|
java.util.List<ContentDetails> |
findContentDetails(java.lang.String sandbox,
java.lang.String contentType,
java.util.Map<java.lang.String,java.lang.Object> mvelParameters,
java.util.Date displayDate)
|
ContentDetails |
findContentDetailsById(java.lang.Integer id)
|
java.util.List<ContentXmlData> |
findContentDetailsListById(java.lang.Integer id)
|
java.util.Map<java.lang.String,java.lang.Object> |
findContentDetailsMapById(java.lang.Integer id)
|
java.lang.String |
findContentDetailsXmlById(java.lang.Integer id)
|
java.util.List<ContentPageInfo> |
readAllContentPageInfos()
|
java.util.List<Content> |
readContentAwaitingApproval()
|
java.util.List<Content> |
readContentForSandbox(java.lang.String sandbox)
|
java.util.List<Content> |
readContentForSandboxAndType(java.lang.String sandbox,
java.lang.String contentType)
|
void |
rejectContent(java.util.List<java.lang.Integer> contentIds,
java.lang.String sandbox,
java.lang.String username)
|
void |
removeContentFromSandbox(java.util.List<java.lang.Integer> contentIds,
java.lang.String sandbox)
|
java.lang.String |
renderedContent(java.lang.String styleSheetString,
java.util.List<Content> contentList,
int rowCount)
|
java.lang.String |
renderedContentDetails(java.lang.String styleSheetString,
java.util.List<ContentDetails> contentDetails)
|
java.lang.String |
renderedContentDetails(java.lang.String styleSheetString,
java.util.List<ContentDetails> contentDetails,
int rowCount)
|
Content |
saveContent(Content content,
java.util.List<ContentXmlData> details)
|
void |
submitContentFromSandbox(java.util.List<java.lang.Integer> contentIds,
java.lang.String sandboxName,
java.lang.String username,
java.lang.String note)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contentDao
protected ContentDao contentDao
contentDetailsDao
protected ContentDetailsDao contentDetailsDao
ContentServiceImpl
public ContentServiceImpl()
findContentById
public Content findContentById(java.lang.Integer id)
- Specified by:
findContentById in interface ContentService
findContentDetailsById
public ContentDetails findContentDetailsById(java.lang.Integer id)
- Specified by:
findContentDetailsById in interface ContentService
findContentDetailsXmlById
public java.lang.String findContentDetailsXmlById(java.lang.Integer id)
- Specified by:
findContentDetailsXmlById in interface ContentService
findContentDetailsMapById
public java.util.Map<java.lang.String,java.lang.Object> findContentDetailsMapById(java.lang.Integer id)
throws java.lang.Exception
- Specified by:
findContentDetailsMapById in interface ContentService
- Throws:
java.lang.Exception
findContentDetailsListById
public java.util.List<ContentXmlData> findContentDetailsListById(java.lang.Integer id)
throws java.lang.Exception
- Specified by:
findContentDetailsListById in interface ContentService
- Throws:
java.lang.Exception
findContentDetails
public java.util.List<ContentDetails> findContentDetails(java.lang.String sandbox,
java.lang.String contentType,
java.util.Map<java.lang.String,java.lang.Object> mvelParameters)
- Specified by:
findContentDetails in interface ContentService
findContentDetails
public java.util.List<ContentDetails> findContentDetails(java.lang.String sandbox,
java.lang.String contentType,
java.util.Map<java.lang.String,java.lang.Object> mvelParameters,
java.util.Date displayDate)
- Specified by:
findContentDetails in interface ContentService
findContent
public java.util.List<Content> findContent(java.lang.String sandbox,
java.lang.String contentType,
java.util.Map<java.lang.String,java.lang.Object> mvelParameters,
java.util.Date displayDate)
- Specified by:
findContent in interface ContentService
renderedContentDetails
public java.lang.String renderedContentDetails(java.lang.String styleSheetString,
java.util.List<ContentDetails> contentDetails)
throws java.lang.Exception
- Specified by:
renderedContentDetails in interface ContentService
- Throws:
java.lang.Exception
renderedContentDetails
public java.lang.String renderedContentDetails(java.lang.String styleSheetString,
java.util.List<ContentDetails> contentDetails,
int rowCount)
throws java.lang.Exception
- Specified by:
renderedContentDetails in interface ContentService
- Throws:
java.lang.Exception
renderedContent
public java.lang.String renderedContent(java.lang.String styleSheetString,
java.util.List<Content> contentList,
int rowCount)
throws java.lang.Exception
- Specified by:
renderedContent in interface ContentService
- Throws:
java.lang.Exception
executeExpression
protected java.lang.Boolean executeExpression(java.lang.String expression,
java.util.Map<java.lang.String,java.lang.Object> vars)
approveContent
public void approveContent(java.util.List<java.lang.Integer> contentIds,
java.lang.String sandboxName,
java.lang.String username)
- Specified by:
approveContent in interface ContentService
checkoutContentToSandbox
public java.util.List<Content> checkoutContentToSandbox(java.util.List<java.lang.Integer> contentIds,
java.lang.String sandboxName)
- Specified by:
checkoutContentToSandbox in interface ContentService
readContentAwaitingApproval
public java.util.List<Content> readContentAwaitingApproval()
- Specified by:
readContentAwaitingApproval in interface ContentService
readContentForSandbox
public java.util.List<Content> readContentForSandbox(java.lang.String sandbox)
- Specified by:
readContentForSandbox in interface ContentService
readContentForSandboxAndType
public java.util.List<Content> readContentForSandboxAndType(java.lang.String sandbox,
java.lang.String contentType)
- Specified by:
readContentForSandboxAndType in interface ContentService
rejectContent
public void rejectContent(java.util.List<java.lang.Integer> contentIds,
java.lang.String sandbox,
java.lang.String username)
- Specified by:
rejectContent in interface ContentService
removeContentFromSandbox
public void removeContentFromSandbox(java.util.List<java.lang.Integer> contentIds,
java.lang.String sandbox)
- Specified by:
removeContentFromSandbox in interface ContentService
submitContentFromSandbox
public void submitContentFromSandbox(java.util.List<java.lang.Integer> contentIds,
java.lang.String sandboxName,
java.lang.String username,
java.lang.String note)
- Specified by:
submitContentFromSandbox in interface ContentService
saveContent
public Content saveContent(Content content,
java.util.List<ContentXmlData> details)
- Specified by:
saveContent in interface ContentService
readAllContentPageInfos
public java.util.List<ContentPageInfo> readAllContentPageInfos()
- Specified by:
readAllContentPageInfos in interface ContentService
constructParentUrlMap
public java.util.Map<java.lang.Integer,java.lang.String> constructParentUrlMap()
- Specified by:
constructParentUrlMap in interface ContentService
Copyright © 2012. All Rights Reserved.