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
-
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 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)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
setGlobalId
(String globalId) Set the global IDvoid
Set the local 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
setObjType
(Integer objType) Set the object typevoid
setOptimized
(Boolean optimized) Set optimized 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
-
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
-