|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.eindex.objects.ObjectNode com.stc.eindex.objects.TransactionObject
The TransactionObject class represents a transaction object as stored in the master index database table sbyn_transaction. This database table contains three EUID fields and three local ID fields (along with additional transaction information). Of these fields, only the EUID, EUID2, LID, and LID2 fields are used. EUID1 and LID1 are not currently used and are reserved for future functionality.
Field Summary |
Fields inherited from class com.stc.eindex.objects.ObjectNode |
indexMap, mChildrenHashMap, mChildTags, mFields, mParent, mParentTag, mPartOfIndex, mPosition, mTag, mVersion, serialVersionUID |
Constructor Summary | |
TransactionObject()
Creates a new instance of the TransactionObject class. |
|
TransactionObject(java.lang.String transactionnumber,
java.lang.String lid1,
java.lang.String lid2,
java.lang.String euid1,
java.lang.String euid2,
java.lang.String function,
java.lang.String systemuser,
java.util.Date timestamp,
java.lang.String systemcode,
java.lang.String lid,
java.lang.String euid,
java.lang.Object delta)
Creates a new instance of the TransactionObject class. |
Method Summary | |
java.lang.Object |
getDelta()
Retrieves the old information that was changed or discarded during a transaction from an instance of TransactionObject. |
java.lang.String |
getEUID()
Retrieves the EUID of the record against which the transaction was performed. |
java.lang.String |
getEUID1()
Retrieves value of the EUID1 field from an instance of TransactionObject. |
java.lang.String |
getEUID2()
Retrieves the EUID of the second record involved in the transaction (this EUID is only populated for merge and unmerge transactions). |
java.lang.String |
getFunction()
Retrieves the type of transaction performed from the instance of TransactionObject. |
java.lang.String |
getLID()
Retrieves the local ID of the system record against which the transaction was performed (this is only populated for local ID merges, unmerges, and transfers). |
java.lang.String |
getLID1()
Retrieves the value of the LID1 field from an instance of TransactionObject. |
java.lang.String |
getLID2()
Retrieves the local ID of the second system record involved in the transaction (this local ID is only populated for local ID merge, unmerge, and transfer transactions). |
java.lang.String |
getRecoverObject()
Retrieves before and after images for a transaction history to display in side-by-side comparisons. |
java.lang.String |
getSystemCode()
Retrieves the processing code of the system from which the transaction originated. |
java.lang.String |
getSystemUser()
Retrieves the logon ID of the user who performed the transaction. |
java.util.Date |
getTimeStamp()
Retrieves the date and time the transaction occurred. |
java.lang.String |
getTransactionNumber()
Retrieves the unique identification number for the transaction (this number is assigned by the master index). |
void |
setDelta(java.lang.Object delta)
Sets the delta value in an instance of the TransactionObject class. |
void |
setEUID(java.lang.Object euid)
Sets the value of the EUID field in an instance of the TransactionObject class. |
void |
setEUID1(java.lang.Object euid1)
Sets the value of the EUID1 field in an instance of the TransactionObject class. |
void |
setEUID2(java.lang.Object euid2)
Sets the value of the EUID2 field in an instance of the TransactionObject class. |
void |
setFunction(java.lang.Object function)
Sets the value of the Function field in an instance of the TransactionObject class. |
void |
setLID(java.lang.Object lid)
Sets the value of the LID field in an instance of the TransactionObject class. |
void |
setLID1(java.lang.Object lid1)
Sets the value of the LID1 field in an instance of the TransactionObject class. |
void |
setLID2(java.lang.Object lid2)
Sets the value of the LID2 field in an instance of the TransactionObject class. |
void |
setRecoverObject(java.lang.Object recoverobject)
Sets the before or after image in an instance of the TransactionObject class. |
void |
setSystemCode(java.lang.Object systemcode)
Sets the value of the SystemCode field in an instance of the TransactionObject class. |
void |
setSystemUser(java.lang.Object systemuser)
Sets the value of the SystemUser field in an instance of the TransactionObject class. |
void |
setTimeStamp(java.lang.Object timestamp)
Sets the value of the TimeStamp field in an instance of the TransactionObject class. |
void |
setTransactionNumber(java.lang.Object transactionnumber)
Sets the value of the TransactionNumber field in an instance of the TransactionObject class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TransactionObject() throws ObjectException
ObjectException
- Thrown if an error occurs while creating
the transaction object.public TransactionObject(java.lang.String transactionnumber, java.lang.String lid1, java.lang.String lid2, java.lang.String euid1, java.lang.String euid2, java.lang.String function, java.lang.String systemuser, java.util.Date timestamp, java.lang.String systemcode, java.lang.String lid, java.lang.String euid, java.lang.Object delta) throws ObjectException
transactionnumber
- The unique transaction number assigned
by the master index.lid1
- The first local ID for the transaction. This field is
not currently used and is reserved for future functionality (the
first local ID is populated into the LID field).lid2
- The second local ID for the transaction.euid1
- The first EUID for the transaction. This field is
not currently used and is reserved for future functionality (the
first EUID is populated into the EUID field).euid2
- The second EUID for the transaction.function
- The type of transaction that created the
transaction record.systemuser
- The logon ID of the user who performed
the transaction.timestamp
- The date and time the transaction occurred.systemcode
- The processing code of the system from which
the transaction originated.lid
- The primary local ID for the transaction.euid
- The primary EUID for the transaction.delta
- Information about what was changed or discarded during the
transaction.
ObjectException
- Thrown if an error occurs while creating
the transaction object.Method Detail |
public java.lang.Object getDelta() throws ObjectException
Object
- An object containing a record's
changed information.
ObjectException
- Thrown if an error occurs while
retrieving the delta value.public java.lang.String getEUID() throws ObjectException
String
- An EUID.
ObjectException
- Thrown if an error occurs while
retrieving the EUID value.public java.lang.String getEUID1() throws ObjectException
String
- An EUID.
ObjectException
- Thrown if an error occurs while
retrieving the EUID value.public java.lang.String getEUID2() throws ObjectException
String
- An EUID.
ObjectException
- Thrown if an error occurs while
retrieving the EUID value.public java.lang.String getFunction() throws ObjectException
String
- A transaction type.
ObjectException
- Thrown if an error occurs while
retrieving the transaction type.public java.lang.String getLID() throws ObjectException
String
- An EUID.
ObjectException
- Thrown if an error occurs while
retrieving the local ID value.public java.lang.String getLID1() throws ObjectException
String
- A local ID.
ObjectException
- Thrown if an error occurs while
retrieving the local ID value.public java.lang.String getLID2() throws ObjectException
String
- A local ID.
ObjectException
- Thrown if an error occurs while
retrieving the local ID value.public java.lang.String getRecoverObject() throws ObjectException
String
- The before or after image of a
specific transaction.
ObjectException
- Thrown if an error occurs while
retrieving the image.public java.lang.String getSystemCode() throws ObjectException
String
- A system code.
ObjectException
- Thrown if an error occurs while
retrieving the system code.public java.lang.String getSystemUser() throws ObjectException
String
- A user logon ID.
ObjectException
- Thrown if an error occurs while
retrieving the logon ID value.public java.util.Date getTimeStamp() throws ObjectException
Date
- A date and time.
ObjectException
- Thrown if an error occurs while
retrieving the date and time.public java.lang.String getTransactionNumber() throws ObjectException
String
- A local ID.
ObjectException
- Thrown if an error occurs while
retrieving the transaction ID.public void setDelta(java.lang.Object delta) throws ObjectException
delta
- An object containing the delta information.
void
- None.
ObjectException
- Thrown if an error occurs while setting
the delta value.public void setEUID(java.lang.Object euid) throws ObjectException
euid
- An object containing an EUID.
void
- None.
ObjectException
- Thrown if an error occurs while setting
the EUID value.public void setEUID1(java.lang.Object euid1) throws ObjectException
euid1
- An object containing an EUID.
void
- None.
ObjectException
- Thrown if an error occurs while setting
the EUID value.public void setEUID2(java.lang.Object euid2) throws ObjectException
euid2
- An object containing an EUID.
void
- None.
ObjectException
- Thrown if an error occurs while setting
the EUID value.public void setFunction(java.lang.Object function) throws ObjectException
function
- An object containing a transaction type.
void
- None.
ObjectException
- Thrown if an error occurs while setting
the function value.public void setLID(java.lang.Object lid) throws ObjectException
lid
- An object containing a local ID.
void
- None.
ObjectException
- Thrown if an error occurs while setting
the local ID value.public void setLID1(java.lang.Object lid1) throws ObjectException
lid1
- An object containing a local ID.
void
- None.
ObjectException
- Thrown if an error occurs while setting
the local ID value.public void setLID2(java.lang.Object lid2) throws ObjectException
lid2
- An object containing a local ID.
void
- None.
ObjectException
- Thrown if an error occurs while setting
the local ID value.public void setRecoverObject(java.lang.Object recoverobject) throws ObjectException
recoverobject
- An object containing an image of an enterprise object.
void
- None.
ObjectException
- Thrown if an error occurs while setting
the object.public void setSystemCode(java.lang.Object systemcode) throws ObjectException
systemcode
- An object containing a system code.
void
- None.
ObjectException
- Thrown if an error occurs while setting
the system code value.public void setSystemUser(java.lang.Object systemuser) throws ObjectException
systemuser
- An object containing a user logon ID.
void
- None.
ObjectException
- Thrown if an error occurs while setting
the system user value.public void setTimeStamp(java.lang.Object timestamp) throws ObjectException
timestamp
- An object containing a date and time.
void
- None.
ObjectException
- Thrown if an error occurs while setting
the timestamp value.public void setTransactionNumber(java.lang.Object transactionnumber) throws ObjectException
transactionnumber
- An object containing the transaction ID.
void
- None.
ObjectException
- Thrown if an error occurs while setting
the transaction ID.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2007 by Sun Microsystems, Inc. All Rights Reserved.