|
WebLogic Process Integrator Version 1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.wlpi.common.RerouteInfo
Holds information about a task reroute.
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.
Field Summary | |
static int |
TYPE_ROLE
Reroute tasks to a role. |
static int |
TYPE_USER
Reroute tasks to another user. |
static int |
TYPE_USERINROLE
Reroute tasks to a user in a role, using load-balancing. |
Constructor Summary | |
RerouteInfo(java.lang.String id,
java.lang.String from,
java.lang.String to,
int type,
java.sql.Timestamp effective,
java.sql.Timestamp expiry)
Create a new RerouteInfo object. |
Method Summary | |
int |
compareTo(java.lang.Object o)
Compare two RerouteInfo objects. |
boolean |
equals(java.lang.Object obj)
Test two RerouteInfo objects for equality. |
java.sql.Timestamp |
getEffective()
Return the date/time at which the task reroute becomes effective. |
java.sql.Timestamp |
getExpiry()
Return the date/time at which the task reroute ceases to be effective. |
java.lang.String |
getFrom()
Return the participant for whom the system will reassign tasks. |
java.lang.String |
getId()
Return the task reroute ID. |
java.lang.String |
getTo()
Return the participant to whom the rerouted tasks will be assigned. |
int |
getType()
Return the reroute type. |
void |
setEffective(java.sql.Timestamp effective)
Set the date/time at which the task reroute becomes effective. |
void |
setExpiry(java.sql.Timestamp expiry)
Set the date/time at which the task reroute expires. |
void |
setTo(java.lang.String to)
Set the participant to whom rerouted tasks will be assigned. |
void |
setType(int type)
Set the task reroute type. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static int TYPE_USER
public static int TYPE_USERINROLE
public static int TYPE_ROLE
Constructor Detail |
public RerouteInfo(java.lang.String id, java.lang.String from, java.lang.String to, int type, java.sql.Timestamp effective, java.sql.Timestamp expiry)
RerouteInfo
object.id
- The reroute ID.from
- The ID of the participant for whom the system will reassign tasks.to
- The ID of the participant to whom the rerouted tasks will be
assigned.type
- Type of reroute:
TYPE_USER
, TYPE_USERINROLE
or TYPE_ROLE
.effective
- Date/time at which reroute becomes effective.expiry
- Date/time at which reroute ceases to be effective.Method Detail |
public final java.lang.String getId()
public final java.lang.String getFrom()
getTo()
public final java.lang.String getTo()
getFrom()
,
setTo(java.lang.String)
public final int getType()
TYPE_USER
,
TYPE_USERINROLE
or TYPE_ROLE
.setType(int)
public final java.sql.Timestamp getEffective()
setEffective(java.sql.Timestamp)
public final java.sql.Timestamp getExpiry()
setExpiry(java.sql.Timestamp)
public void setTo(java.lang.String to)
to
- The ID of the participant to whom the rerouted tasks will be
assigned.getTo()
public void setType(int type)
type
- The type of task reroute: TYPE_USER
,
TYPE_USERINROLE
or TYPE_ROLE
.getType()
public void setEffective(java.sql.Timestamp effective)
effective
- The date/time at which the task reroute becomes effective.getEffective()
public void setExpiry(java.sql.Timestamp expiry)
expiry
- The date/time after which task reroute expires.getExpiry()
public boolean equals(java.lang.Object obj)
RerouteInfo
objects for equality.obj
- The object with which to compare this one.true
if obj
is an instance of
RerouteInfo
with the same ID as this one.compareTo(java.lang.Object)
public int compareTo(java.lang.Object o)
RerouteInfo
objects.obj
- The object with which to compare this one. Must be
null
or an instance of RerouteInfo
.from
and
to
members using the String.compareTo(Object)
method.o
is not an instance of
RerouteInfo
.equals(java.lang.Object)
|
WebLogic Process Integrator Version 1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |