org.jasig.portal.services.entityproperties
Class RDBMPropertyStore
java.lang.Object
org.jasig.portal.services.entityproperties.RDBMPropertyStore
- All Implemented Interfaces:
- IEntityPropertyFinder, IEntityPropertyStore
public class RDBMPropertyStore
- extends java.lang.Object
- implements IEntityPropertyStore
A portal RDBM based entity property store implementation
- Version:
- $Revision: 1.18 $
- Author:
- Alex Vigdor av317@columbia.edu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final org.apache.commons.logging.Log log
propsType
protected static java.lang.Class propsType
TABLE_NAME
protected static final java.lang.String TABLE_NAME
- See Also:
- Constant Field Values
TYPE_COL
protected static final java.lang.String TYPE_COL
- See Also:
- Constant Field Values
KEY_COL
protected static final java.lang.String KEY_COL
- See Also:
- Constant Field Values
NAME_COL
protected static final java.lang.String NAME_COL
- See Also:
- Constant Field Values
VALUE_COL
protected static final java.lang.String VALUE_COL
- See Also:
- Constant Field Values
DATE_COL
protected static final java.lang.String DATE_COL
- See Also:
- Constant Field Values
selectProperties
protected static final java.lang.String selectProperties
- See Also:
- Constant Field Values
deleteProperty
protected static final java.lang.String deleteProperty
- See Also:
- Constant Field Values
insertProperty
protected static final java.lang.String insertProperty
- See Also:
- Constant Field Values
RDBMPropertyStore
public RDBMPropertyStore()
getPropertyNames
public java.lang.String[] getPropertyNames(EntityIdentifier entityID)
- Specified by:
getPropertyNames
in interface IEntityPropertyFinder
getProperty
public java.lang.String getProperty(EntityIdentifier entityID,
java.lang.String name)
- Specified by:
getProperty
in interface IEntityPropertyFinder
storeProperty
public void storeProperty(EntityIdentifier entityID,
java.lang.String name,
java.lang.String value)
- Specified by:
storeProperty
in interface IEntityPropertyStore
unStoreProperty
public void unStoreProperty(EntityIdentifier entityID,
java.lang.String name)
- Specified by:
unStoreProperty
in interface IEntityPropertyStore
getConnection
protected java.sql.Connection getConnection()
releaseConnection
protected void releaseConnection(java.sql.Connection conn)
getCachedProperties
protected EntityProperties getCachedProperties(EntityIdentifier entityID)
clearCache
protected void clearCache(EntityIdentifier entityID)
addToCache
protected void addToCache(EntityProperties ep)