|
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.TemplateDefinitionInfo
Holds information about a workflow template definition.
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 | |
TemplateDefinitionInfo(java.lang.String id,
java.sql.Timestamp effective,
java.sql.Timestamp expiry,
boolean active)
Create a new TemplateDefinitionInfo object. |
|
TemplateDefinitionInfo(java.lang.String id,
java.sql.Timestamp effective,
java.sql.Timestamp expiry,
boolean active,
java.lang.String templateId,
java.lang.String templateName)
Create a new TemplateDefinitionInfo object. |
|
TemplateDefinitionInfo(java.lang.String id,
java.sql.Timestamp effective,
java.sql.Timestamp expiry,
boolean active,
java.lang.String templateId,
java.lang.String templateName,
java.lang.String xml,
java.util.Map pluginData,
boolean published)
|
Method Summary | |
int |
compareTo(java.lang.Object o)
Compare two TemplateDefinitionInfo objects. |
boolean |
equals(java.lang.Object obj)
Test two TemplateDefinitionInfo objects for equality. |
boolean |
getActive()
Return whether the definition is marked as active. |
java.lang.Object |
getContents()
Return the publishable content. |
java.sql.Timestamp |
getEffective()
Return the effective date for the definition. |
java.lang.String |
getEntryName()
Return the display name for the publishable object. |
java.sql.Timestamp |
getExpiry()
Return the expiry date for the definition. |
java.lang.String |
getId()
Return the template definition ID. |
java.lang.String |
getOwnerName()
Return the name of the object's owner. |
java.util.Map |
getPluginData()
Get the template definition properties for all plugins. |
PluginObject |
getPluginData(java.lang.String pluginName)
Get the object containing template definition properties for the specified plugin. |
java.lang.String |
getTemplateId()
Return the template ID. |
java.lang.String |
getTemplateName()
Return the template name (if known). |
int |
getType()
Return the type of publishable object. |
boolean |
isPublished()
Whether this template definition 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 TemplateDefinitionInfo(java.lang.String id, java.sql.Timestamp effective, java.sql.Timestamp expiry, boolean active)
TemplateDefinitionInfo
object.id
- Template definition ID.effective
- The date/time on which the definition becomes effective.expiry
- The date/time on which the definition expires.active
- true
if definition is active (i.e., can be
instantiated).public TemplateDefinitionInfo(java.lang.String id, java.sql.Timestamp effective, java.sql.Timestamp expiry, boolean active, java.lang.String templateId, java.lang.String templateName)
TemplateDefinitionInfo
object.id
- Template definition ID.effective
- The date/time on which the definition becomes effective.expiry
- The date/time on which the definition expires.active
- true
if definition is active (i.e., can be
instantiated).templateId
- The id of the template containing this definition.public TemplateDefinitionInfo(java.lang.String id, java.sql.Timestamp effective, java.sql.Timestamp expiry, boolean active, java.lang.String templateId, java.lang.String templateName, java.lang.String xml, java.util.Map pluginData, boolean published)
Method Detail |
public final java.lang.String getId()
public final java.lang.String getTemplateId()
public final java.lang.String getTemplateName()
public final java.sql.Timestamp getEffective()
public final java.sql.Timestamp getExpiry()
public final boolean getActive()
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)
TemplateDefinitionInfo
objects for equality.equals
in class java.lang.Object
obj
- Object with which to compare this one.true
if obj
is an instance of
TemplateDefinitionInfo
with the same ID as this one.compareTo(java.lang.Object)
public int compareTo(java.lang.Object o)
TemplateDefinitionInfo
objects.compareTo
in interface java.lang.Comparable
obj
- Object with which to compare this one. Must be
null
or an instance of TemplateDefinitionInfo
.effective
members using
the Date.compareTo(Object)
method.java.lang.ClassCastException
- if o
is not an instance of
TemplateDefinitionInfo
.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 |