Class ODFSearchHelper
java.lang.Object
org.ametys.plugins.odfweb.service.search.ODFSearchHelper
- All Implemented Interfaces:
Component,Serviceable
A helper for ODF search
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ContentTypeExtensionPointThe content type extension pointstatic final StringThe avalon role. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPathFromSearchFieldId(String fieldId) Get the path of the search fieldbooleanDetermines if the criterion matches with program and subprogrambooleanTrue if the facet match with program and subprogramvoidservice(ServiceManager manager)
-
Field Details
-
ROLE
The avalon role. -
_cTypeEP
The content type extension point
-
-
Constructor Details
-
ODFSearchHelper
public ODFSearchHelper()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
isCriterionOnBothProgramAndSubProgram
Determines if the criterion matches with program and subprogram- Parameters:
criterion- the criterion- Returns:
trueif the criterion match with program and subprogram
-
isFacetOnBothProgramAndSubProgram
True if the facet match with program and subprogram- Parameters:
facet- the criterion- Returns:
trueif 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
-