|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.cadx.common.pageBuilder.Action
Supported API: true
Extendable: true
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
private String |
name
|
private Vector |
objects
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private Hashtable |
parameters
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private Locale |
userLocale
|
protected static boolean |
VERBOSE
|
Constructor Summary | |
Action()
|
Method Summary | |
void |
addParameter(Object key,
Object value)
Supported API: false |
abstract int |
execute()
This is the method that should have the code that is executed for this particular action. |
String |
getName()
Gets the value of the attribute: name; A localized name of the action (will be used to give status feedback of the action) Supported API: false |
Vector |
getObjects()
Gets the value of the attribute: objects; The set of objects to act on. |
Object |
getParameter(Object key)
Supported API: false |
Hashtable |
getParameters()
Gets the value of the attribute: parameters; An Hashtable of parameters. |
Locale |
getUserLocale()
Gets the value of the attribute: userLocale. |
private void |
nameValidate(String a_Name)
|
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(Action thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setName(String a_Name)
Sets the value of the attribute: name; A localized name of the action (will be used to give status feedback of the action) Supported API: false |
void |
setObjects(Vector a_Objects)
Sets the value of the attribute: objects; The set of objects to act on. |
void |
setParameters(Hashtable a_Parameters)
Sets the value of the attribute: parameters; An Hashtable of parameters. |
void |
setUserLocale(Locale a_UserLocale)
Sets the value of the attribute: userLocale. |
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, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private Vector objects
private String name
private Hashtable parameters
private Locale userLocale
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
protected static boolean VERBOSE
Constructor Detail |
public Action()
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(Action 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
public Vector getObjects()
public void setObjects(Vector a_Objects) throws WTPropertyVetoException
a_Objects
-
WTPropertyVetoException
public String getName()
public void setName(String a_Name) throws WTPropertyVetoException
a_Name
-
WTPropertyVetoException
private void nameValidate(String a_Name) throws WTPropertyVetoException
a_Name
-
WTPropertyVetoException
public Hashtable getParameters()
public void setParameters(Hashtable a_Parameters) throws WTPropertyVetoException
a_Parameters
-
WTPropertyVetoException
public Locale getUserLocale()
public void setUserLocale(Locale a_UserLocale) throws WTPropertyVetoException
a_UserLocale
-
WTPropertyVetoException
public abstract int execute()
public void addParameter(Object key, Object value) throws WTException
key
- value
-
WTException
public Object getParameter(Object key) throws WTException
key
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |