Interface IPluginFormResource
-
- All Superinterfaces:
IFCPlugin
,INamedUiElement
,INameProviding
,ITransferable
,Serializable
public interface IPluginFormResource extends IFCPlugin
Interface for plugins to integrate form resources like CSS or JavaScript- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
-
Fields inherited from interface de.xima.fc.plugin.interfaces.IFCPlugin
CONFIG_FILENAME
-
Fields inherited from interface de.xima.fc.interfaces.INamedUiElement
ATTR_DISPLAY_NAME
-
Fields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default byte[]
getResourceData()
Deprecated.Use / implementgetResourceData(IPluginFormResourceGetDataParams)
.default byte[]
getResourceData(IPluginFormResourceGetDataParams params)
String
getResourceName()
default EFormResourceType
getRespourceType()
default EPluginFormResourceType
getType()
Deprecated.ImplementgetRespourceType()
instead-
Methods inherited from interface de.xima.fc.plugin.interfaces.IFCPlugin
getDescription, getDescription, getDisplayName, getName, initialize, initPlugin, install, shutdown, shutdown, uninstall
-
-
-
-
Method Detail
-
getType
@Deprecated default EPluginFormResourceType getType()
Deprecated.ImplementgetRespourceType()
instead- Returns:
- The
EFormResourceType
, i.e. whether the resource is a JavaScript or CSS file.
-
getRespourceType
default EFormResourceType getRespourceType()
- Returns:
- The
EFormResourceType
, i.e. whether the resource is a JavaScript or CSS file.
-
getResourceName
String getResourceName()
- Returns:
- The name of the form resource, with the correct file extension that corresponds to
getRespourceType()
.
-
getResourceData
@Deprecated default byte[] getResourceData()
Deprecated.Use / implementgetResourceData(IPluginFormResourceGetDataParams)
.- Returns:
- The binary data of the form resource.
-
getResourceData
default byte[] getResourceData(IPluginFormResourceGetDataParams params)
- Parameters:
params
- Parameters that can be used by this method, such as whether the form is rendered inline.- Returns:
- The binary data of the form resource.
-
-