|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.fc.Item
wt.queue.WtQueueEntry
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static String |
END_EXEC
Label for the attribute; Time execution finished (COMPLETED or FAILED). |
private Timestamp |
endExec
|
static String |
ENTRY_NUMBER
Label for the attribute. |
static String |
ENTRY_OWNER
Label for the attribute. |
private Long |
entryNumber
|
private WTPrincipalReference |
entryOwner
|
static long |
EXTERNALIZATION_VERSION_UID
|
static String |
FAILURE_COUNT
Label for the attribute. |
private Long |
failureCount
|
protected static long |
OLD_FORMAT_VERSION_UID
|
static String |
QUEUE_REF
Label for the attribute; Reference to the processing queue to which the entry belongs. |
private ObjectReference |
queueRef
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
static String |
START_EXEC
Label for the attribute; Time that execution started. |
private Timestamp |
startExec
|
static String |
STATUS_INFO
Label for the attribute. |
private StatusInfo |
statusInfo
|
static String |
TARGET_CLASS
Label for the attribute; Fully qualified name of the class whose's method is to be executed. |
private static int |
TARGET_CLASS_UPPER_LIMIT
|
static String |
TARGET_METHOD
Label for the attribute; Name of the method to be executed. |
private static int |
TARGET_METHOD_UPPER_LIMIT
|
private String |
targetClass
|
private String |
targetMethod
|
Fields inherited from class wt.fc.Item |
VERSION_40_UID, VERSION_51_UID |
Fields inherited from class wt.fc.WTObject |
CREATE_TIMESTAMP, MODIFY_TIMESTAMP |
Fields inherited from interface wt.admin.DomainAdministered |
DOMAIN_REF, INHERITED_DOMAIN |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.identity.DisplayIdentification |
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE |
Constructor Summary | |
WtQueueEntry()
|
Method Summary | |
Vector |
convertFromByteArray(byte[] byteArray)
|
byte[] |
convertFromVector(Vector meth_args)
|
boolean |
equals(Object obj)
Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifier s. |
StatusInfo |
execute()
Executes the entry's processing request. |
String |
getDisplayString()
Supported API: true |
Timestamp |
getEndExec()
Gets the value of the attribute: END_EXEC. |
Long |
getEntryNumber()
Gets the value of the attribute: ENTRY_NUMBER. |
WTPrincipalReference |
getEntryOwner()
Gets the value of the attribute: ENTRY_OWNER. |
Long |
getFailureCount()
Gets the value of the attribute: FAILURE_COUNT. |
WTPrincipal |
getPrincipal()
Returns the principal that owns the entry's execution. |
ObjectReference |
getQueueRef()
Gets the value of the attribute: QUEUE_REF. |
Timestamp |
getStartExec()
Gets the value of the attribute: START_EXEC. |
StatusInfo |
getStatusInfo()
Gets the value of the attribute: STATUS_INFO. |
String |
getTargetClass()
Gets the value of the attribute: TARGET_CLASS. |
String |
getTargetMethod()
Gets the value of the attribute: TARGET_METHOD. |
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
void |
readExternal(PersistentRetrieveIfc input)
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store. |
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(WtQueueEntry thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setEndExec(Timestamp a_EndExec)
Sets the value of the attribute: END_EXEC. |
void |
setEntryNumber(Long a_EntryNumber)
Sets the value of the attribute: ENTRY_NUMBER. |
void |
setEntryOwner(WTPrincipalReference a_EntryOwner)
Sets the value of the attribute: ENTRY_OWNER. |
void |
setFailureCount(Long a_FailureCount)
Sets the value of the attribute: FAILURE_COUNT. |
void |
setQueueRef(ObjectReference a_QueueRef)
Sets the value of the attribute: QUEUE_REF. |
void |
setStartExec(Timestamp a_StartExec)
Sets the value of the attribute: START_EXEC. |
void |
setStatus(String status_code)
Sets the status code of the entry to passed as argument. |
void |
setStatusInfo(StatusInfo a_StatusInfo)
Sets the value of the attribute: STATUS_INFO. |
void |
setTargetClass(String a_TargetClass)
Sets the value of the attribute: TARGET_CLASS. |
void |
setTargetMethod(String a_TargetMethod)
Sets the value of the attribute: TARGET_METHOD. |
String |
toString()
Returns a string representation of the entry. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
void |
writeExternal(PersistentStoreIfc output)
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store. |
Methods inherited from class wt.fc.Item |
getDomainRef, initialize, isInheritedDomain, readVersion, setDomainRef, setInheritedDomain |
Methods inherited from class wt.fc.WTObject |
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, getModifyTimestamp, getPersistInfo, getType, readVersion, setPersistInfo |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo, getConceptualClassname |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String QUEUE_REF
private ObjectReference queueRef
public static final String TARGET_METHOD
private static int TARGET_METHOD_UPPER_LIMIT
private String targetMethod
public static final String TARGET_CLASS
private static int TARGET_CLASS_UPPER_LIMIT
private String targetClass
public static final String START_EXEC
private Timestamp startExec
public static final String END_EXEC
private Timestamp endExec
public static final String ENTRY_OWNER
private WTPrincipalReference entryOwner
public static final String STATUS_INFO
private StatusInfo statusInfo
public static final String ENTRY_NUMBER
private Long entryNumber
public static final String FAILURE_COUNT
private Long failureCount
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public WtQueueEntry()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class Item
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class Item
input
-
IOException
ClassNotFoundException
protected boolean readVersion(WtQueueEntry 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 void writeExternal(PersistentStoreIfc output) throws SQLException, DatastoreException
(Not intended for general use.)
Supported API: false
writeExternal
in interface ObjectMappable
writeExternal
in class Item
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
readExternal
in class Item
input
-
SQLException
DatastoreException
public ObjectReference getQueueRef()
public void setQueueRef(ObjectReference a_QueueRef)
a_QueueRef
- public String getTargetMethod()
public void setTargetMethod(String a_TargetMethod)
a_TargetMethod
- public String getTargetClass()
public void setTargetClass(String a_TargetClass)
a_TargetClass
- public Timestamp getStartExec()
public void setStartExec(Timestamp a_StartExec)
a_StartExec
- public Timestamp getEndExec()
public void setEndExec(Timestamp a_EndExec)
a_EndExec
- public WTPrincipalReference getEntryOwner()
public void setEntryOwner(WTPrincipalReference a_EntryOwner)
a_EntryOwner
- public StatusInfo getStatusInfo()
public void setStatusInfo(StatusInfo a_StatusInfo)
a_StatusInfo
- public Long getEntryNumber()
public void setEntryNumber(Long a_EntryNumber)
a_EntryNumber
- public Long getFailureCount()
public void setFailureCount(Long a_FailureCount)
a_FailureCount
- public StatusInfo execute() throws WTException
WTException
public String toString()
toString
in class WTObject
public WTPrincipal getPrincipal() throws WTException
WTException
public void setStatus(String status_code) throws WTException
status_code
-
WTException
public String getDisplayString()
public boolean equals(Object obj)
ObjectIdentifier
s.
Changed or stale copies are still considered equal by this method.
Delegates to PersistenceHelper.equals(Persistable,Object)
.
Warning: Certain core Windchill operations may depend upon
equals
being ObjectIdentifier
-based. Changes
to the default implementation should be done with care, if at all.
Supported API: false
equals
in class Item
obj
-
public int hashCode()
ObjectIdentifier
.
Delegates to PersistenceHelper.hashCode(Persistable)
.
Warning: Certain core Windchill operations may depend upon
hashCode
being ObjectIdentifier-based
. Changes
to the default implementation should be done with care, if at all.
Supported API: false
hashCode
in class Item
public byte[] convertFromVector(Vector meth_args) throws WTException
WTException
public Vector convertFromByteArray(byte[] byteArray) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |