Primavera Integration API 7.0

com.primavera.integration.common
Class JobId

java.lang.Object
  extended by com.primavera.common.value.ObjectId
      extended by com.primavera.integration.common.JobId
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ObjectId>

public class JobId
extends ObjectId

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.primavera.common.value.ObjectId
SECURITY_OVERRIDE_WBSCONTEXT_ID, USESSION_OVERRIDE_ID
 
Constructor Summary
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
 
Methods inherited from class com.primavera.common.value.ObjectId
addPrimaryKeyObject, compareTo, equals, fromString, getPrimaryKeyObject, getPrimaryKeyObjects, getPrimaryKeyValue, getPrimaryKeyValues, hashCode, hashCodeDates, hashCodeInt, hashCodeLong, isMultiPartKey, toInteger, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JobId

public JobId(ObjectId objId,
             int iJobType)
Class constructor specifying object ID of the job and the job type

Parameters:
objId - object id of job
iJobType - the type of job
Method Detail

getJobType

public int getJobType()
Gets the type of job associated with this ID

Returns:
int the type of job. See JobProperties for possible values

Primavera Integration API 7.0

Copyright © 2003, 2009, Oracle and/or its affiliates. All rights reserved.