Class FacetablePropertyFTL<T>
- java.lang.Object
-
- org.alfresco.repo.web.scripts.facet.FacetablePropertyFTL<T>
-
- Type Parameters:
T- a type to ensure that the comparator is implemented in a typesafe way.
- All Implemented Interfaces:
Comparable<T>
- Direct Known Subclasses:
FacetablePropertyFTL.SpecialFacetablePropertyFTL,FacetablePropertyFTL.StandardFacetablePropertyFTL,FacetablePropertyFTL.SyntheticFacetablePropertyFTL
public abstract class FacetablePropertyFTL<T> extends Object implements Comparable<T>
This interface defines a simple POJO/DTO for use in the FTL model and rendering in the JSON API.- Since:
- 5.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFacetablePropertyFTL.FacetablePropertyFTLComparatorIn order to give deterministic responses when getting facetable properties, allFacetablePropertyFTLinstances are sorted.static classFacetablePropertyFTL.SpecialFacetablePropertyFTLThis class represents a hard-coded facetable pseudo-property.static classFacetablePropertyFTL.StandardFacetablePropertyFTLThis class represents a normal Alfresco property which is facetable.static classFacetablePropertyFTL.SyntheticFacetablePropertyFTLThis class represents a facetable property, which is not actually an Alfresco content property, but is closely associated with one.
-
Field Summary
Fields Modifier and Type Field Description protected StringlocalisedTitleThe localised title for this property.
-
Constructor Summary
Constructors Constructor Description FacetablePropertyFTL(String localisedTitle)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract org.alfresco.service.namespace.QNamegetContainerClassType()abstract org.alfresco.service.namespace.QNamegetDataType()abstract StringgetDisplayName()abstract org.alfresco.service.namespace.QNamegetModelQname()abstract org.alfresco.service.namespace.QNamegetQname()abstract StringgetShortQname()StringgetTitle()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Field Detail
-
localisedTitle
protected final String localisedTitle
The localised title for this property.
-
-
Constructor Detail
-
FacetablePropertyFTL
public FacetablePropertyFTL(String localisedTitle)
-
-
Method Detail
-
getShortQname
public abstract String getShortQname()
-
getQname
public abstract org.alfresco.service.namespace.QName getQname()
-
getDisplayName
public abstract String getDisplayName()
-
getContainerClassType
public abstract org.alfresco.service.namespace.QName getContainerClassType()
-
getDataType
public abstract org.alfresco.service.namespace.QName getDataType()
-
getModelQname
public abstract org.alfresco.service.namespace.QName getModelQname()
-
getTitle
public String getTitle()
-
-