public class PostContentType extends WebContentType
DefaultContentType.AnnotableDefinition, DefaultContentType.MetadataAndRepeaterDefinitionParser, DefaultContentType.RestrictedDefinition, DefaultContentType.RestrictedMetadataDefinition, DefaultContentType.RestrictedRepeaterDefinition, DefaultContentType.RestrictedRichTextDefinition, DefaultContentType.Restrictions
Modifier and Type | Field and Description |
---|---|
protected UserManager |
_userManager
The users manager.
|
static String |
CONTENT_TYPE
Post content type.
|
__GLOBAL_VALIDATOR_ROLE_PREFIX, _abstract, _cocoonContext, _context, _currentUserProvider, _globalValidators, _hierarchicalSimpleContentsHelper, _indexingModel, _manager, _metadata, _parentMetadataName, _richTextOutgoingReferencesExtractor, _richTextTransformer, _richTextUpdater, _right, _rightManager, _tags, _workflowProvider
_allMetadataSetsForEdition, _allMetadataSetsForView, _category, _contentTypesHelper, _cssFiles, _cTypeEP, _dcProvider, _defaultTitle, _description, _iconDecorator, _iconGlyph, _id, _label, _largeIcon, _mediumIcon, _metadataSetsForEdition, _metadataSetsForView, _pluginName, _smallIcon, _srcResolver, _superTypeIds
TAG_MIXIN, TAG_PRIVATE, TAG_REFERENCE_TABLE, TAG_RENDERABLE_FERENCE_TABLE
Constructor and Description |
---|
PostContentType() |
Modifier and Type | Method and Description |
---|---|
void |
saxContentTypeAdditionalData(ContentHandler contentHandler,
Content content)
SAX the additional content data linked to its
ContentType
These additional data will be available in content view |
void |
service(ServiceManager serviceManager) |
_addSemanticAnnotations, _checkContentMetadata, _checkContentMetadatas, _checkContentMutualReferences, _checkContentMutualReferences, _checkMetadataDefinition, _checkMetadataTypes, _checkMetadataTypes, _computeIndexingModelReferences, _configureCustomIndexingFields, _configureCustomMetadataIndexingFields, _configureGlobalValidators, _configureIndexingModel, _configureMetadataDefinitions, _configureMetadataIndexingFields, _configureParentContentType, _getApplicableMetadata, _getRestrictionsForPath, _getSemanticAnnotations, _hasRights, _isInWorkflowStep, _parseAllMetadatas, _parseDublinCoreMetadata, _parseMetadata, _parseTags, canRead, canWrite, configure, contextualize, dispose, getAdditionalData, getGlobalValidators, getIndexingFieldDefinitions, getIndexingModel, getMetadataDefinition, getMetadataDefinitionByPath, getMetadataNames, getOverridenConfiguration, getParentMetadata, getRichTextUpdater, getRight, getRootConfiguration, getTags, hasMetadataDefinition, hasTag, isAbstract, isMixin, isMultilingual, isPrivate, isReferenceTable, isSimple, postInitialize, toString
_configureCSSFiles, _configureIcons, _configureLabels, _configureMetadataSets, _configureSuperTypes, _fillMetadataSetDublinCore, _fillMetadataSetElement, _getApplicableMetadataSets, _getDefaultCatalogue, _getIconPath, _parseI18nizableText, _parseI18nizableText, _parseIcon, _parseIcon, _parseIconGlyph, _parseMetadataSet, _parseMetadataSets, getCategory, getCSSFiles, getDefaultTitle, getDescription, getEditionMetadataSetNames, getIconDecorator, getIconGlyph, getId, getLabel, getLargeIcon, getMediumIcon, getMetadataSetForEdition, getMetadataSetForView, getPluginName, getSmallIcon, getSupertypeIds, getViewMetadataSetNames, setPluginInfo
getLogger, setLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCategory, getCSSFiles, getDefaultTitle, getDescription, getEditionMetadataSetNames, getIconDecorator, getIconGlyph, getId, getLabel, getLargeIcon, getMediumIcon, getMetadataSetForEdition, getMetadataSetForView, getPluginName, getSmallIcon, getSupertypeIds, getViewMetadataSetNames
public static final String CONTENT_TYPE
protected UserManager _userManager
public PostContentType()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class DefaultContentType
ServiceException
public void saxContentTypeAdditionalData(ContentHandler contentHandler, Content content) throws AmetysRepositoryException, SAXException
ContentType
ContentType
These additional data will be available in content viewsaxContentTypeAdditionalData
in interface ContentType
saxContentTypeAdditionalData
in class DefaultContentType
contentHandler
- The handler to SAX intocontent
- The contentAmetysRepositoryException
- if an error occurs while accessing the content.SAXException
- if an error occurs while SAXing