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() |
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx |
getDb() |
long |
getDocumentCount(java.lang.String docType) |
DocumentList |
getDocumentStatus(java.lang.String docType,
java.lang.String uri) |
long |
getLimit() |
DocumentList |
getPublishedContent(java.lang.String docType) |
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) |
long |
getStart() |
java.util.Set<java.lang.String> |
getTags() |
DocumentList |
getUnrenderedContent(java.lang.String docType) |
boolean |
isActive() |
void |
markContentAsRendered(java.lang.String docType) |
void |
resetPagination() |
void |
setDb(com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx db) |
void |
setLimit(int limit) |
void |
setStart(int start) |
void |
shutdown() |
void |
startup() |
void |
updateAndClearCacheIfNeeded(boolean needed,
java.io.File templateFolder) |
void |
updateSchema() |
public com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx getDb()
public void setDb(com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx db)
public void startup()
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 getAllContent(java.lang.String docType)
public DocumentList getAllContent(java.lang.String docType, boolean applyPaging)
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 deleteAllByDocType(java.lang.String docType)
public java.util.Set<java.lang.String> getTags()
public java.util.Set<java.lang.String> getAllTags()
public void updateAndClearCacheIfNeeded(boolean needed,
java.io.File templateFolder)
public boolean isActive()