|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StructuredContentService
Created by bpolster.
| Method Summary | |
|---|---|
StructuredContent |
addStructuredContent(StructuredContent content,
SandBox destinationSandbox)
This method is intended to be called from within the CMS admin only. |
java.lang.Long |
countContentItems(SandBox sandBox,
org.hibernate.Criteria c)
|
void |
deleteStructuredContent(StructuredContent content,
SandBox destinationSandbox)
If deleting and item where content.originalItemId != null then the item is deleted from the database. |
java.util.List<StructuredContent> |
findContentItems(SandBox sandbox,
org.hibernate.Criteria c)
Retuns content items for the passed in sandbox that match the passed in criteria. |
java.util.Map<java.lang.String,StructuredContentField> |
findFieldsByContentId(java.lang.Long contentId)
Returns the fields associated with the passed in contentId. |
StructuredContent |
findStructuredContentById(java.lang.Long contentId)
Returns the StructuredContent item associated with the passed in id. |
StructuredContentType |
findStructuredContentTypeById(java.lang.Long id)
|
StructuredContentType |
findStructuredContentTypeByName(java.lang.String name)
|
java.util.List<StructuredContent> |
lookupStructuredContentItemsByName(SandBox sandBox,
StructuredContentType contentType,
java.lang.String contentName,
Locale locale,
java.lang.Integer count,
java.util.Map<java.lang.String,java.lang.Object> ruleDTOs)
|
java.util.List<StructuredContent> |
lookupStructuredContentItemsByType(SandBox sandBox,
StructuredContentType contentType,
Locale locale,
java.lang.Integer count,
java.util.Map<java.lang.String,java.lang.Object> ruleDTOs)
|
java.util.List<StructuredContentType> |
retrieveAllStructuredContentTypes()
Returns the list of structured content types. |
StructuredContent |
updateStructuredContent(StructuredContent content,
SandBox sandbox)
This method is intended to be called from within the CMS admin only. |
| Methods inherited from interface org.broadleafcommerce.openadmin.server.domain.SandBoxItemListener |
|---|
itemPromoted, itemRejected, itemReverted |
| Method Detail |
|---|
StructuredContent findStructuredContentById(java.lang.Long contentId)
contentId - - The id of the content item.
StructuredContentType findStructuredContentTypeById(java.lang.Long id)
StructuredContentType findStructuredContentTypeByName(java.lang.String name)
java.util.List<StructuredContentType> retrieveAllStructuredContentTypes()
java.util.Map<java.lang.String,StructuredContentField> findFieldsByContentId(java.lang.Long contentId)
contentId - - The id of the content.
java.util.List<StructuredContent> findContentItems(SandBox sandbox,
org.hibernate.Criteria c)
sandbox - - the sandbox to find structured content items (null indicates items that are in production for
sites that are single tenant.
java.lang.Long countContentItems(SandBox sandBox,
org.hibernate.Criteria c)
StructuredContent addStructuredContent(StructuredContent content,
SandBox destinationSandbox)
StructuredContent updateStructuredContent(StructuredContent content,
SandBox sandbox)
void deleteStructuredContent(StructuredContent content,
SandBox destinationSandbox)
page - destinationSandbox -
java.util.List<StructuredContent> lookupStructuredContentItemsByType(SandBox sandBox,
StructuredContentType contentType,
Locale locale,
java.lang.Integer count,
java.util.Map<java.lang.String,java.lang.Object> ruleDTOs)
java.util.List<StructuredContent> lookupStructuredContentItemsByName(SandBox sandBox,
StructuredContentType contentType,
java.lang.String contentName,
Locale locale,
java.lang.Integer count,
java.util.Map<java.lang.String,java.lang.Object> ruleDTOs)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||