com.retek.component.banner_channel.impl
Class ChannelImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.banner_channel.impl.ChannelImpl
All Implemented Interfaces:
BusinessObject, Channel, com.retek.swing11.commons.type.Displayable, DistributedObject

public class ChannelImpl
extends DistributedObjectImpl
implements Channel


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.banner_channel.Channel
BANNER, DISPLAY_CODE, PAYMENT_TYPE_ID, TENDER_TYPE_GROUP_ORDER_SOURCE
 
Constructor Summary
ChannelImpl(DistributedContext context, DistributedReference reference, boolean createHollow)
           
ChannelImpl(DistributedContext context, DistributedReference ref, java.lang.String channelDisplayCode, DistributedReference bannerRef, ChannelType channelType)
           
 
Method Summary
 Banner getBanner()
           
 ChannelType getChannelType()
           
 java.lang.String getDescription()
           
 java.lang.String getDisplayCode()
           
 ChannelDto getDto()
           
 java.util.Collection getStores()
           
 java.util.Collection getVirtualStores()
           
 java.util.Collection getVirtualWarehouses()
           
 java.util.Collection getWarehouses()
           
 boolean hasStore(Store store)
           
protected  Dto readLatest()
           
 void setBanner(Banner banner)
           
 void setChannelType(ChannelType channelType)
           
 void setDescription(java.lang.String description)
           
 void setDisplayCode(java.lang.String displayCode)
           
 void submit()
           
 java.lang.String toDisplayString()
           
 
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

ChannelImpl

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

ChannelImpl

public ChannelImpl(DistributedContext context,
                   DistributedReference ref,
                   java.lang.String channelDisplayCode,
                   DistributedReference bannerRef,
                   ChannelType channelType)
            throws SystemException
Method Detail

getDto

public ChannelDto getDto()
                  throws SystemException
Throws:
SystemException

setDisplayCode

public void setDisplayCode(java.lang.String displayCode)
                    throws SystemException
Specified by:
setDisplayCode in interface Channel
Throws:
SystemException

getDisplayCode

public java.lang.String getDisplayCode()
                                throws SystemException
Specified by:
getDisplayCode in interface Channel
Throws:
SystemException

getBanner

public Banner getBanner()
                 throws SystemException
Specified by:
getBanner in interface Channel
Throws:
SystemException

setBanner

public void setBanner(Banner banner)
               throws SystemException
Specified by:
setBanner in interface Channel
Throws:
SystemException

setChannelType

public void setChannelType(ChannelType channelType)
                    throws SystemException
Specified by:
setChannelType in interface Channel
Throws:
SystemException

getChannelType

public ChannelType getChannelType()
                           throws SystemException
Specified by:
getChannelType in interface Channel
Throws:
SystemException

setDescription

public void setDescription(java.lang.String description)
                    throws SystemException
Specified by:
setDescription in interface Channel
Throws:
SystemException

getDescription

public java.lang.String getDescription()
                                throws SystemException
Specified by:
getDescription in interface Channel
Throws:
SystemException

submit

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

getStores

public java.util.Collection getStores()
                               throws SystemException,
                                      BusinessException
Specified by:
getStores in interface Channel
Throws:
SystemException
BusinessException

getVirtualStores

public java.util.Collection getVirtualStores()
                                      throws SystemException,
                                             BusinessException
Specified by:
getVirtualStores in interface Channel
Throws:
SystemException
BusinessException

getWarehouses

public java.util.Collection getWarehouses()
                                   throws SystemException,
                                          BusinessException
Specified by:
getWarehouses in interface Channel
Throws:
SystemException
BusinessException

getVirtualWarehouses

public java.util.Collection getVirtualWarehouses()
                                          throws SystemException,
                                                 BusinessException
Specified by:
getVirtualWarehouses in interface Channel
Throws:
SystemException
BusinessException

readLatest

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

hasStore

public boolean hasStore(Store store)
                 throws SystemException,
                        BusinessException
Specified by:
hasStore in interface Channel
Throws:
SystemException
BusinessException

toDisplayString

public java.lang.String toDisplayString()
Specified by:
toDisplayString in interface com.retek.swing11.commons.type.Displayable


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