public class ContentTypeEditorToolElement extends StaticClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
protected ContentTypeInformationsHelper |
_contentTypeInformationsHelper
The helper extension point instance
|
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
ContentTypeEditorToolElement() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getContentTypeInfos(String contentTypeId,
boolean displayReferenceMetadataOnly)
Retrieve content type informations
|
void |
service(ServiceManager serviceMmanager) |
_configureClass, _configureParameters, _configureScript, configureInitialParameters
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, configure, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, setPluginInfo, toString
getLogger, setLogger
protected ContentTypeInformationsHelper _contentTypeInformationsHelper
public ContentTypeEditorToolElement()
public void service(ServiceManager serviceMmanager) throws ServiceException
service
in interface Serviceable
service
in class StaticFileImportsClientSideElement
ServiceException
public Map<String,Object> getContentTypeInfos(String contentTypeId, boolean displayReferenceMetadataOnly)
contentTypeId
- - Content type's identifierdisplayReferenceMetadataOnly
- - True to display only metadatas declared by the content type according to contentTypeId parameterMap
containing all informations about the content type