com.satline.faces.ui
Class EntitySelectListHandler<K,E>
java.lang.Object
com.satline.faces.ui.EntitySelectListHandler<K,E>
public abstract class EntitySelectListHandler<K,E>
- extends java.lang.Object
- Author:
- tomas
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntitySelectListHandler
public EntitySelectListHandler()
getFirstItemKey
public K getFirstItemKey()
- Returns:
- Returns the firstItemKey.
setFirstItemKey
public void setFirstItemKey(K firstItemKey)
- Parameters:
firstItemKey - The firstItemKey to set.
getFirstItemLabel
public java.lang.String getFirstItemLabel()
- Returns:
- Returns the firstItemLabel.
setFirstItemLabel
public void setFirstItemLabel(java.lang.String firstItemLabel)
- Parameters:
firstItemLabel - The firstItemLabel to set.
getItem
public E getItem(K key)
getSelectList
public java.util.List<javax.faces.model.SelectItem> getSelectList()
reset
public void reset()
getKey
protected abstract K getKey(E entity)
getLabel
protected abstract java.lang.String getLabel(E entity)
getBaseList
protected abstract java.util.List<E> getBaseList()
Copyright © 2007 null. All Rights Reserved.