com.retek.rmm.gui.screen.productinfo
Class AttributeHandler

java.lang.Object
  extended bycom.retek.commons.gui.core.ScreenHandler
      extended bycom.retek.rmm.gui.screen.productinfo.AttributeHandler

public class AttributeHandler
extends ScreenHandler


Constructor Summary
AttributeHandler()
           
 
Method Summary
 void discardChanges(java.util.List attributeList)
           
 java.util.Collection getAttributes(boolean enabled)
          ATTRIBUTE MANAGER METHODS
 java.lang.String getDescription()
           
 boolean isAttributeDeselectAllowed(java.util.List selectedList)
           
 boolean isCustomAttribute()
           
 boolean isCustomRemoveAllowed(java.util.List selectedList, java.lang.Object selectedItemAttr)
          ATTRIBUTE LIST HELPER METHODS
 boolean removeCustomAttributes(java.util.List removeList)
           
 void saveAttributes(java.util.List attributeList)
          There is code here to check is the attribute we are about to submit has been altered or not [ isDirty() ].
 void setAttribute(java.lang.Object object)
          ATTRIBUTE METHODS
 void setAttributeEnabled(boolean enabled)
           
 void setAttributesEnabled(boolean enabled, java.util.List selectedList)
           
 
Methods inherited from class com.retek.commons.gui.core.ScreenHandler
getException, getLogger, getSystemException, processSystemException, register, register, unregister, unregisterAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeHandler

public AttributeHandler()
Method Detail

getAttributes

public java.util.Collection getAttributes(boolean enabled)
                                   throws SystemException
ATTRIBUTE MANAGER METHODS

Throws:
SystemException

setAttribute

public void setAttribute(java.lang.Object object)
ATTRIBUTE METHODS


getDescription

public java.lang.String getDescription()
                                throws SystemException
Throws:
SystemException

isCustomAttribute

public boolean isCustomAttribute()
                          throws SystemException
Throws:
SystemException

setAttributeEnabled

public void setAttributeEnabled(boolean enabled)
                         throws SystemException
Throws:
SystemException

isCustomRemoveAllowed

public boolean isCustomRemoveAllowed(java.util.List selectedList,
                                     java.lang.Object selectedItemAttr)
                              throws SystemException,
                                     BusinessException
ATTRIBUTE LIST HELPER METHODS

Throws:
SystemException
BusinessException

isAttributeDeselectAllowed

public boolean isAttributeDeselectAllowed(java.util.List selectedList)
                                   throws SystemException
Throws:
SystemException

setAttributesEnabled

public void setAttributesEnabled(boolean enabled,
                                 java.util.List selectedList)
                          throws SystemException
Throws:
SystemException

removeCustomAttributes

public boolean removeCustomAttributes(java.util.List removeList)
                               throws SystemException,
                                      BusinessException
Throws:
SystemException
BusinessException

saveAttributes

public void saveAttributes(java.util.List attributeList)
                    throws SystemException,
                           BusinessException
There is code here to check is the attribute we are about to submit has been altered or not [ isDirty() ]. This logic should really reside behind the submit logic of every impl, as there is never a reason to complete a submit that has not been changed.

Throws:
SystemException
BusinessException

discardChanges

public void discardChanges(java.util.List attributeList)
                    throws SystemException
Throws:
SystemException


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