![]() |
![]() |
|
|
Plug-In Value Object Summary
This appendix describes the BPM plug-in value (or Info) objects and their methods. It includes the following topics:
For more information about defining and accessing value object information, see Using Plug-In Value Objects.
ActionCategoryInfo Object
The com.bea.wlpi.common.plugin.ActionCategoryInfo object maintains plug-in action or action category information.
ActionCategoryInfo is the abstract base class for the following objects:
The ActionCategoryInfo class extends the com.bea.wlpi.common.plugin.InfoObject class, as described in InfoObject Object.
You can use the following constructor to create a new ActionCategoryInfo object:
public ActionCategoryInfo(
java.lang.String pluginName,
int ID,
java.lang.String name,
java.lang.String description,
int parentSystemID,
java.lang.String[] classNames
)
The following table describes the ActionCategoryInfo object information, the constructor parameters used to define the data, and the methods that can be used to access that information after the object is defined, if applicable.
Table B-1 ActionCategoryInfo Object Information
For more information, see the com.bea.wlpi.common.plugin.ActionCategoryInfo Javadoc.
ActionInfo Object
The com.bea.wlpi.common.plugin.ActionInfo object maintains plug-in action information.
ActionCategoryInfo is the abstract base class for the ActionInfo object.
The ActionInfo class extends the com.bea.wlpi.common.plugin.InfoObject class, as described in InfoObject Object.
You can use the following constructors to create a new ActionInfo object:
public ActionInfo(
java.lang.String pluginName,
int ID,
java.lang.String name,
java.lang.String description,
byte[] iconByteArray,
int parentSystemID,
int actionStateMask,
int actionStateTrans,
java.lang.String[] subActionLabels,
java.lang.String[] classNames
)
public ActionInfo(
java.lang.String pluginName,
int ID,
java.lang.String name,
java.lang.String description,
byte[] iconByteArray,
int parentSystemID,
int actionStateMask,
java.lang.String[] classNames
)
The following table describes the ActionInfo object information, the constructor parameters used to define the data, and the methods that can be used to access that information after the object is defined.
Table B-2 ActionInfo Object Information
For more information, see the com.bea.wlpi.common.plugin.ActionInfo Javadoc.
CategoryInfo Object
The com.bea.wlpi.common.plugin.CategoryInfo object maintains information about the plug-in action category.
ActionCategoryInfo is the abstract base class for the CategoryInfo object.
The CategoryInfo class extends the com.bea.wlpi.common.plugin.InfoObject class, as described in InfoObject Object.
You can use the following constructor to create a new CategoryInfo object:
public CategoryInfo(
java.lang.String pluginName,
int ID,
java.lang.String name,
java.lang.String description,
int parentSystemID,
com.bea.wlpi.common.plugin.ActionCategoryInfo[] subNodes
)
The following table describes the ActionCategoryInfo object information, the constructor parameters used to define the data, and the methods that can be used to access that information after the object is defined, if applicable.
Table B-3 CategoryInfo Object Information
Note: In addition to the methods defined in the previous table, the following method recursively searches the action category and its subcategories to locate the category with a matching system ID.
For more information, see the com.bea.wlpi.common.plugin.CategoryInfo Javadoc.
ConfigurationData Object
The com.bea.wlpi.common.plugin.ConfigurationData object maintains plug-in configuration information.
You can use the following constructor to create a new ConfigurationData object:
public ConfigurationData(
java.lang.String pluginName,
com.bea.wlpi.common.VersionInfo version,
int status,
int startMode,
java.lang.String xml
)
The following table describes the ConfigurationData object information, the constructor parameters used to define the data, and the methods that can be used to access that information after the object is defined, if applicable.
Table B-4 ConfigurationData Object Information
For more information, see the com.bea.wlpi.common.plugin.ConfigurationData Javadoc.
ConfigurationInfo Object
The com.bea.wlpi.common.plugin.ConfigurationInfo object maintains plug-in configuration information.
The ConfigurationInfo class extends the com.bea.wlpi.common.plugin.InfoObject class, as described in InfoObject Object.
You can use the following constructor to create a new ConfigurationInfo object:
public ConfigurationInfo(
java.lang.String pluginName,
int ID,
java.lang.String description,
java.lang.String[] classNames
)
The following table describes the ConfigurationInfo object information, the constructor parameters used to define the data, and the methods that can be used to access that information after the object is defined, if applicable.
Table B-5 ConfigurationInfo Object Information
For more information, see the com.bea.wlpi.common.plugin.ConfigurationInfo Javadoc.
DoneInfo Object
The com.bea.wlpi.common.plugin.DoneInfo object maintains information about a plug-in Done node.
The DoneInfo class extends the following classes:
You can use the following constructor to create a new DoneInfo object:
public DoneInfo(
java.lang.String pluginName,
int ID,
java.lang.String name,
java.lang.String description,
byte[] iconByteArray,
java.lang.String[] classNames
)
The following table describes the ConfigurationInfo object information, the constructor parameters used to define the data, and the methods that can be used to access that information after the object is defined, if applicable.
Table B-6 DoneInfo Object Information
For more information, see the com.bea.wlpi.common.plugin.DoneInfo Javadoc.
EventHandlerInfo Object
The com.bea.wlpi.common.plugin.EventHandlerInfo object maintains information about a plug-in event handler.
The EventHandlerInfo class extends the com.bea.wlpi.common.plugin.InfoObject class, as described in InfoObject Object.
You can use the following constructor to create a new EventHandlerInfo object:
public EventHandlerInfo(
java.lang.String pluginName,
java.lang.String name,
java.lang.String description,
java.lang.String[] classNames
)
The following table describes the EventHandlerInfo object information, the constructor parameters used to define the data, and the methods that can be used to access that information after the object is defined, if applicable.
Table B-7 EventHandlerInfo Object Information
For more information, see the com.bea.wlpi.common.plugin.EventHandlerInfo Javadoc.
EventInfo Object
The com.bea.wlpi.common.plugin.EventInfo object maintains information about a plug-in event handler.
The EventInfo class extends the following classes:
You can use the following constructor to create a new EventInfo object:
public EventInfo(
java.lang.String pluginName,
int ID,
java.lang.String name,
java.lang.String description,
byte[] iconByteArray,
java.lang.String[] classNames,
com.bea.wlpi.common.plugin.FieldInfo fieldInfo
)
The following table describes the EventHandlerInfo object information, the constructor parameters used to define the data, and the methods that can be used to access that information after the object is defined, if applicable.
Table B-8 EventInfo Object Information
For more information, see the com.bea.wlpi.common.plugin.EventInfo Javadoc.
FieldInfo Object
The com.bea.wlpi.common.plugin.FieldInfo object maintains information about a plug-in field.
The FieldInfo class extends the com.bea.wlpi.common.plugin.InfoObject class, as described in InfoObject Object.
You can use the following constructor to create a new FieldInfo object:
public FieldInfo(
java.lang.String pluginName,
int ID,
java.lang.String name,
java.lang.String description,
java.lang.String[] classNames,
boolean supportsQualifiers
)
The following table describes the FieldInfo object information, the constructor parameters used to define the data, and the methods that can be used to access that information after the object is defined, if applicable.
Table B-9 FieldInfo Object Information
For more information, see the com.bea.wlpi.common.plugin.FieldInfo Javadoc.
FunctionInfo Object
The com.bea.wlpi.common.plugin.FunctionInfo object maintains information about a plug-in function.
The FieldInfo class extends the com.bea.wlpi.common.plugin.InfoObject class, as described in InfoObject Object.
You can use the following constructor to create a new FunctionInfo object:
public FunctionInfo(
java.lang.String pluginName,
int ID,
java.lang.String name,
java.lang.String description,
java.lang.String prototype,
java.lang.String[] classNames,
int argcmin,
int argcmax
)
The following table describes the FunctionInfo object information, the constructor parameters used to define the data, and the methods that can be used to access that information after the object is defined, if applicable.
Table B-10 FunctionInfo Object Information
For more information, see the com.bea.wlpi.common.plugin.FunctionInfo Javadoc.
HelpSetInfo Object
The com.bea.wlpi.common.plugin.HelpSetInfo object maintains information about the plug-in online help. Plug-ins can support both HTML and JavaHelp online help systems. The plug-in online help files must be packaged in a WAR file and deployed as part of the process engine. In order for the BPM client applications to retrieve the appropriate help files, the online help WAR file must be deployed under the name of the plug-in to which it correlates.
BPM client applications can use the Plug-in Manager (or other EJB) ClassLoader to determine the URL of the process engine. Using the HelpSetInfo object values, the client applications can obtain a full URL to access the help files through http or https.
The HelpSetInfo class extends the com.bea.wlpi.common.plugin.InfoObject class, as described in InfoObject Object.
You can use the following constructor to create a new HelpSetInfo object:
public HelpSetInfo(
java.lang.String pluginName,
java.lang.String name,
java.lang.String description,
java.lang.String[] helpNames,
int helpType
)
The following table describes the HelpSetInfo object information, the constructor parameters used to define the data, and the methods that can be used to access that information after the object is defined, if applicable.
Table B-11 HelpSetInfo Object Information
The following table defines the help types (helpType values) and related plug-in classes (helpNames values).
Table B-12 Help Types and Related Plug-In Classes
For more information, see the com.bea.wlpi.common.plugin.HelpSetInfo Javadoc.
InfoObject Object
The com.bea.wlpi.common.plugin.InfoObject object provides the abstract base class for all plug-in value objects.
You can use the following constructor to create a new InfoObject object:
public InfoObject(
java.lang.String pluginName,
int ID,
java.lang.String name,
java.lang.String description,
java.lang.String[] classNames
)
The following table describes the InfoObject object information, the constructor parameters used to define the data, and the methods that can be used to access that information after the object is defined, if applicable.
Table B-13 InfoObject Object Information
The InfoObject object also provides the following method for generating an iconByteArray value from an input stream that can be used when constructing ActionInfo, DoneInfo, EventInfo, StartInfo, and TemplateDefinitionPropertiesInfo objects:
public static final byte[] imageStreamToByteArray(java.io.InputStream inputStream) throws java.io.IOException
For more information, see the com.bea.wlpi.common.plugin.InfoObject Javadoc.
PluginCapabilitiesInfo Object
The com.bea.wlpi.common.plugin.PluginCapabilitiesInfo object maintains information about the plug-in capabilities.
The PluginCapabilitiesInfo object describes the complete set of plug-in capabilities once the plug-in has been loaded. Prior to being loaded, basic plug-in information can be accessed using the com.bea.wlpi.common.plugin.PluginInfo object, as described in PlugInfo Object.
You can use the following constructor to create a new PluginCapabilitiesInfo object:
public PluginCapabilitiesInfo(
com.bea.wlpi.common.plugin.PluginInfo info,
com.bea.wlpi.common.plugin.ActionCategoryInfo[] actions,
com.bea.wlpi.common.plugin.EventInfo[] events,
com.bea.wlpi.common.plugin.FieldInfo[] fields,
com.bea.wlpi.common.plugin.FunctionInfo[] functions,
com.bea.wlpi.common.plugin.StartInfo[] starts,
com.bea.wlpi.common.plugin.DoneInfo[] dones,
com.bea.wlpi.common.plugin.VariableTypeInfo[] variableTypes,
com.bea.wlpi.common.plugin.TemplatePropertiesInfo[] template,
com.bea.wlpi.common.plugin.TemplateDefinitionPropertiesInfo[]
templateDefinition,
com.bea.wlpi.common.plugin.EventHandlerInfo eventHandler
)
The following table describes the PluginCapabilitiesInfo object information, the constructor parameters used to define the data, and the methods that can be used to access that information after the object is defined, if applicable.
Table B-14 PluginCapabilitiesInfo Object Information
For more information, see the com.bea.wlpi.common.plugin.PluginCapabilitiesInfo Javadoc.
PluginDependency Object
The com.bea.wlpi.common.plugin.PluginDependency object maintains information about the plug-in dependencies.
The PluginDependency class extends the com.bea.wlpi.common.plugin.InfoObject class, as described in InfoObject Object.
You can use the following constructor to create a new PluginCapabilitiesInfo object:
public PluginDependency(
java.lang.String pluginName,
java.lang.String description,
java.lang.String masterPluginName,
java.lang.String vendor,
com.bea.wlpi.common.VersionInfo version
)
The following table describes the PluginDependency object information, the constructor parameters used to define the data, and the methods that can be used to access that information after the object is defined, if applicable.
Table B-15 PluginDependency Object Information
For more information, see the com.bea.wlpi.common.plugin.PluginDependency Javadoc.
PlugInfo Object
The com.bea.wlpi.common.plugin.PluginInfo object maintains basic information about the plug-in.
The PluginInfo object describes the basic set of plug-in capabilities before the plug-in has been loaded. After being loaded, basic plug-in information can be accessed using the com.bea.wlpi.common.plugin.PluginCapabilitiesInfo object, as described in PluginCapabilitiesInfo Object.
The PluginInfo class extends the com.bea.wlpi.common.plugin.InfoObject class, as described in InfoObject Object.
You can use the following constructor to create a new PluginCapabilitiesInfo object:
public PluginInfo(
java.lang.String pluginName,
java.lang.String name,
java.util.Locale lc,
java.lang.String vendor,
java.lang.String url,
com.bea.wlpi.common.VersionInfo version,
com.bea.wlpi.common.VersionInfo pluginFrameworkVersion,
com.bea.wlpi.common.plugin.PluginDependency[] dependencies,
com.bea.wlpi.common.plugin.ConfigurationInfo config,
com.bea.wlpi.common.plugin.HelpSetInfo helpSet
)
The following table describes the PluginDependency object information, the constructor parameters used to define the data, and the methods that can be used to access that information after the object is defined, if applicable.
Table B-16 PluginInfo Object Information
For more information, see the com.bea.wlpi.common.plugin.PluginInfo Javadoc.
StartInfo Object
The com.bea.wlpi.common.plugin.StartInfo object maintains information about a plug-in Start node.
The StartInfo class extends the following classes:
You can use the following constructor to create a new StartInfo object:
public StartInfo(
java.lang.String pluginName,
int ID,
java.lang.String name,
java.lang.String description,
byte[] iconByteArray,
java.lang.String[] classNames,
com.bea.wlpi.common.plugin.FieldInfo fieldInfo
)
The following table describes the ConfigurationInfo object information, the constructor parameters used to define the data, and the methods that can be used to access that information after the object is defined, if applicable.
Table B-17 StartInfo Object Information
For more information, see the com.bea.wlpi.common.plugin.StartInfo Javadoc.
TemplateDefinitionPropertiesInfo Object
The com.bea.wlpi.common.plugin.TemplateDefinitionPropertiesInfo object maintains information about the plug-in template definition properties.
The TemplateDefinitionPropertiesInfo class extends the com.bea.wlpi.common.plugin.InfoObject class, as described in InfoObject Object.
You can use the following constructor to create a new TemplateDefinitionPropertiesInfo object:
public DoneInfo(
java.lang.String pluginName,
java.lang.String name,
java.lang.String description,
java.lang.String[] classNames
)
The following table describes the TemplateDefinitionPropertiesInfo object information, the constructor parameters used to define the data, and the methods that can be used to access that information after the object is defined, if applicable.
Table B-18 TemplateDefinitionPropertiesInfo Object Information
For more information, see the com.bea.wlpi.common.plugin.TemplateDefinitionPropertiesInfo Javadoc.
TemplateNodeInfo Object
The com.bea.wlpi.common.plugin.TemplateNodeInfo object maintains information about a plug-in template definition node.
TemplateNodeInfo is extended by the following classes:
The TemplateNodeInfo class extends the com.bea.wlpi.common.plugin.InfoObject class, as described in InfoObject Object.
You can use the following constructor to create a new TemplateNodeInfo object:
public TemplateNodeInfo(
java.lang.String pluginName,
int ID,
java.lang.String name,
java.lang.String description,
byte[] iconByteArray,
java.lang.String[] classNames
)
The following table describes the TemplateDefinitionPropertiesInfo object information, the constructor parameters used to define the data, and the methods that can be used to access that information after the object is defined, if applicable.
Table B-19 TemplateDefinitionPropertiesInfo Object Information
For more information, see the com.bea.wlpi.common.plugin.TemplateNodeInfo Javadoc.
TemplatePropertiesInfo Object
The com.bea.wlpi.common.plugin.TemplatePropertiesInfo object maintains information about the plug-in template properties.
The TemplatePropertiesInfo class extends the com.bea.wlpi.common.plugin.InfoObject class, as described in InfoObject Object.
You can use the following constructor to create a new TemplatePropertiesInfo object:
public TemplatePropertiesInfo(
java.lang.String pluginName,
java.lang.String name,
java.lang.String description,
java.lang.String[] classNames
)
The following table describes the TemplateDefinitionPropertiesInfo object information, the constructor parameters used to define the data, and the methods that can be used to access that information after the object is defined, if applicable.
Table B-20 TemplatePropertiesInfo Object Information
For more information, see the com.bea.wlpi.common.plugin.TemplatePropertiesInfo Javadoc.
VariableTypeInfo Object
The com.bea.wlpi.common.plugin.VariableTypeInfo object maintains information about a plug-in variable.
The VariableTypeInfo class extends the com.bea.wlpi.common.plugin.InfoObject class, as described in InfoObject Object.
You can use the following constructor to create a new VariableTypeInfo object:
public VariableTypeInfo(
java.lang.String pluginName,
int ID,
java.lang.String name,
java.lang.String description,
int variableType,
java.lang.Class valueClass,
java.lang.String[] classNames
)
The following table describes the VariableTypeInfo object information, the constructor parameters used to define the data, and the methods that can be used to access that information after the object is defined, if applicable.
Table B-21 VariableTypeInfo Object Information
For more information, see the com.bea.wlpi.common.plugin.VariableTypeInfo Javadoc.
![]() |
![]() |
![]() |
|
Copyright © 2001 BEA Systems, Inc. All rights reserved.
|