Class ContentRepositoryFragmentEntryModel
java.lang.Object
com.gentics.contentnode.rest.model.ContentRepositoryFragmentEntryModel
- All Implemented Interfaces:
Serializable
Model of an entry in a ContentRepository Fragment
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAttribute TypeEntry categoryTrue when the entry is a displayfield (of a Mesh ContentRepository)com.fasterxml.jackson.databind.JsonNodeGet the elasticsearch specific configuration of a Mesh CRFilesystem flagName of the foreign attribute for foreignlink attributesRule for restricting foreign linked objectsGlobal IDgetId()Local IDMap name (name of the attribute in the ContentRepository)Get the micronode filter (for entries of type micronode)Multivalue flagTrue when the entry should be excluded from indexingType of the objectOptimized flagTrue when the entry is a segmentfield (of a Mesh ContentRepository)Tag name (property to resolve for the object)Type of the target object for link attributesTrue when the entry is a urlfield (of a Mesh ContentRepository)voidsetAttributeType(Integer attributeType) Set the attribute typevoidsetCategory(String category) Set the categoryvoidsetDisplayfield(Boolean displayfield) Set displayfield flagvoidsetElasticsearch(com.fasterxml.jackson.databind.JsonNode elasticsearch) Set elasticsearch configvoidsetFilesystem(Boolean filesystem) Set filesystem flagvoidsetForeignlinkAttribute(String foreignlinkAttribute) Set foreign attribute namevoidsetForeignlinkAttributeRule(String foreignlinkAttributeRule) Set foreign link rulevoidsetGlobalId(String globalId) Set the global IDvoidSet the local IDvoidsetMapname(String mapname) Set the map namevoidsetMicronodeFilter(String micronodeFilter) Set the micronode filtervoidsetMultivalue(Boolean multivalue) Set multivalue flagvoidsetNoIndex(Boolean noIndex) Set the 'exclude from indexing' flagvoidsetObjType(Integer objType) Set the object typevoidsetOptimized(Boolean optimized) Set optimized flagvoidsetSegmentfield(Boolean segmentfield) Set segmentfield flagvoidsetTagname(String tagname) Set the tag namevoidsetTargetType(Integer targetType) Set the target typevoidsetUrlfield(Boolean urlfield) Set the urlfield flag
-
Constructor Details
-
ContentRepositoryFragmentEntryModel
public ContentRepositoryFragmentEntryModel()
-
-
Method Details
-
getId
Local ID- Returns:
- local ID
-
setId
Set the local ID- Parameters:
id- ID
-
getGlobalId
Global ID- Returns:
- global ID
-
setGlobalId
Set the global ID- Parameters:
globalId- global ID
-
getTagname
Tag name (property to resolve for the object)- Returns:
- tag name
-
setTagname
Set the tag name- Parameters:
tagname- tag name
-
getMapname
Map name (name of the attribute in the ContentRepository)- Returns:
- map name
-
setMapname
Set the map name- Parameters:
mapname- map name
-
getObjType
Type of the object- Returns:
- object type
-
setObjType
Set the object type- Parameters:
object- type
-
getAttributeType
Attribute Type- Returns:
- attribute type
-
setAttributeType
Set the attribute type- Parameters:
attributeType- attribute type
-
getMultivalue
Multivalue flag- Returns:
- multivalue
-
setMultivalue
Set multivalue flag- Parameters:
multivalue- flag
-
getOptimized
Optimized flag- Returns:
- optimized
-
setOptimized
Set optimized flag- Parameters:
optimized- flag
-
getFilesystem
Filesystem flag- Returns:
- filesystem flag
-
setFilesystem
Set filesystem flag- Parameters:
filesystem- flag
-
getTargetType
Type of the target object for link attributes- Returns:
- target type
-
setTargetType
Set the target type- Parameters:
targetType- target type
-
getForeignlinkAttribute
Name of the foreign attribute for foreignlink attributes- Returns:
- attribute name
-
setForeignlinkAttribute
Set foreign attribute name- Parameters:
foreignlinkAttribute- attribute name
-
getForeignlinkAttributeRule
Rule for restricting foreign linked objects- Returns:
- rule
-
setForeignlinkAttributeRule
Set foreign link rule- Parameters:
foreignlinkAttributeRule- rule
-
getCategory
Entry category- Returns:
- category
-
setCategory
Set the category- Parameters:
category- category
-
getDisplayfield
True when the entry is a displayfield (of a Mesh ContentRepository)- Returns:
- true for displayfield
-
setDisplayfield
Set displayfield flag- Parameters:
displayfield- flag
-
getSegmentfield
True when the entry is a segmentfield (of a Mesh ContentRepository)- Returns:
- true for segmentfield
-
setSegmentfield
Set segmentfield flag- Parameters:
segmentfield- flag
-
getUrlfield
True when the entry is a urlfield (of a Mesh ContentRepository)- Returns:
- true for url field
-
setUrlfield
Set the urlfield flag- Parameters:
urlfield- flag
-
getNoIndex
True when the entry should be excluded from indexing- Returns:
- true for no indexing
-
setNoIndex
Set the 'exclude from indexing' flag- Parameters:
noIndex- flag
-
getElasticsearch
public com.fasterxml.jackson.databind.JsonNode getElasticsearch()Get the elasticsearch specific configuration of a Mesh CR- Returns:
- elasticsearch config
-
setElasticsearch
public void setElasticsearch(com.fasterxml.jackson.databind.JsonNode elasticsearch) Set elasticsearch config- Parameters:
elasticsearch- config
-
getMicronodeFilter
Get the micronode filter (for entries of type micronode)- Returns:
- micronode filter
-
setMicronodeFilter
Set the micronode filter- Parameters:
micronodeFilter- micronode filter
-