Class Foundation.Objv.ObjectStore
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Foundation.Objv.ObjectStore

java.lang.Object
   |
   +----Foundation.Objv.ObjectStore

public class ObjectStore
extends Object
This is the object for caching Teamware Foundation level objects from disk. Objects are stored incore, until changes are made to that object, then they are written out to the local directory specified by the environment variable TMW_PERSIST externally and ObjectClass.tmw_obj_store internally.
See Also:
ObjectClass, MetaClass

Variable Index

 o InternalTable

Constructor Index

 o ObjectStore()

Method Index

 o Delete(Integer)
Delete an object from the local cache.
 o Insert(Integer, Object)
Insert an object into the local cache.
 o Lookup(Integer)
Find an object by it's unique internal id.
 o Lookup(String)
Find an object by it's name.
 o Peek(Integer)
Check to see if an object is locally stored.

Variables

 o InternalTable
  public static Hashtable InternalTable

Constructors

 o ObjectStore
  public ObjectStore()

Methods

 o Lookup
  public static ObjectClass Lookup(Integer pid)
Find an object by it's unique internal id.
 o Lookup
  public static ObjectClass Lookup(String name)
Find an object by it's name. This operation is slightly more expensive as it iterates thorugh all available id's matching on name.
 o Peek
  public static boolean Peek(Integer pid)
Check to see if an object is locally stored. This is used for caching and searching between distributed Foundation levels.
 o Insert
  public static void Insert(Integer pid,
                            Object obj)
Insert an object into the local cache.
 o Delete
  public static void Delete(Integer pid)
Delete an object from the local cache.

All Packages  Class Hierarchy  This Package  Previous  Next  Index