A B C D E F G I J L M N O R S T _

A

ALL_LOVS - Static variable in class org.bsf.listOfValues.client.LovManager
To specify that a listener is interested in all the lovs.
addField(String, Object) - Method in class org.bsf.listOfValues.lovValue.DefaultLovValue
It will replace any previous value with the same field name.
addLovManagerListener(LovListener, Long) - Static method in class org.bsf.listOfValues.client.LovManager
Registers a LovListener for the given lovOID.
addToCache(Long, String, String, List) - Method in class org.bsf.listOfValues.util.LovDefinitionCache
Adds a new item to the cache (will use a LovEntityCacheItem to do so).

B

BOOLEAN_TYPE - Static variable in class org.bsf.listOfValues.util.LovTypeManager
 

C

clearLocalCache(Long) - Static method in class org.bsf.listOfValues.client.LovManager
Removes the LOV, whose OID is the given oid, from the cache.

D

DATE_TYPE - Static variable in class org.bsf.listOfValues.util.LovTypeManager
 
DEFAULT_HASH_TABLE_SIZE - Static variable in class org.bsf.listOfValues.client.LovManager
 
DOUBLE_TYPE - Static variable in class org.bsf.listOfValues.util.LovTypeManager
 
DefaultLovValue - class org.bsf.listOfValues.lovValue.DefaultLovValue.
A default implementation of the LovValue interface.
DefaultLovValue(Object) - Constructor for class org.bsf.listOfValues.lovValue.DefaultLovValue
 

E

ejbCreate() - Method in class org.bsf.listOfValues.LovServiceBean
 
ejbFindByPhysicalTable(String) - Method in class org.bsf.listOfValues.LovBean
Finds the LOVs that are working on a given physical table.
ejbFindByPrimaryKey(Long) - Method in class org.bsf.listOfValues.LovBean
Checks if the the Lov exist in the S_LOV_REQUESTS table.
ejbLoad() - Method in class org.bsf.listOfValues.LovBean
Loads all the values from the DB using the request defined in the LOV_REQUESTS table.
equals(Object) - Method in class org.bsf.listOfValues.lovValue.DefaultLovValue
 

F

FIELD_SEPARATOR - Static variable in class org.bsf.listOfValues.lovValue.DefaultLovValue
 
FLOAT_TYPE - Static variable in class org.bsf.listOfValues.util.LovTypeManager
 

G

getBoolean(ResultSet, int) - Static method in class org.bsf.listOfValues.util.LovTypeManager
 
getDate(ResultSet, int) - Static method in class org.bsf.listOfValues.util.LovTypeManager
 
getDouble(ResultSet, int) - Static method in class org.bsf.listOfValues.util.LovTypeManager
 
getFieldName() - Method in class org.bsf.listOfValues.LovMetaDataItem
 
getFieldType() - Method in class org.bsf.listOfValues.LovMetaDataItem
 
getFieldValue(String) - Method in class org.bsf.listOfValues.lovValue.DefaultLovValue
 
getFieldValue(String) - Method in interface org.bsf.listOfValues.lovValue.LovValue
This method enable the access to the values stored in this LovValue for the given field name.
getFloat(ResultSet, int) - Static method in class org.bsf.listOfValues.util.LovTypeManager
 
getInstance() - Static method in class org.bsf.listOfValues.util.LovDefinitionCache
Gives access to the singleton.
getInteger(ResultSet, int) - Static method in class org.bsf.listOfValues.util.LovTypeManager
 
getLOVMetaData(Long) - Method in class org.bsf.listOfValues.LovServiceBean
Provides access to the metadata for a given list of values.
getListOfValues() - Method in class org.bsf.listOfValues.LovBean
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).
getListOfValues() - Method in interface org.bsf.listOfValues.LovBusinessInterface
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).
getListOfValues(Long) - Method in class org.bsf.listOfValues.LovServiceBean
Returns, in the order of the executed SQL, the list of LovValues corresponding to the given p_lovOID.
getListOfValues(Long) - Static method in class org.bsf.listOfValues.client.LovManager
Return the requested list of values, checking in its cache first.
getListOfValues(LovListener, Long) - Static method in class org.bsf.listOfValues.client.LovManager
Return the requested list of values, checking in its cache first.
getLong(ResultSet, int) - Static method in class org.bsf.listOfValues.util.LovTypeManager
 
getLov(Long) - Method in class org.bsf.listOfValues.LovServiceBean
Utility method to provide access to the desired LOV.
getLovName() - Method in class org.bsf.listOfValues.util.LovDefinitionCache.LovEntityCacheItem
 
getLovOID(String) - Method in class org.bsf.listOfValues.util.LovDefinitionCache
Returns the LovOID corresponding to a given LovName or null if no match is found in the cache.
getLovService() - Static method in class org.bsf.listOfValues.client.LovManager
 
getLovValue(Long) - Method in class org.bsf.listOfValues.LovBean
Returns the LovValue corresponding to the given OID in the List Of Values held in the implementing Object.
getLovValue(Long) - Method in interface org.bsf.listOfValues.LovBusinessInterface
Returns the LovValue corresponding to the given OID in the List Of Values held in the implementing Object.
getLovValue(Long, Long) - Method in class org.bsf.listOfValues.LovServiceBean
Returns the LovValue having the oid p_lovValueOID in the LOV whose oid is p_lovOID.
getLovValue(Long, Object) - Static method in class org.bsf.listOfValues.client.LovManager
Return the requested LovValue that belongs to the specified LOV.
getLovValue(LovListener, Long, Object) - Static method in class org.bsf.listOfValues.client.LovManager
Return the requested LovValue that belongs to the specified LOV.
getLovValues(Long) - Method in class org.bsf.listOfValues.LovServiceBean
Returns a map (LovValueOID, LovValue) of LovValues corresponding to the given p_lovOID.
getLovValuesPerOID() - Method in class org.bsf.listOfValues.LovBean
Gets the LOV mapped by OID.
getLovValuesPerOID() - Method in interface org.bsf.listOfValues.LovBusinessInterface
Gets the LOV mapped by OID.
getMetaData() - Method in class org.bsf.listOfValues.LovBean
 
getObjectOfType(String, ResultSet, int) - Static method in class org.bsf.listOfValues.util.LovTypeManager
 
getOid() - Method in class org.bsf.listOfValues.lovValue.DefaultLovValue
Deprecated. should use getPK()
getOid() - Method in interface org.bsf.listOfValues.lovValue.LovValue
Deprecated.  
getPK() - Method in class org.bsf.listOfValues.lovValue.DefaultLovValue
This method should be use instead of the old getOid() method.
getPK() - Method in interface org.bsf.listOfValues.lovValue.LovValue
 
getRequest() - Method in class org.bsf.listOfValues.util.LovDefinitionCache.LovEntityCacheItem
 
getRequestForLovOID(Long) - Method in class org.bsf.listOfValues.util.LovDefinitionCache
Returns the sql statement (or null if no match is found) stored in the LovDefinitionCache and corresponding to the Lov with the given OID.
getSqlDate(ResultSet, int) - Static method in class org.bsf.listOfValues.util.LovTypeManager
 
getString(ResultSet, int) - Static method in class org.bsf.listOfValues.util.LovTypeManager
 
getTypes() - Method in class org.bsf.listOfValues.util.LovDefinitionCache.LovEntityCacheItem
 
getTypesForLovOID(Long) - Method in class org.bsf.listOfValues.util.LovDefinitionCache
Returns a collection of type corresponding to the the metadata(or null if no match is found) stored in the LovDefinitionCache and corresponding to the Lov with the given OID.

I

INTEGER_TYPE - Static variable in class org.bsf.listOfValues.util.LovTypeManager
 
isNameInCache(String) - Method in class org.bsf.listOfValues.util.LovDefinitionCache
Returns whether or not informations, for a given LOV, are stored in the LovDefinitionCache.
isOIDInCache(Long) - Method in class org.bsf.listOfValues.util.LovDefinitionCache
Returns whether or not informations, for a given LOV, are stored in the LovDefinitionCache.

J

JNDI_DATABASE_NAME - Variable in class org.bsf.listOfValues.LovBean
The JNDI name used to retrieve a connection to the database.
JNDI_DATABASE_NAME - Variable in class org.bsf.listOfValues.LovServiceBean
 

L

LONG_TYPE - Static variable in class org.bsf.listOfValues.util.LovTypeManager
 
LOV_OID_FOR_TABLE_NAME_STATEMENT - Static variable in class org.bsf.listOfValues.LovBean
 
LovBean - class org.bsf.listOfValues.LovBean.
The LovBean is a BMP EJB that enables the retrieval of a List of Values (LOV).
LovBean() - Constructor for class org.bsf.listOfValues.LovBean
 
LovBusinessInterface - interface org.bsf.listOfValues.LovBusinessInterface.
Defines the way that Objects holding the access to a List Of Values (LOV) should be accessed.
LovDefinitionCache - class org.bsf.listOfValues.util.LovDefinitionCache.
This class is used to store the "lov definitions" (in a LovEntityCacheItem) to prevent the reexecution of a select statement to obtain the to be executed SQL statement defined in the corresponding LOV.
LovDefinitionCache() - Constructor for class org.bsf.listOfValues.util.LovDefinitionCache
 
LovDefinitionCache.LovEntityCacheItem - class org.bsf.listOfValues.util.LovDefinitionCache.LovEntityCacheItem.
Stores the needed informations related to the LovBean (mainly the SQL statement).
LovDefinitionCache.LovEntityCacheItem(String, String, List) - Constructor for class org.bsf.listOfValues.util.LovDefinitionCache.LovEntityCacheItem
 
LovListener - interface org.bsf.listOfValues.client.LovListener.
An interface to determine how an Object can be notified of a LOV change (for example when a user is added).
LovManager - class org.bsf.listOfValues.client.LovManager.
Enables access to the LOV using the given LovService.
LovManager() - Constructor for class org.bsf.listOfValues.client.LovManager
 
LovMetaDataItem - class org.bsf.listOfValues.LovMetaDataItem.
Element storing the informations (metadata) for a column of a LOV.
LovMetaDataItem(String, String) - Constructor for class org.bsf.listOfValues.LovMetaDataItem
 
LovServiceBean - class org.bsf.listOfValues.LovServiceBean.
This stateless ejb provides access to the list of values features.
LovServiceBean() - Constructor for class org.bsf.listOfValues.LovServiceBean
 
LovTypeManager - class org.bsf.listOfValues.util.LovTypeManager.
This class contains the definition of the type used by the LovBean and the methods to handle the resultset regarding those types.
LovTypeManager() - Constructor for class org.bsf.listOfValues.util.LovTypeManager
 
LovValue - interface org.bsf.listOfValues.lovValue.LovValue.
Any Object that implements this interface can be handled as a LovValue.
lovHasChanged(Long) - Method in interface org.bsf.listOfValues.client.LovListener
Called when a LOV has changed.

M

METADATA_FOR_OID_STATEMENT - Static variable in class org.bsf.listOfValues.LovBean
 

N

NAME_AND_REQUEST_FOR_OID_STATEMENT - Static variable in class org.bsf.listOfValues.LovBean
 
NoSuchLovException - exception org.bsf.listOfValues.exceptions.NoSuchLovException.
Should be thrown when a LOV is requested but not found.
NoSuchLovException() - Constructor for class org.bsf.listOfValues.exceptions.NoSuchLovException
 
NoSuchLovException(String) - Constructor for class org.bsf.listOfValues.exceptions.NoSuchLovException
 
NoSuchLovException(Long) - Constructor for class org.bsf.listOfValues.exceptions.NoSuchLovException
Produces an exception with the message "No such LOV (X) has been found..."
NoSuchLovValueException - exception org.bsf.listOfValues.exceptions.NoSuchLovValueException.
Should be thrown when a LovValue is requested but not found.
NoSuchLovValueException() - Constructor for class org.bsf.listOfValues.exceptions.NoSuchLovValueException
 
NoSuchLovValueException(String) - Constructor for class org.bsf.listOfValues.exceptions.NoSuchLovValueException
 
NoSuchLovValueException(Long, Long) - Constructor for class org.bsf.listOfValues.exceptions.NoSuchLovValueException
Produces an exception with the message "No such LovValue (X) in the LOV (Y)" where X is the oid of the requested LovValue and Y the oid of the LOV in which we search.
notifyLovListeners(Long) - Static method in class org.bsf.listOfValues.client.LovManager
Notify all the listeners interested for the given lovOID.

O

org.bsf.listOfValues - package org.bsf.listOfValues
 
org.bsf.listOfValues.client - package org.bsf.listOfValues.client
 
org.bsf.listOfValues.exceptions - package org.bsf.listOfValues.exceptions
 
org.bsf.listOfValues.lovValue - package org.bsf.listOfValues.lovValue
 
org.bsf.listOfValues.util - package org.bsf.listOfValues.util
 

R

removeLovManagerListener(LovListener) - Static method in class org.bsf.listOfValues.client.LovManager
Removes the given LovListener from the registered listeners.
resynchronizeListOfValues(Long) - Method in class org.bsf.listOfValues.LovServiceBean
Ensures that the LOVs using the same TABLE_NAME as the LOV identified by the given OID are reloaded (in general due to a data update).
resynchronizeListOfValues(String) - Method in class org.bsf.listOfValues.LovServiceBean
Ensures that the LOVs referencing the TABLE_NAME are reseted.
resynchronizeLov(Long) - Static method in class org.bsf.listOfValues.client.LovManager
Clears the server and client cache and notifies the registered listeners that the LOV has changed.

S

SQL_DATE_TYPE - Static variable in class org.bsf.listOfValues.util.LovTypeManager
 
STRING_TYPE - Static variable in class org.bsf.listOfValues.util.LovTypeManager
 
setLovService(LOVService) - Static method in class org.bsf.listOfValues.client.LovManager
Set the LovService to be used to access the LovServiceBean.

T

TABLE_NAME_FROM_LOV_OID_STATEMENT - Static variable in class org.bsf.listOfValues.LovServiceBean
 
toString() - Method in class org.bsf.listOfValues.lovValue.DefaultLovValue
 

_

_cache - Variable in class org.bsf.listOfValues.util.LovDefinitionCache
Cache that holds the LovEntityCacheItems.
_fieldName - Variable in class org.bsf.listOfValues.LovMetaDataItem
 
_fieldType - Variable in class org.bsf.listOfValues.LovMetaDataItem
 
_fields - Variable in class org.bsf.listOfValues.lovValue.DefaultLovValue
 
_listOfValues - Static variable in class org.bsf.listOfValues.client.LovManager
Holds the retrieved list of values (aLovOID, aList of LovValue).
_listOfValuesPerPK - Static variable in class org.bsf.listOfValues.client.LovManager
Holds the retrieved list of values (aLovOID, (aLovValuePK, aList of LovValue)).
_lov - Variable in class org.bsf.listOfValues.LovBean
Stores the lovValues in their "mapped" (OID, LovValue) form (a HashMap) to prevent remapping each time the map is requested.
_lovCacheInstance - Static variable in class org.bsf.listOfValues.util.LovDefinitionCache
 
_lovEntityLocalHome - Variable in class org.bsf.listOfValues.LovServiceBean
 
_lovListeners - Static variable in class org.bsf.listOfValues.client.LovManager
Holds the listeners (LovOID, List of LovListeners).
_lovName - Variable in class org.bsf.listOfValues.util.LovDefinitionCache.LovEntityCacheItem
 
_lovRequest - Variable in class org.bsf.listOfValues.util.LovDefinitionCache.LovEntityCacheItem
 
_lovService - Static variable in class org.bsf.listOfValues.client.LovManager
 
_metaData - Variable in class org.bsf.listOfValues.LovBean
Stores the metadata (field name, position...) for this list of values.
_pk - Variable in class org.bsf.listOfValues.lovValue.DefaultLovValue
 
_sortedLov - Variable in class org.bsf.listOfValues.LovBean
Used as a cache to store the results of the executed SQL to prevent the reexecution of the SQL statement each time the same LOV is requested).
_types - Variable in class org.bsf.listOfValues.util.LovDefinitionCache.LovEntityCacheItem
 

A B C D E F G I J L M N O R S T _