public interface BaseSearch
| Modifier and Type | Method and Description |
|---|---|
InputStream |
csvExport(String lang,
QueryParams queryParams,
boolean compact)
Csv export input stream.
|
void |
deleteSearch(int qpId)
Delete search.
|
List<QueryResult> |
find(QueryParams queryParams,
String propertiesPlugin)
Find list.
|
List<QueryResult> |
find(QueryParams queryParams,
String sortField,
boolean sortReverse,
String propertiesPlugin)
Find list.
|
List<QueryParams> |
findAllDefaultByNodeClass(long ncId)
Find all default by node class list.
|
List<QueryResult> |
findByQuery(String query,
String propertiesPlugin)
Find by query list.
|
List<QueryResult> |
findByQuery(String query,
String sortField,
boolean sortReverse,
String propertiesPlugin)
Find by query list.
|
ResultSet |
findByQueryPaginated(String query,
int offset,
int limit,
String propertiesPlugin)
Find by query paginated result set.
|
ResultSet |
findByQueryPaginated(String query,
String sortField,
boolean sortReverse,
int offset,
int limit,
String propertiesPlugin)
Find by query paginated result set.
|
ResultSet |
findPaginated(QueryParams queryParams,
int offset,
int limit,
String propertiesPlugin)
Find paginated result set.
|
ResultSet |
findPaginated(QueryParams queryParams,
String sortField,
boolean sortReverse,
int offset,
int limit,
String propertiesPlugin)
Find paginated result set.
|
SimpleNodeBaseResultSet |
findSimpleNodeBaseByQueryPaginated(String query,
int offset,
int limit)
Find simple node base by query paginated simple node base result set.
|
SimpleNodeBaseResultSet |
findSimpleNodeBaseByQueryPaginated(String query,
String sortField,
boolean sortReverse,
int offset,
int limit)
Find simple node base by query paginated simple node base result set.
|
SimpleNodeBaseResultSet |
findSimpleNodeBasePaginated(QueryParams queryParams,
int offset,
int limit)
Find simple node base paginated simple node base result set.
|
SimpleNodeBaseResultSet |
findSimpleNodeBasePaginated(QueryParams queryParams,
String sortField,
boolean sortReverse,
int offset,
int limit)
Find simple node base paginated simple node base result set.
|
SimpleNodeBaseResultSet |
findSimpleNodeBasePaginated(QueryParams queryParams,
String sortField,
boolean sortReverse,
int offset,
int limit,
String pluginName)
Find simple node base paginated simple node base result set.
|
List<QueryResult> |
findWithMetadata(QueryParams params,
String sortField,
boolean sortReverse,
String propertiesPlugin,
List<String> groups)
Find with metadata list.
|
List<QueryResult> |
findWithMetadata(QueryParams params,
String propertiesPlugin,
List<String> groups)
Find with metadata list.
|
ResultSet |
findWithMetadataPaginated(QueryParams queryParams,
int offset,
int limit,
String propertiesPlugin,
List<String> groups)
Find with metadata paginated result set.
|
ResultSet |
findWithMetadataPaginated(QueryParams queryParams,
String sortField,
boolean sortReverse,
int offset,
int limit,
String propertiesPlugin,
List<String> groups)
Find with metadata paginated result set.
|
List<QueryParams> |
getAllSearchs()
Gets all searchs.
|
List<Document> |
getCategorizedDocuments(String categoryId)
Gets categorized documents.
|
Map<String,Integer> |
getKeywordMap(List<String> filter)
Gets keyword map.
|
List<MimeType> |
getMimeTypes()
Gets mime types.
|
QueryParams |
getSearch(int qpId)
Gets search.
|
NodeSearchConfig |
getSearchConfig(String pluginName)
Gets search config.
|
SearchPluginList |
getSearchPlugins()
Gets search plugins.
|
long |
saveSearch(QueryParams params)
Save search long.
|
void |
updateSearch(QueryParams params)
Update search.
|
List<QueryResult> find(QueryParams queryParams, String propertiesPlugin) throws AccessDeniedException, ParseException, RepositoryException, DatabaseException, UnknownException, WebserviceException
queryParams - the query paramspropertiesPlugin - the properties pluginAccessDeniedException - the access denied exceptionParseException - the parse exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionList<QueryResult> find(QueryParams queryParams, String sortField, boolean sortReverse, String propertiesPlugin) throws AccessDeniedException, ParseException, RepositoryException, DatabaseException, UnknownException, WebserviceException
queryParams - the query paramssortField - the sort fieldsortReverse - the sort reversepropertiesPlugin - the properties pluginAccessDeniedException - the access denied exceptionParseException - the parse exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionResultSet findPaginated(QueryParams queryParams, int offset, int limit, String propertiesPlugin) throws AccessDeniedException, ParseException, RepositoryException, DatabaseException, UnknownException, WebserviceException
queryParams - the query paramsoffset - the offsetlimit - the limitpropertiesPlugin - the properties pluginAccessDeniedException - the access denied exceptionParseException - the parse exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionResultSet findPaginated(QueryParams queryParams, String sortField, boolean sortReverse, int offset, int limit, String propertiesPlugin) throws AccessDeniedException, ParseException, RepositoryException, DatabaseException, UnknownException, WebserviceException
queryParams - the query paramssortField - the sort fieldsortReverse - the sort reverseoffset - the offsetlimit - the limitpropertiesPlugin - the properties pluginAccessDeniedException - the access denied exceptionParseException - the parse exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionSimpleNodeBaseResultSet findSimpleNodeBasePaginated(QueryParams queryParams, int offset, int limit) throws AccessDeniedException, ParseException, RepositoryException, DatabaseException, UnknownException, WebserviceException
queryParams - the query paramsoffset - the offsetlimit - the limitAccessDeniedException - the access denied exceptionParseException - the parse exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionSimpleNodeBaseResultSet findSimpleNodeBasePaginated(QueryParams queryParams, String sortField, boolean sortReverse, int offset, int limit) throws AccessDeniedException, ParseException, RepositoryException, DatabaseException, UnknownException, WebserviceException
queryParams - the query paramssortField - the sort fieldsortReverse - the sort reverseoffset - the offsetlimit - the limitAccessDeniedException - the access denied exceptionParseException - the parse exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionSimpleNodeBaseResultSet findSimpleNodeBasePaginated(QueryParams queryParams, String sortField, boolean sortReverse, int offset, int limit, String pluginName) throws AccessDeniedException, ParseException, RepositoryException, DatabaseException, UnknownException, WebserviceException
queryParams - the query paramssortField - the sort fieldsortReverse - the sort reverseoffset - the offsetlimit - the limitpluginName - the plugin nameAccessDeniedException - the access denied exceptionParseException - the parse exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionMap<String,Integer> getKeywordMap(List<String> filter) throws AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
filter - the filterAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionList<Document> getCategorizedDocuments(String categoryId) throws AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
categoryId - the category idAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionlong saveSearch(QueryParams params) throws RepositoryException, DatabaseException, UnknownException, WebserviceException
params - the paramsRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionvoid updateSearch(QueryParams params) throws RepositoryException, DatabaseException, UnknownException, WebserviceException
params - the paramsRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionQueryParams getSearch(int qpId) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
qpId - the qp idAccessDeniedException - the access denied exceptionPathNotFoundException - the path not found exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionList<QueryParams> getAllSearchs() throws AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
AccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionvoid deleteSearch(int qpId)
throws RepositoryException,
DatabaseException,
UnknownException,
WebserviceException
qpId - the qp idRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionSearchPluginList getSearchPlugins() throws UnknownException, WebserviceException
UnknownException - the unknown exceptionWebserviceException - the webservice exceptionNodeSearchConfig getSearchConfig(String pluginName) throws UnknownException, WebserviceException
pluginName - the plugin nameUnknownException - the unknown exceptionWebserviceException - the webservice exceptionList<QueryParams> findAllDefaultByNodeClass(long ncId) throws AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
ncId - the nc idAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionList<QueryResult> findByQuery(String query, String propertiesPlugin) throws ParseException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
query - the querypropertiesPlugin - the properties pluginParseException - the parse exceptionAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionList<QueryResult> findByQuery(String query, String sortField, boolean sortReverse, String propertiesPlugin) throws ParseException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
query - the querysortField - the sort fieldsortReverse - the sort reversepropertiesPlugin - the properties pluginParseException - the parse exceptionAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionResultSet findByQueryPaginated(String query, int offset, int limit, String propertiesPlugin) throws ParseException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
query - the queryoffset - the offsetlimit - the limitpropertiesPlugin - the properties pluginParseException - the parse exceptionAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionResultSet findByQueryPaginated(String query, String sortField, boolean sortReverse, int offset, int limit, String propertiesPlugin) throws ParseException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
query - the querysortField - the sort fieldsortReverse - the sort reverseoffset - the offsetlimit - the limitpropertiesPlugin - the properties pluginParseException - the parse exceptionAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionSimpleNodeBaseResultSet findSimpleNodeBaseByQueryPaginated(String query, int offset, int limit) throws ParseException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
query - the queryoffset - the offsetlimit - the limitParseException - the parse exceptionAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionSimpleNodeBaseResultSet findSimpleNodeBaseByQueryPaginated(String query, String sortField, boolean sortReverse, int offset, int limit) throws ParseException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
query - the querysortField - the sort fieldsortReverse - the sort reverseoffset - the offsetlimit - the limitParseException - the parse exceptionAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionList<QueryResult> findWithMetadata(QueryParams params, String propertiesPlugin, List<String> groups) throws ParseException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
params - the paramspropertiesPlugin - the properties plugingroups - the groupsParseException - the parse exceptionAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionList<QueryResult> findWithMetadata(QueryParams params, String sortField, boolean sortReverse, String propertiesPlugin, List<String> groups) throws ParseException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
params - the paramssortField - the sort fieldsortReverse - the sort reversepropertiesPlugin - the properties plugingroups - the groupsParseException - the parse exceptionAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionResultSet findWithMetadataPaginated(QueryParams queryParams, int offset, int limit, String propertiesPlugin, List<String> groups) throws AccessDeniedException, ParseException, RepositoryException, DatabaseException, UnknownException, WebserviceException
queryParams - the query paramsoffset - the offsetlimit - the limitpropertiesPlugin - the properties plugingroups - the groupsAccessDeniedException - the access denied exceptionParseException - the parse exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionResultSet findWithMetadataPaginated(QueryParams queryParams, String sortField, boolean sortReverse, int offset, int limit, String propertiesPlugin, List<String> groups) throws AccessDeniedException, ParseException, RepositoryException, DatabaseException, UnknownException, WebserviceException
queryParams - the query paramssortField - the sort fieldsortReverse - the sort reverseoffset - the offsetlimit - the limitpropertiesPlugin - the properties plugingroups - the groupsAccessDeniedException - the access denied exceptionParseException - the parse exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionList<MimeType> getMimeTypes() throws AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
AccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionInputStream csvExport(String lang, QueryParams queryParams, boolean compact) throws AccessDeniedException, ParseException, RepositoryException, DatabaseException, UnknownException, WebserviceException
lang - the langqueryParams - the query paramscompact - the compactAccessDeniedException - the access denied exceptionParseException - the parse exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionCopyright © 2024 Open Knowledge Management System S.L.. All Rights Reserved.