|
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.RoleInfo
Holds information about a workflow role.
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 | |
RoleInfo(java.lang.String roleId,
java.lang.String orgId)
Create a new RoleInfo object. |
|
RoleInfo(java.lang.String roleId,
java.lang.String orgId,
java.lang.String calendarId)
Create a new RoleInfo object. |
|
RoleInfo(java.lang.String roleId,
java.lang.String orgId,
java.lang.String calendarId,
java.lang.String groupId)
Create a new RoleInfo object. |
Method Summary | |
int |
compareTo(java.lang.Object o)
Compare two RoleInfo objects. |
boolean |
equals(java.lang.Object obj)
Test two RoleInfo objects for equality. |
java.lang.String |
getCalendarId()
Return the business calendar to use. |
java.lang.Object |
getContents()
Return the publishable content. |
java.lang.String |
getEntryName()
Return the display name for the publishable object. |
java.lang.String |
getGroupId()
Return the WLS security group this role maps to. |
java.lang.String |
getOrgId()
Return the organization within which the role is defined. |
java.lang.String |
getOwnerName()
Return the name of the object's owner. |
java.lang.String |
getRoleId()
Return the role ID. |
int |
getType()
Return the type of publishable object. |
boolean |
isPublished()
Returns whether the object is published. |
void |
setCalendarId(java.lang.String calendarId)
Set the business calendar to use. |
void |
setGroupId(java.lang.String groupId)
Set the WLS group this role maps to. |
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 RoleInfo(java.lang.String roleId, java.lang.String orgId)
RoleInfo
object.roleId
- The role ID.orgId
- The ID of the organization within which the role is
defined by the external security realm.public RoleInfo(java.lang.String roleId, java.lang.String orgId, java.lang.String calendarId)
RoleInfo
object.roleId
- The role ID.orgId
- The ID of the organization within which the role is
defined by the external security realm.calendarId
- The ID of the business calendar to use when
performing business time interval calculations for the role.public RoleInfo(java.lang.String roleId, java.lang.String orgId, java.lang.String calendarId, java.lang.String groupId)
RoleInfo
object.roleId
- The role ID.orgId
- The ID of the organization within which the role is
defined by the external security realm.calendarId
- The ID of the business calendar to use when
performing business time interval calculations for the role.groupId
- The WLS security group that this role maps to.Method Detail |
public final java.lang.String getRoleId()
public final java.lang.String getOrgId()
public final java.lang.String getCalendarId()
setCalendarId(java.lang.String)
public final java.lang.String getGroupId()
setGroupId(java.lang.String)
public final void setCalendarId(java.lang.String calendarId)
calendarId
- The ID of the business calendar.getCalendarId()
public final void setGroupId(java.lang.String groupId)
setGroupId(java.lang.String)
public boolean equals(java.lang.Object obj)
RoleInfo
objects for equality.equals
in class java.lang.Object
obj
- Object with which to compare this one.true
if obj
is an instance of
RoleInfo
with the same role ID and organization ID as this
one.compareTo(java.lang.Object)
public int compareTo(java.lang.Object o)
RoleInfo
objects.compareTo
in interface java.lang.Comparable
obj
- Object with which to compare this one. Must be
null
or an instance of RoleInfo
.roleId
and
orgId
members using the
String.compareTo(Object)
method.java.lang.ClassCastException
- if o
is not an instance of
RoleInfo
.equals(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
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isPublished()
Publishable
isPublished
in interface Publishable
com.bea.wlpi.common.Publishable
true
if the object is published.
|
WebLogic Process Integrator Version 2.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |