|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nuxeo.webengine.sites.utils.SiteQueriesCollection
public class SiteQueriesCollection
Collection of the queries used in the sites module. It gathers all in one place to ease the reading of the code.
Method Summary | |
---|---|
static DocumentModelList |
queryAllSites(CoreSession session,
java.lang.String documentType)
Queries all sites of the given document type. |
static DocumentModelList |
queryLastComments(CoreSession session,
java.lang.String parent,
int numberLimit,
boolean isModerated)
Queries the added comments within a limit. |
static DocumentModelList |
queryLastModifiedPages(CoreSession session,
java.lang.String parent,
java.lang.String documentType,
int numberLimit)
Queries the modified pages within a limit. |
static DocumentModelList |
querySearchPages(CoreSession session,
java.lang.String query,
java.lang.String parent,
java.lang.String documentType,
java.lang.String dateAfter,
java.lang.String dateBefore)
Queries the pages based on a search string. |
static DocumentModelList |
querySitesByUrlAndDocType(CoreSession session,
java.lang.String url,
java.lang.String documentType)
Queries sites by URL and document type. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DocumentModelList querySitesByUrlAndDocType(CoreSession session, java.lang.String url, java.lang.String documentType) throws ClientException
ClientException
public static DocumentModelList queryAllSites(CoreSession session, java.lang.String documentType) throws ClientException
ClientException
public static DocumentModelList queryLastModifiedPages(CoreSession session, java.lang.String parent, java.lang.String documentType, int numberLimit) throws ClientException
ClientException
public static DocumentModelList queryLastComments(CoreSession session, java.lang.String parent, int numberLimit, boolean isModerated) throws ClientException
ClientException
public static DocumentModelList querySearchPages(CoreSession session, java.lang.String query, java.lang.String parent, java.lang.String documentType, java.lang.String dateAfter, java.lang.String dateBefore) throws ClientException
ClientException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |