com.retek.component.inventory.impl
Class ItemSupplierQuantityBlockImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.inventory.impl.ItemSupplierQuantityBlockImpl
All Implemented Interfaces:
BusinessObject, DistributedObject, ItemSupplierQuantityBlock

public class ItemSupplierQuantityBlockImpl
extends DistributedObjectImpl
implements ItemSupplierQuantityBlock


Nested Class Summary
 
Nested classes inherited from class com.retek.commons.component.impl.DistributedObjectImpl
DistributedObjectImpl.DtoBurgular
 
Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Fields inherited from interface com.retek.component.inventory.ItemSupplierQuantityBlock
EFFECTIVE_DATE, EXPIRATION_DATE, REVISED_AVAILABLE_QTY
 
Constructor Summary
ItemSupplierQuantityBlockImpl(DistributedContext context, DistributedReference reference, boolean createHollow)
           
ItemSupplierQuantityBlockImpl(DistributedContext context, DistributedReference reference, java.lang.String itemId, java.lang.String supplierId)
           
 
Method Summary
 ItemSupplierQuantityBlockDto getDto()
           
 RDate getEffectiveDate()
           
 RDate getExpirationDate()
           
 java.lang.String getItemId()
           
 Quantity getOriginalAvailableQty()
           
 RDate getPreviousEffectiveDate()
           
 Quantity getReservedQty()
           
 Quantity getRevisedAvailableQty()
           
 Quantity getShippingQty()
           
 java.lang.String getSupplierId()
           
 boolean hasEffectiveDateBeenChanged()
           
 boolean hasExpirationDateBeenChanged()
           
protected  void initPreviousDates()
           
 void setEffectiveDate(RDate effectiveDate)
           
 void setExpirationDate(RDate expirationDate)
           
 void setRevisedAvailableQty(Quantity revisedAvailQty)
           
 void submit()
           
 
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, readLatest, refresh, toString, wrap, wrap, wrap, wrap
 
Methods inherited from class com.retek.commons.component.impl.BusinessObjectImpl
checkRelation, checkRelation, getBusinessInterface, getContext
 
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
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 

Constructor Detail

ItemSupplierQuantityBlockImpl

public ItemSupplierQuantityBlockImpl(DistributedContext context,
                                     DistributedReference reference,
                                     boolean createHollow)
                              throws SystemException

ItemSupplierQuantityBlockImpl

public ItemSupplierQuantityBlockImpl(DistributedContext context,
                                     DistributedReference reference,
                                     java.lang.String itemId,
                                     java.lang.String supplierId)
                              throws SystemException
Method Detail

getDto

public ItemSupplierQuantityBlockDto getDto()
                                    throws SystemException
Throws:
SystemException

getOriginalAvailableQty

public Quantity getOriginalAvailableQty()
                                 throws SystemException
Specified by:
getOriginalAvailableQty in interface ItemSupplierQuantityBlock
Throws:
SystemException

getRevisedAvailableQty

public Quantity getRevisedAvailableQty()
                                throws SystemException
Specified by:
getRevisedAvailableQty in interface ItemSupplierQuantityBlock
Throws:
SystemException

getEffectiveDate

public RDate getEffectiveDate()
                       throws SystemException
Specified by:
getEffectiveDate in interface ItemSupplierQuantityBlock
Throws:
SystemException

getExpirationDate

public RDate getExpirationDate()
                        throws SystemException
Specified by:
getExpirationDate in interface ItemSupplierQuantityBlock
Throws:
SystemException

setEffectiveDate

public void setEffectiveDate(RDate effectiveDate)
                      throws SystemException
Specified by:
setEffectiveDate in interface ItemSupplierQuantityBlock
Throws:
SystemException

setExpirationDate

public void setExpirationDate(RDate expirationDate)
                       throws SystemException
Specified by:
setExpirationDate in interface ItemSupplierQuantityBlock
Throws:
SystemException

setRevisedAvailableQty

public void setRevisedAvailableQty(Quantity revisedAvailQty)
                            throws SystemException
Specified by:
setRevisedAvailableQty in interface ItemSupplierQuantityBlock
Throws:
SystemException

hasEffectiveDateBeenChanged

public boolean hasEffectiveDateBeenChanged()
                                    throws SystemException
Throws:
SystemException

hasExpirationDateBeenChanged

public boolean hasExpirationDateBeenChanged()
                                     throws SystemException
Throws:
SystemException

getPreviousEffectiveDate

public RDate getPreviousEffectiveDate()
                               throws SystemException
Throws:
SystemException

getItemId

public java.lang.String getItemId()
                           throws SystemException
Specified by:
getItemId in interface ItemSupplierQuantityBlock
Throws:
SystemException

getSupplierId

public java.lang.String getSupplierId()
                               throws SystemException
Specified by:
getSupplierId in interface ItemSupplierQuantityBlock
Throws:
SystemException

submit

public void submit()
            throws ConcurrentUpdateException,
                   SystemException,
                   BusinessException
Specified by:
submit in interface ItemSupplierQuantityBlock
Throws:
ConcurrentUpdateException
SystemException
BusinessException

getShippingQty

public Quantity getShippingQty()
                        throws SystemException
Specified by:
getShippingQty in interface ItemSupplierQuantityBlock
Throws:
SystemException

getReservedQty

public Quantity getReservedQty()
                        throws SystemException
Specified by:
getReservedQty in interface ItemSupplierQuantityBlock
Throws:
SystemException

initPreviousDates

protected void initPreviousDates()
                          throws SystemException
Throws:
SystemException


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28