org.bsf.listOfValues
Interface LovBusinessInterface

All Known Implementing Classes:
LovBean

public interface LovBusinessInterface

Defines the way that Objects holding the access to a List Of Values (LOV) should be accessed. Note that those LOV accessors (or providers) could be stateless Enterprise Java Beans as well as usual Java classes (generating the LOV on the fly for example).

See Also:
LovValue

Method Summary
 java.util.List getListOfValues()
          Gets the LovValues in the order of their retrieval (for example if we retrieve them by using a EJB BMP and the LOV_REQUESTS table we will get them in the order of the result of the executed SQL).
 LovValue getLovValue(java.lang.Long p_lovValueOID)
          Returns the LovValue corresponding to the given OID in the List Of Values held in the implementing Object.
 java.util.HashMap getLovValuesPerOID()
          Gets the LOV mapped by OID.
 

Method Detail

getLovValue

public LovValue getLovValue(java.lang.Long p_lovValueOID)
                     throws java.rmi.RemoteException,
                            NoSuchLovValueException
Returns the LovValue corresponding to the given OID in the List Of Values held in the implementing Object.

Parameters:
p_lovValueOID - The OID, in the List Of Values held in the implementing Object, of the LovValue desired.
Returns:
the LovValue corresponding to the given oid.
Throws:
java.rmi.RemoteException
NoSuchLovValueException

getLovValuesPerOID

public java.util.HashMap getLovValuesPerOID()
                                     throws java.rmi.RemoteException
Gets the LOV mapped by OID.

Returns:
a HashMap of (key=OID, object=LovValue).
Throws:
java.rmi.RemoteException

getListOfValues

public java.util.List getListOfValues()
                               throws java.rmi.RemoteException
Gets the LovValues in the order of their retrieval (for example if we retrieve them by using a EJB BMP and the LOV_REQUESTS table we will get them in the order of the result of the executed SQL).

Returns:
A List containing the LovValues.
Throws:
java.rmi.RemoteException