Class TagmapEntryModel
java.lang.Object
com.gentics.contentnode.rest.model.TagmapEntryModel
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Integer
protected String
protected Boolean
protected com.fasterxml.jackson.databind.JsonNode
protected Boolean
protected String
protected String
protected String
protected String
protected Integer
protected String
protected String
protected Boolean
protected Boolean
protected Integer
protected Boolean
protected Boolean
protected Boolean
protected String
protected Integer
protected Boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAttribute TypeEntry categoryTrue when the entry is a displayfield (of a Mesh ContentRepository)com.fasterxml.jackson.databind.JsonNode
Get the elasticsearch specific configuration of a Mesh CRFilesystem flagName of the foreign attribute for foreignlink attributesRule for restricting foreign linked objectsName of the CR Fragment, this entry belongs to.Global IDgetId()
Internal 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 the indexingType of the objectOptimized flagReserved 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)void
setAttributeType
(Integer attributeType) Set the attribute typevoid
setCategory
(String category) Set the categoryvoid
setDisplayfield
(Boolean displayfield) Set displayfield flagvoid
setElasticsearch
(com.fasterxml.jackson.databind.JsonNode elasticsearch) Set elasticsearch configvoid
setFilesystem
(Boolean filesystem) Set filesystem flagvoid
setForeignlinkAttribute
(String foreignlinkAttribute) Set foreign attribute namevoid
setForeignlinkAttributeRule
(String foreignlinkAttributeRule) Set foreign link rulevoid
setFragmentName
(String fragmentName) Set the fragment namevoid
setGlobalId
(String globalId) Set the global IDvoid
Set the internal IDvoid
setMapname
(String mapname) Set the map namevoid
setMicronodeFilter
(String micronodeFilter) Set the micronode filtervoid
setMultivalue
(Boolean multivalue) Set multivalue flagvoid
setNoIndex
(Boolean noIndex) Set the 'exclude from indexing' flagvoid
Set the object typevoid
setOptimized
(Boolean optimized) Optimized flagvoid
setReserved
(Boolean reserved) Set reserved flagvoid
setSegmentfield
(Boolean segmentfield) Set segmentfield flagvoid
setTagname
(String tagname) Set the tag namevoid
setTargetType
(Integer targetType) Set the target typevoid
setUrlfield
(Boolean urlfield) Set the urlfield flag
-
Field Details
-
id
-
globalId
-
tagname
-
mapname
-
object
-
attributeType
-
targetType
-
multivalue
-
optimized
-
reserved
-
filesystem
-
foreignlinkAttribute
-
foreignlinkAttributeRule
-
category
-
segmentfield
-
displayfield
-
urlfield
-
noIndex
-
elasticsearch
protected com.fasterxml.jackson.databind.JsonNode elasticsearch -
micronodeFilter
-
fragmentName
-
-
Constructor Details
-
TagmapEntryModel
public TagmapEntryModel()Create an empty instance
-
-
Method Details
-
getId
Internal ID- Returns:
- ID
-
setId
Set the internal ID- Parameters:
id
- ID
-
getGlobalId
Global ID- Returns:
- global ID
-
setGlobalId
Set the global ID- Parameters:
globalId
- 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
-
getObject
Type of the object- Returns:
- object type
-
setObject
Set the object type- Parameters:
object
- type
-
getAttributeType
Attribute Type- Returns:
- attribute type
-
setAttributeType
Set the attribute type- Parameters:
attributeType
- attribute type
-
getTargetType
Type of the target object for link attributes- Returns:
- target type
-
setTargetType
Set the target type- Parameters:
targetType
- target type
-
getMultivalue
Multivalue flag- Returns:
- multivalue
-
setMultivalue
Set multivalue flag- Parameters:
multivalue
- flag
-
getOptimized
Optimized flag- Returns:
- optimized
-
setOptimized
Optimized flag- Parameters:
optimized
- flag
-
getReserved
Reserved flag- Returns:
- reserved flag
-
setReserved
Set reserved flag- Parameters:
reserved
- flag
-
getFilesystem
Filesystem flag- Returns:
- filesystem flag
-
setFilesystem
Set filesystem flag- Parameters:
filesystem
- flag
-
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
-
getSegmentfield
True when the entry is a segmentfield (of a Mesh ContentRepository)- Returns:
- true for segmentfield
-
setSegmentfield
Set segmentfield flag- Parameters:
segmentfield
- flag
-
getDisplayfield
True when the entry is a displayfield (of a Mesh ContentRepository)- Returns:
- true for displayfield
-
setDisplayfield
Set displayfield flag- Parameters:
displayfield
- 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 the 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
-
getFragmentName
Name of the CR Fragment, this entry belongs to. Null, if the entry directly belongs to the ContentRepository.- Returns:
- fragment name or null
-
setFragmentName
Set the fragment name- Parameters:
fragmentName
- fragment name or null
-