com.retek.component.customerorder.impl
Class MailOrderBatchImpl
java.lang.Object
com.retek.commons.component.impl.BusinessObjectImpl
com.retek.commons.component.impl.DistributedObjectImpl
com.retek.component.customerorder.impl.MailOrderBatchImpl
- All Implemented Interfaces:
- BusinessObject, DistributedObject, MailOrderBatch
- public class MailOrderBatchImpl
- extends DistributedObjectImpl
- implements MailOrderBatch
Methods inherited from class com.retek.commons.component.impl.DistributedObjectImpl |
attributesToString, createEmptyDto, debugToString, discardChanges, discardChangesShallow, equals, getGenericDto, getId, getReference, getReference, getVersion, hashCode, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isHollow, isPersisted, markAllDeleted, refresh, toString, wrap, wrap, wrap, wrap |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.retek.commons.component.DistributedObject |
debugToString, discardChanges, getContext, getId, getReference, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isPersisted, refresh |
MailOrderBatchImpl
public MailOrderBatchImpl(DistributedContext context,
DistributedReference reference,
boolean createHollow)
throws SystemException
MailOrderBatchImpl
public MailOrderBatchImpl(DistributedContext context,
DistributedReference reference)
throws SystemException
getDto
public MailOrderBatchDto getDto(boolean reloadTrigger)
throws SystemException
- Throws:
SystemException
getBatchNumber
public java.lang.String getBatchNumber()
throws SystemException
- Specified by:
getBatchNumber
in interface MailOrderBatch
- Throws:
SystemException
getCreateDate
public RDate getCreateDate()
throws SystemException
- Specified by:
getCreateDate
in interface MailOrderBatch
- Throws:
SystemException
getLastUpdatedDate
public RDate getLastUpdatedDate()
throws SystemException
- Specified by:
getLastUpdatedDate
in interface MailOrderBatch
- Throws:
SystemException
getReleaseDate
public RDate getReleaseDate()
throws SystemException
- Specified by:
getReleaseDate
in interface MailOrderBatch
- Throws:
SystemException
getExpectedTenderAmountReceived
public Money getExpectedTenderAmountReceived()
throws SystemException
- Specified by:
getExpectedTenderAmountReceived
in interface MailOrderBatch
- Throws:
SystemException
getDepositId
public java.lang.String getDepositId()
throws SystemException
- Specified by:
getDepositId
in interface MailOrderBatch
- Throws:
SystemException
getBanner
public Banner getBanner()
throws SystemException
- Specified by:
getBanner
in interface MailOrderBatch
- Throws:
SystemException
getExpectedNumberOfOrders
public int getExpectedNumberOfOrders()
throws SystemException
- Specified by:
getExpectedNumberOfOrders
in interface MailOrderBatch
- Throws:
SystemException
getOrderSource
public OrderSource getOrderSource()
throws SystemException
- Specified by:
getOrderSource
in interface MailOrderBatch
- Throws:
SystemException
getOrderType
public OrderType getOrderType()
throws SystemException
- Specified by:
getOrderType
in interface MailOrderBatch
- Throws:
SystemException
getStatus
public MailOrderBatchStatus getStatus()
throws SystemException
- Specified by:
getStatus
in interface MailOrderBatch
- Throws:
SystemException
getNumberOfOrdersInBatchVariance
public int getNumberOfOrdersInBatchVariance()
throws SystemException
- Specified by:
getNumberOfOrdersInBatchVariance
in interface MailOrderBatch
- Throws:
SystemException
getTenderAmountReceivedVariance
public Money getTenderAmountReceivedVariance()
throws SystemException
- Specified by:
getTenderAmountReceivedVariance
in interface MailOrderBatch
- Throws:
SystemException
getActualNumberOfOrders
public int getActualNumberOfOrders()
throws SystemException
- Specified by:
getActualNumberOfOrders
in interface MailOrderBatch
- Throws:
SystemException
isReleasable
public boolean isReleasable()
throws SystemException
- Specified by:
isReleasable
in interface MailOrderBatch
- Throws:
SystemException
getActualTenderAmountReceived
public Money getActualTenderAmountReceived()
throws SystemException
- Specified by:
getActualTenderAmountReceived
in interface MailOrderBatch
- Throws:
SystemException
addOrder
public void addOrder(CustomerOrder order)
throws SystemException,
BusinessException
- Specified by:
addOrder
in interface MailOrderBatch
- Throws:
SystemException
BusinessException
getAllOrders
public java.util.Set getAllOrders()
throws SystemException
- Specified by:
getAllOrders
in interface MailOrderBatch
- Throws:
SystemException
setStatus
public void setStatus(MailOrderBatchStatus status)
throws SystemException
- Throws:
SystemException
isPhysicalTender
public boolean isPhysicalTender()
throws SystemException
- Specified by:
isPhysicalTender
in interface MailOrderBatch
- Throws:
SystemException
setBanner
public void setBanner(Banner banner)
throws SystemException
- Specified by:
setBanner
in interface MailOrderBatch
- Throws:
SystemException
setBatchNumber
public void setBatchNumber(java.lang.String batchNumber)
throws SystemException
- Throws:
SystemException
setDepositId
public void setDepositId(java.lang.String depositId)
throws SystemException
- Specified by:
setDepositId
in interface MailOrderBatch
- Throws:
SystemException
setExpectedTenderAmountReceived
public void setExpectedTenderAmountReceived(Money expectedAmount)
throws SystemException
- Specified by:
setExpectedTenderAmountReceived
in interface MailOrderBatch
- Throws:
SystemException
setCreateDate
public void setCreateDate(RDate createDate)
throws SystemException
- Throws:
SystemException
setReleaseDate
public void setReleaseDate(RDate releaseDate)
throws SystemException
- Throws:
SystemException
setExpectedNumberOfOrders
public void setExpectedNumberOfOrders(int expectedNumberOfOrders)
throws SystemException
- Specified by:
setExpectedNumberOfOrders
in interface MailOrderBatch
- Throws:
SystemException
setOrderSource
public void setOrderSource(OrderSource orderSource)
throws SystemException
- Specified by:
setOrderSource
in interface MailOrderBatch
- Throws:
SystemException
setOrderType
public void setOrderType(OrderType orderType)
throws SystemException
- Specified by:
setOrderType
in interface MailOrderBatch
- Throws:
SystemException
setPhysicalTender
public void setPhysicalTender(boolean physicalTender)
throws SystemException
- Specified by:
setPhysicalTender
in interface MailOrderBatch
- Throws:
SystemException
submit
public void submit(User user)
throws SystemException,
BusinessException
- Specified by:
submit
in interface MailOrderBatch
- Throws:
SystemException
BusinessException
pend
public void pend(User user)
throws SystemException,
BusinessException
- Specified by:
pend
in interface MailOrderBatch
- Throws:
SystemException
BusinessException
release
public void release(User user)
throws SystemException,
BusinessException
- Specified by:
release
in interface MailOrderBatch
- Throws:
SystemException
BusinessException
readLatest
public Dto readLatest()
throws SystemException
- Overrides:
readLatest
in class DistributedObjectImpl
- Throws:
SystemException
getCreatedByUser
public User getCreatedByUser()
throws SystemException,
BusinessException
- Specified by:
getCreatedByUser
in interface MailOrderBatch
- Throws:
SystemException
BusinessException
setCreatedByUser
public void setCreatedByUser(User user)
throws SystemException
- Throws:
SystemException
getLastUpdatedByUser
public User getLastUpdatedByUser()
throws SystemException,
BusinessException
- Specified by:
getLastUpdatedByUser
in interface MailOrderBatch
- Throws:
SystemException
BusinessException
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28