public interface ContentTypeDescriptor
Modifier and Type | Method and Description |
---|---|
I18nizableText |
getCategory()
Retrieves the category of the content type.
|
List<ClientSideElement.ScriptFile> |
getCSSFiles()
Returns the list of CSS files needed to correctly display the content's in BO, such as the content's icon
|
I18nizableText |
getDefaultTitle()
Retrieves the default title of the content type.
|
I18nizableText |
getDescription()
Retrieves the description of the content type.
|
Set<String> |
getEditionMetadataSetNames(boolean includeInternal)
Returns all names of "edition" metadataSets.
|
String |
getIconDecorator()
Retrieves the CSS class to use for decorator above the main icon
|
String |
getIconGlyph()
Retrieves the CSS class to use for glyph icon
|
String |
getId()
Retrieves the id of the content type.
|
I18nizableText |
getLabel()
Retrieves the label of the content type.
|
String |
getLargeIcon()
Retrieves the URL of the icon without the context path.
|
String |
getMediumIcon()
Retrieves the URL of the icon without the context path.
|
MetadataSet |
getMetadataSetForEdition(String metadataSetName)
Retrieves the metadata set name for edition.
|
MetadataSet |
getMetadataSetForView(String metadataSetName)
Retrieves the metadata set name for view.
|
String |
getPluginName()
Retrieves the name of the plugin declaring this content type.
|
String |
getSmallIcon()
Retrieves the URL of the icon without the context path.
|
String[] |
getSupertypeIds()
Retrieves the super type's ids.
|
Set<String> |
getViewMetadataSetNames(boolean includeInternal)
Returns all names of "view" metadataSets.
|
String getPluginName()
I18nizableText getLabel()
I18nizableText getDescription()
I18nizableText getDefaultTitle()
I18nizableText getCategory()
String[] getSupertypeIds()
String getIconGlyph()
String getIconDecorator()
String getSmallIcon()
String getMediumIcon()
String getLargeIcon()
Set<String> getViewMetadataSetNames(boolean includeInternal)
includeInternal
- if the result should include internal metadataSets.Set<String> getEditionMetadataSetNames(boolean includeInternal)
includeInternal
- if the result should include internal metadataSets.MetadataSet getMetadataSetForView(String metadataSetName)
metadataSetName
- the metadata set name.MetadataSet getMetadataSetForEdition(String metadataSetName)
metadataSetName
- the metadata set name.List<ClientSideElement.ScriptFile> getCSSFiles()