Class ODFSearchHelper
java.lang.Object
org.ametys.plugins.odfweb.service.search.ODFSearchHelper
- All Implemented Interfaces:
Component
,Serviceable
A helper for ODF search
-
Field Summary
Modifier and TypeFieldDescriptionprotected ContentTypeExtensionPoint
The content type extension pointstatic final String
The avalon role. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPathFromSearchFieldId
(String fieldId) Get the path of the search fieldboolean
True if the criterion match with program and subprogramboolean
True if the facet match with program and subprogramvoid
service
(ServiceManager manager)
-
Field Details
-
ROLE
The avalon role. -
_cTypeEP
The content type extension point
-
-
Constructor Details
-
ODFSearchHelper
public ODFSearchHelper()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
isCriterionOnBothProgramAndSubProgram
True if the criterion match with program and subprogram- Parameters:
criterion
- the criterion- Returns:
true
if the criterion match with program and subprogram
-
isFacetOnBothProgramAndSubProgram
True if the facet match with program and subprogram- Parameters:
facet
- the criterion- Returns:
true
if the facet match with program and subprogram
-
getPathFromSearchFieldId
Get the path of the search field- Parameters:
fieldId
- the field id- Returns:
- the path of the search field
-