public interface FacetModel
Modifier and Type | Method and Description |
---|---|
<F extends Facet<?>> |
findFacet(FacetTypeId<F> type,
java.lang.String name) |
Facet<?> [] |
getAllFacets() |
<F extends Facet<?>> |
getFacetByType(Facet<?> underlyingFacet,
FacetTypeId<F> typeId) |
<F extends Facet<?>> |
getFacetByType(FacetTypeId<F> typeId) |
java.lang.String |
getFacetName(Facet<?> facet) |
<F extends Facet<?>> |
getFacetsByType(Facet<?> underlyingFacet,
FacetTypeId<F> typeId) |
<F extends Facet<?>> |
getFacetsByType(FacetTypeId<F> typeId) |
Facet<?> [] |
getSortedFacets()
Returns all facets in the module sorted in such a way that a facet will occur before any of its subfacets
|
Facet<?> [] getSortedFacets()
Facet<?> [] getAllFacets()
<F extends Facet<?>> java.util.Collection<F> getFacetsByType(FacetTypeId<F> typeId)
typeId
- type of facets<F extends Facet<?>> F getFacetByType(FacetTypeId<F> typeId)
typeId
- type of facetnull
if the module doesn't contain facets of this type<F extends Facet<?>> F findFacet(FacetTypeId<F> type, java.lang.String name)
type
- type of facetname
- name of facetnull
if not found<F extends Facet<?>> F getFacetByType(Facet<?> underlyingFacet, FacetTypeId<F> typeId)
underlyingFacet
- facettypeId
- type of subfacet<F extends Facet<?>> java.util.Collection<F> getFacetsByType(Facet<?> underlyingFacet, FacetTypeId<F> typeId)
underlyingFacet
- facettypeId
- type of subfacetjava.lang.String getFacetName(Facet<?> facet)