public class Construct extends Object implements Serializable
| Constructor and Description | 
|---|
Construct()  | 
| Modifier and Type | Method and Description | 
|---|---|
Boolean | 
getAutoEnable()
Flag for automatically enabling new tags, which are created based on this construct 
 | 
Optional<Boolean> | 
getAutoEnableOptional()
Flag for automatically enabling new tags, which are created based on this construct 
 | 
String | 
getCategory()
Category name of the construct 
 | 
Integer | 
getCategoryId()
ID of the category of this construct 
 | 
int | 
getCategorySortorder()
Order for the category that was set 
 | 
int | 
getCdate()
Creation Date of the construct 
 | 
Integer | 
getConstructId()
Deprecated. 
 
use getId() instead 
 | 
User | 
getCreator()
Creator of the construct 
 | 
String | 
getDescription()
Description of this construct 
 | 
Map<String,String> | 
getDescriptionI18n()
Map of translated descriptions (keys are the language codes) 
 | 
int | 
getEdate()
Last Edit Date of the construct 
 | 
Integer | 
getEditdo()
Edit do 
 | 
User | 
getEditor()
Last Editor of the construct 
 | 
String | 
getExternalEditorUrl()
External editor URL 
 | 
String | 
getGlobalId()
Global ID of the construct 
 | 
String | 
getHopeditHook()
Javascript "hopedit" hook which, if available
 should replace the "hopedit" call. 
 | 
String | 
getIcon()
Icon of this construct 
 | 
Integer | 
getId()
ID of this construct 
 | 
String | 
getKeyword()
Keyword for this construct 
 | 
String | 
getLiveEditorTagName()
HTML tag name, which is used when tags based on this construct are edited with the live editor 
 | 
Boolean | 
getMayBeSubtag()
Whether a tag of this construct may be inserted/nested in other tags 
 | 
Optional<Boolean> | 
getMayBeSubtagOptional()
Whether a tag of this construct may be inserted/nested in other tags 
 | 
Boolean | 
getMayContainSubtags()
Whether this construct may contain other tags. 
 | 
Optional<Boolean> | 
getMayContainSubtagsOptional()
Whether this construct may contain other tags. 
 | 
String | 
getName()
Name of this construct 
 | 
Map<String,String> | 
getNameI18n()
Map of translated names (keys are the language codes) 
 | 
Boolean | 
getNewEditor()
Flag for using the new Tag Editor 
 | 
Optional<Boolean> | 
getNewEditorOptional()
Flag for using the new Tag Editor 
 | 
List<Part> | 
getParts()
Parts of the construct 
 | 
Boolean | 
getVisibleInMenu()
True if the construct shall be visible in the menu, false if not 
 | 
Construct | 
setAutoEnable(Boolean autoEnable)
Set autoEnable flag 
 | 
Construct | 
setCategory(String category)
Set the category 
 | 
Construct | 
setCategoryId(Integer categoryId)
Set the category ID 
 | 
Construct | 
setCategorySortorder(int categorySortorder)
Set the order of the category 
 | 
Construct | 
setCdate(int cdate)  | 
void | 
setConstructId(Integer constructId)
Deprecated. 
 
use setId() instead 
 | 
Construct | 
setCreator(User creator)  | 
Construct | 
setDescription(String description)
Set the description 
 | 
Construct | 
setDescription(String description,
              String language)
Set the description in the given language 
 | 
Construct | 
setDescriptionI18n(Map<String,String> i18nDescription)
Set translated descriptions 
 | 
Construct | 
setEdate(int edate)  | 
Construct | 
setEditdo(Integer editdo)
Set the edit do 
 | 
Construct | 
setEditor(User editor)  | 
Construct | 
setExternalEditorUrl(String externalEditorUrl)
Set the URL to the external editor 
 | 
Construct | 
setGlobalId(String globalId)
Set the global ID 
 | 
Construct | 
setHopeditHook(String hopeditHook)
Set the hopedit hook 
 | 
Construct | 
setIcon(String icon)
Sets the icon for this construct 
 | 
Construct | 
setId(Integer id)
Set the id of this construct 
 | 
Construct | 
setKeyword(String keyword)
Sets the keyword for this construct 
 | 
Construct | 
setLiveEditorTagName(String liveEditorTagName)
Set the live editor tagname 
 | 
Construct | 
setMayBeSubtag(Boolean value)
Sets whether a tag of this construct may be a nested in another tag. 
 | 
Construct | 
setMayContainSubtags(Boolean value)
Sets whether this construct may contain other tags. 
 | 
Construct | 
setName(String name)
Sets the name for this construct 
 | 
Construct | 
setName(String name,
       String language)
Set the name in the given language 
 | 
Construct | 
setNameI18n(Map<String,String> i18nName)
Set translated names 
 | 
Construct | 
setNewEditor(Boolean newEditor)
Set the flag for new Tag Editor 
 | 
Construct | 
setParts(List<Part> parts)
Set the parts 
 | 
Construct | 
setVisibleInMenu(Boolean visibleInMenu)
Set whether the construct shall be visible in the menu 
 | 
String | 
toString()  | 
public String getKeyword()
public Construct setKeyword(String keyword)
public Construct setIcon(String icon)
icon - public Construct setName(String name)
name - public Boolean getMayBeSubtag()
public Optional<Boolean> getMayBeSubtagOptional()
public Construct setMayBeSubtag(Boolean value)
value - public Boolean getMayContainSubtags()
public Optional<Boolean> getMayContainSubtagsOptional()
public Construct setMayContainSubtags(Boolean value)
value - public Construct setDescription(String description)
description - public void setConstructId(Integer constructId)
constructId - public Integer getConstructId()
public Integer getId()
public Construct setId(Integer id)
id - idpublic String getGlobalId()
public Construct setGlobalId(String globalId)
globalId - global IDpublic String getName()
public String getDescription()
public String getIcon()
public User getCreator()
public int getCdate()
public User getEditor()
public int getEdate()
public Construct setCreator(User creator)
creator - the creator to setpublic Construct setCdate(int cdate)
cdate - the cdate to setpublic Construct setEditor(User editor)
editor - the editor to setpublic Construct setEdate(int edate)
edate - the edate to setpublic Integer getEditdo()
public Construct setEditdo(Integer editdo)
editdo - edit dopublic String getCategory()
public Construct setCategory(String category)
category - categorypublic int getCategorySortorder()
public Construct setCategorySortorder(int categorySortorder)
categorySortorder - public Boolean getNewEditor()
public Optional<Boolean> getNewEditorOptional()
public Construct setNewEditor(Boolean newEditor)
newEditor - flagpublic String getExternalEditorUrl()
public Construct setExternalEditorUrl(String externalEditorUrl)
externalEditorUrl - URLpublic Construct setParts(List<Part> parts)
parts - partspublic Boolean getVisibleInMenu()
public Construct setVisibleInMenu(Boolean visibleInMenu)
visibleInMenu - true for visible, false for hiddenpublic Map<String,String> getNameI18n()
public Construct setNameI18n(Map<String,String> i18nName)
i18nName - map of translationspublic Construct setName(String name, String language)
name - namelanguage - languagepublic Map<String,String> getDescriptionI18n()
public Construct setDescriptionI18n(Map<String,String> i18nDescription)
i18nDescription - map of translationspublic Construct setDescription(String description, String language)
description - descriptionlanguage - languagepublic Boolean getAutoEnable()
public Optional<Boolean> getAutoEnableOptional()
public Construct setAutoEnable(Boolean autoEnable)
autoEnable - flagpublic String getLiveEditorTagName()
public Construct setLiveEditorTagName(String liveEditorTagName)
liveEditorTagName - tag namepublic String getHopeditHook()
public Construct setHopeditHook(String hopeditHook)
hopeditHook - hookpublic Integer getCategoryId()
Copyright © 2024 Gentics Software. All rights reserved.