|
WebLogic Process Integrator Version 2.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.wlpi.common.TemplateInfo
Holds information about a workflow template.
Objects of this class override the boolean equals(Object)
and
implement the comparable
interface. Homogeneous collections
containing objects of this class may, therefore, be searched and sorted using
the Collection.contains(Object), List.indexOf(Object),
Collections.sort(List)
methods.
Fields inherited from interface com.bea.wlpi.common.Publishable |
BUSINESS_CALENDAR, BUSINESS_OPERATION, EVENT_KEY, ORG, ROLE, TEMPLATE, TEMPLATE_DEFINITION, USER, XML_REPOSITORY_ENTITY, XML_REPOSITORY_FOLDER |
Constructor Summary | |
TemplateInfo(java.lang.String id,
java.lang.String name)
Create a new TemplateInfo object. |
|
TemplateInfo(java.lang.String id,
java.lang.String name,
java.lang.String xml)
Create a new TemplateInfo object. |
|
TemplateInfo(java.lang.String id,
java.lang.String name,
java.lang.String xml,
java.util.Map pluginData,
boolean published)
Create a new TemplateInfo object. |
Method Summary | |
int |
compareTo(java.lang.Object o)
Compare two TemplateInfo objects. |
boolean |
equals(java.lang.Object obj)
Test two TemplateInfo objects for equality. |
java.lang.Object |
getContents()
Return the publishable content. |
java.lang.String |
getEntryName()
Return the display name for the publishable object. |
java.lang.String |
getId()
Return the template ID. |
java.lang.String |
getName()
Return the template name. |
java.lang.String |
getOwnerName()
Return the name of the object's owner. |
java.util.Map |
getPluginData()
Get the object containing template properties for the all plugins. |
PluginObject |
getPluginData(java.lang.String pluginName)
Get the object containing template properties for the specified plugin. |
int |
getType()
Return the type of publishable object. |
boolean |
isPublished()
Whether this template is published. |
java.lang.String |
toString()
Return a string representation of the object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TemplateInfo(java.lang.String id, java.lang.String name)
TemplateInfo
object.id
- The ID of the workflow template.name
- The template name.public TemplateInfo(java.lang.String id, java.lang.String name, java.lang.String xml)
TemplateInfo
object.id
- The ID of the workflow template.name
- The template name.xml
- The plugin-defined template properties in XML form.public TemplateInfo(java.lang.String id, java.lang.String name, java.lang.String xml, java.util.Map pluginData, boolean published)
TemplateInfo
object.id
- The ID of the workflow template.name
- The template name.xml
- The plugin-defined template properties in XML form.pluginData
- The plugin-defined template properties.Method Detail |
public final java.lang.String getId()
public final java.lang.String getName()
public java.util.Map getPluginData()
public PluginObject getPluginData(java.lang.String pluginName)
pluginName
- The plugin name.public boolean isPublished()
isPublished
in interface Publishable
true
if published.public boolean equals(java.lang.Object obj)
TemplateInfo
objects for equality.equals
in class java.lang.Object
obj
- Object with which to compare this one.true
if obj
is an instance of
TemplateInfo
with the same ID as this one.compareTo(java.lang.Object)
public int compareTo(java.lang.Object o)
TemplateInfo
objects.compareTo
in interface java.lang.Comparable
obj
- Object with which to compare this one. Must be
null
or an instance of TemplateInfo
.name
members using
the String.compareTo(Object)
method.java.lang.ClassCastException
- if o
is not an instance of
TemplateInfo
.equals(java.lang.Object)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object getContents()
Publishable
getContents
in interface Publishable
com.bea.wlpi.common.Publishable
public java.lang.String getEntryName()
Publishable
getEntryName
in interface Publishable
com.bea.wlpi.common.Publishable
public int getType()
Publishable
getType
in interface Publishable
com.bea.wlpi.common.Publishable
Publishable.TEMPLATE
,
Publishable.TEMPLATE_DEFINITION
,
Publishable.BUSINESS_OPERATION
,
Publishable.BUSINESS_CALENDAR
,
Publishable.USER
,
Publishable.ROLE
,
Publishable.ORG
,
Publishable.XML_REPOSITORY_FOLDER
,
Publishable.XML_REPOSITORY_ENTITY
,
Publishable.EVENT_KEY
,public java.lang.String getOwnerName()
Publishable
getOwnerName
in interface Publishable
com.bea.wlpi.common.Publishable
|
WebLogic Process Integrator Version 2.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |