|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.epm.EPMContextHelper
Supported API: true
Extendable: false
Field Summary | |
private static EPMApplicationType |
application
|
private static String |
APPLICATION_KEY
|
private static EPMVetoableChangeListener[] |
changeListeners
|
private static String |
CLASSNAME
|
private static EPMConstructorListener[] |
constructorListeners
|
static long |
EXTERNALIZATION_VERSION_UID
|
static EPMContextManager |
manager
Supported API: true |
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
(package private) static boolean |
SERVER
|
Constructor Summary | |
EPMContextHelper()
|
Method Summary | |
static void |
fireConstructor(EPMObject object)
EPMObjects call this from within their constructors functions to allow client-side listeners to fill in default values for the object, and to perform checking. |
static void |
fireVetoableChange(EPMObject object,
String name,
Object oldvalue,
Object newvalue)
EPMObjects call this from within set() functions to allow client-side listeners to veto changes to fields. |
static EPMApplicationType |
getApplication()
Gett the "current application" as set by setApplication(). |
private static EPMVetoableChangeListener[] |
getChangeListeners()
|
private static EPMConstructorListener[] |
getConstructorListeners()
|
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(EPMContextHelper thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
static void |
setApplication(EPMApplicationType a_Application)
Set the "current application" for use by checking code. |
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 static EPMVetoableChangeListener[] changeListeners
private static EPMConstructorListener[] constructorListeners
private static EPMApplicationType application
public static final EPMContextManager manager
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
static final boolean SERVER
private static final String APPLICATION_KEY
Constructor Detail |
public EPMContextHelper()
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(EPMContextHelper 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 static void fireConstructor(EPMObject object) throws WTException
object
-
WTException
public static EPMApplicationType getApplication() throws WTException
WTException
public static void setApplication(EPMApplicationType a_Application) throws WTPropertyVetoException
This operation is intended for client-side use only.
Supported API: true
a_Application
-
WTPropertyVetoException
public static void fireVetoableChange(EPMObject object, String name, Object oldvalue, Object newvalue) throws WTPropertyVetoException
object
- name
- oldvalue
- newvalue
-
WTPropertyVetoException
private static EPMVetoableChangeListener[] getChangeListeners() throws WTException
WTException
private static EPMConstructorListener[] getConstructorListeners() throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |