com.retek.component.salesaudit.impl
Class SaeStoreDayImpl

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

public class SaeStoreDayImpl
extends DistributedObjectImpl
implements SaeStoreDay


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
 
Constructor Summary
SaeStoreDayImpl(DistributedContext context, DistributedReference reference, boolean createHollow)
           
SaeStoreDayImpl(DistributedContext context, DistributedReference reference, Store store, RDate transactionDate)
           
 
Method Summary
 void close()
          Mark the store/day as closed.
 SaeTransaction createDcloseTransaction(RDate createTime)
          Create a dclose transaction element for the store/day.
 SaeStoreDayDto getDto()
           
 int getFileCount()
          Return the count of the number of files exported for a given store/day.
 Store getStore()
          Return the store for the sales audit store/day object.
 RDate getTransactionDate()
          Return the transaction date the sales audit store/day object.
 void incrementFileCount()
          Increment the export file count for the store/day.
 boolean isClosed()
          Return a boolean indicating if the store/day is closed.
 void submit()
          Submit/persist the sales audit store/day object.
 java.lang.String toString()
           
 
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, 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

SaeStoreDayImpl

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

SaeStoreDayImpl

public SaeStoreDayImpl(DistributedContext context,
                       DistributedReference reference,
                       Store store,
                       RDate transactionDate)
                throws SystemException
Method Detail

getDto

public SaeStoreDayDto getDto()
                      throws SystemException
Throws:
SystemException

getTransactionDate

public RDate getTransactionDate()
                         throws SystemException
Description copied from interface: SaeStoreDay
Return the transaction date the sales audit store/day object.

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

getStore

public Store getStore()
               throws SystemException
Description copied from interface: SaeStoreDay
Return the store for the sales audit store/day object.

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

getFileCount

public int getFileCount()
                 throws SystemException
Description copied from interface: SaeStoreDay
Return the count of the number of files exported for a given store/day.

Specified by:
getFileCount in interface SaeStoreDay
Returns:
int number of exported files
Throws:
SystemException

incrementFileCount

public void incrementFileCount()
                        throws SystemException
Description copied from interface: SaeStoreDay
Increment the export file count for the store/day.

Specified by:
incrementFileCount in interface SaeStoreDay
Throws:
SystemException

createDcloseTransaction

public SaeTransaction createDcloseTransaction(RDate createTime)
                                       throws SystemException
Description copied from interface: SaeStoreDay
Create a dclose transaction element for the store/day.

Specified by:
createDcloseTransaction in interface SaeStoreDay
Parameters:
createTime -
Returns:
SaeTransaction dclose transaction
Throws:
SystemException

submit

public void submit()
            throws SystemException
Description copied from interface: SaeStoreDay
Submit/persist the sales audit store/day object.

Specified by:
submit in interface SaeStoreDay
Throws:
SystemException

isClosed

public boolean isClosed()
                 throws SystemException
Description copied from interface: SaeStoreDay
Return a boolean indicating if the store/day is closed.

Specified by:
isClosed in interface SaeStoreDay
Returns:
boolean true if store/day is closed
Throws:
SystemException

close

public void close()
           throws SystemException
Description copied from interface: SaeStoreDay
Mark the store/day as closed.

Specified by:
close in interface SaeStoreDay
Throws:
SystemException

toString

public java.lang.String toString()
Overrides:
toString in class DistributedObjectImpl


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