com.retek.component.item.impl
Class ItemAttributeImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.item.impl.ItemAttributeImpl
All Implemented Interfaces:
BusinessObject, DistributedObject, ItemAttribute

public class ItemAttributeImpl
extends DistributedObjectImpl
implements ItemAttribute


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.item.ItemAttribute
ITEM_ATTRIBUTE_ID
 
Constructor Summary
ItemAttributeImpl(DistributedContext context, DistributedReference ref)
           
ItemAttributeImpl(DistributedContext context, DistributedReference ref, boolean createHollow)
           
 
Method Summary
 java.lang.String getAttributeName(Item item)
           
 java.lang.String getAttributeValue(Item item)
           
 ItemAttributeDto getDto()
           
 ItemAttributeType getType()
           
 java.lang.String getUserFriendlyName()
           
 boolean isDifferentiator()
           
 boolean isEnabled()
           
 boolean isItemAttributeInUse(ItemAttribute itemAttribute)
           
 boolean isRemovable()
           
protected  Dto readLatest()
           
 void remove()
           
 void setAttributeName(java.lang.String name)
           
 void setDescription(java.lang.String description)
           
 void setEnabled(boolean enabled)
           
 void setType(ItemAttributeType type)
           
 void submit()
           
 
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

ItemAttributeImpl

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

ItemAttributeImpl

public ItemAttributeImpl(DistributedContext context,
                         DistributedReference ref)
                  throws SystemException
Method Detail

getDto

public ItemAttributeDto getDto()
                        throws SystemException
Throws:
SystemException

getUserFriendlyName

public java.lang.String getUserFriendlyName()
                                     throws SystemException
Specified by:
getUserFriendlyName in interface ItemAttribute
Throws:
SystemException

setDescription

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

isEnabled

public boolean isEnabled()
                  throws SystemException
Specified by:
isEnabled in interface ItemAttribute
Throws:
SystemException

isDifferentiator

public boolean isDifferentiator()
                         throws SystemException
Specified by:
isDifferentiator in interface ItemAttribute
Throws:
SystemException

setEnabled

public void setEnabled(boolean enabled)
                throws SystemException
Specified by:
setEnabled in interface ItemAttribute
Throws:
SystemException

getType

public ItemAttributeType getType()
                          throws SystemException
Specified by:
getType in interface ItemAttribute
Throws:
SystemException

setType

public void setType(ItemAttributeType type)
             throws SystemException
Throws:
SystemException

getAttributeName

public java.lang.String getAttributeName(Item item)
                                  throws SystemException
Specified by:
getAttributeName in interface ItemAttribute
Throws:
SystemException

setAttributeName

public void setAttributeName(java.lang.String name)
                      throws SystemException
Specified by:
setAttributeName in interface ItemAttribute
Throws:
SystemException

getAttributeValue

public java.lang.String getAttributeValue(Item item)
                                   throws SystemException
Specified by:
getAttributeValue in interface ItemAttribute
Throws:
SystemException

submit

public void submit()
            throws SystemException,
                   BusinessException
Specified by:
submit in interface ItemAttribute
Throws:
SystemException
BusinessException

isRemovable

public boolean isRemovable()
                    throws SystemException
Specified by:
isRemovable in interface ItemAttribute
Throws:
SystemException

remove

public void remove()
            throws SystemException,
                   BusinessException
Specified by:
remove in interface ItemAttribute
Throws:
SystemException
BusinessException

readLatest

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

isItemAttributeInUse

public boolean isItemAttributeInUse(ItemAttribute itemAttribute)
                             throws SystemException,
                                    BusinessException
Specified by:
isItemAttributeInUse in interface ItemAttribute
Throws:
SystemException
BusinessException


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