com.retek.component.media.impl
Class MediaManagerImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.DistributedObjectManagerImpl
      extended bycom.retek.component.media.impl.MediaManagerImpl
All Implemented Interfaces:
DistributedObjectManager, MediaManager

public class MediaManagerImpl
extends DistributedObjectManagerImpl
implements MediaManager


Constructor Summary
MediaManagerImpl(DistributedContext context)
           
 
Method Summary
 DropCode buildDropCodeInstance()
           
 Media buildMediaInstance(Banner banner)
           
 MediaType buildMediaTypeInstance()
           
 SeasonCode buildSeasonCodeInstance()
           
 ShippingRateTable buildShippingRateTableInstance(ShippingRateTableType shippingRateTableType, DistributedReference bannerRef, DistributedReference channelTypeRef)
           
 ShippingRateTable buildShippingRateTableInstanceForMedia(DistributedReference mediaRef, DistributedReference bannerRef, DistributedReference channelTypeRef)
           
 ShippingRateTable buildShippingRateTableInstanceForSourceCode(DistributedReference bannerRef, DistributedReference channelTypeRef)
           
 SourceCode buildSourceCodeInstance(java.lang.String displayCode, java.lang.String description)
           
 SubConcept buildSubConceptInstance()
           
 ShippingRateTable createShippingRateTableForMediaWithDefaultValues(DistributedReference mediaRef, DistributedReference bannerRef, DistributedReference channelTypeRef)
           
protected  ReferenceCache fetchMoreReferences(java.lang.Class businessIface)
           
 java.util.Set find(SellingItemSearchCriteria criteria)
           
 java.util.Set findAllMediaTypes()
           
 java.util.Set findAllSeasonCodes()
           
 java.util.Set findAllSubConcepts()
           
 java.util.Set findMedia(MediaSearchCriteria searchCriteria)
           
 SourceCode findMostRecentActiveSourceCode(java.lang.String sourceCode)
           
 java.util.List findShippingRateTables(ShippingRateTableSearchCriteria searchCriteria)
           
 java.util.List findShippingRateTables(SourceCode sourceCode)
           
 java.util.Set findSourceCodes(SourceCodeSearchCriteria searchCriteria)
           
 Media readMedia(DistributedReference ref)
           
 MediaType readMediaType(DistributedReference ref)
           
 SeasonCode readSeasonCode(DistributedReference seasonCodeRef)
           
 ShippingRateTable readShippingRateTable(DistributedReference ref)
           
 SourceCode readSourceCode(DistributedReference ref)
           
 SubConcept readSubConcept(DistributedReference ref)
           
 void removeMediaType(MediaType mediaType)
           
 void removeSeasonCode(SeasonCode seasonCode)
           
 void removeShippingRateTable(ShippingRateTable shippingRateTable)
           
 void updateMediaActiveStatusToReleased(java.io.File errorFile)
           
 void updateMediaWorksheetStatusToActive(java.io.File errorFile)
           
 void validateSourceCode(java.lang.String displayCode)
           
 
Methods inherited from class com.retek.commons.component.impl.DistributedObjectManagerImpl
getContext, getReferenceCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.retek.commons.component.DistributedObjectManager
getContext
 

Constructor Detail

MediaManagerImpl

public MediaManagerImpl(DistributedContext context)
Method Detail

buildSeasonCodeInstance

public SeasonCode buildSeasonCodeInstance()
                                   throws SystemException
Specified by:
buildSeasonCodeInstance in interface MediaManager
Throws:
SystemException

findAllSeasonCodes

public java.util.Set findAllSeasonCodes()
                                 throws SystemException
Specified by:
findAllSeasonCodes in interface MediaManager
Throws:
SystemException

readSeasonCode

public SeasonCode readSeasonCode(DistributedReference seasonCodeRef)
                          throws SystemException
Specified by:
readSeasonCode in interface MediaManager
Throws:
SystemException

removeSeasonCode

public void removeSeasonCode(SeasonCode seasonCode)
                      throws SystemException,
                             BusinessException
Specified by:
removeSeasonCode in interface MediaManager
Throws:
SystemException
BusinessException

buildMediaTypeInstance

public MediaType buildMediaTypeInstance()
                                 throws SystemException
Specified by:
buildMediaTypeInstance in interface MediaManager
Throws:
SystemException

readMediaType

public MediaType readMediaType(DistributedReference ref)
                        throws SystemException
Specified by:
readMediaType in interface MediaManager
Throws:
SystemException

findAllMediaTypes

public java.util.Set findAllMediaTypes()
                                throws SystemException
Specified by:
findAllMediaTypes in interface MediaManager
Throws:
SystemException

removeMediaType

public void removeMediaType(MediaType mediaType)
                     throws SystemException,
                            BusinessException
Specified by:
removeMediaType in interface MediaManager
Throws:
SystemException
BusinessException

buildDropCodeInstance

public DropCode buildDropCodeInstance()
                               throws SystemException
Specified by:
buildDropCodeInstance in interface MediaManager
Throws:
SystemException

buildSourceCodeInstance

public SourceCode buildSourceCodeInstance(java.lang.String displayCode,
                                          java.lang.String description)
                                   throws SystemException,
                                          BusinessException
Specified by:
buildSourceCodeInstance in interface MediaManager
Throws:
SystemException
BusinessException

readSourceCode

public SourceCode readSourceCode(DistributedReference ref)
                          throws SystemException
Specified by:
readSourceCode in interface MediaManager
Throws:
SystemException

validateSourceCode

public void validateSourceCode(java.lang.String displayCode)
                        throws SystemException,
                               NoSuchSourceCodeException
Specified by:
validateSourceCode in interface MediaManager
Throws:
SystemException
NoSuchSourceCodeException

buildMediaInstance

public Media buildMediaInstance(Banner banner)
                         throws SystemException,
                                BusinessException
Specified by:
buildMediaInstance in interface MediaManager
Throws:
SystemException
BusinessException

buildShippingRateTableInstance

public ShippingRateTable buildShippingRateTableInstance(ShippingRateTableType shippingRateTableType,
                                                        DistributedReference bannerRef,
                                                        DistributedReference channelTypeRef)
                                                 throws SystemException
Specified by:
buildShippingRateTableInstance in interface MediaManager
Throws:
SystemException

buildShippingRateTableInstanceForSourceCode

public ShippingRateTable buildShippingRateTableInstanceForSourceCode(DistributedReference bannerRef,
                                                                     DistributedReference channelTypeRef)
                                                              throws SystemException
Throws:
SystemException

buildShippingRateTableInstanceForMedia

public ShippingRateTable buildShippingRateTableInstanceForMedia(DistributedReference mediaRef,
                                                                DistributedReference bannerRef,
                                                                DistributedReference channelTypeRef)
                                                         throws SystemException
Throws:
SystemException

createShippingRateTableForMediaWithDefaultValues

public ShippingRateTable createShippingRateTableForMediaWithDefaultValues(DistributedReference mediaRef,
                                                                          DistributedReference bannerRef,
                                                                          DistributedReference channelTypeRef)
                                                                   throws SystemException,
                                                                          BusinessException
Specified by:
createShippingRateTableForMediaWithDefaultValues in interface MediaManager
Throws:
SystemException
BusinessException

readShippingRateTable

public ShippingRateTable readShippingRateTable(DistributedReference ref)
                                        throws SystemException
Specified by:
readShippingRateTable in interface MediaManager
Throws:
SystemException

readMedia

public Media readMedia(DistributedReference ref)
                throws SystemException
Specified by:
readMedia in interface MediaManager
Throws:
SystemException

buildSubConceptInstance

public SubConcept buildSubConceptInstance()
                                   throws SystemException
Specified by:
buildSubConceptInstance in interface MediaManager
Throws:
SystemException

readSubConcept

public SubConcept readSubConcept(DistributedReference ref)
                          throws SystemException
Specified by:
readSubConcept in interface MediaManager
Throws:
SystemException

findAllSubConcepts

public java.util.Set findAllSubConcepts()
                                 throws SystemException
Specified by:
findAllSubConcepts in interface MediaManager
Throws:
SystemException

findMedia

public java.util.Set findMedia(MediaSearchCriteria searchCriteria)
                        throws SystemException,
                               BusinessException
Specified by:
findMedia in interface MediaManager
Throws:
SystemException
BusinessException

findShippingRateTables

public java.util.List findShippingRateTables(ShippingRateTableSearchCriteria searchCriteria)
                                      throws SystemException
Specified by:
findShippingRateTables in interface MediaManager
Throws:
SystemException

removeShippingRateTable

public void removeShippingRateTable(ShippingRateTable shippingRateTable)
                             throws SystemException,
                                    BusinessException
Specified by:
removeShippingRateTable in interface MediaManager
Throws:
SystemException
BusinessException

updateMediaWorksheetStatusToActive

public void updateMediaWorksheetStatusToActive(java.io.File errorFile)
                                        throws SystemException,
                                               BusinessException
Specified by:
updateMediaWorksheetStatusToActive in interface MediaManager
Throws:
SystemException
BusinessException

updateMediaActiveStatusToReleased

public void updateMediaActiveStatusToReleased(java.io.File errorFile)
                                       throws SystemException,
                                              BusinessException
Specified by:
updateMediaActiveStatusToReleased in interface MediaManager
Throws:
SystemException
BusinessException

findSourceCodes

public java.util.Set findSourceCodes(SourceCodeSearchCriteria searchCriteria)
                              throws SystemException
Specified by:
findSourceCodes in interface MediaManager
Throws:
SystemException

findMostRecentActiveSourceCode

public SourceCode findMostRecentActiveSourceCode(java.lang.String sourceCode)
                                          throws SystemException
Specified by:
findMostRecentActiveSourceCode in interface MediaManager
Parameters:
sourceCode - This is the displayCode value for all the SourceCode objects returned.
Returns:
SourceCode that will have a displayCode property equal to the sourceCode string value passed in as an argument and will belong to a media that contains the most recent active date.
Throws:
SystemException

findShippingRateTables

public java.util.List findShippingRateTables(SourceCode sourceCode)
                                      throws SystemException
Specified by:
findShippingRateTables in interface MediaManager
Throws:
SystemException

find

public java.util.Set find(SellingItemSearchCriteria criteria)
                   throws SystemException
Specified by:
find in interface MediaManager
Throws:
SystemException

fetchMoreReferences

protected ReferenceCache fetchMoreReferences(java.lang.Class businessIface)
                                      throws SystemException
Specified by:
fetchMoreReferences in class DistributedObjectManagerImpl
Throws:
SystemException


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