|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.workflow.definer.PrincipalRefVector
Holds a list of WfPrincipalAssignee objects.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private boolean |
dirty
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private boolean |
oldVersion
|
private Vector |
principalList
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
static long |
SMALL_BLOB_VERSION_UID
|
private String |
value
|
Constructor Summary | |
PrincipalRefVector()
Default constructor. |
|
PrincipalRefVector(String value)
Constructor that takes as parameter the internal representation of the principal assignee list. |
Method Summary | |
void |
addElement(Object pref)
Adds principal assignee to list. |
private void |
checkOldVersion(String value)
|
boolean |
contains(Object pref)
Retruns true if principal assinee passed as argument is in the list. |
private void |
decodeValue()
|
Object |
elementAt(int i)
Returns the principal assignee at the position specified by the argument. |
Enumeration |
elements()
Returns an enumeration of principal assignees. |
protected void |
fixupOldVer()
|
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(PrincipalRefVector thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
boolean |
removeElement(Object pref)
Removes principal assignee from list. |
void |
removeElementAt(int i)
Removes principal assignee from list. |
void |
setElementAt(Object pref,
int i)
Sets a principal assignee in 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 principal assignees in the list. |
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 principalList
private boolean dirty
private boolean oldVersion
Constructor Detail |
public PrincipalRefVector()
public PrincipalRefVector(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(PrincipalRefVector 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,principal-reference-string
Supported API: false
protected void setValue(String a_Value) throws WTPropertyVetoException
required:completion-type.completion-value,principal-reference-string
Supported API: false
a_Value
-
WTPropertyVetoException
private void valueValidate(String a_Value) throws WTPropertyVetoException
a_Value
-
WTPropertyVetoException
public String toString()
public void addElement(Object pref)
pref
- public boolean removeElement(Object pref)
pref
-
public boolean contains(Object pref)
pref
-
public Enumeration elements()
public void setElementAt(Object pref, int i)
pref
- i
- public void removeElementAt(int i)
i
- public Object elementAt(int i)
i
-
public int size()
private void setList()
private void setStringValue()
private void checkOldVersion(String value)
private void decodeValue()
protected void fixupOldVer()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |