Package com.jalios.jcms
Class TypeEntry
- java.lang.Object
- 
- com.jalios.jcms.TypeEntry
 
- 
 public class TypeEntry extends java.lang.ObjectThis class contains info about a Type.- Since:
- jcms-3.0
- Author:
- Olivier Dedieu, Olivier Jaquemet
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.String[]categoriesprotected java.lang.StringclassNameprotected booleancontainsHiddenFieldsprotected booleancontainsHiddenFieldsComputedprotected java.util.Map<java.lang.String,java.lang.String>descriptionMapprotected java.lang.String[]groupsprotected booleanisAbstractprotected booleanisAdvancedTabprotected booleanisAudiencedprotected booleanisCategoryTabprotected booleanisDatabaseprotected booleanisDebatableprotected booleanisExtensionprotected booleanisHbmprotected booleanisReadRightTabprotected booleanisRevisionprotected booleanisTemplateTabprotected booleanisTitleMLprotected booleanisTitleSearchableprotected booleanisUnitFieldEditionprotected booleanisUpdateRightTabprotected booleanisWorkflowTabprotected java.util.Map<java.lang.String,java.lang.String>labelMapprotected Pluginpluginprotected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>tabMapprotected java.util.Map<java.lang.String,TypeTemplateEntry>templateMapprotected java.util.Map<java.lang.String,java.lang.String>titleDescriptionMapprotected java.util.Map<java.lang.String,java.lang.String>titleLabelMapprotected java.lang.StringtypeDirprotected java.util.Map<java.lang.String,java.util.Set<TypeTemplateEntry>>usageMapprotected org.jdom.ElementxmlElt
 - 
Constructor SummaryConstructors Constructor Description TypeEntry(java.lang.String className, java.util.Map<java.lang.String,java.lang.String> labelMap, java.util.Map<java.lang.String,java.lang.String> descriptionMap, java.util.Map<java.lang.String,java.lang.String> titleLabelMap, java.util.Map<java.lang.String,java.lang.String> titleDescriptionMap, boolean isTitleML, boolean isTitleSearchable, boolean isCategoryTab, boolean isTemplateTab, boolean isReadRightTab, boolean isUpdateRightTab, boolean isWorkflowTab, boolean isAdvancedTab, boolean isDebatable, boolean isAbstract, java.lang.String[] categories, java.lang.String[] groups)Constructor WITHOUT XML Element, to be used for JCMS core types.TypeEntry(org.jdom.Element typeElt, java.lang.String typeDir)Constructor XML Element, to be used for every JCMS types having an XML file.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTemplate(org.jdom.Element itElm, java.lang.String typeDir)Add template to the TypeEntry from a List of XML Elements.voidaddTemplateEntry(TypeTemplateEntry tte)Add template to the TypeEntry from a TypeTemplateEntry.voidaddTemplateList(java.util.List<org.jdom.Element> templateList, java.lang.String typeDir)Add templates to the TypeEntry from a List of XML Elements.booleancontainsHiddenFields()Returns true if this type contains at least one hidden field.java.lang.String[]getCategories()Return default categories for this typejava.lang.StringgetClassName()Returns the name of the typeTypeTemplateEntrygetDefaultTemplateEntry(java.lang.String usage)Returns a default TypeTemplateEntry matching the given usage for the current workspacejava.util.Set<TypeTemplateEntry>getDefaultTemplateEntrySet()Returns all default template entriesjava.util.Set<java.lang.String>getDefaultTemplateNameSet()Returns all default template namesstatic java.util.Map<java.lang.String,TypeTemplateEntry>getDefaultTypeTemplateEntryMap(java.lang.String className, java.lang.String folderPath)static java.util.Map<java.lang.String,java.util.Set<TypeTemplateEntry>>getDefaultTypeTemplateEntryUsageMap(java.lang.String className, java.lang.String folderPath)java.lang.StringgetDescription(java.lang.String lang)Returns the description of this type in the given language.java.util.Map<java.lang.String,java.lang.String>getDescriptionMap()Returns the description map of this type ({lang, value}).java.util.Set<java.lang.String>getDirectoriesPathSet()Returns roots folder for the given type Current implementation returns following files: WEB-INF/data/types/Type/ types/Type/ It do not return sub foldersjava.util.Set<java.lang.String>getFilesPathSet()Returns all files normally used by the current type.TypeTemplateEntrygetFirstTemplateEntry(java.lang.String usage, java.lang.String[] names)Returns the first TypeTemplateEntry from given names matching given usage If names is empty then return default entryjava.lang.String[]getGroups()Return default groups rights for this typejava.lang.StringgetLabel(java.lang.String lang)Returns the label of this type in the given language.java.util.Map<java.lang.String,java.lang.String>getLabelMap()Returns the label map of this type ({lang, value}).PlugingetPlugin()Returns the plugin providing this type.java.lang.StringgetTabLabel(java.lang.String tabId, java.lang.String lang)Returns the localized label for the given tab identifier.java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>getTabMap()Returns the tab map {tabId, map{lang, label}}TypeTemplateEntrygetTemplateEntry(java.lang.String fullname)Returns a TypeTemplateEntry matching the given template namejava.util.Set<TypeTemplateEntry>getTemplateEntrySet()Returns all template entriesjava.util.Set<TypeTemplateEntry>getTemplateEntrySet(java.lang.String usage)Returns a new Set of TypeTemplateEntry matching the given usagejava.util.Map<java.lang.String,java.util.Set<TypeTemplateEntry>>getTemplateUsageMap()Returns internal cached Map of usage/Set of TypeTemplateEntry.java.util.Set<java.lang.String>getTemplateUsageSet()Returns a Set of all usage used by this type entryjava.lang.StringgetTitleDescription(java.lang.String lang)Returns the title description of this type in the given language.java.util.Map<java.lang.String,java.lang.String>getTitleDescriptionMap()Returns the title description map of this type ({lang, value}).java.lang.StringgetTitleLabel(java.lang.String lang)Returns the title label of this type in the given language.java.util.Map<java.lang.String,java.lang.String>getTitleLabelMap()Returns the title label map of this type ({lang, value}).java.lang.Class<?>getTypeClass()Retrieve the Class of the specified typeorg.jdom.ElementgetXmlElement()XML Parsing: jdom Element for this type.booleanisAbstract()Return true if this type is an abstract java Class.booleanisActive()booleanisAdvancedTab()Do we display Advanced tab in the edit form of instance of this type?.booleanisAudienced()Returns true if this type is audienced using Audience Rights (if audience rights are enabled).booleanisCategoryTab()Do we display category tab in the edit form of instance of this type?.booleanisDebatable()Return true if a forum can be created on intances of this type.booleanisExtension()Return true if this type is a DataExtension for an internal JCMS type.booleanisReadRightTab()Do we display Read Right tab in the edit form of instance of this type?.booleanisTemplateTab()Do we display template tab in the edit form of instance of this type?.booleanisTitleML()Return true if the title of this type is multilingual.booleanisTitleSearchable()Return true if the title of this type is searchable.booleanisUnitFieldEdition()Returns true if this type can be edited field by field on the front office.booleanisUpdateRightTab()Do we display Update Right tab in the edit form of instance of this type?.booleanisWorkflowTab()Do we display Workflow tab in the edit form of instance of this type?.voidreloadI18N()Reload all I18N informations for this type.voidremoveTemplateEntry(TypeTemplateEntry tte)Remove the given TypeTemplateEntryvoidsetAdvancedTab(boolean isAdvancedTab)Do we display Advanced tab in the edit form of instance of this type?.voidsetCategories(java.lang.String[] categories)Set default categoriesvoidsetCategoryTab(boolean isCategoryTab)Do we display category tab in the edit form of instance of this type?.voidsetDebatable(boolean isDebatable)Param true if a forum can be created on instances of this type.voidsetDescription(java.util.Map<java.lang.String,java.lang.String> descriptionMap)voidsetGroups(java.lang.String[] groups)Set default groups rightvoidsetLabelMap(java.util.Map<java.lang.String,java.lang.String> labelMap)voidsetReadRightTab(boolean isReadRightTab)Do we display Read Right tab in the edit form of instance of this type?.voidsetTabMap(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> tabMap)voidsetTemplateTab(boolean isTemplateTab)Do we display template tab in the edit form of instance of this type?.voidsetTitleDescriptionMap(java.util.Map<java.lang.String,java.lang.String> titleDescriptionMap)voidsetTitleLabelMap(java.util.Map<java.lang.String,java.lang.String> titleLabelMap)voidsetUpdateRightTab(boolean isUpdateRightTab)Do we display Update Right tab in the edit form of instance of this type?.voidsetWorkflowTab(boolean isWorkflowTab)Do we display Workflow tab in the edit form of instance of this type?.static booleansupportsCategories(java.lang.Class<?> clazz)Checks if Categories are supported for the specified classstatic booleansupportsReadRights(java.lang.Class<?> clazz)Checks if read rights are supported for the specified classstatic booleansupportsTemplateTab(java.lang.Class<?> clazz)Checks if template tab is supported for the specified classstatic booleansupportsUpdateRights(java.lang.Class<?> clazz)Checks if update rights are supported for the specified classjava.lang.StringtoString()
 
- 
- 
- 
Field Detail- 
xmlEltprotected final org.jdom.Element xmlElt 
 - 
classNameprotected final java.lang.String className 
 - 
isAbstractprotected final boolean isAbstract 
 - 
isExtensionprotected final boolean isExtension 
 - 
pluginprotected final Plugin plugin 
 - 
labelMapprotected java.util.Map<java.lang.String,java.lang.String> labelMap 
 - 
descriptionMapprotected java.util.Map<java.lang.String,java.lang.String> descriptionMap 
 - 
titleLabelMapprotected java.util.Map<java.lang.String,java.lang.String> titleLabelMap 
 - 
titleDescriptionMapprotected java.util.Map<java.lang.String,java.lang.String> titleDescriptionMap 
 - 
tabMapprotected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> tabMap 
 - 
templateMapprotected java.util.Map<java.lang.String,TypeTemplateEntry> templateMap 
 - 
usageMapprotected java.util.Map<java.lang.String,java.util.Set<TypeTemplateEntry>> usageMap 
 - 
isTitleMLprotected boolean isTitleML 
 - 
isTitleSearchableprotected boolean isTitleSearchable 
 - 
isCategoryTabprotected boolean isCategoryTab 
 - 
isTemplateTabprotected boolean isTemplateTab 
 - 
isReadRightTabprotected boolean isReadRightTab 
 - 
isUpdateRightTabprotected boolean isUpdateRightTab 
 - 
isWorkflowTabprotected boolean isWorkflowTab 
 - 
isAdvancedTabprotected boolean isAdvancedTab 
 - 
isDebatableprotected boolean isDebatable 
 - 
isUnitFieldEditionprotected boolean isUnitFieldEdition 
 - 
isAudiencedprotected boolean isAudienced 
 - 
categoriesprotected java.lang.String[] categories 
 - 
groupsprotected java.lang.String[] groups 
 - 
containsHiddenFieldsComputedprotected boolean containsHiddenFieldsComputed 
 - 
containsHiddenFieldsprotected boolean containsHiddenFields 
 - 
typeDirprotected java.lang.String typeDir 
 - 
isDatabaseprotected boolean isDatabase 
 - 
isHbmprotected boolean isHbm 
 - 
isRevisionprotected boolean isRevision 
 
- 
 - 
Constructor Detail- 
TypeEntrypublic TypeEntry(java.lang.String className, java.util.Map<java.lang.String,java.lang.String> labelMap, java.util.Map<java.lang.String,java.lang.String> descriptionMap, java.util.Map<java.lang.String,java.lang.String> titleLabelMap, java.util.Map<java.lang.String,java.lang.String> titleDescriptionMap, boolean isTitleML, boolean isTitleSearchable, boolean isCategoryTab, boolean isTemplateTab, boolean isReadRightTab, boolean isUpdateRightTab, boolean isWorkflowTab, boolean isAdvancedTab, boolean isDebatable, boolean isAbstract, java.lang.String[] categories, java.lang.String[] groups)Constructor WITHOUT XML Element, to be used for JCMS core types.- Parameters:
- className- the class name
- labelMap- the multilingual label map
- descriptionMap- the multilingual description map
- titleLabelMap- the multilingual title's label map
- titleDescriptionMap- the multilingual title's description map
- isTitleML- is the title multilingual ?
- isTitleSearchable- is the title searchable ?
- isCategoryTab- is the category tab shown ?
- isTemplateTab- is the template tab shown ?
- isReadRightTab- is the read rights tab shown ?
- isUpdateRightTab- is the update rights tab shown ?
- isWorkflowTab- is the workflow tab shown ?
- isAdvancedTab- is the advanced tab shown ?
- isDebatable- deprecated
- isAbstract- is this field used as abstract for this type ?
- categories- the default categories
- groups- the default groups for read rights
 
 - 
TypeEntrypublic TypeEntry(org.jdom.Element typeElt, java.lang.String typeDir)Constructor XML Element, to be used for every JCMS types having an XML file.- Parameters:
- typeElt- the JDOM XML Element corresponding to the "type" element
- typeDir- the path of directory in which the type JSP will be located, relative to webapp root, eg "types/Article/",
 
 
- 
 - 
Method Detail- 
getTypeClasspublic java.lang.Class<?> getTypeClass() Retrieve the Class of the specified type- Since:
- jcms-10.0.4 / JCMS-7831
 
 - 
supportsCategoriespublic static boolean supportsCategories(java.lang.Class<?> clazz) Checks if Categories are supported for the specified class- Parameters:
- clazz- a publication class
- Returns:
- true if category are supported, false otherwise
- Since:
- jcms-10.0.4 / JCMS-7831
 
 - 
supportsTemplateTabpublic static boolean supportsTemplateTab(java.lang.Class<?> clazz) Checks if template tab is supported for the specified class- Parameters:
- clazz- a publication class
- Returns:
- true if template tab is supported, false otherwise
- Since:
- jcms-10.0.4 / JCMS-7831
 
 - 
supportsReadRightspublic static boolean supportsReadRights(java.lang.Class<?> clazz) Checks if read rights are supported for the specified class- Parameters:
- clazz- a publication class
- Returns:
- true if read rights are supported, false otherwise
- Since:
- jcms-10.0.4 / JCMS-7831
 
 - 
supportsUpdateRightspublic static boolean supportsUpdateRights(java.lang.Class<?> clazz) Checks if update rights are supported for the specified class- Parameters:
- clazz- a publication class
- Returns:
- true if update rights are supported, false otherwise
- Since:
- jcms-10.0.4 / JCMS-7831
 
 - 
reloadI18Npublic void reloadI18N() Reload all I18N informations for this type. This includes : label, description, title label, title description, tabs and templates.- Since:
- jcms-8.0.2
 
 - 
addTemplatepublic void addTemplate(org.jdom.Element itElm, java.lang.String typeDir)Add template to the TypeEntry from a List of XML Elements. Should only be used internally.- Parameters:
- itElm- a JDom Elements
- typeDir- path to the template
- Since:
- jcms-6.0.0
 
 - 
addTemplateListpublic void addTemplateList(java.util.List<org.jdom.Element> templateList, java.lang.String typeDir)Add templates to the TypeEntry from a List of XML Elements. Should only be used internally.- Parameters:
- templateList- list of JDom Elements
- typeDir- path to the template
- Since:
- jcms-6.0.0
 
 - 
addTemplateEntrypublic void addTemplateEntry(TypeTemplateEntry tte) Add template to the TypeEntry from a TypeTemplateEntry. Should only be used internally.- Parameters:
- tte- the TypeTemplateEntry
- Since:
- jcms-6.0.0
 
 - 
removeTemplateEntrypublic void removeTemplateEntry(TypeTemplateEntry tte) Remove the given TypeTemplateEntry- Parameters:
- tte- the TypeTemplateEntry
- Since:
- jcms-10.0.0
 
 - 
getTemplateEntrypublic TypeTemplateEntry getTemplateEntry(java.lang.String fullname) Returns a TypeTemplateEntry matching the given template name- Parameters:
- fullname- the template name
- Returns:
- TypeTemplateEntry that describe template
- Since:
- jcms-6.0.0
 
 - 
getTemplateEntrySetpublic java.util.Set<TypeTemplateEntry> getTemplateEntrySet(java.lang.String usage) Returns a new Set of TypeTemplateEntry matching the given usage- Parameters:
- usage- the template usage
- Returns:
- Set of TypeTemplateEntry
- Since:
- jcms-6.0.0
 
 - 
getTemplateEntrySetpublic java.util.Set<TypeTemplateEntry> getTemplateEntrySet() Returns all template entries- Returns:
- Set of TypeTemplateEntry
 
 - 
getDefaultTemplateEntrypublic TypeTemplateEntry getDefaultTemplateEntry(java.lang.String usage) Returns a default TypeTemplateEntry matching the given usage for the current workspace- Parameters:
- usage- the template usage
- Returns:
- Set of TypeTemplateEntry
- Since:
- jcms-6.0.0
 
 - 
getDefaultTemplateEntrySetpublic java.util.Set<TypeTemplateEntry> getDefaultTemplateEntrySet() Returns all default template entries- Returns:
- Set of TypeTemplateEntry
- Since:
- jcms-6.0.0
 
 - 
getDefaultTemplateNameSetpublic java.util.Set<java.lang.String> getDefaultTemplateNameSet() Returns all default template names- Returns:
- Set of template names
- Since:
- jcms-6.0.0
 
 - 
getFirstTemplateEntrypublic TypeTemplateEntry getFirstTemplateEntry(java.lang.String usage, java.lang.String[] names) Returns the first TypeTemplateEntry from given names matching given usage If names is empty then return default entry- Parameters:
- usage- the template usage
- names- an array of templates name
- Returns:
- TypeTemplateEntry matching
 
 - 
getTemplateUsageMappublic java.util.Map<java.lang.String,java.util.Set<TypeTemplateEntry>> getTemplateUsageMap() Returns internal cached Map of usage/Set of TypeTemplateEntry. Do not modify this Map- Returns:
- Map of TypeTemplateEntry
 
 - 
getTemplateUsageSetpublic java.util.Set<java.lang.String> getTemplateUsageSet() Returns a Set of all usage used by this type entry- Returns:
- Set of usages
 
 - 
containsHiddenFieldspublic boolean containsHiddenFields() Returns true if this type contains at least one hidden field.- Returns:
- true if this type contains at least one hidden field.
- Since:
- jcms-5.7.1
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
getXmlElementpublic org.jdom.Element getXmlElement() XML Parsing: jdom Element for this type.
 Access, but do not modify.- Returns:
- the Elementof this type.
 
 - 
isAbstractpublic boolean isAbstract() Return true if this type is an abstract java Class.- Returns:
- true if this type is an abstract java Class.
 
 - 
isExtensionpublic boolean isExtension() Return true if this type is a DataExtension for an internal JCMS type.- Returns:
- true if this type is a DataExtension for an internal JCMS type
- Since:
- jcms-8.0.1
 
 - 
getLabelpublic java.lang.String getLabel(java.lang.String lang) Returns the label of this type in the given language.- Parameters:
- lang- the language
- Returns:
- the label of this type in the given language.
- Since:
- jcms-5.7.0
 
 - 
getLabelMappublic java.util.Map<java.lang.String,java.lang.String> getLabelMap() Returns the label map of this type ({lang, value}).- Returns:
- the label map of this type ({lang, value}).
- Since:
- jcms-5.7.0
 
 - 
getDescriptionpublic java.lang.String getDescription(java.lang.String lang) Returns the description of this type in the given language.- Parameters:
- lang- the language
- Returns:
- the description of this type in the given language.
- Since:
- jcms-5.7.0
 
 - 
getDescriptionMappublic java.util.Map<java.lang.String,java.lang.String> getDescriptionMap() Returns the description map of this type ({lang, value}).- Returns:
- the description map of this type ({lang, value}).
- Since:
- jcms-5.7.0
 
 - 
getTitleLabelpublic java.lang.String getTitleLabel(java.lang.String lang) Returns the title label of this type in the given language.- Parameters:
- lang- the language
- Returns:
- the title label of this type in the given language.
- Since:
- jcms-5.7.0
 
 - 
getTitleLabelMappublic java.util.Map<java.lang.String,java.lang.String> getTitleLabelMap() Returns the title label map of this type ({lang, value}).- Returns:
- the title label map of this type ({lang, value}).
- Since:
- jcms-5.7.0
 
 - 
getTitleDescriptionpublic java.lang.String getTitleDescription(java.lang.String lang) Returns the title description of this type in the given language.- Parameters:
- lang- the language
- Returns:
- the title description of this type in the given language.
- Since:
- jcms-5.7.0
 
 - 
getTitleDescriptionMappublic java.util.Map<java.lang.String,java.lang.String> getTitleDescriptionMap() Returns the title description map of this type ({lang, value}).- Returns:
- the title description map of this type ({lang, value}).
- Since:
- jcms-5.7.0
 
 - 
getTabMappublic java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getTabMap() Returns the tab map {tabId, map{lang, label}}- Returns:
- the tab map {tabId, map{lang, label}}
- Since:
- jcms-5.7.0
 
 - 
getTabLabelpublic java.lang.String getTabLabel(java.lang.String tabId, java.lang.String lang)Returns the localized label for the given tab identifier.- Parameters:
- tabId- the tab identifier
- lang- the language
- Returns:
- the localized label for the given tab identifier.
- Since:
- jcms-5.7.0
 
 - 
isTitleMLpublic boolean isTitleML() Return true if the title of this type is multilingual.- Returns:
- true if the title of this type is multilingual.
 
 - 
isTitleSearchablepublic boolean isTitleSearchable() Return true if the title of this type is searchable.- Returns:
- true if the title of this type is searchable.
 
 - 
isDebatablepublic boolean isDebatable() Return true if a forum can be created on intances of this type.- Returns:
- true if instances of this type are debatable.
 
 - 
isUnitFieldEditionpublic boolean isUnitFieldEdition() Returns true if this type can be edited field by field on the front office.- Returns:
- true if this type can be edited field by field on the front office.
 
 - 
isAudiencedpublic boolean isAudienced() Returns true if this type is audienced using Audience Rights (if audience rights are enabled).- Returns:
- true if this type is audienced using Audience Rights (if audience rights are enabled).
 
 - 
isCategoryTabpublic boolean isCategoryTab() Do we display category tab in the edit form of instance of this type?.- Returns:
- true if category tab is displayed, false otherwise.
 
 - 
isTemplateTabpublic boolean isTemplateTab() Do we display template tab in the edit form of instance of this type?.- Returns:
- true if template tab is displayed, false otherwise.
 
 - 
isReadRightTabpublic boolean isReadRightTab() Do we display Read Right tab in the edit form of instance of this type?.- Returns:
- true if Read Right tab is displayed, false otherwise.
 
 - 
isUpdateRightTabpublic boolean isUpdateRightTab() Do we display Update Right tab in the edit form of instance of this type?.- Returns:
- true if Update Right tab is displayed, false otherwise.
 
 - 
isWorkflowTabpublic boolean isWorkflowTab() Do we display Workflow tab in the edit form of instance of this type?.- Returns:
- true if Workflow tab is displayed, false otherwise.
 
 - 
isAdvancedTabpublic boolean isAdvancedTab() Do we display Advanced tab in the edit form of instance of this type?.- Returns:
- true if Advanced tab is displayed, false otherwise.
 
 - 
getCategoriespublic java.lang.String[] getCategories() Return default categories for this type- Returns:
- String[] default categories
 
 - 
getGroupspublic java.lang.String[] getGroups() Return default groups rights for this type- Returns:
- String[] default groups
 
 - 
getClassNamepublic java.lang.String getClassName() Returns the name of the type- Returns:
- String the name of the type
 
 - 
getFilesPathSetpublic java.util.Set<java.lang.String> getFilesPathSet() Returns all files normally used by the current type. Current implementation returns following files:- JSP in types/Type/*.jsp
- XML in WEB-INF/data/types/Type/Type.xml
- XML in WEB-INF/data/types/Type/Type-template.xml
- JAVA in WEB-INF/classes/generated/*Type*.java and .class
- Generated HBM
- Generated Revision
 - Returns:
- Set a set of relative file path. FIXME: [Template] Should add new template declaration ?
 
 - 
getDirectoriesPathSetpublic java.util.Set<java.lang.String> getDirectoriesPathSet() Returns roots folder for the given type Current implementation returns following files:- WEB-INF/data/types/Type/
- types/Type/
 - Returns:
- Set of path
 
 - 
getDefaultTypeTemplateEntryUsageMappublic static java.util.Map<java.lang.String,java.util.Set<TypeTemplateEntry>> getDefaultTypeTemplateEntryUsageMap(java.lang.String className, java.lang.String folderPath) 
 - 
getDefaultTypeTemplateEntryMappublic static java.util.Map<java.lang.String,TypeTemplateEntry> getDefaultTypeTemplateEntryMap(java.lang.String className, java.lang.String folderPath) 
 - 
setLabelMappublic void setLabelMap(java.util.Map<java.lang.String,java.lang.String> labelMap) 
 - 
setDescriptionpublic void setDescription(java.util.Map<java.lang.String,java.lang.String> descriptionMap) 
 - 
setTitleLabelMappublic void setTitleLabelMap(java.util.Map<java.lang.String,java.lang.String> titleLabelMap) 
 - 
setTitleDescriptionMappublic void setTitleDescriptionMap(java.util.Map<java.lang.String,java.lang.String> titleDescriptionMap) 
 - 
setTabMappublic void setTabMap(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> tabMap) 
 - 
setDebatablepublic void setDebatable(boolean isDebatable) Param true if a forum can be created on instances of this type.- Parameters:
- isDebatable- true if instances of this type are debatable.
 
 - 
setCategoryTabpublic void setCategoryTab(boolean isCategoryTab) Do we display category tab in the edit form of instance of this type?.- Parameters:
- isCategoryTab- true if category tab is displayed, false otherwise.
 
 - 
setTemplateTabpublic void setTemplateTab(boolean isTemplateTab) Do we display template tab in the edit form of instance of this type?.- Parameters:
- isTemplateTab- true if template tab is displayed, false otherwise.
 
 - 
setReadRightTabpublic void setReadRightTab(boolean isReadRightTab) Do we display Read Right tab in the edit form of instance of this type?.- Parameters:
- isReadRightTab- true if Read Right tab is displayed, false otherwise.
 
 - 
setUpdateRightTabpublic void setUpdateRightTab(boolean isUpdateRightTab) Do we display Update Right tab in the edit form of instance of this type?.- Parameters:
- isUpdateRightTab- true if Update Right tab is displayed, false otherwise.
 
 - 
setWorkflowTabpublic void setWorkflowTab(boolean isWorkflowTab) Do we display Workflow tab in the edit form of instance of this type?.- Parameters:
- isWorkflowTab- true if Workflow tab is displayed, false otherwise.
 
 - 
setAdvancedTabpublic void setAdvancedTab(boolean isAdvancedTab) Do we display Advanced tab in the edit form of instance of this type?.- Parameters:
- isAdvancedTab- true if Advanced tab is displayed, false otherwise.
 
 - 
setCategoriespublic void setCategories(java.lang.String[] categories) Set default categories- Parameters:
- categories- String[] of default category ids
 
 - 
setGroupspublic void setGroups(java.lang.String[] groups) Set default groups right- Parameters:
- groups- String[] of default group ids
 
 - 
getPluginpublic Plugin getPlugin() Returns the plugin providing this type.- Returns:
- the plugin providing this type.
- Since:
- jcms-10.0.0
 
 - 
isActivepublic boolean isActive() 
 
- 
 
-