com.ibm.commerce.beans
Class SortedListBean

java.lang.Object
  |
  +--com.ibm.commerce.beans.InputDataBeanImpl
        |
        +--com.ibm.commerce.beans.SmartDataBeanImpl
              |
              +--com.ibm.commerce.beans.SortedListBean
All Implemented Interfaces:
DataBean, InputDataBean, java.io.Serializable, SmartDataBean, SortedListInputDataBean

public abstract class SortedListBean
extends SmartDataBeanImpl
implements SortedListInputDataBean

Abstract implementation class of a data bean the provides the sorting of elements inside the bean.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          IBM Copyright notice field.
protected  int listSize
           
 com.ibm.commerce.base.util.SortingAttribute sortingAtt
          The sorting attribute.
 
Fields inherited from class com.ibm.commerce.beans. SmartDataBeanImpl
commandContext
 
Fields inherited from class com.ibm.commerce.beans. InputDataBeanImpl
requestProperties
 
Fields inherited from interface com.ibm.commerce.beans. DataBean
emptyString
 
Constructor Summary
SortedListBean()
          Creates the SortedList databean.
 
Method Summary
 int getLength()
          Return the number of elements in the databean.
 com.ibm.commerce.base.util.SortingAttribute getSortAtt()
          The attribute to sort the elements in the databean.
 void setSortAtt(com.ibm.commerce.base.util.SortingAttribute newSortAtt)
          Sets the sorting attribute.
 
Methods inherited from class com.ibm.commerce.beans. SmartDataBeanImpl
fulfills, getCommandContext, getResources, populate, setCommandContext
 
Methods inherited from class com.ibm.commerce.beans. InputDataBeanImpl
getRequestProperties, setRequestProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.beans. InputDataBean
getRequestProperties, setRequestProperties
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM Copyright notice field.
See Also:
Constant Field Values

sortingAtt

public com.ibm.commerce.base.util.SortingAttribute sortingAtt
The sorting attribute.

listSize

protected int listSize
Constructor Detail

SortedListBean

public SortedListBean()
Creates the SortedList databean.
Method Detail

getLength

public int getLength()
Return the number of elements in the databean.
Returns:
The number of elements.

getSortAtt

public com.ibm.commerce.base.util.SortingAttribute getSortAtt()
The attribute to sort the elements in the databean.
Returns:
The sorting attribute.

setSortAtt

public void setSortAtt(com.ibm.commerce.base.util.SortingAttribute newSortAtt)
Sets the sorting attribute.
Specified by:
setSortAtt in interface SortedListInputDataBean
Parameters:
newSortAtt - the sorting attribute.