com.retek.component.media.impl.persistence
Class MediaDbObjectMaster

java.lang.Object
  extended bycom.retek.commons.domain.core.persistence.db.oracle.DbObjectMaster
      extended bycom.retek.component.media.impl.persistence.MediaDbObjectMaster

public class MediaDbObjectMaster
extends DbObjectMaster


Constructor Summary
MediaDbObjectMaster()
           
 
Method Summary
static void addDepictionCode(DistributedContext context, SellingItemDto sellingItemDto)
           
static void addSellingSku(DistributedContext context, SellingItemDto aSellingItemDto)
           
static SellingListDto createSellingListDto(DistributedContext context, SellingListType sellingListType, SellingListSortOrder sortOrder, RDate startDate, RDate endDate, java.lang.String sellingListName)
           
static SellingListItemDto createSellingListItemDto(DistributedContext context, java.lang.String pageNumber, DistributedReference sellingSkuRef, MediaDto mediaDto)
           
static MediaDto createSkinnyMediaDto(DistributedContext context)
           
static java.util.Set getAllTypesOfValueAddedServiceDto(DistributedContext context)
           
static java.lang.String getDisplayCode()
           
static DropCodeDto getDropCodeDto(DistributedContext context)
           
static MediaDto getEmptyMediaDto(DistributedContext context)
           
static MediaDto getMediaDtoWithShippingRateTable(DistributedContext context)
           
static PackSellingSkuComponentDto getPackSellingSkuComponentDto(DistributedContext context, PackSellingSkuDto containingPackDto, java.lang.String componentDisplayCode)
           
static PackSellingSkuDto getPackSellingSkuDto(DistributedContext context, SellingItemDto aSellingItemDto)
           
static PackSellingSkuDto getPackSellingSkuDto(DistributedContext context, SellingItemDto parentSellingItemDto, PackDto packDto)
           
static SellingListDto getPersistedSellingListDto(DistributedContext context, java.lang.Class skuType, java.sql.Connection connection)
           
static SellingListDto getPersistedSellingListDto(DistributedContext context, java.sql.Connection connection)
           
static SeasonCodeDto getSeasonCodeDto(DistributedContext distributedContext)
           
static SellingItemDepictionDto getSellingItemDepictionDto(DistributedContext context, DistributedReference sellingItemRef, DistributedReference mediaRef, java.lang.String depictionCode)
           
static SellingItemDto getSellingItemDto(DistributedContext context)
           
static SellingItemDto getSellingItemDto(DistributedContext context, DistributedReference mediaRef)
           
static SellingListDto getSellingListDto(DistributedContext context)
           
static SellingSkuDto getSellingSkuDto(DistributedContext context, java.sql.Connection connection)
           
static SellingSkuDto getSellingSkuDto(DistributedContext context, MediaDto mediaDto, SellingItemDto sellingItemDto)
           
static SellingSkuDto getSellingSkuDto(DistributedContext context, SellingItemDto sellingItemDto, java.lang.String skuId)
           
static ShippingRateDto getShippingRateDto(DistributedReference groupRef, Money rangeMin)
           
static ShippingRateTableDto getShippingRateTableDto(DistributedContext context, ShippingRateTableType tableType)
           
static ShippingRateTableDto getShippingRateTableDto(DistributedContext context, ShippingRateTableType tableType, DistributedReference mediaRef)
           
static SourceCodeDto getSourceCodeDto(DistributedContext context)
           
static java.lang.String getUnique10DigitCode()
           
static int getUnique4DigitInt()
           
static java.lang.String getUnique6DigitCode()
           
static MediaDto getUnpersistedMediaDto(DistributedContext context)
           
static java.util.Set getVasColors()
           
static java.util.Set getVasFonts()
           
static MediaDto insertMediaDto(DistributedContext context)
           
static MediaDto insertMediaDto(DistributedContext context, DistributedReference bannerRef)
           
static MediaDto insertMediaDto(DistributedContext context, DistributedReference bannerRef, java.lang.String displayCode)
           
static MediaDto insertMediaDto(DistributedContext context, DistributedReference bannerRef, java.lang.String displayCode, java.lang.String channelTypeCode, MediaStatus status)
           
static MediaDto insertMediaDto(DistributedContext context, MediaStatus status)
           
static MediaDto insertMediaDtoWithShippingRates(DistributedContext context)
           
static MediaDto insertMediaDtoWithShippingRates(DistributedContext context, DistributedReference bannerRef)
           
static MediaTypeDto insertMediaTypeDto(DistributedContext context)
           
static SeasonCodeDto insertSeasonCodeDto(DistributedContext context)
           
static SellingItemDepictionDto insertSellingItemDepictionDto(DistributedContext context, MediaDto mediaDto, java.lang.String depictionCode, java.sql.Connection connection)
           
static SellingItemDto insertSellingItemDto(DistributedContext context)
           
static SellingItemDto insertSellingItemDto(DistributedContext context, MediaDto mediaDto)
           
static SellingItemDto insertSellingItemDto(DistributedContext context, MediaDto mediaDto, java.lang.String sellingItemDisplayCode)
           
static SellingItemDto insertSellingItemDto(DistributedContext context, MediaDto mediaDto, java.lang.String styleNumber, java.lang.String[] skuIds)
           
static SubConceptDto insertSubConceptDto(DistributedContext context)
           
 
Methods inherited from class com.retek.commons.domain.core.persistence.db.oracle.DbObjectMaster
checkAllFieldsInitialized, checkAllFieldsInitialized, checkAllFieldsInitialized, checkAllFieldsInitialized, getJunitReferenceCache, getTestDbRDate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaDbObjectMaster

public MediaDbObjectMaster()
Method Detail

getUnique4DigitInt

public static int getUnique4DigitInt()

getUnique6DigitCode

public static java.lang.String getUnique6DigitCode()

getUnique10DigitCode

public static java.lang.String getUnique10DigitCode()

insertMediaTypeDto

public static MediaTypeDto insertMediaTypeDto(DistributedContext context)
                                       throws SystemException
Throws:
SystemException

getDisplayCode

public static java.lang.String getDisplayCode()

insertSubConceptDto

public static SubConceptDto insertSubConceptDto(DistributedContext context)
                                         throws SystemException
Throws:
SystemException

addSellingSku

public static void addSellingSku(DistributedContext context,
                                 SellingItemDto aSellingItemDto)
                          throws java.lang.Exception
Throws:
java.lang.Exception

getPackSellingSkuDto

public static PackSellingSkuDto getPackSellingSkuDto(DistributedContext context,
                                                     SellingItemDto parentSellingItemDto,
                                                     PackDto packDto)
                                              throws java.lang.Exception,
                                                     SystemException
Throws:
java.lang.Exception
SystemException

getPackSellingSkuDto

public static PackSellingSkuDto getPackSellingSkuDto(DistributedContext context,
                                                     SellingItemDto aSellingItemDto)
                                              throws java.lang.Exception,
                                                     SystemException
Throws:
java.lang.Exception
SystemException

getPackSellingSkuComponentDto

public static PackSellingSkuComponentDto getPackSellingSkuComponentDto(DistributedContext context,
                                                                       PackSellingSkuDto containingPackDto,
                                                                       java.lang.String componentDisplayCode)
                                                                throws java.lang.Exception,
                                                                       SystemException
Throws:
java.lang.Exception
SystemException

getAllTypesOfValueAddedServiceDto

public static java.util.Set getAllTypesOfValueAddedServiceDto(DistributedContext context)
                                                       throws java.lang.Exception
Throws:
java.lang.Exception

getVasColors

public static java.util.Set getVasColors()

getVasFonts

public static java.util.Set getVasFonts()

addDepictionCode

public static void addDepictionCode(DistributedContext context,
                                    SellingItemDto sellingItemDto)
                             throws SystemException
Throws:
SystemException

getSellingItemDepictionDto

public static SellingItemDepictionDto getSellingItemDepictionDto(DistributedContext context,
                                                                 DistributedReference sellingItemRef,
                                                                 DistributedReference mediaRef,
                                                                 java.lang.String depictionCode)
                                                          throws SystemException
Throws:
SystemException

insertSellingItemDto

public static SellingItemDto insertSellingItemDto(DistributedContext context,
                                                  MediaDto mediaDto,
                                                  java.lang.String sellingItemDisplayCode)
                                           throws java.lang.Exception
Throws:
java.lang.Exception

insertSellingItemDto

public static SellingItemDto insertSellingItemDto(DistributedContext context,
                                                  MediaDto mediaDto,
                                                  java.lang.String styleNumber,
                                                  java.lang.String[] skuIds)
                                           throws SystemException
Throws:
SystemException

insertSellingItemDto

public static SellingItemDto insertSellingItemDto(DistributedContext context,
                                                  MediaDto mediaDto)
                                           throws java.lang.Exception
Throws:
java.lang.Exception

getSellingItemDto

public static SellingItemDto getSellingItemDto(DistributedContext context,
                                               DistributedReference mediaRef)
                                        throws java.lang.Exception
Throws:
java.lang.Exception

getSellingItemDto

public static SellingItemDto getSellingItemDto(DistributedContext context)
                                        throws java.lang.Exception
Throws:
java.lang.Exception

insertSellingItemDto

public static SellingItemDto insertSellingItemDto(DistributedContext context)
                                           throws java.lang.Exception
Throws:
java.lang.Exception

insertSeasonCodeDto

public static SeasonCodeDto insertSeasonCodeDto(DistributedContext context)
                                         throws SystemException
Throws:
SystemException

insertMediaDto

public static MediaDto insertMediaDto(DistributedContext context,
                                      DistributedReference bannerRef,
                                      java.lang.String displayCode,
                                      java.lang.String channelTypeCode,
                                      MediaStatus status)
                               throws java.lang.Exception
Throws:
java.lang.Exception

insertMediaDto

public static MediaDto insertMediaDto(DistributedContext context,
                                      DistributedReference bannerRef,
                                      java.lang.String displayCode)
                               throws java.lang.Exception
Throws:
java.lang.Exception

insertMediaDto

public static MediaDto insertMediaDto(DistributedContext context,
                                      DistributedReference bannerRef)
                               throws java.lang.Exception
Throws:
java.lang.Exception

insertMediaDto

public static MediaDto insertMediaDto(DistributedContext context,
                                      MediaStatus status)
                               throws java.lang.Exception
Throws:
java.lang.Exception

insertMediaDto

public static MediaDto insertMediaDto(DistributedContext context)
                               throws java.lang.Exception
Throws:
java.lang.Exception

insertMediaDtoWithShippingRates

public static MediaDto insertMediaDtoWithShippingRates(DistributedContext context)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

insertMediaDtoWithShippingRates

public static MediaDto insertMediaDtoWithShippingRates(DistributedContext context,
                                                       DistributedReference bannerRef)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

getUnpersistedMediaDto

public static MediaDto getUnpersistedMediaDto(DistributedContext context)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getMediaDtoWithShippingRateTable

public static MediaDto getMediaDtoWithShippingRateTable(DistributedContext context)
                                                 throws java.lang.Exception,
                                                        SystemException
Throws:
java.lang.Exception
SystemException

createSkinnyMediaDto

public static MediaDto createSkinnyMediaDto(DistributedContext context)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

getSeasonCodeDto

public static SeasonCodeDto getSeasonCodeDto(DistributedContext distributedContext)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

insertSellingItemDepictionDto

public static SellingItemDepictionDto insertSellingItemDepictionDto(DistributedContext context,
                                                                    MediaDto mediaDto,
                                                                    java.lang.String depictionCode,
                                                                    java.sql.Connection connection)
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

getSellingSkuDto

public static SellingSkuDto getSellingSkuDto(DistributedContext context,
                                             SellingItemDto sellingItemDto,
                                             java.lang.String skuId)
                                      throws SystemException
Throws:
SystemException

getSellingSkuDto

public static SellingSkuDto getSellingSkuDto(DistributedContext context,
                                             MediaDto mediaDto,
                                             SellingItemDto sellingItemDto)
                                      throws SystemException
Throws:
SystemException

getPersistedSellingListDto

public static SellingListDto getPersistedSellingListDto(DistributedContext context,
                                                        java.sql.Connection connection)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

getPersistedSellingListDto

public static SellingListDto getPersistedSellingListDto(DistributedContext context,
                                                        java.lang.Class skuType,
                                                        java.sql.Connection connection)
                                                 throws SystemException,
                                                        java.lang.Exception
Throws:
SystemException
java.lang.Exception

getSellingListDto

public static SellingListDto getSellingListDto(DistributedContext context)
                                        throws SystemException
Throws:
SystemException

createSellingListDto

public static SellingListDto createSellingListDto(DistributedContext context,
                                                  SellingListType sellingListType,
                                                  SellingListSortOrder sortOrder,
                                                  RDate startDate,
                                                  RDate endDate,
                                                  java.lang.String sellingListName)
                                           throws SystemException
Throws:
SystemException

createSellingListItemDto

public static SellingListItemDto createSellingListItemDto(DistributedContext context,
                                                          java.lang.String pageNumber,
                                                          DistributedReference sellingSkuRef,
                                                          MediaDto mediaDto)
                                                   throws SystemException
Throws:
SystemException

getSellingSkuDto

public static SellingSkuDto getSellingSkuDto(DistributedContext context,
                                             java.sql.Connection connection)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

getEmptyMediaDto

public static MediaDto getEmptyMediaDto(DistributedContext context)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

getDropCodeDto

public static DropCodeDto getDropCodeDto(DistributedContext context)
                                  throws SystemException,
                                         java.lang.Exception
Throws:
SystemException
java.lang.Exception

getSourceCodeDto

public static SourceCodeDto getSourceCodeDto(DistributedContext context)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

getShippingRateTableDto

public static ShippingRateTableDto getShippingRateTableDto(DistributedContext context,
                                                           ShippingRateTableType tableType)
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

getShippingRateTableDto

public static ShippingRateTableDto getShippingRateTableDto(DistributedContext context,
                                                           ShippingRateTableType tableType,
                                                           DistributedReference mediaRef)
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

getShippingRateDto

public static ShippingRateDto getShippingRateDto(DistributedReference groupRef,
                                                 Money rangeMin)
                                          throws SystemException
Throws:
SystemException


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