|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.eindex.ejb.update.UpdateResult
The UpdateResult class contains the return values for a call to updateEnterpriseDupRecalc.
Constructor Summary | |
|
UpdateResult(TMResult tm,
EnterpriseObject eo)
Creates a new instance of the UpdateResult class. |
|
UpdateResult(TMResult tm,
EnterpriseObject eo1,
EnterpriseObject eo2)
Creates a new instance of the UpdateResult class containing two enterprise objects. |
|
UpdateResult(TMResult tm,
EnterpriseObject eo1,
EnterpriseObject eo2,
boolean matchFieldChanged)
Creates a new instance of the UpdateResult class that indicates whether a match field was updated as a result of the update transaction. |
Method Summary | |
EnterpriseObject |
getEnterpriseObject1()
Retrieves the initial enterprise object involved in the update transaction. |
EnterpriseObject |
getEnterpriseObject2()
Retrieves the second enterprise object involved in the update transaction (if a second object was involved). |
boolean |
getMatchFieldChanged()
Retrieves an indicator of whether a match field was updated during the update transaction. |
TMResult |
getTransactionResult()
Retrieves the result returned by the Transaction Manager for the update transaction. |
void |
setMatchFieldChanged(boolean matchFieldChanged)
Sets the indicator of whether a match field was updated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UpdateResult(TMResult tm, EnterpriseObject eo)
tm
- The result returned by the Transaction Manager for the
update transaction.eo
- The enterprise object that was updated.
public UpdateResult(TMResult tm, EnterpriseObject eo1, EnterpriseObject eo2)
tm
- The result returned by the Transaction Manager for the
update transaction.eo1
- The initial enterprise object involved in the update process.eo2
- The second enterprise object involved in the update process
(if a second object was involved).
public UpdateResult(TMResult tm, EnterpriseObject eo1, EnterpriseObject eo2, boolean matchFieldChanged)
tm
- The result returned by the Transaction Manager for the
update transaction.eo1
- The first enterprise object involved in the update process.eo2
- The second enterprise object involved in the update process
(if a second object was involved).matchFieldChanged
- A Boolean indicator of whether a match field
was changed during the update transaction. True indicates a match
field has changed; false indicates a match field did not change.
Method Detail |
public EnterpriseObject getEnterpriseObject1()
EnterpriseObject
- The initial enterprise object
involved in the transaction.
public EnterpriseObject getEnterpriseObject2()
EnterpriseObject
- The second enterprise object
involved in the transaction.
public boolean getMatchFieldChanged()
Boolean
- Boolean indicator of whether a match
field was changed during the update transaction. True indicates
a match field changed; false indicates a match field did not
change.
public TMResult getTransactionResult()
TNResult
- The Transaction Manager result for
the update transaction.
public void setMatchFieldChanged(boolean matchFieldChanged)
matchFieldChanged
- Boolean indicator of whether a match field
changed during the update transaction. True indicates a match
field changed; false indicates a match field did not change.
void
- None.
|
|||||||||
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.