public class SearchResourcesGenerator extends SearchGenerator
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
SearchResourcesGenerator.ResourceCreatorQuery
Represents a
Query testing the resource creator. |
| Modifier and Type | Field and Description |
|---|---|
protected JSONUtils |
_jsonUtils
The JSON utils
|
protected SearcherFactory |
_searcherFactory
The searcher factory.
|
protected UserHelper |
_userHelper
The user helper
|
_explorerApplicationEP, _resolver, _userManager, RESOURCE, RESOURCE_COLLECTIONmanagerobjectModel, parameters, resolver, sourcecontentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer| Constructor and Description |
|---|
SearchResourcesGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
generate() |
protected Query |
getQuery(Request request,
ExplorerNode explorerNode,
String rootId)
Build the query object corresponding to the user search.
|
void |
service(ServiceManager sManager) |
getMetadataExpression, getResourceAttributes_matchFilter, getAdditionalAttributes, getExplorerNodeAttributes, getResourcesIconCls, saxCollection, saxCollection, saxCollection, saxCollection, saxCollection, saxExplorerNode, saxExplorerNode, saxResourcedisposerecycle, setupsetConsumer, setContentHandler, setLexicalHandlerenableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetConsumerprotected SearcherFactory _searcherFactory
protected JSONUtils _jsonUtils
protected UserHelper _userHelper
public SearchResourcesGenerator()
public void service(ServiceManager sManager) throws ServiceException
service in interface Serviceableservice in class ResourcesExplorerGeneratorServiceExceptionpublic void generate() throws IOException, SAXException, ProcessingException
generate in interface Generatorgenerate in class SearchGeneratorIOExceptionSAXExceptionProcessingExceptionprotected Query getQuery(Request request, ExplorerNode explorerNode, String rootId)
request - The user request.explorerNode - The explorer node to search into.rootId - The root ID, can be null to search all resources.