| java.lang.Object com.flexive.core.configuration.GenericConfigurationImpl com.flexive.ejb.beans.configuration.UserConfigurationEngineBean
UserConfigurationEngineBean | public class UserConfigurationEngineBean extends GenericConfigurationImpl implements UserConfigurationEngine,UserConfigurationEngineLocal(Code) | | User configuration. Currently no security checks are included - a user
may always update/delete own parameters (and never modify parameters of other users).
author: Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
Method Summary | |
protected String | getCachePath(String path) | protected Connection | getConnection() | protected PreparedStatement | getDeleteStatement(Connection conn, String path, String key) | protected PreparedStatement | getInsertStatement(Connection conn, String path, String key, String value) | protected PreparedStatement | getSelectStatement(Connection conn, String path, String key) | protected PreparedStatement | getSelectStatement(Connection conn, String path) | protected PreparedStatement | getUpdateStatement(Connection conn, String path, String key, String value) |
Methods inherited from com.flexive.core.configuration.GenericConfigurationImpl | protected void deleteCache(String path, String key)(Code)(Java Doc) protected void deleteCache(String path)(Code)(Java Doc) final public T get(Parameter<T> parameter) throws FxApplicationException(Code)(Java Doc) final public T get(Parameter<T> parameter, String key) throws FxApplicationException(Code)(Java Doc) final public T get(Parameter<T> parameter, String key, boolean ignoreDefault) throws FxApplicationException(Code)(Java Doc) final public Map<String, T> getAll(Parameter<T> parameter) throws FxApplicationException(Code)(Java Doc) protected Serializable getCache(String path, String key) throws FxCacheException(Code)(Java Doc) protected String getCachePath(String path)(Code)(Java Doc) abstract protected Connection getConnection() throws SQLException(Code)(Java Doc) abstract protected PreparedStatement getDeleteStatement(Connection conn, String path, String key) throws SQLException, FxNoAccessException(Code)(Java Doc) abstract protected PreparedStatement getInsertStatement(Connection conn, String path, String key, String value) throws SQLException, FxNoAccessException(Code)(Java Doc) final public Collection<String> getKeys(Parameter<T> parameter) throws FxApplicationException(Code)(Java Doc) protected Object getParameter(Parameter<T> parameter, String path, String key) throws FxLoadException, FxNotFoundException(Code)(Java Doc) abstract protected PreparedStatement getSelectStatement(Connection conn, String path, String key) throws SQLException(Code)(Java Doc) abstract protected PreparedStatement getSelectStatement(Connection conn, String path) throws SQLException(Code)(Java Doc) abstract protected PreparedStatement getUpdateStatement(Connection conn, String path, String key, String value) throws SQLException, FxNoAccessException(Code)(Java Doc) protected T loadParameterFromDb(Parameter<T> parameter) throws FxNotFoundException, FxLoadException(Code)(Java Doc) protected Serializable loadParameterFromDb(String path, String key) throws FxLoadException, FxNotFoundException(Code)(Java Doc) protected void logCacheHit(String path, String key)(Code)(Java Doc) protected void logCacheMiss(String path, String key)(Code)(Java Doc) public void put(Parameter<T> parameter, String key, T value) throws FxApplicationException(Code)(Java Doc) final public void put(Parameter<T> parameter, T value) throws FxApplicationException(Code)(Java Doc) protected void putCache(String path, String key, Serializable value)(Code)(Java Doc) public void remove(Parameter<T> parameter, String key) throws FxApplicationException(Code)(Java Doc) final public void remove(Parameter<T> parameter) throws FxApplicationException(Code)(Java Doc) final public void removeAll(Parameter<T> parameter) throws FxApplicationException(Code)(Java Doc)
|
|
|