Package org.pentaho.platform.api.engine
Interface IContentInfo
-
public interface IContentInfo
Describes a content type. This class is used to describe content types that users can get to. Implementations of this class are also used as keys to content generators (IContentGenerator)- Author:
- jamesdixon
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
canExport()
flags used by export handler to determine if this extension can be usedboolean
canImport()
flags used by import handler to determine if this extension can be usedString
getDescription()
The description of this content type as presented to the user Implementors of this interface should provide localization for the descriptionString
getExtension()
The extension of files that generate this content type.String
getIconUrl()
Returns an url to an icon for this content typeString
getMimeType()
Deprecated.Don't Use - this is way too early to know the mime typeList<IPluginOperation>
getOperations()
Returns a list of the operations that are available for this content typeString
getTitle()
The title of this content type as presented to the user Implementors of this interface should provide localization for the title e.g.
-
-
-
Method Detail
-
getExtension
String getExtension()
The extension of files that generate this content type. e.g. 'xaction'- Returns:
- file extension
-
getTitle
String getTitle()
The title of this content type as presented to the user Implementors of this interface should provide localization for the title e.g. 'Executable action'- Returns:
- title
-
getDescription
String getDescription()
The description of this content type as presented to the user Implementors of this interface should provide localization for the description- Returns:
- title
-
getMimeType
@Deprecated String getMimeType()
Deprecated.Don't Use - this is way too early to know the mime typeThe mime-type of the generated content e.g. 'text/html'- Returns:
- mime type
-
getOperations
List<IPluginOperation> getOperations()
Returns a list of the operations that are available for this content type- Returns:
- the available plugin operations
-
getIconUrl
String getIconUrl()
Returns an url to an icon for this content type- Returns:
-
canImport
boolean canImport()
flags used by import handler to determine if this extension can be used- Returns:
-
canExport
boolean canExport()
flags used by export handler to determine if this extension can be used- Returns:
-
-