Package org.ametys.cms.contenttype
Class HTMLContentType
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.cms.contenttype.AbstractContentTypeDescriptor
-
- org.ametys.cms.contenttype.DefaultContentType
-
- org.ametys.cms.contenttype.HTMLContentType
-
- All Implemented Interfaces:
ContentType
,ContentTypeDescriptor
,MetadataDefinitionHolder
,Model
,ModelItemAccessor
,ModelItemContainer
,LogEnabled
,PluginAware
,Disposable
,Configurable
,Contextualizable
,Serviceable
,ThreadSafe
@Deprecated public class HTMLContentType extends DefaultContentType
Deprecated.Differences of RichText implementations are now managed by theRichTextRepositoryElementType
and theHTMLRichTextRepositoryElementType
Type of content which is retrieved from a XML configuration. TODO document xml configuration ... Provides access based on rights and current workflow steps.It used a configuration file with the following format:
<restrict-to>
[<right type="read|write" id="RIGHT_ID"/>]* <!-- logical OR between several right id of the same type -->
[<workflow type="read|write" step="3"/>]* <!-- logical OR between several workflow step of the same type -->
[<cannot type="read|write"/>]*
</restrict-to>
-
-
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
__annotationNamePattern, __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
Constructors Constructor Description HTMLContentType()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
service(ServiceManager manager)
Deprecated.-
Methods 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, 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, getDefaultCatalog, getDefaultTitle, getDescription, getEditionMetadataSetNames, getIconDecorator, getIconGlyph, getIconPath, getId, getLabel, getLargeIcon, getMediumIcon, getMetadataSetForEdition, getMetadataSetForView, getPluginName, getSmallIcon, getSupertypeIds, getViewMetadataSetNames
-
Methods inherited from interface org.ametys.runtime.model.ModelItemAccessor
getChild, getModelItem, hasModelItem
-
-
-
-
Constructor Detail
-
HTMLContentType
public HTMLContentType()
Deprecated.
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
Deprecated.- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classDefaultContentType
- Throws:
ServiceException
-
-