wt.fc.cache
Interface ObjectReferenceCache

All Known Implementing Classes:
ObjectReferenceCacheFwd, StandardObjReferenceCacheService

public interface ObjectReferenceCache

ObjectReferenceCache defines the remotely invokeable method for the StandardObjCacheService.

Supported API: false

Extendable: false


Method Summary
 Persistable getObject(CachedObjectReference objRef)
          getObject will return a clone of the cached object from the Cache Service after checking access control.
 Persistable getReadOnlyObject(CachedObjectReference objRef)
          when Invoked on the server side getReadOnlyObject will return a reference to tha actual cached object.
 CachedObjectReference inflate(CachedObjectReference objRef)
          method used to inflate Cached Object References for client side attribute display and access.
 void showCacheState()
          method called by the ShowCacheState class, used primarily for debugging purposes, show the current caches contents.
 

Method Detail

getObject

public Persistable getObject(CachedObjectReference objRef)
                      throws WTException
getObject will return a clone of the cached object from the Cache Service after checking access control.

Supported API: false

Parameters:
objRef -
Returns:
Persistable
Throws:
WTException

getReadOnlyObject

public Persistable getReadOnlyObject(CachedObjectReference objRef)
                              throws WTException
when Invoked on the server side getReadOnlyObject will return a reference to tha actual cached object. I should NOT be modified as it will contaminate the cache. this method also enforce access contorl.

Supported API: false

Parameters:
objRef -
Returns:
Persistable
Throws:
WTException

inflate

public CachedObjectReference inflate(CachedObjectReference objRef)
                              throws WTException
method used to inflate Cached Object References for client side attribute display and access.

Supported API: false

Parameters:
objRef -
Returns:
CachedObjectReference
Throws:
WTException

showCacheState

public void showCacheState()
                    throws WTException
method called by the ShowCacheState class, used primarily for debugging purposes, show the current caches contents.

Supported API: false

Throws:
WTException