|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StructuredContentDao
Responsible for querying and updating StructuredContent items
| Method Summary | |
|---|---|
StructuredContent |
addOrUpdateContentItem(StructuredContent content)
Persists the changes or saves a new content item. |
void |
delete(StructuredContent content)
Removes the passed in item from the underlying storage. |
void |
detach(StructuredContent sc)
Detaches the item from the JPA session. |
java.util.List<StructuredContent> |
findActiveStructuredContentByNameAndType(SandBox sandBox,
StructuredContentType type,
java.lang.String name,
Locale locale)
Called by the DisplayContentTag to locate content based
on the current SandBox, StructuredContentType, Name, and Locale. |
java.util.List<StructuredContent> |
findActiveStructuredContentByType(SandBox sandBox,
StructuredContentType type,
Locale locale)
Called by the DisplayContentTag to locate content based
on the current SandBox, StructuredContentType, and Locale. |
StructuredContent |
findStructuredContentById(java.lang.Long contentId)
Returns the StructuredContent item that matches
the passed in Id. |
StructuredContentType |
findStructuredContentTypeById(java.lang.Long contentTypeId)
Returns the StructuredContentType that matches
the passed in contentTypeId. |
StructuredContentType |
findStructuredContentTypeByName(java.lang.String name)
Used to lookup the StructuredContentType by name. |
java.util.Map<java.lang.String,StructuredContentField> |
readFieldsForStructuredContentItem(StructuredContent sc)
|
java.util.List<StructuredContentType> |
retrieveAllStructuredContentTypes()
Returns the list of all StructuredContentTypes. |
| Method Detail |
|---|
StructuredContent findStructuredContentById(java.lang.Long contentId)
StructuredContent item that matches
the passed in Id.
contentId -
StructuredContentType findStructuredContentTypeById(java.lang.Long contentTypeId)
StructuredContentType that matches
the passed in contentTypeId.
contentTypeId -
java.util.List<StructuredContentType> retrieveAllStructuredContentTypes()
StructuredContentTypes.
java.util.Map<java.lang.String,StructuredContentField> readFieldsForStructuredContentItem(StructuredContent sc)
StructuredContent addOrUpdateContentItem(StructuredContent content)
content -
void delete(StructuredContent content)
content -
java.util.List<StructuredContent> findActiveStructuredContentByType(SandBox sandBox,
StructuredContentType type,
Locale locale)
DisplayContentTag to locate content based
on the current SandBox, StructuredContentType, and Locale.
sandBox - to search for the contenttype - of content to search forlocale - to restrict the search to
DisplayContentTag
java.util.List<StructuredContent> findActiveStructuredContentByNameAndType(SandBox sandBox,
StructuredContentType type,
java.lang.String name,
Locale locale)
DisplayContentTag to locate content based
on the current SandBox, StructuredContentType, Name, and Locale.
sandBox - type - name - locale -
StructuredContentType findStructuredContentTypeByName(java.lang.String name)
name -
void detach(StructuredContent sc)
sc - - the item to detach
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||