com.retek.component.media.impl
Class PersonalizationValueAddedServiceImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.media.impl.ValueAddedServiceImpl
              extended bycom.retek.component.media.impl.PersonalizationValueAddedServiceImpl
All Implemented Interfaces:
BusinessObject, com.retek.swing11.commons.type.Displayable, DistributedObject, PersonalizationValueAddedService, ValueAddedService

public class PersonalizationValueAddedServiceImpl
extends ValueAddedServiceImpl
implements PersonalizationValueAddedService


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
PersonalizationValueAddedServiceImpl(DistributedContext context, DistributedReference reference)
           
PersonalizationValueAddedServiceImpl(DistributedContext context, DistributedReference reference, boolean createHollow)
           
 
Method Summary
 ValueAddedServiceDto getDto()
           
 java.util.List getLineRestrictions()
          Returns all line restrictions for the personalization value added service ( regardless of line availability ).
 java.util.List getLineRestrictionsForAvailableLines()
          Returns only line restrictions where the line available flag is "true".
 int getMaxCharactersForLine(int lineNumber)
           
protected  java.lang.String getPersonalizationStyleCode()
           
 boolean isLineAvailable(int lineNumber)
           
 void setLineAvailable(int lineNumber, boolean isAvailable)
           
 void setLineRestrictions(java.util.List lineRestrictions)
           
 java.lang.String toDisplayString()
           
 
Methods inherited from class com.retek.component.media.impl.ValueAddedServiceImpl
addColor, addFont, getAvailableColors, getAvailableFonts, getColors, getDescription, getFonts, getItemSupplierPersonalizationAttribute, getPersonalizationType, getPlacementOnItem, getSupplier, getUnitPrice, isEngraving, isPricePerCharacter, readLatest, removeColor, removeFont, setItemId, setPersonalizationType, setPricePerCharacter, setSupplierId, setUnitPrice
 
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.component.media.ValueAddedService
addColor, addFont, getAvailableColors, getAvailableFonts, getColors, getFonts, getPersonalizationType, getPlacementOnItem, getSupplier, getUnitPrice, isEngraving, isPricePerCharacter, removeColor, removeFont, setPersonalizationType, setPricePerCharacter, setUnitPrice
 
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

PersonalizationValueAddedServiceImpl

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

PersonalizationValueAddedServiceImpl

public PersonalizationValueAddedServiceImpl(DistributedContext context,
                                            DistributedReference reference)
                                     throws SystemException
Method Detail

getDto

public ValueAddedServiceDto getDto()
                            throws SystemException
Specified by:
getDto in class ValueAddedServiceImpl
Throws:
SystemException

getMaxCharactersForLine

public int getMaxCharactersForLine(int lineNumber)
                            throws BusinessException,
                                   SystemException
Specified by:
getMaxCharactersForLine in interface PersonalizationValueAddedService
Throws:
BusinessException
SystemException

getLineRestrictions

public java.util.List getLineRestrictions()
                                   throws SystemException,
                                          BusinessException
Description copied from interface: PersonalizationValueAddedService
Returns all line restrictions for the personalization value added service ( regardless of line availability ).

Specified by:
getLineRestrictions in interface PersonalizationValueAddedService
Throws:
SystemException
BusinessException

setLineRestrictions

public void setLineRestrictions(java.util.List lineRestrictions)
                         throws SystemException
Specified by:
setLineRestrictions in interface PersonalizationValueAddedService
Throws:
SystemException

getLineRestrictionsForAvailableLines

public java.util.List getLineRestrictionsForAvailableLines()
                                                    throws SystemException,
                                                           BusinessException
Description copied from interface: PersonalizationValueAddedService
Returns only line restrictions where the line available flag is "true".

Specified by:
getLineRestrictionsForAvailableLines in interface PersonalizationValueAddedService
Throws:
SystemException
BusinessException

setLineAvailable

public void setLineAvailable(int lineNumber,
                             boolean isAvailable)
                      throws SystemException
Throws:
SystemException

isLineAvailable

public boolean isLineAvailable(int lineNumber)
                        throws SystemException
Throws:
SystemException

getPersonalizationStyleCode

protected final java.lang.String getPersonalizationStyleCode()
Specified by:
getPersonalizationStyleCode in class ValueAddedServiceImpl

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