com.retek.component.customer.impl
Class CatalogTypeImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.customer.impl.CatalogTypeImpl
All Implemented Interfaces:
BusinessObject, CatalogType, com.retek.swing11.commons.type.Displayable, DistributedObject

public class CatalogTypeImpl
extends DistributedObjectImpl
implements CatalogType


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.customer.CatalogType
BANNER, DESCRIPTION, EDD, SUB_CONCEPT, USER
 
Constructor Summary
CatalogTypeImpl(DistributedContext context, DistributedReference ref, Banner banner, java.lang.String desc, int estimatedDeliveryDays)
           
CatalogTypeImpl(DistributedContext context, DistributedReference ref, boolean createHollow)
           
 
Method Summary
 Banner getBanner()
           
 java.lang.String getDescription()
           
 CatalogTypeDto getDto()
           
 RDate getEstimatedDeliveryDate()
           
 int getEstimatedDeliveryDays()
           
 SubConcept getSubConcept()
           
 boolean isActive()
           
 boolean isCreatedLater(CatalogType catalogType)
           
 void makeInactive()
           
protected  Dto readLatest()
           
 void setBanner(Banner banner)
           
 void setDescription(java.lang.String description)
           
 void setEstimatedDeliveryDays(int estimatedDeliveryDays)
           
 void setSubConcept(SubConcept subConcept)
           
 void submit(User user)
           
 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

CatalogTypeImpl

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

CatalogTypeImpl

public CatalogTypeImpl(DistributedContext context,
                       DistributedReference ref,
                       Banner banner,
                       java.lang.String desc,
                       int estimatedDeliveryDays)
                throws SystemException
Method Detail

getDto

public CatalogTypeDto getDto()
                      throws SystemException
Throws:
SystemException

getEstimatedDeliveryDays

public int getEstimatedDeliveryDays()
                             throws SystemException
Specified by:
getEstimatedDeliveryDays in interface CatalogType
Throws:
SystemException

getEstimatedDeliveryDate

public RDate getEstimatedDeliveryDate()
                               throws SystemException
Specified by:
getEstimatedDeliveryDate in interface CatalogType
Throws:
SystemException

setEstimatedDeliveryDays

public void setEstimatedDeliveryDays(int estimatedDeliveryDays)
                              throws SystemException
Specified by:
setEstimatedDeliveryDays in interface CatalogType
Throws:
SystemException

submit

public void submit(User user)
            throws SystemException,
                   BusinessException
Specified by:
submit in interface CatalogType
Throws:
SystemException
BusinessException

isActive

public boolean isActive()
                 throws SystemException
Specified by:
isActive in interface CatalogType
Throws:
SystemException

makeInactive

public void makeInactive()
                  throws SystemException
Specified by:
makeInactive in interface CatalogType
Throws:
SystemException

getDescription

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

setDescription

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

getBanner

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

setBanner

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

getSubConcept

public SubConcept getSubConcept()
                         throws SystemException
Specified by:
getSubConcept in interface CatalogType
Throws:
SystemException

setSubConcept

public void setSubConcept(SubConcept subConcept)
                   throws SystemException
Specified by:
setSubConcept in interface CatalogType
Throws:
SystemException

readLatest

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

isCreatedLater

public boolean isCreatedLater(CatalogType catalogType)
                       throws SystemException
Specified by:
isCreatedLater in interface CatalogType
Throws:
SystemException

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