| java.lang.Object org.openharmonise.commons.cache.AbstractCache org.openharmonise.rm.factory.GeneralCache
GeneralCache | final public class GeneralCache extends AbstractCache implements EditEventListener(Code) | | Extends AbstractCache to cache instances of the core classes
in Harmonise.
author: Michael Bell version: $Revision: 1.3 $ |
m_path_cache | protected Map m_path_cache(Code) | | A Map mapping between paths and object cache keys
|
GeneralCache | public GeneralCache(AbstractDataStoreInterface dbinterf, String sClassname) throws CacheException(Code) | | Creates cache with default parameters with the given data store
interface and named after the class name.
Parameters: dbinterf - the data store interface Parameters: sClassname - the name of class which is cached in this cache throws: CacheException - if the class name is not valid |
clearCache | public void clearCache()(Code) | | |
createObject | public static Object createObject(AbstractDataStoreInterface dbintrf, String sClassName) throws CacheException(Code) | | Create a new instance of the specified class name.
Parameters: dbintrf - the data store interface to be used in constructing new instance Parameters: sClassName - the name of class to be instantiated a new instance of the specified class name throws: CacheException - if an error occurs instantiating the new object |
createObject | public static Object createObject(AbstractDataStoreInterface dbintrf, String sClassName, int nId) throws CacheException(Code) | | Creates an instance of the specified class name with the specified id.
Parameters: dbintrf - the data store interface to be used in constructing new instance Parameters: sClassName - the name of class to be instantiated Parameters: nId - the id of instance to be created an instance of the specified class name with the specified id throws: CacheException - if an error occurs instantiating the new object |
createObject | public static Object createObject(AbstractDataStoreInterface dbintrf, String sClassName, String sName) throws CacheException(Code) | | Creates an instance of the specified class name with the specified name.
Parameters: dbintrf - the data store interface to be used in constructing new instance Parameters: sClassName - the name of class to be instantiated Parameters: sName - the name of instance to be created an instance of the specified class name with the specified name throws: CacheException - if an error occurs instantiating the new object |
getIdKeyFromPath | public static int getIdKeyFromPath(AbstractDataStoreInterface dbintrf, DataStoreObject dsObj, String sFullPath) throws CacheException(Code) | | Returns an id for an object of the specified path.
Parameters: dbintrf - the data store interface Parameters: dsObj - DataStoreObject which provides access to the relaventColumnRef objects used in any DB queries Parameters: sFullPath - the path of the object an id for an object of the specified path throws: CacheException - if an error occurs building the query from theparameters given |
getObjectFromPath | public Object getObjectFromPath(String sPath) throws CacheException(Code) | | Returns an object from the cache which matches the given path.
Parameters: sPath - the path of object to return an object from the cache which matches the given path. throws: CacheException - if there is an error instantiating the requested object |
removeObjectFromCache | public void removeObjectFromCache(Object cache_key)(Code) | | |
workflowObjectArchived | public void workflowObjectArchived(EditEvent event)(Code) | | |
workflowObjectLocked | public void workflowObjectLocked(EditEvent event)(Code) | | |
workflowObjectReactivated | public void workflowObjectReactivated(EditEvent event)(Code) | | |
workflowObjectStatusChanged | public void workflowObjectStatusChanged(EditEvent event)(Code) | | |
workflowObjectUnlocked | public void workflowObjectUnlocked(EditEvent event)(Code) | | |
|
|