|
WebLogic Integration | |||||||||
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.
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()
|
java.lang.String |
getEntryName()
|
java.lang.String |
getId()
Return the template ID. |
java.lang.String |
getName()
Return the template name. |
java.lang.String |
getOwnerName()
|
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. |
java.util.List |
getReferencedPublishables(java.util.Map publishables)
|
int |
getType()
|
boolean |
isPublished()
Whether this template is published. |
void |
publish()
|
java.lang.String |
toString()
Return a string representation of the object. |
java.lang.String |
toXML()
|
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()
true
if published.public void publish()
public boolean equals(java.lang.Object obj)
TemplateInfo
objects for equality.
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.
obj
- Object with which to compare this one. Must be
null
or an instance of TemplateInfo
.name
members using
the String.compareTo(Object)
method.o
is not an instance of
TemplateInfo
.equals(java.lang.Object)
public java.lang.String toString()
public java.lang.String toXML()
public java.lang.Object getContents()
public java.lang.String getEntryName()
public int getType()
public java.lang.String getOwnerName()
public java.util.List getReferencedPublishables(java.util.Map publishables)
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |