public class RMADataBean
extends com.ibm.commerce.ordermanagement.beansrc.RMADataBeanBase
implements com.ibm.commerce.ordermanagement.beans.RMAInputDataBean, com.ibm.commerce.ordermanagement.beans.RMASmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field
|
emptyString
Constructor and Description |
---|
RMADataBean()
OrderDataBean constructor comment.
|
RMADataBean(RMAAccessBean aabRMA)
Constructs an RMADataBean from an RMAAccessBean by extracting the RMA EJB reference from the RMAAccessBean.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkLock()
Checks if the current CSR has locked the return.
|
CommandContext |
getCommandContext()
This method returns the cached copy of the commandContext property.
|
java.lang.String |
getContractName()
This method returns the contract name used.
|
int |
getCurrentPage()
This method gets current page number.
|
java.lang.String |
getFfmcAddress1()
This method returns the fulfillment center's address 1 line.
|
java.lang.String |
getFfmcAddress2()
This method returns the fulfillment center's address 2 line.
|
java.lang.String |
getFfmcAddress3()
This is the getter method for the fulfillment center's address 3 line.
|
java.lang.String |
getFfmcCity()
This method returns the fulfillment center's city.
|
java.lang.String |
getFfmcCountry()
This method returns the fulfillment center's country or region.
|
java.lang.String |
getFfmcEmail()
This method returns the fulfillment center's e-mail address.
|
java.lang.String |
getFfmcFirstName()
This method returns the fulfillment center's contact first name.
|
java.lang.String |
getFfmcLastName()
This method returns the fulfillment center's contact last name.
|
java.lang.String |
getFfmcPhoneNumber()
This method returns the fulfillment center's phone number.
|
java.lang.String |
getFfmcState()
This method returns the fulfillment center's state.
|
java.lang.String |
getFfmcZipCode()
This method returns the fulfillment center's ZIP code.
|
FormattedMonetaryAmountDataBean |
getFormattedTotalCredit()
This method returns the formatted total credit value of this RMA.
|
java.lang.String |
getFulfillmentCenterName()
This method returns the fulfillment center's name.
|
java.lang.String |
getMemberLogonId()
This method returns the logon id of the customer.
|
int |
getNumberOfRmaItems()
This method returns the number of rma items associated with this rma.
|
java.lang.String |
getOrganizationName()
This method returns the organization name that the customer belongs to.
|
int |
getPageSize()
This method gets page size.
|
TypedProperty |
getRequestProperties()
This method returns request properties.
|
java.lang.String |
getRmaCharges()
This method returns the total RMA charges for the return.
|
java.lang.String |
getRmaId()
This method returns the rmaId property.
|
RMAItemDataBean[] |
getRmaItemDataBeans()
This method returns all rma item data beans in this rma.
|
RMAItemDataBean[] |
getRMAItemDataBeansByPageNumber(int pageNum)
This method gets a list of RMAItem databeans by the page number.
|
RMAItemDataBean[] |
getRMAItemDataBeansInCurrentPage()
This method gets a list of RMAItem databeans in the current page.
|
int |
getTotalPages()
This method gets total page number.
|
int |
getTotalSize()
This method gets total RMAItem number.
|
java.lang.String |
getTotalTaxAmount()
This method returns the total tax amount.
|
boolean |
isLocked()
Checks if this return is locked by some other people.
|
void |
populate()
This method is used to populate the RMADataBean.
|
void |
setCommandContext(CommandContext context)
This method sets the cached copy of the commandContext property.
|
void |
setComments(java.lang.String comments)
This method sets (or updates) the comments property for this bean if the old value and the new value are different.
|
void |
setCurrentPage(int i)
This method sets current page number.
|
void |
setPageSize(int i)
This method sets page size.
|
void |
setRequestProperties(TypedProperty param)
This method sets request properties.
|
void |
setRmaId(java.lang.String rmaId)
This method sets the rmaId property for this data bean.
|
findApproved, findApprovedByStoreId, findByStoreIdAndMemberId, fulfills, getComments, getCurrency, getEntity, getFfmcenterId, getFfmcenterIdInEntityType, getInUse, getLastUpdate, getLastUpdateInEntityType, getMemberId, getMemberIdInEntityType, getOrganizationId, getOrganizationIdInEntityType, getOwner, getPolicyId, getPolicyIdInEntityType, getPrepared, getRefundAgainstOrdId, getRefundAgainstOrdIdInEntityType, getRmaDate, getRmaDateInEntityType, getRmaIdInEntityType, getStatus, getStoreId, getStoreIdInEntityType, getTotalCredit, getTotalCreditInEntityType, getTradingId, getTradingIdInEntityType, instantiateEntity, setCurrency, setFfmcenterId, setFfmcenterId, setInitKey_rmaId, setInitKey_rmaId, setInUse, setLastUpdate, setLastUpdate, setMemberId, setMemberId, setOrganizationId, setOrganizationId, setPolicyId, setPolicyId, setPrepared, setRefundAgainstOrdId, setRefundAgainstOrdId, setRmaDate, setRmaDate, setRmaId, setStatus, setStoreId, setStoreId, setTotalCredit, setTotalCredit, setTradingId, setTradingId
createAccessBean, createAccessBean, createAccessBeanCollection, createAccessBeanCollection, createEntityCollection, detach, remove, setUseDataCache, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public RMADataBean()
public RMADataBean(RMAAccessBean aabRMA)
aabRMA
- RMAAccessBeanjava.lang.Exception
public void setCommandContext(CommandContext context)
setCommandContext
in interface SmartDataBean
context
- the command contextpublic CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
public void setComments(java.lang.String comments)
setComments
in interface com.ibm.commerce.ordermanagement.beans.RMAInputDataBean
setComments
in class RMAAccessBean
comments
- the rma commentspublic FormattedMonetaryAmountDataBean getFormattedTotalCredit()
getFormattedTotalCredit
in interface com.ibm.commerce.ordermanagement.beans.RMASmartDataBean
public int getNumberOfRmaItems()
getNumberOfRmaItems
in interface com.ibm.commerce.ordermanagement.beans.RMASmartDataBean
public void setRequestProperties(TypedProperty param)
setRequestProperties
in interface InputDataBean
param
- TypedPropertypublic TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public void setRmaId(java.lang.String rmaId)
setRmaId
in interface com.ibm.commerce.ordermanagement.beans.RMAInputDataBean
setRmaId
in class RMAAccessBean
rmaId
- the rma idpublic java.lang.String getRmaId()
getRmaId
in interface com.ibm.commerce.ordermanagement.beans.RMASmartDataBean
getRmaId
in class RMAAccessBean
public RMAItemDataBean[] getRmaItemDataBeans()
getRmaItemDataBeans
in interface com.ibm.commerce.ordermanagement.beans.RMASmartDataBean
public void populate() throws java.lang.Exception
populate()
method.populate
in interface SmartDataBean
java.lang.Exception
- thrown if access bean cannot be refreshedECApplicationException
- thrown if key property(ies) is(are) not setsetRmaId(String)
public int getCurrentPage()
public int getPageSize()
public void setCurrentPage(int i)
i
- public void setPageSize(int i)
i
- public int getTotalPages()
public int getTotalSize()
public RMAItemDataBean[] getRMAItemDataBeansByPageNumber(int pageNum)
pageNum
- public RMAItemDataBean[] getRMAItemDataBeansInCurrentPage()
public java.lang.String getMemberLogonId()
public java.lang.String getOrganizationName()
public java.lang.String getContractName()
public java.lang.String getFulfillmentCenterName()
public java.lang.String getFfmcAddress1()
public java.lang.String getFfmcAddress2()
public java.lang.String getFfmcAddress3()
public java.lang.String getFfmcCity()
public java.lang.String getFfmcCountry()
public java.lang.String getFfmcState()
public java.lang.String getFfmcZipCode()
public java.lang.String getFfmcEmail()
public java.lang.String getFfmcFirstName()
public java.lang.String getFfmcLastName()
public java.lang.String getFfmcPhoneNumber()
public java.lang.String getRmaCharges()
public java.lang.String getTotalTaxAmount()
public boolean checkLock()
public boolean isLocked()