public class ContentStore
extends java.lang.Object
| Constructor and Description |
|---|
ContentStore(java.lang.String type,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
deleteAllByDocType(java.lang.String docType) |
void |
deleteContent(java.lang.String docType,
java.lang.String uri) |
void |
drop() |
DocumentList |
getAllContent(java.lang.String docType) |
DocumentList |
getAllContent(java.lang.String docType,
boolean applyPaging) |
java.util.Set<java.lang.String> |
getAllTags() |
DocumentList |
getAllTagsFromPublishedPosts() |
long |
getDocumentCount(java.lang.String docType) |
DocumentList |
getDocumentStatus(java.lang.String docType,
java.lang.String uri) |
long |
getLimit() |
DocumentList |
getPublishedContent(java.lang.String docType) |
DocumentList |
getPublishedContent(java.lang.String docType,
boolean applyPaging) |
long |
getPublishedCount(java.lang.String docType) |
DocumentList |
getPublishedDocumentsByTag(java.lang.String tag) |
DocumentList |
getPublishedPages() |
DocumentList |
getPublishedPosts() |
DocumentList |
getPublishedPosts(boolean applyPaging) |
DocumentList |
getPublishedPostsByTag(java.lang.String tag) |
DocumentList |
getSignaturesForTemplates() |
long |
getStart() |
java.util.Set<java.lang.String> |
getTags() |
DocumentList |
getUnrenderedContent(java.lang.String docType) |
void |
insertSignature(java.lang.String currentTemplatesSignature) |
void |
markContentAsRendered(java.lang.String docType) |
void |
resetPagination() |
void |
setLimit(int limit) |
void |
setStart(int start) |
void |
shutdown() |
void |
updateSchema() |
void |
updateSignatures(java.lang.String currentTemplatesSignature) |
public long getStart()
public void setStart(int start)
public long getLimit()
public void setLimit(int limit)
public void resetPagination()
public final void updateSchema()
public void close()
public void shutdown()
public void drop()
public long getDocumentCount(java.lang.String docType)
public long getPublishedCount(java.lang.String docType)
public DocumentList getDocumentStatus(java.lang.String docType, java.lang.String uri)
public DocumentList getPublishedPosts()
public DocumentList getPublishedPosts(boolean applyPaging)
public DocumentList getPublishedPostsByTag(java.lang.String tag)
public DocumentList getPublishedDocumentsByTag(java.lang.String tag)
public DocumentList getPublishedPages()
public DocumentList getPublishedContent(java.lang.String docType)
public DocumentList getPublishedContent(java.lang.String docType, boolean applyPaging)
public DocumentList getAllContent(java.lang.String docType)
public DocumentList getAllContent(java.lang.String docType, boolean applyPaging)
public DocumentList getAllTagsFromPublishedPosts()
public DocumentList getSignaturesForTemplates()
public DocumentList getUnrenderedContent(java.lang.String docType)
public void deleteContent(java.lang.String docType,
java.lang.String uri)
public void markContentAsRendered(java.lang.String docType)
public void updateSignatures(java.lang.String currentTemplatesSignature)
public void deleteAllByDocType(java.lang.String docType)
public void insertSignature(java.lang.String currentTemplatesSignature)
public java.util.Set<java.lang.String> getTags()
public java.util.Set<java.lang.String> getAllTags()