public class SiteQueriesCollection extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
checkUnrestrictedSiteExistenceByUrlAndDocType(CoreSession session,
String url,
String documentType)
Queries sites unrestricted by URL and document type.
|
static DocumentModelList |
queryAllSites(CoreSession session,
String documentType)
Queries all sites of the given document type.
|
static DocumentModelList |
queryLastComments(CoreSession session,
String parent,
int numberLimit,
boolean isModerated)
Queries the added comments within a limit.
|
static DocumentModelList |
queryLastModifiedPages(CoreSession session,
String parent,
String documentType,
int numberLimit)
Queries the modified pages within a limit.
|
static DocumentModelList |
querySearchPages(CoreSession session,
String query,
String parent,
String documentType,
String dateAfter,
String dateBefore)
Queries the pages based on a search string.
|
static DocumentModelList |
querySitesByUrlAndDocType(CoreSession session,
String url,
String documentType)
Queries sites by URL and document type.
|
public static DocumentModelList querySitesByUrlAndDocType(CoreSession session, String url, String documentType) throws ClientException
ClientException
public static boolean checkUnrestrictedSiteExistenceByUrlAndDocType(CoreSession session, String url, String documentType) throws ClientException
ClientException
public static DocumentModelList queryAllSites(CoreSession session, String documentType) throws ClientException
ClientException
public static DocumentModelList queryLastModifiedPages(CoreSession session, String parent, String documentType, int numberLimit) throws ClientException
ClientException
public static DocumentModelList queryLastComments(CoreSession session, String parent, int numberLimit, boolean isModerated) throws ClientException
ClientException
public static DocumentModelList querySearchPages(CoreSession session, String query, String parent, String documentType, String dateAfter, String dateBefore) throws ClientException
ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.