Class ContentTypeEditorToolElement
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.core.ui.StaticFileImportsClientSideElement
-
- org.ametys.core.ui.StaticClientSideElement
-
- org.ametys.plugins.contenttypeseditor.ContentTypeEditorToolElement
-
- All Implemented Interfaces:
ClientSideElement
,LogEnabled
,PluginAware
,Configurable
,Serviceable
public class ContentTypeEditorToolElement extends StaticClientSideElement
Tool client side element for content type 's editor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.core.ui.ClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
-
-
Field Summary
Fields Modifier and Type Field Description protected ContentTypeInformationsHelper
_contentTypeInformationsHelper
The helper extension point instance-
Fields inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
-
-
Constructor Summary
Constructors Constructor Description ContentTypeEditorToolElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getContentTypeInfos(String contentTypeId, boolean displayReferenceMetadataOnly)
Retrieve content type informationsvoid
service(ServiceManager serviceMmanager)
-
Methods inherited from class org.ametys.core.ui.StaticClientSideElement
_configureClass, _configureParameters, _configureScript, configureInitialParameters
-
Methods inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, configure, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, setPluginInfo, toString
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Field Detail
-
_contentTypeInformationsHelper
protected ContentTypeInformationsHelper _contentTypeInformationsHelper
The helper extension point instance
-
-
Constructor Detail
-
ContentTypeEditorToolElement
public ContentTypeEditorToolElement()
-
-
Method Detail
-
service
public void service(ServiceManager serviceMmanager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classStaticFileImportsClientSideElement
- Throws:
ServiceException
-
getContentTypeInfos
public Map<String,Object> getContentTypeInfos(String contentTypeId, boolean displayReferenceMetadataOnly)
Retrieve content type informations- Parameters:
contentTypeId
- - Content type's identifierdisplayReferenceMetadataOnly
- - True to display only metadatas declared by the content type according to contentTypeId parameter- Returns:
- a
Map
containing all informations about the content type
-
-