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 class
FacetablePropertyFTL.FacetablePropertyFTLComparator
In order to give deterministic responses when getting facetable properties, allFacetablePropertyFTL
instances are sorted.static class
FacetablePropertyFTL.SpecialFacetablePropertyFTL
This class represents a hard-coded facetable pseudo-property.static class
FacetablePropertyFTL.StandardFacetablePropertyFTL
This class represents a normal Alfresco property which is facetable.static class
FacetablePropertyFTL.SyntheticFacetablePropertyFTL
This 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 String
localisedTitle
The 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 QName
getContainerClassType()
abstract QName
getDataType()
abstract String
getDisplayName()
abstract QName
getModelQname()
abstract QName
getQname()
abstract String
getShortQname()
String
getTitle()
-
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 QName getQname()
-
getDisplayName
public abstract String getDisplayName()
-
getContainerClassType
public abstract QName getContainerClassType()
-
getDataType
public abstract QName getDataType()
-
getModelQname
public abstract QName getModelQname()
-
getTitle
public String getTitle()
-
-