|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.workflow.definer.RoleVector
Container of roles assignees.
Supported API: false
Extendable: false
Field Summary | |
private static int |
ACTOR_ROLE
|
private static String |
CLASSNAME
|
private boolean |
dirty
|
static long |
EXTERNALIZATION_VERSION_UID
|
private static int |
NONE
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private boolean |
oldVersion
|
private static String |
RESOURCE
|
private static int |
ROLE
|
private Vector |
roleList
|
(package private) static long |
serialVersionUID
|
static long |
SMALL_BLOB_VERSION_UID
|
private String |
value
|
Constructor Summary | |
RoleVector()
Default constructor. |
|
RoleVector(String value)
Constructor that takes as parameter the internal representation of the role list. |
Method Summary | |
void |
addElement(Object role)
Add role to list. |
private void |
checkOldVersion(String value)
|
boolean |
contains(Object role)
Retruns true if role passed as argument is in the list. |
private void |
decodeValue()
|
Object |
elementAt(int i)
Returns role in a given position of the list. |
Enumeration |
elements()
Returns an enumeration of roles. |
protected void |
fixupOldVer()
|
private int |
getRoleType(Object role)
|
private int |
getRoleType(String role_str)
|
protected String |
getValue()
Gets the value of the attribute: value; Holds internal representation of the object. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(RoleVector thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
boolean |
removeElement(Object role)
Removes role form list. |
void |
removeElementAt(int i)
Removes role from a specific position of the list. |
private WfAssignee |
roleToAssignee(String role_str)
|
void |
setElementAt(Object role,
int i)
Sets role at a specific position of the list. |
private void |
setList()
|
private void |
setStringValue()
|
protected void |
setValue(String a_Value)
Sets the value of the attribute: value; Holds internal representation of the object. |
int |
size()
Returns number of roles in the object. |
String |
toString()
Returns internal representation of the object. |
private void |
valueValidate(String a_Value)
|
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private String value
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
public static final long SMALL_BLOB_VERSION_UID
private Vector roleList
private boolean dirty
private boolean oldVersion
private static final int NONE
private static final int ROLE
private static final int ACTOR_ROLE
Constructor Detail |
public RoleVector()
public RoleVector(String value) throws DatastoreException
value
-
DatastoreException
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(RoleVector thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
protected String getValue()
required:completion-type.completion-value,role-string
Supported API: false
protected void setValue(String a_Value) throws WTPropertyVetoException
required:completion-type.completion-value,role-string
Supported API: false
a_Value
-
WTPropertyVetoException
private void valueValidate(String a_Value) throws WTPropertyVetoException
a_Value
-
WTPropertyVetoException
public String toString()
public int size()
public boolean contains(Object role)
role
-
public Enumeration elements()
public void addElement(Object role)
role
- public boolean removeElement(Object role)
role
-
public void setElementAt(Object role, int i)
role
- i
- public void removeElementAt(int i)
i
- public Object elementAt(int i)
i
-
private void setList()
private void setStringValue()
private void checkOldVersion(String value)
private void decodeValue()
private int getRoleType(Object role)
private WfAssignee roleToAssignee(String role_str)
private int getRoleType(String role_str)
protected void fixupOldVer()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |