|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.beasys.commerce.foundation.EntityImpl com.beasys.commerce.ebusiness.payment.PaymentTransactionImpl
@Deprecated public class PaymentTransactionImpl
This class holds data common to all the transaction types. The PaymentTransactionManager uses this class to pass along to the payment service provider - reqeusts made by the client.
Primary Key = com.beasys.commerce.ebusiness.payment.PaymentTransactionPk
PaymentTransaction
,
PaymentTransactionHome
,
PaymentTransactionValue
,
Serialized FormField Summary | |
---|---|
String |
batchId
Deprecated The batchId attribute is populated after a batch-commit request for the transaction has returned successfully. |
com.beasys.commerce.axiom.contact.CreditCard |
creditCard
Deprecated Containment: By Value Multiplicity: 1:1 |
WorkflowContext |
status
Deprecated Containment: By Value Multiplicity: 1:1 WORKFLOW |
Workflow |
statusWorkflow
Deprecated |
Price |
transactionAmount
Deprecated In case of partial transcation(ie. |
Date |
transactionDate
Deprecated The date of the transaction. |
SmartCollectionReference |
transactionEntry
Deprecated Containment: By Value Multiplicity: 0:N Interface: java.util.Collection |
String |
transactionId
Deprecated The order of which this transaction is a part. |
Fields inherited from class com.beasys.commerce.foundation.EntityImpl |
---|
__classIdentifier, __containingEntity, __mapKey, __sequenceNumber, _ctx, _environmentNamingContext, _environmentPropertyCache, _isDirty, _smartBMP |
Constructor Summary | |
---|---|
PaymentTransactionImpl()
Deprecated |
Method Summary | |
---|---|
boolean |
addTransactionEntry(TransactionEntry element)
Deprecated Ensures that this collection contains the specified element (optional operation). |
boolean |
addTransactionEntryCollection(Collection collection)
Deprecated Adds all of the elements in the specified collection to this collection (optional operation). |
void |
authorize()
Deprecated |
protected void |
bscInitializeAttributes(PaymentTransactionPk paymentTransactionPk)
Deprecated |
void |
clearTransactionEntryCollection()
Deprecated Removes all of the elements from this collection (optional operation). |
boolean |
containsTransactionEntry(TransactionEntry element)
Deprecated Returns true if this collection contains the specified element. |
boolean |
containsTransactionEntryCollection(Collection collection)
Deprecated Returns true if this collection contains all of the elements in the specified collection. |
void |
ejbActivate()
Deprecated ejbActivate method. |
PaymentTransactionPk |
ejbCreate(PaymentTransactionPk paymentTransactionPk)
Deprecated |
PaymentTransactionPk |
ejbFindByPrimaryKey(PaymentTransactionPk pk)
Deprecated |
Collection |
ejbFindByStatus(String status)
Deprecated Finds transactions by status. |
void |
ejbLoad()
Deprecated ejbLoad method. |
void |
ejbPassivate()
Deprecated ejbPassivate method. |
void |
ejbPostCreate(PaymentTransactionPk paymentTransactionPk)
Deprecated |
void |
ejbRemove()
Deprecated ejbRemove method. |
void |
ejbStore()
Deprecated ejbStore method. |
boolean |
equalsTransactionEntryCollection(Object object)
Deprecated Compares the specified object with this collection for equality. |
void |
failRetry()
Deprecated |
void |
failSettle()
Deprecated |
String |
getBatchId()
Deprecated Get the value of batchId |
com.beasys.commerce.axiom.contact.CreditCard |
getCreditCard()
Deprecated Get the value of creditCard |
PaymentTransactionValue |
getPaymentTransactionByValue()
Deprecated Get all of PaymentTransaction's attributes. |
String |
getStatus()
Deprecated Returns the current state name of the com.beasys.commerce.ebusiness.payment.PaymentWorkflow workflow |
protected Workflow |
getStatusWorkflow()
Deprecated returns the Workflow status. |
String |
getStatusWorkflowName()
Deprecated Returns the workflow classname that status uses. |
Price |
getTransactionAmount()
Deprecated Get the value of transactionAmount |
Date |
getTransactionDate()
Deprecated Get the value of transactionDate |
Collection |
getTransactionEntryCollection()
Deprecated Returns a deep copy of the entire collection |
SmartCollectionReference |
getTransactionEntryCollectionReference()
Deprecated Get the SmartCollectionReference for transactionEntry |
String |
getTransactionId()
Deprecated |
boolean |
isTransactionEntryCollectionEmpty()
Deprecated Returns true if this collection contains no elements. |
void |
markForSettle()
Deprecated |
void |
pendingSettle()
Deprecated |
void |
queryFail()
Deprecated |
void |
querySuccess()
Deprecated |
void |
reject()
Deprecated |
boolean |
removeTransactionEntry(TransactionEntry element)
Deprecated Removes a single instance of the specified element from this collection, if it is present (optional operation). |
boolean |
removeTransactionEntryCollection(Collection collection)
Deprecated Removes all this collection's elements that are also contained in the specified collection (optional operation). |
boolean |
retainTransactionEntryCollection(Collection collection)
Deprecated Retains only the elements in this collection that are contained in the specified collection (optional operation). |
void |
setBatchId(String batchId)
Deprecated Set the value of batchId |
void |
setCreditCard(com.beasys.commerce.axiom.contact.CreditCard creditCard)
Deprecated Set the value of creditCard |
void |
setEntityContext(javax.ejb.EntityContext ctx)
Deprecated setEntityContext method. |
void |
setPaymentTransactionByValue(PaymentTransactionValue value)
Deprecated Set all of PaymentTransaction's attributes to the passed in value. |
void |
settle()
Deprecated |
void |
setTransactionAmount(Price transactionAmount)
Deprecated Set the value of transactionAmount |
void |
setTransactionDate(Date transactionDate)
Deprecated Set the value of transactionDate |
void |
setTransactionEntryCollection(Collection collection)
Deprecated Sets the entire collection |
void |
setTransactionEntryCollectionReference(SmartCollectionReference smartCollectionReference)
Deprecated Set the SmartCollectionReference for transactionEntry |
void |
setTransactionId(String value)
Deprecated |
void |
systemFailure()
Deprecated |
int |
transactionEntryCollectionHashCode()
Deprecated Returns the hash code value for this collection. |
Iterator |
transactionEntryCollectionIterator()
Deprecated Returns an iterator over the elements in this collection. |
int |
transactionEntryCollectionSize()
Deprecated Returns the number of elements in this collection. |
void |
unsetEntityContext()
Deprecated unsetEntityContext method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public String transactionId
public com.beasys.commerce.axiom.contact.CreditCard creditCard
public Date transactionDate
public SmartCollectionReference transactionEntry
public String batchId
public WorkflowContext status
public transient Workflow statusWorkflow
public Price transactionAmount
Constructor Detail |
---|
public PaymentTransactionImpl()
Method Detail |
---|
public PaymentTransactionValue getPaymentTransactionByValue()
public void setPaymentTransactionByValue(PaymentTransactionValue value)
PaymentTransactionValue
- the PaymentTransaction value objectpublic PaymentTransactionPk ejbCreate(PaymentTransactionPk paymentTransactionPk) throws javax.ejb.CreateException
javax.ejb.CreateException
protected void bscInitializeAttributes(PaymentTransactionPk paymentTransactionPk) throws javax.ejb.CreateException
javax.ejb.CreateException
public void ejbPostCreate(PaymentTransactionPk paymentTransactionPk) throws javax.ejb.CreateException
javax.ejb.CreateException
public void ejbLoad() throws javax.ejb.EJBException
EntityImpl
ejbLoad
in interface javax.ejb.EntityBean
ejbLoad
in class EntityImpl
javax.ejb.EJBException
public void ejbStore() throws javax.ejb.EJBException
EntityImpl
ejbStore
in interface javax.ejb.EntityBean
ejbStore
in class EntityImpl
javax.ejb.EJBException
public void ejbRemove() throws javax.ejb.RemoveException
EntityImpl
ejbRemove
in interface javax.ejb.EntityBean
ejbRemove
in class EntityImpl
javax.ejb.RemoveException
public void ejbActivate() throws javax.ejb.EJBException
EntityImpl
ejbActivate
in interface javax.ejb.EntityBean
ejbActivate
in class EntityImpl
javax.ejb.EJBException
public void ejbPassivate() throws javax.ejb.EJBException
EntityImpl
ejbPassivate
in interface javax.ejb.EntityBean
ejbPassivate
in class EntityImpl
javax.ejb.EJBException
public void setEntityContext(javax.ejb.EntityContext ctx) throws javax.ejb.EJBException
EntityImpl
setEntityContext
in interface javax.ejb.EntityBean
setEntityContext
in class EntityImpl
javax.ejb.EJBException
public void unsetEntityContext() throws javax.ejb.EJBException
EntityImpl
unsetEntityContext
in interface javax.ejb.EntityBean
unsetEntityContext
in class EntityImpl
javax.ejb.EJBException
public PaymentTransactionPk ejbFindByPrimaryKey(PaymentTransactionPk pk) throws javax.ejb.FinderException
javax.ejb.FinderException
public com.beasys.commerce.axiom.contact.CreditCard getCreditCard()
public void setCreditCard(com.beasys.commerce.axiom.contact.CreditCard creditCard)
creditCard
- creditCard to be addedpublic Date getTransactionDate()
public void setTransactionDate(Date transactionDate)
transactionDate
- transactionDate to be addedpublic SmartCollectionReference getTransactionEntryCollectionReference()
public void setTransactionEntryCollectionReference(SmartCollectionReference smartCollectionReference)
public Collection getTransactionEntryCollection()
public void setTransactionEntryCollection(Collection collection)
public boolean addTransactionEntry(TransactionEntry element)
public boolean addTransactionEntryCollection(Collection collection)
public void clearTransactionEntryCollection()
public boolean containsTransactionEntry(TransactionEntry element)
public boolean containsTransactionEntryCollection(Collection collection)
public boolean equalsTransactionEntryCollection(Object object)
public int transactionEntryCollectionHashCode()
public boolean isTransactionEntryCollectionEmpty()
public Iterator transactionEntryCollectionIterator()
public boolean removeTransactionEntry(TransactionEntry element)
public boolean removeTransactionEntryCollection(Collection collection)
public boolean retainTransactionEntryCollection(Collection collection)
public int transactionEntryCollectionSize()
public String getBatchId()
public void setBatchId(String batchId)
batchId
- batchId to be addedpublic String getStatusWorkflowName()
public String getStatus()
protected Workflow getStatusWorkflow()
WorkflowInstantiationException
- could not instantiate workflowpublic String getTransactionId()
public void setTransactionId(String value)
public Price getTransactionAmount()
public void setTransactionAmount(Price transactionAmount)
transactionAmount
- transactionAmount to be addedpublic void authorize() throws WorkflowInstantiationException, IllegalWorkflowTransitionException
WorkflowInstantiationException
IllegalWorkflowTransitionException
public void reject() throws WorkflowInstantiationException, IllegalWorkflowTransitionException
WorkflowInstantiationException
IllegalWorkflowTransitionException
public void failSettle() throws WorkflowInstantiationException, IllegalWorkflowTransitionException
WorkflowInstantiationException
IllegalWorkflowTransitionException
public void markForSettle() throws WorkflowInstantiationException, IllegalWorkflowTransitionException
WorkflowInstantiationException
IllegalWorkflowTransitionException
public void settle() throws WorkflowInstantiationException, IllegalWorkflowTransitionException
WorkflowInstantiationException
IllegalWorkflowTransitionException
public void pendingSettle() throws WorkflowInstantiationException, IllegalWorkflowTransitionException
WorkflowInstantiationException
IllegalWorkflowTransitionException
public void querySuccess() throws WorkflowInstantiationException, IllegalWorkflowTransitionException
WorkflowInstantiationException
IllegalWorkflowTransitionException
public void queryFail() throws WorkflowInstantiationException, IllegalWorkflowTransitionException
WorkflowInstantiationException
IllegalWorkflowTransitionException
public void systemFailure() throws WorkflowInstantiationException, IllegalWorkflowTransitionException
WorkflowInstantiationException
IllegalWorkflowTransitionException
public void failRetry() throws WorkflowInstantiationException, IllegalWorkflowTransitionException
WorkflowInstantiationException
IllegalWorkflowTransitionException
public Collection ejbFindByStatus(String status) throws javax.ejb.FinderException
javax.ejb.FinderException
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |