com.retek.component.demand.impl
Class MediaDemandImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.demand.impl.MediaDemandImpl
All Implemented Interfaces:
BusinessObject, DistributedObject, MediaDemand, MediaDemandBatch

public class MediaDemandImpl
extends DistributedObjectImpl
implements MediaDemand, MediaDemandBatch


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
MediaDemandImpl(DistributedContext context, DistributedReference reference, boolean createHollow)
           
MediaDemandImpl(DistributedContext context, DistributedReference reference, Media media)
           
 
Method Summary
 void acceptChanges(OrderDemandRecord orderDemand)
           
 void acceptChanges(OrderLineDemandRecord orderLineDemand)
           
 RDate getAsOfDate()
           
 DemandOverTime getDayDemand()
           
 MediaDemandDto getDto()
           
 DemandOverTime getHourDemand(RDate timestamp)
           
 java.util.List getHourlyDemand()
           
 DemandOverTime getLifetimeDemand()
           
 Media getMedia()
           
 DemandOverTime getWeeklyDemand()
           
protected  Dto readLatest()
           
 void resetTotalsForAsOfDateIfNeeded()
           
 void setAsOfDate(RDate rdate)
           
 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, 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

MediaDemandImpl

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

MediaDemandImpl

public MediaDemandImpl(DistributedContext context,
                       DistributedReference reference,
                       Media media)
                throws SystemException
Method Detail

getDto

public MediaDemandDto getDto()
                      throws SystemException
Throws:
SystemException

readLatest

protected Dto readLatest()
                  throws SystemException
Overrides:
readLatest in class DistributedObjectImpl
Throws:
SystemException

getAsOfDate

public RDate getAsOfDate()
                  throws SystemException
Specified by:
getAsOfDate in interface MediaDemand
Throws:
SystemException

setAsOfDate

public void setAsOfDate(RDate rdate)
                 throws SystemException
Throws:
SystemException

getHourlyDemand

public java.util.List getHourlyDemand()
                               throws SystemException
Specified by:
getHourlyDemand in interface MediaDemand
Throws:
SystemException

getLifetimeDemand

public DemandOverTime getLifetimeDemand()
                                 throws SystemException
Specified by:
getLifetimeDemand in interface MediaDemand
Throws:
SystemException

getMedia

public Media getMedia()
               throws SystemException
Specified by:
getMedia in interface MediaDemand
Throws:
SystemException

getWeeklyDemand

public DemandOverTime getWeeklyDemand()
                               throws SystemException
Specified by:
getWeeklyDemand in interface MediaDemand
Throws:
SystemException

getDayDemand

public DemandOverTime getDayDemand()
                            throws SystemException
Specified by:
getDayDemand in interface MediaDemand
Throws:
SystemException

acceptChanges

public void acceptChanges(OrderDemandRecord orderDemand)
                   throws SystemException
Specified by:
acceptChanges in interface MediaDemandBatch
Throws:
SystemException

acceptChanges

public void acceptChanges(OrderLineDemandRecord orderLineDemand)
                   throws SystemException
Specified by:
acceptChanges in interface MediaDemandBatch
Throws:
SystemException

getHourDemand

public DemandOverTime getHourDemand(RDate timestamp)
                             throws SystemException
Throws:
SystemException

submit

public void submit()
            throws SystemException
Specified by:
submit in interface MediaDemandBatch
Throws:
SystemException

resetTotalsForAsOfDateIfNeeded

public void resetTotalsForAsOfDateIfNeeded()
                                    throws SystemException
Specified by:
resetTotalsForAsOfDateIfNeeded in interface MediaDemandBatch
Throws:
SystemException


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