com.retek.component.salesaudit.impl
Class SaeStoreTransactionContainerImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.salesaudit.impl.SaeStoreTransactionContainerImpl
All Implemented Interfaces:
BusinessObject, java.lang.Comparable, DistributedObject, SaeStoreTransactionContainer

public class SaeStoreTransactionContainerImpl
extends DistributedObjectImpl
implements SaeStoreTransactionContainer


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.salesaudit.SaeStoreTransactionContainer
SOURCE_OBJECT, STORE, TRANSACTION, TRANSACTION_DATE
 
Constructor Summary
SaeStoreTransactionContainerImpl(DistributedContext context, DistributedReference ref)
           
SaeStoreTransactionContainerImpl(DistributedContext context, DistributedReference ref, boolean createHollow)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 SaeStoreTransactionContainerDto getDto()
           
 java.lang.String getNextElementId()
           
 DistributedObject getSourceObject()
          Return the source business object for the store transaction container.
 Store getStore()
          Return the store for the store transaction container.
 SaeTransaction getTransaction()
          Return the transaction for the store transaction container.
 RDate getTransactionDate()
          Return the transaction date for the store transaction container.
 void incrementNextElementId()
           
protected  Dto readLatest(DistributedReference reference)
           
 void setSourceObject(DistributedObject sourceObject)
          Set the source business object for the store transaction container.
 void setStore(Store store)
           
 void setTransaction(SaeTransaction transaction)
          Set the sales audit transaction for the store transaction container.
 void setTransactionDate(RDate transactionDate)
           
 void submit()
          Submit the order transaction container object.
 
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

SaeStoreTransactionContainerImpl

public SaeStoreTransactionContainerImpl(DistributedContext context,
                                        DistributedReference ref,
                                        boolean createHollow)
                                 throws SystemException

SaeStoreTransactionContainerImpl

public SaeStoreTransactionContainerImpl(DistributedContext context,
                                        DistributedReference ref)
                                 throws SystemException
Method Detail

getDto

public SaeStoreTransactionContainerDto getDto()
                                       throws SystemException
Throws:
SystemException

getStore

public Store getStore()
               throws SystemException
Description copied from interface: SaeStoreTransactionContainer
Return the store for the store transaction container.

Specified by:
getStore in interface SaeStoreTransactionContainer
Returns:
Store
Throws:
SystemException

setStore

public void setStore(Store store)
              throws SystemException
Throws:
SystemException

getTransactionDate

public RDate getTransactionDate()
                         throws SystemException
Description copied from interface: SaeStoreTransactionContainer
Return the transaction date for the store transaction container.

Specified by:
getTransactionDate in interface SaeStoreTransactionContainer
Returns:
RDate transaction date
Throws:
SystemException

setTransactionDate

public void setTransactionDate(RDate transactionDate)
                        throws SystemException
Throws:
SystemException

getSourceObject

public DistributedObject getSourceObject()
                                  throws SystemException
Description copied from interface: SaeStoreTransactionContainer
Return the source business object for the store transaction container.

Specified by:
getSourceObject in interface SaeStoreTransactionContainer
Returns:
DistributedObject source object
Throws:
SystemException

setSourceObject

public void setSourceObject(DistributedObject sourceObject)
                     throws SystemException
Description copied from interface: SaeStoreTransactionContainer
Set the source business object for the store transaction container.

Specified by:
setSourceObject in interface SaeStoreTransactionContainer
Parameters:
sourceObject - source object
Throws:
SystemException

getTransaction

public SaeTransaction getTransaction()
                              throws SystemException
Description copied from interface: SaeStoreTransactionContainer
Return the transaction for the store transaction container.

Specified by:
getTransaction in interface SaeStoreTransactionContainer
Returns:
SaeTransaction transaction
Throws:
SystemException

setTransaction

public void setTransaction(SaeTransaction transaction)
                    throws SystemException
Description copied from interface: SaeStoreTransactionContainer
Set the sales audit transaction for the store transaction container.

Specified by:
setTransaction in interface SaeStoreTransactionContainer
Parameters:
transaction - SaeTransaction object
Throws:
SystemException

getNextElementId

public java.lang.String getNextElementId()
                                  throws SystemException
Throws:
SystemException

incrementNextElementId

public void incrementNextElementId()
                            throws SystemException
Throws:
SystemException

readLatest

protected final Dto readLatest(DistributedReference reference)
                        throws SystemException
Throws:
SystemException

submit

public void submit()
            throws SystemException,
                   BusinessException
Description copied from interface: SaeStoreTransactionContainer
Submit the order transaction container object.

Specified by:
submit in interface SaeStoreTransactionContainer
Throws:
SystemException
BusinessException

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable


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