com.retek.component.media.impl
Class ValueAddedServiceImpl
java.lang.Object
com.retek.commons.component.impl.BusinessObjectImpl
com.retek.commons.component.impl.DistributedObjectImpl
com.retek.component.media.impl.ValueAddedServiceImpl
- All Implemented Interfaces:
- BusinessObject, com.retek.swing11.commons.type.Displayable, DistributedObject, ValueAddedService
- Direct Known Subclasses:
- MonogramValueAddedServiceImpl, PersonalizationValueAddedServiceImpl
- public abstract class ValueAddedServiceImpl
- extends DistributedObjectImpl
- implements ValueAddedService
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 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.swing11.commons.type.Displayable |
toDisplayString |
ValueAddedServiceImpl
public ValueAddedServiceImpl(DistributedContext context,
DistributedReference reference,
boolean createHollow)
throws SystemException
ValueAddedServiceImpl
public ValueAddedServiceImpl(DistributedContext context,
DistributedReference reference)
throws SystemException
getDto
public abstract ValueAddedServiceDto getDto()
throws SystemException
- Throws:
SystemException
getItemSupplierPersonalizationAttribute
public ItemSupplierPersonalizationAttribute getItemSupplierPersonalizationAttribute()
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
getSupplier
public Supplier getSupplier()
throws BusinessException,
SystemException
- Specified by:
getSupplier
in interface ValueAddedService
- Throws:
BusinessException
SystemException
getPersonalizationType
public PersonalizationType getPersonalizationType()
throws SystemException
- Specified by:
getPersonalizationType
in interface ValueAddedService
- Throws:
SystemException
getDescription
public java.lang.String getDescription()
getPlacementOnItem
public java.lang.String getPlacementOnItem()
throws BusinessException,
SystemException
- Specified by:
getPlacementOnItem
in interface ValueAddedService
- Throws:
BusinessException
SystemException
getUnitPrice
public Money getUnitPrice()
throws SystemException
- Specified by:
getUnitPrice
in interface ValueAddedService
- Throws:
SystemException
isPricePerCharacter
public boolean isPricePerCharacter()
throws SystemException
- Specified by:
isPricePerCharacter
in interface ValueAddedService
- Throws:
SystemException
getAvailableColors
public java.util.Set getAvailableColors()
throws BusinessException,
SystemException
- Description copied from interface:
ValueAddedService
- Returns the complete set of available colors for the item/supplier.
- Specified by:
getAvailableColors
in interface ValueAddedService
- Returns:
- Set of PersonalizationColor objects
- Throws:
BusinessException
SystemException
getAvailableFonts
public java.util.Set getAvailableFonts()
throws BusinessException,
SystemException
- Description copied from interface:
ValueAddedService
- Returns the complete set of available fonts for the item/supplier.
- Specified by:
getAvailableFonts
in interface ValueAddedService
- Returns:
- Set of PersonalizationFont objects
- Throws:
BusinessException
SystemException
getColors
public java.util.Set getColors()
throws BusinessException,
SystemException
- Description copied from interface:
ValueAddedService
- Returns the selected (supported) colors for the value added service.
- Specified by:
getColors
in interface ValueAddedService
- Returns:
- Set of PersonalizationColor objects
- Throws:
BusinessException
SystemException
getFonts
public java.util.Set getFonts()
throws BusinessException,
SystemException
- Description copied from interface:
ValueAddedService
- Returns the selected (supported) fonts for the value added service.
- Specified by:
getFonts
in interface ValueAddedService
- Returns:
- Set of PersonalizationFont objects
- Throws:
BusinessException
SystemException
setPersonalizationType
public void setPersonalizationType(PersonalizationType personalizationType)
throws SystemException
- Specified by:
setPersonalizationType
in interface ValueAddedService
- Throws:
SystemException
setUnitPrice
public void setUnitPrice(Money unitPrice)
throws SystemException
- Specified by:
setUnitPrice
in interface ValueAddedService
- Throws:
SystemException
setPricePerCharacter
public void setPricePerCharacter(boolean isPricePerCharacter)
throws SystemException
- Specified by:
setPricePerCharacter
in interface ValueAddedService
- Throws:
SystemException
removeColor
public void removeColor(PersonalizationColor color)
throws SystemException
- Specified by:
removeColor
in interface ValueAddedService
- Throws:
SystemException
addColor
public void addColor(PersonalizationColor color)
throws SystemException
- Specified by:
addColor
in interface ValueAddedService
- Throws:
SystemException
removeFont
public void removeFont(PersonalizationFont font)
throws SystemException
- Specified by:
removeFont
in interface ValueAddedService
- Throws:
SystemException
addFont
public void addFont(PersonalizationFont font)
throws SystemException
- Specified by:
addFont
in interface ValueAddedService
- Throws:
SystemException
getPersonalizationStyleCode
protected abstract java.lang.String getPersonalizationStyleCode()
throws SystemException
- Throws:
SystemException
isEngraving
public boolean isEngraving()
throws SystemException
- Specified by:
isEngraving
in interface ValueAddedService
- Throws:
SystemException
readLatest
protected Dto readLatest()
throws SystemException
- Overrides:
readLatest
in class DistributedObjectImpl
- Throws:
SystemException
setItemId
public void setItemId(java.lang.String itemId)
throws SystemException
- Throws:
SystemException
setSupplierId
public void setSupplierId(java.lang.String supplierId)
throws SystemException
- Throws:
SystemException
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28