Package org.alfresco.repo.jscript
Class ScriptFacetResult
- java.lang.Object
-
- org.alfresco.repo.jscript.ScriptFacetResult
-
- All Implemented Interfaces:
Serializable
public class ScriptFacetResult extends Object implements Serializable
Scriptable facet. Specific for use by Search script as part of the object model.- Author:
- Jamal Kaabi-Mofrad
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScriptFacetResult(String facetValue, String facetLabel, int facetLabelIndex, int hits)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFacetLabel()intgetFacetLabelIndex()StringgetFacetValue()intgetHits()
-
-
-
Constructor Detail
-
ScriptFacetResult
public ScriptFacetResult(String facetValue, String facetLabel, int facetLabelIndex, int hits)
- Parameters:
facetValue- the facet value. e.g. the content creator's userIDfacetLabel- the display name of thefacetValue. e.g. jdoe => John DoefacetLabelIndex- the label index to be used for sorting (Optional).The default value is -1hits- the number of hits
-
-