Package org.ametys.cms.contenttype
Class AutomaticContentType
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.cms.contenttype.AbstractContentTypeDescriptor
org.ametys.cms.contenttype.DefaultContentType
org.ametys.cms.contenttype.AutomaticContentType
- All Implemented Interfaces:
ContentType
,ContentTypeDescriptor
,MetadataDefinitionHolder
,Model
,ModelItemAccessor
,ModelItemContainer
,LogEnabled
,PluginAware
,Disposable
,Configurable
,Contextualizable
,Serviceable
,ThreadSafe
ContentType
implementation for content types declared in WEB-INF/param.
This implementation basically extends DefaultContentType
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ametys.cms.contenttype.DefaultContentType
DefaultContentType.AnnotableDefinition, DefaultContentType.MetadataAndRepeaterDefinitionParser, DefaultContentType.RestrictedDefinition, DefaultContentType.RestrictedMetadataDefinition, DefaultContentType.RestrictedRepeaterDefinition, DefaultContentType.RestrictedRichTextDefinition
-
Field Summary
Fields inherited from class org.ametys.cms.contenttype.DefaultContentType
__GLOBAL_VALIDATOR_ROLE_PREFIX, _abstract, _attributeDefinitionParser, _cocoonContext, _compositeDefinitionParser, _context, _defaultWorkflowName, _dublinCoreAttributeDefinitionParser, _globalValidators, _hierarchicalSimpleContentsHelper, _indexingModel, _manager, _metadata, _modelItems, _overriddenAttributes, _overriddenViews, _parentAttributeDefinition, _repeaterDefinitionParser, _restrictedModelItemHelper, _richTextOutgoingReferencesExtractor, _richTextTransformer, _richTextUpdater, _right, _tags, _views
Fields inherited from class org.ametys.cms.contenttype.AbstractContentTypeDescriptor
_allMetadataSets, _category, _contentTypesHelper, _contentTypesParserHelper, _cssFiles, _cTypeEP, _dcProvider, _defaultTitle, _description, _iconDecorator, _iconGlyph, _id, _label, _largeIcon, _mediumIcon, _metadataSets, _pluginName, _smallIcon, _srcResolver, _superTypeIds
Fields inherited from interface org.ametys.cms.contenttype.ContentType
TAG_MIXIN, TAG_PRIVATE, TAG_REFERENCE_TABLE, TAG_RENDERABLE_FERENCE_TABLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the default i18n catalog for this content type.getIconPath
(String pluginName) Returns the path for iconsMethods inherited from class org.ametys.cms.contenttype.DefaultContentType
_addSemanticAnnotations, _checkAttributeTypes, _checkAttributeTypes, _checkContentAttributes, _checkContentTypeId, _checkContentTypeSimplicity, _checkMetadataDefinition, _checkMetadataTypes, _checkMutualReferences, _computeIndexingModelReferences, _configureAttributeDefinitions, _configureCustomIndexingFields, _configureCustomMetadataIndexingFields, _configureDefaultWorkflowName, _configureGlobalValidators, _configureIndexingModel, _configureMetadataIndexingFields, _configureParentContentType, _configureViews, _getApplicableAttributes, _getApplicableViews, _getContentTypeReservedAttributeNameExtensionPoint, _getRestrictionsForPath, _getSemanticAnnotations, _parseAllAttributes, _parseAllMetadatas, _parseDublinCoreAttributes, _parseDublinCoreMetadata, _parseGlobalValidators, _parseMetadata, _parseModelItem, _parseTags, _parseViews, _resolveViewReferences, _resolveViewReferences, canRead, canWrite, configure, contextualize, dispose, getAdditionalData, getDefaultWorkflowName, getFamilyId, getGlobalValidators, getIndexingFieldDefinitions, getIndexingModel, getMetadataDefinition, getMetadataDefinitionByPath, getMetadataNames, getModelItems, getOverriddenAttributes, getOverriddenViews, getOverridenConfiguration, getParentAttributeDefinition, getRichTextUpdater, getRight, getRootConfiguration, getTags, getView, getViewNames, hasMetadataDefinition, hasTag, isAbstract, isMixin, isMultilingual, isPrivate, isReferenceTable, isSimple, postInitialize, saxContentTypeAdditionalData, service, toString
Methods inherited from class org.ametys.cms.contenttype.AbstractContentTypeDescriptor
_configureCSSFiles, _configureIcons, _configureLabels, _configureMetadataSets, _configureSuperTypes, _fillMetadataSetDublinCore, _fillMetadataSetElement, _getApplicableMetadataSets, _parseMetadataSet, _parseMetadataSets, getCategory, getCSSFiles, getDefaultTitle, getDescription, getEditionMetadataSetNames, getIconDecorator, getIconGlyph, getId, getLabel, getLargeIcon, getMediumIcon, getMetadataSetForEdition, getMetadataSetForView, getPluginName, getSmallIcon, getSupertypeIds, getViewMetadataSetNames, setPluginInfo
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.ametys.cms.contenttype.ContentType
canRead, canWrite, getViewNames
Methods inherited from interface org.ametys.cms.contenttype.ContentTypeDescriptor
getCategory, getCSSFiles, getDefaultTitle, getDescription, getEditionMetadataSetNames, getIconDecorator, getIconGlyph, getId, getLabel, getLargeIcon, getMediumIcon, getMetadataSetForEdition, getMetadataSetForView, getPluginName, getSmallIcon, getSupertypeIds, getViewMetadataSetNames
Methods inherited from interface org.ametys.runtime.model.ModelItemAccessor
getChild, getModelItem, hasModelItem
-
Constructor Details
-
AutomaticContentType
public AutomaticContentType()
-
-
Method Details
-
getDefaultCatalog
Description copied from interface:ContentTypeDescriptor
Returns the default i18n catalog for this content type.- Returns:
- the default i18n catalog for this content type.
-
getIconPath
Description copied from interface:ContentTypeDescriptor
Returns the path for icons- Parameters:
pluginName
- the configured plugin- Returns:
- the path for icons
-