Package org.alfresco.repo.jscript
Class ScriptFacetResult
- java.lang.Object
-
- org.alfresco.repo.jscript.ScriptFacetResult
-
- All Implemented Interfaces:
java.io.Serializable
public class ScriptFacetResult extends java.lang.Object implements java.io.SerializableScriptable 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(java.lang.String facetValue, java.lang.String facetLabel, int facetLabelIndex, int hits)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFacetLabel()intgetFacetLabelIndex()java.lang.StringgetFacetValue()intgetHits()
-
-
-
Constructor Detail
-
ScriptFacetResult
public ScriptFacetResult(java.lang.String facetValue, java.lang.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
-
-