|
Primavera Integration API 8.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.primavera.common.value.ObjectId
com.primavera.integration.common.JobId
public class JobId
ID of a server-side asynchronous job (such as a scheduling job). This ID can be used to retrieve the status of the job from the Job Manager
Field Summary |
---|
Fields inherited from class com.primavera.common.value.ObjectId |
---|
SECURITY_OVERRIDE_WBSCONTEXT_ID, USESSION_OVERRIDE_ID |
Constructor Summary | |
---|---|
JobId()
Constructs an empty JobId object. |
|
JobId(ObjectId objId,
int iJobType)
Class constructor specifying object ID of the job and the job type |
Method Summary | |
---|---|
int |
getJobType()
Gets the type of job associated with this ID |
void |
readExternal(ObjectInput ois)
Implementation of the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. |
void |
writeExternal(ObjectOutput oos)
Implementation of the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays. |
Methods inherited from class com.primavera.common.value.ObjectId |
---|
addPrimaryKeyObject, compareTo, equals, fromString, getPrimaryKeyObject, getPrimaryKeyObjects, getPrimaryKeyValue, hashCode, isMultiPartKey, toInteger, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JobId()
JobId
object. Must use the addPrimaryKeyObject() method
to populate
public JobId(ObjectId objId, int iJobType)
objId
- object id of jobiJobType
- the type of jobMethod Detail |
---|
public int getJobType()
public void writeExternal(ObjectOutput oos) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class ObjectId
oos
- the stream to write the object to
IOException
- Includes any I/O exceptions that may occurpublic void readExternal(ObjectInput ois) throws ClassNotFoundException, IOException
readExternal
in interface Externalizable
readExternal
in class ObjectId
ois
- the stream to read data from in order to restore the object
IOException
- if I/O errors occur
ClassNotFoundException
- If the class for an object being
restored cannot be found.
|
Primavera Integration API 8.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |