public class ThesaurusItemContentType extends DefaultContentType
DefaultContentType.AnnotableDefinition, DefaultContentType.MetadataAndRepeaterDefinitionParser, DefaultContentType.RestrictedDefinition, DefaultContentType.RestrictedMetadataDefinition, DefaultContentType.RestrictedRepeaterDefinition, DefaultContentType.RestrictedRichTextDefinition, DefaultContentType.Restrictions
Modifier and Type | Field and Description |
---|---|
private ThesaurusDAO |
_thesaurusDAO |
static String |
CANDIDAT_CONTENT_TYPE_ID
Content type id for candidate
|
static String |
ITEM_CONTENT_TYPE_ID
Content type id for term
|
static String |
TERM_CONTENT_TYPE_ID
Content type id for term
|
__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 |
---|
ThesaurusItemContentType() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalData(Content content)
Get the additional data relative to its
ContentType . |
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 smanager) |
_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, 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 ITEM_CONTENT_TYPE_ID
public static final String TERM_CONTENT_TYPE_ID
public static final String CANDIDAT_CONTENT_TYPE_ID
private ThesaurusDAO _thesaurusDAO
public ThesaurusItemContentType()
public void service(ServiceManager smanager) 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 SAXingpublic Map<String,Object> getAdditionalData(Content content)
ContentType
ContentType
.
These additional data are delivered to client side.getAdditionalData
in interface ContentType
getAdditionalData
in class DefaultContentType
content
- The content