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 SummaryConstructors
- 
Method SummaryModifier 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- 
ContentRepositoryFragmentEntryModelpublic ContentRepositoryFragmentEntryModel()
 
- 
- 
Method Details- 
getIdLocal ID- Returns:
- local ID
 
- 
setIdSet the local ID- Parameters:
- id- ID
 
- 
getGlobalIdGlobal ID- Returns:
- global ID
 
- 
setGlobalIdSet the global ID- Parameters:
- globalId- global ID
 
- 
getTagnameTag name (property to resolve for the object)- Returns:
- tag name
 
- 
setTagnameSet the tag name- Parameters:
- tagname- tag name
 
- 
getMapnameMap name (name of the attribute in the ContentRepository)- Returns:
- map name
 
- 
setMapnameSet the map name- Parameters:
- mapname- map name
 
- 
getObjTypeType of the object- Returns:
- object type
 
- 
setObjTypeSet the object type- Parameters:
- object- type
 
- 
getAttributeTypeAttribute Type- Returns:
- attribute type
 
- 
setAttributeTypeSet the attribute type- Parameters:
- attributeType- attribute type
 
- 
getMultivalueMultivalue flag- Returns:
- multivalue
 
- 
setMultivalueSet multivalue flag- Parameters:
- multivalue- flag
 
- 
getOptimizedOptimized flag- Returns:
- optimized
 
- 
setOptimizedSet optimized flag- Parameters:
- optimized- flag
 
- 
getFilesystemFilesystem flag- Returns:
- filesystem flag
 
- 
setFilesystemSet filesystem flag- Parameters:
- filesystem- flag
 
- 
getTargetTypeType of the target object for link attributes- Returns:
- target type
 
- 
setTargetTypeSet the target type- Parameters:
- targetType- target type
 
- 
getForeignlinkAttributeName of the foreign attribute for foreignlink attributes- Returns:
- attribute name
 
- 
setForeignlinkAttributeSet foreign attribute name- Parameters:
- foreignlinkAttribute- attribute name
 
- 
getForeignlinkAttributeRuleRule for restricting foreign linked objects- Returns:
- rule
 
- 
setForeignlinkAttributeRuleSet foreign link rule- Parameters:
- foreignlinkAttributeRule- rule
 
- 
getCategoryEntry category- Returns:
- category
 
- 
setCategorySet the category- Parameters:
- category- category
 
- 
getDisplayfieldTrue when the entry is a displayfield (of a Mesh ContentRepository)- Returns:
- true for displayfield
 
- 
setDisplayfieldSet displayfield flag- Parameters:
- displayfield- flag
 
- 
getSegmentfieldTrue when the entry is a segmentfield (of a Mesh ContentRepository)- Returns:
- true for segmentfield
 
- 
setSegmentfieldSet segmentfield flag- Parameters:
- segmentfield- flag
 
- 
getUrlfieldTrue when the entry is a urlfield (of a Mesh ContentRepository)- Returns:
- true for url field
 
- 
setUrlfieldSet the urlfield flag- Parameters:
- urlfield- flag
 
- 
getNoIndexTrue when the entry should be excluded from indexing- Returns:
- true for no indexing
 
- 
setNoIndexSet the 'exclude from indexing' flag- Parameters:
- noIndex- flag
 
- 
getElasticsearchpublic com.fasterxml.jackson.databind.JsonNode getElasticsearch()Get the elasticsearch specific configuration of a Mesh CR- Returns:
- elasticsearch config
 
- 
setElasticsearchpublic void setElasticsearch(com.fasterxml.jackson.databind.JsonNode elasticsearch) Set elasticsearch config- Parameters:
- elasticsearch- config
 
- 
getMicronodeFilterGet the micronode filter (for entries of type micronode)- Returns:
- micronode filter
 
- 
setMicronodeFilterSet the micronode filter- Parameters:
- micronodeFilter- micronode filter
 
 
-