java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.ordermanagement.objects.RMAAccessBean
This table is a container for return merchandise authorizations (RMAs). This access bean corresponds to the database table 'RMA'.
Constructor Summary | |
RMAAccessBean() Zero argument constructor used to initialize the access bean. |
|
RMAAccessBean(java.lang.Integer arg0, java.lang.Long arg1, java.sql.Timestamp arg2, java.sql.Timestamp arg3) constructor |
|
RMAAccessBean(javax.ejb.EJBObject o) constructor |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findApproved()
Retrieves all the RMAs (Returns) with an approved status.
The SQL query used to fetch the requested rows from the RMA table is: SELECT * FROM RMA T1 WHERE T1.STATUS = 'APP' |
java.util.Enumeration | findApprovedByStoreId(java.lang.Integer storeId)
Retrieves all the RMAs (Returns) for a store which are approved.
The SQL query used to fetch the requested row from the RMA table is: SELECT * FROM RMA T1 WHERE T1.STATUS = 'APP' AND T1.STORE_ID = ? |
java.util.Enumeration | findByStoreIdAndMemberId(java.lang.Integer storeId, java.lang.Long memberId)
Retrieves all the open RMAs (Returns) for a person at a store.
The SQL query used to fetch the requested row from the RMA table is: SELECT * FROM RMA T1 WHERE T1.STATUS <>'CLO' AND STORE_ID = ? AND MEMBER_ID = ? |
boolean | fulfills(java.lang.Long arg0, java.lang.String arg1) |
java.lang.String | getComments() This method provides access to the RMA.COMMENTS column of DB2 type VARCHAR(254). |
java.lang.String | getCurrency() This method provides access to the RMA.CURRENCY column of DB2 type CHAR(3). |
java.lang.String | getFfmcenterId() This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER. |
java.lang.Integer | getFfmcenterIdInEJBType() This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER. |
java.lang.String | getInUse() This method provides access to the RMA.INUSE column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'. |
java.lang.String | getLastUpdate() This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL. |
java.sql.Timestamp | getLastUpdateInEJBType() This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL. |
java.lang.String | getMemberId() This method provides access to the RMA.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getMemberIdInEJBType() This method provides access to the RMA.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getOrganizationId() This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT. |
java.lang.Long | getOrganizationIdInEJBType() This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT. |
java.lang.Long | getOwner() This method accesses a non-CMP field |
java.lang.String | getPolicyId() This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT. |
java.lang.Long | getPolicyIdInEJBType() This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT. |
java.lang.String | getPrepared() This method provides access to the RMA.PREPARED column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'. |
java.lang.String | getRefundAgainstOrdId() This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT. |
java.lang.Long | getRefundAgainstOrdIdInEJBType() This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT. |
java.lang.String | getRmaDate() This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL. |
java.sql.Timestamp | getRmaDateInEJBType() This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL. |
java.lang.String | getRmaId() This method provides access to the RMA.RMA_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getRmaIdInEJBType() This method provides access to the RMA.RMA_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getStatus() This method provides access to the RMA.STATUS column of DB2 type CHAR(3) NOT NULL DEFAULT 'PRC'. |
java.lang.String | getStoreId() This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getStoreIdInEJBType() This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getTotalCredit() This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20 5) DEFAULT 0. |
java.math.BigDecimal | getTotalCreditInEJBType() This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20 5) DEFAULT 0. |
java.lang.String | getTradingId() This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT. |
java.lang.Long | getTradingIdInEJBType() This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setComments(java.lang.String newValue) This method accesses a non-CMP field |
void | setCurrency(java.lang.String newValue) This method accesses a non-CMP field |
void | setFfmcenterId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setFfmcenterId(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_rmaId(java.lang.String newValue) Set the primary key for this object |
void | setInUse(java.lang.String newValue) This method accesses a non-CMP field |
void | setLastUpdate(java.lang.String newValue) This method accesses a non-CMP field |
void | setLastUpdate(java.sql.Timestamp newValue) This method accesses a non-CMP field |
void | setMemberId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setMemberId(java.lang.String newValue) This method accesses a non-CMP field |
void | setOrganizationId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setOrganizationId(java.lang.String newValue) This method accesses a non-CMP field |
void | setPolicyId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setPolicyId(java.lang.String newValue) This method accesses a non-CMP field |
void | setPrepared(java.lang.String newValue) This method accesses a non-CMP field |
void | setRefundAgainstOrdId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setRefundAgainstOrdId(java.lang.String newValue) This method accesses a non-CMP field |
void | setRmaDate(java.lang.String newValue) This method accesses a non-CMP field |
void | setRmaDate(java.sql.Timestamp newValue) This method accesses a non-CMP field |
void | setRmaId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setRmaId(java.lang.String newValue) This method accesses a non-CMP field |
void | setStatus(java.lang.String newValue) This method accesses a non-CMP field |
void | setStoreId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setStoreId(java.lang.String newValue) This method accesses a non-CMP field |
void | setTotalCredit(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setTotalCredit(java.lang.String newValue) This method accesses a non-CMP field |
void | setTradingId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setTradingId(java.lang.String newValue) This method accesses a non-CMP field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RMAAccessBean()
public RMAAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public RMAAccessBean(java.lang.Integer arg0, java.lang.Long arg1, java.sql.Timestamp arg2, java.sql.Timestamp arg3) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Method Detail |
public java.util.Enumeration findApproved() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the RMAs (Returns) with an approved status.
The SQL query used to fetch the requested rows from the RMA table is:
SELECT * FROM RMA T1 WHERE T1.STATUS = 'APP'
public java.util.Enumeration findApprovedByStoreId(java.lang.Integer storeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the RMAs (Returns) for a store which are approved.
The SQL query used to fetch the requested row from the RMA table is:
SELECT * FROM RMA T1 WHERE T1.STATUS = 'APP' AND T1.STORE_ID = ?
public java.util.Enumeration findByStoreIdAndMemberId(java.lang.Integer storeId, java.lang.Long memberId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the open RMAs (Returns) for a person at a store.
The SQL query used to fetch the requested row from the RMA table is:
SELECT * FROM RMA T1 WHERE T1.STATUS <>'CLO' AND STORE_ID = ? AND MEMBER_ID = ?
public void setInitKey_rmaId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getLastUpdate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
Timestamp of the last update.
public java.sql.Timestamp getLastUpdateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
Timestamp of the last update.
public void setLastUpdate(java.lang.String newValue)
public void setLastUpdate(java.sql.Timestamp newValue)
public java.lang.String getRefundAgainstOrdId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT.
The following is a description of this column:
The order Id to credit the refund against.
public java.lang.Long getRefundAgainstOrdIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT.
The following is a description of this column:
The order Id to credit the refund against.
public void setRefundAgainstOrdId(java.lang.String newValue)
public void setRefundAgainstOrdId(java.lang.Long newValue)
public java.lang.String getInUse() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.INUSE column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'.
The following is a description of this column:
Used by the WebSphere Commerce Accelerator to mark the record as being used. When a CSR opens the Change Returns notebook to edit a return, the INUSE column is set to Y to indicate that this RMA is in use. Once closed, the column is set to N.
public void setInUse(java.lang.String newValue)
public java.lang.String getTotalCredit() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20 5) DEFAULT 0.
The following is a description of this column:
The total credit due in the currency specified by the CURRENCY column. If this amount is NULL then the total amount is unknown.
public java.math.BigDecimal getTotalCreditInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20 5) DEFAULT 0.
The following is a description of this column:
The total credit due in the currency specified by the CURRENCY column. If this amount is NULL then the total amount is unknown.
public void setTotalCredit(java.lang.String newValue)
public void setTotalCredit(java.math.BigDecimal newValue)
public java.lang.String getFfmcenterId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER.
The following is a description of this column:
The FulfillmentCenter to which the returned items are to be shipped.
public java.lang.Integer getFfmcenterIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER.
The following is a description of this column:
The FulfillmentCenter to which the returned items are to be shipped.
public void setFfmcenterId(java.lang.String newValue)
public void setFfmcenterId(java.lang.Integer newValue)
public java.lang.String getTradingId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT.
The following is a description of this column:
The ID of the trading agreement under which this RMA is being processed. This determines the policies for approval, charges, and refund payment.
public java.lang.Long getTradingIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT.
The following is a description of this column:
The ID of the trading agreement under which this RMA is being processed. This determines the policies for approval, charges, and refund payment.
public void setTradingId(java.lang.String newValue)
public void setTradingId(java.lang.Long newValue)
public java.lang.String getCurrency() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.CURRENCY column of DB2 type CHAR(3).
The following is a description of this column:
The currency of all monetary amounts within the RMA. All items added to the RMA will have the same currency value. This is a currency code as per ISO 4217 standards.
public void setCurrency(java.lang.String newValue)
public java.lang.String getStoreId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The ID of the store against which the RMA is being processed.
public java.lang.Integer getStoreIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The ID of the store against which the RMA is being processed.
public void setStoreId(java.lang.String newValue)
public void setStoreId(java.lang.Integer newValue)
public java.lang.String getOrganizationId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT.
The following is a description of this column:
The buying organization.
public java.lang.Long getOrganizationIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT.
The following is a description of this column:
The buying organization.
public void setOrganizationId(java.lang.String newValue)
public void setOrganizationId(java.lang.Long newValue)
public java.lang.String getStatus() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.STATUS column of DB2 type CHAR(3) NOT NULL DEFAULT 'PRC'.
The following is a description of this column:
The status of the RMA as follows:&l
public void setStatus(java.lang.String newValue)
public java.lang.String getPrepared() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.PREPARED column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'.
The following is a description of this column:
Specifies whether the ReturnPrepare command was the last command executed against the RMA.
public void setPrepared(java.lang.String newValue)
public java.lang.String getRmaDate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
The time the RMA was created.
public java.sql.Timestamp getRmaDateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
The time the RMA was created.
public void setRmaDate(java.lang.String newValue)
public void setRmaDate(java.sql.Timestamp newValue)
public java.lang.String getComments() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.COMMENTS column of DB2 type VARCHAR(254).
The following is a description of this column:
Comment that applies to the entire RMA.
public void setComments(java.lang.String newValue)
public java.lang.String getMemberId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The member requesting the return. If the RMA was created by a Customer Service Representative, this will be the member who contacted the Customer Service Representative.
public java.lang.Long getMemberIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The member requesting the return. If the RMA was created by a Customer Service Representative, this will be the member who contacted the Customer Service Representative.
public void setMemberId(java.lang.String newValue)
public void setMemberId(java.lang.Long newValue)
public java.lang.String getPolicyId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT.
The following is a description of this column:
The ID of the RefundPaymentMethod policy.
public java.lang.Long getPolicyIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT.
The following is a description of this column:
The ID of the RefundPaymentMethod policy.
public void setPolicyId(java.lang.String newValue)
public void setPolicyId(java.lang.Long newValue)
public java.lang.String getRmaId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.RMA_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
public java.lang.Long getRmaIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMA.RMA_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
public void setRmaId(java.lang.String newValue)
public void setRmaId(java.lang.Long newValue)
public boolean fulfills(java.lang.Long arg0, java.lang.String arg1) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.