Class Construct
java.lang.Object
com.gentics.contentnode.rest.model.Construct
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ConstructInPackage
Construct
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionFlag for automatically enabling new tags, which are created based on this constructFlag for automatically enabling new tags, which are created based on this constructCategory of the constructID of the category of this constructintgetCdate()Creation Date of the constructDeprecated.use getId() insteadCreator of the constructDescription of this constructMap of translated descriptions (keys are the language codes)intgetEdate()Last Edit Date of the constructLast Editor of the constructWhether the edit icons should be displayed inside the rendered construct.Get the placement mode for edit icons.External editor URLGlobal ID of the constructgetId()ID of this constructKeyword for this constructHTML tag name, which is used when tags based on this construct are edited with the live editorWhether a tag of this construct may be inserted/nested in other tagsWhether a tag of this construct may be inserted/nested in other tagsWhether this construct may contain other tags.Whether this construct may contain other tags.getName()Name of this constructMap of translated names (keys are the language codes)Whether the tag editor should be opened immediately when the construct is inserted.getParts()Parts of the constructTrue if the construct shall be visible in the menu, false if notsetAutoEnable(Boolean autoEnable) Set autoEnable flagsetCategory(ConstructCategory category) Set the categorysetCategoryId(Integer categoryId) Set the category IDsetCdate(int cdate) voidsetConstructId(Integer constructId) Deprecated.use setId() insteadsetCreator(User creator) setDescription(String description) Set the descriptionsetDescription(String description, String language) Set the description in the given languagesetDescriptionI18n(Map<String, String> i18nDescription) Set translated descriptionssetEdate(int edate) setEditorControlsInside(Boolean editorControlsInside) Set Whether the edit icons should be displayed inside the rendered construct.setEditorControlStyle(EditorControlStyle editorControlStyle) Set the placement mode for edit icons.setExternalEditorUrl(String externalEditorUrl) Set the URL to the external editorsetGlobalId(String globalId) Set the global IDSet the id of this constructsetKeyword(String keyword) Sets the keyword for this constructsetLiveEditorTagName(String liveEditorTagName) Set the live editor tagnamesetMayBeSubtag(Boolean value) Sets whether a tag of this construct may be a nested in another tag.setMayContainSubtags(Boolean value) Sets whether this construct may contain other tags.Sets the name for this constructSet the name in the given languagesetNameI18n(Map<String, String> i18nName) Set translated namessetOpenEditorOnInsert(Boolean openEditorOnInsert) Set whether the tag editor should be opened immediately when the construct is inserted.Set the partssetVisibleInMenu(Boolean visibleInMenu) Set whether the construct shall be visible in the menutoString()
- 
Constructor Details- 
Constructpublic Construct()
 
- 
- 
Method Details- 
getKeywordKeyword for this construct- Returns:
- keyword
 
- 
setKeywordSets the keyword for this construct- Returns:
- fluent API
 
- 
setNameSets the name for this construct- Parameters:
- name-
- Returns:
- fluent API
 
- 
getMayBeSubtagWhether a tag of this construct may be inserted/nested in other tags- Returns:
- True or false
 
- 
getMayBeSubtagOptionalWhether a tag of this construct may be inserted/nested in other tags- Returns:
- Optional of flag
 
- 
setMayBeSubtagSets whether a tag of this construct may be a nested in another tag.- Parameters:
- value-
- Returns:
- fluent API
 
- 
getMayContainSubtagsWhether this construct may contain other tags.- Returns:
 
- 
getMayContainSubtagsOptionalWhether this construct may contain other tags.- Returns:
- Optional of mayContainSubtags flag
 
- 
setMayContainSubtagsSets whether this construct may contain other tags. This means tags can be inserted into a tag from this construct- Parameters:
- value-
- Returns:
- fluent API
 
- 
setDescriptionSet the description- Parameters:
- description-
- Returns:
- fluent API
 
- 
setConstructIdDeprecated.use setId() insteadSets the constructId for this construct- Parameters:
- constructId-
 
- 
getConstructIdDeprecated.use getId() insteadConstruct id of this construct- Returns:
 
- 
getIdID of this construct- Returns:
- id
 
- 
setIdSet the id of this construct- Parameters:
- id- id
- Returns:
- fluent API
 
- 
getGlobalIdGlobal ID of the construct- Returns:
- global ID
 
- 
setGlobalIdSet the global ID- Parameters:
- globalId- global ID
- Returns:
- fluent API
 
- 
getNameName of this construct- Returns:
 
- 
getDescriptionDescription of this construct- Returns:
- description
 
- 
getCreatorCreator of the construct- Returns:
- the creator
 
- 
getCdatepublic int getCdate()Creation Date of the construct- Returns:
- the cdate
 
- 
getEditorLast Editor of the construct- Returns:
- the editor
 
- 
getEdatepublic int getEdate()Last Edit Date of the construct- Returns:
- the edate
 
- 
setCreator- Parameters:
- creator- the creator to set
- Returns:
- fluent API
 
- 
setCdate- Parameters:
- cdate- the cdate to set
- Returns:
- fluent API
 
- 
setEditor- Parameters:
- editor- the editor to set
- Returns:
- fluent API
 
- 
setEdate- Parameters:
- edate- the edate to set
- Returns:
- fluent API
 
- 
getCategoryCategory of the construct- Returns:
- category
 
- 
setCategorySet the category- Parameters:
- category- category
- Returns:
- fluent API
 
- 
getExternalEditorUrlExternal editor URL- Returns:
- URL
 
- 
setExternalEditorUrlSet the URL to the external editor- Parameters:
- externalEditorUrl- URL
- Returns:
- fluent API
 
- 
getPartsParts of the construct- Returns:
- parts
 
- 
setPartsSet the parts- Parameters:
- parts- parts
- Returns:
- fluent API
 
- 
getVisibleInMenuTrue if the construct shall be visible in the menu, false if not- Returns:
- true for visible constructs, false for hidden
 
- 
setVisibleInMenuSet whether the construct shall be visible in the menu- Parameters:
- visibleInMenu- true for visible, false for hidden
- Returns:
- fluent API
 
- 
getNameI18nMap of translated names (keys are the language codes)- Returns:
- name map
 
- 
setNameI18nSet translated names- Parameters:
- i18nName- map of translations
- Returns:
- fluent API
 
- 
setNameSet the name in the given language- Parameters:
- name- name
- language- language
- Returns:
- fluent API
 
- 
getDescriptionI18nMap of translated descriptions (keys are the language codes)- Returns:
- description map
 
- 
setDescriptionI18nSet translated descriptions- Parameters:
- i18nDescription- map of translations
- Returns:
- fluent API
 
- 
setDescriptionSet the description in the given language- Parameters:
- description- description
- language- language
- Returns:
- fluent API
 
- 
getAutoEnableFlag for automatically enabling new tags, which are created based on this construct- Returns:
- flag
 
- 
getAutoEnableOptionalFlag for automatically enabling new tags, which are created based on this construct- Returns:
- Optional of flag
 
- 
setAutoEnableSet autoEnable flag- Parameters:
- autoEnable- flag
- Returns:
- fluent API
 
- 
getLiveEditorTagNameHTML tag name, which is used when tags based on this construct are edited with the live editor- Returns:
- tag name
 
- 
setLiveEditorTagNameSet the live editor tagname- Parameters:
- liveEditorTagName- tag name
- Returns:
- fluent API
 
- 
getOpenEditorOnInsertWhether the tag editor should be opened immediately when the construct is inserted.- Returns:
- Whether the tag editor should be opened immediately when the construct is inserted.
 
- 
setOpenEditorOnInsertSet whether the tag editor should be opened immediately when the construct is inserted.- Parameters:
- openEditorOnInsert- Whether the tag editor should be opened immediately when the construct is inserted.
- Returns:
- fluent API
 
- 
getEditorControlStyleGet the placement mode for edit icons.- Returns:
- The placement mode for edit icons.
 
- 
setEditorControlStyleSet the placement mode for edit icons.- Parameters:
- editorControlStyle- The placement mode for edit icons.
- Returns:
- fluent API
 
- 
getEditorControlsInsideWhether the edit icons should be displayed inside the rendered construct.- Returns:
- Whether the edit icons should be displayed inside the rendered construct.
 
- 
setEditorControlsInsideSet Whether the edit icons should be displayed inside the rendered construct.- Parameters:
- editorControlsInside- Whether the edit icons should be displayed inside the rendered construct.
- Returns:
- fluent API
 
- 
toString
- 
getCategoryIdID of the category of this construct- Returns:
- category ID
 
- 
setCategoryIdSet the category ID- Parameters:
- categoryId- ID
- Returns:
- fluent API
 
 
-