|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jso.remote.StorageManagerProxy
Proxy for remote storage managers.
Constructor Summary | |
StorageManagerProxy(RemoteStorageManager aManager)
Constructs the proxy. |
Method Summary | |
void |
addStatusListener(StatusListener listener)
Not supported. |
void |
addStorageListener(StorageListener listener)
Not supported. |
void |
batchStore(java.util.Collection objs,
boolean deep)
Not supported. |
void |
classAltered(SchemaEvent event)
Called when a class in the schema is altered. |
void |
classDropped(SchemaEvent event)
Called when a class in the schema is dropped. |
int |
count(Parameters params)
Not supported. |
int |
count(Parameters params,
Transaction tx)
Not supported. |
int |
countPages(Parameters params)
Not supported. |
int |
countPages(Parameters params,
Transaction tx)
Not supported. |
OID |
createOID(java.lang.Object obj)
Not supported. |
void |
delete(java.lang.Object obj)
Not supported. |
void |
delete(OID oid)
Not supported. |
int |
delete(Parameters params)
Not supported. |
boolean |
equals(java.lang.Object o)
Indicates whether some other proxy is "equal to" this one. |
ManagerInfo |
getManagerInfo()
Not supported. |
OID |
getOID(java.lang.Object obj)
Not supported. |
Status |
getStatus()
Not supported. |
Transaction |
getTransaction()
Not supported. |
int |
hashCode()
Returns a hash code value for the proxy. |
void |
invalidateCache()
Not supported. |
boolean |
isRemote()
Indicates if manager is running on another JVM. |
void |
objectDeleted(StorageEvent event)
Called when an object is deleted. |
void |
objectStored(StorageEvent event)
Called when an object is stored. |
void |
removeStatusListener(StatusListener listener)
Not supported. |
void |
removeStorageListener(StorageListener listener)
Not supported. |
java.lang.Object |
retrieve(OID oid)
Not supported. |
java.lang.Object |
retrieve(OID oid,
boolean summary)
Not supported. |
java.lang.Object |
retrieve(OID oid,
boolean summary,
boolean lazy)
Not supported. |
java.util.List |
retrieve(Parameters params)
Not supported. |
java.util.List |
retrieve(Parameters params,
Transaction tx)
Not supported. |
void |
start(StorageController aController)
Not supported. |
void |
statusChanged(StatusEvent event)
Called when a status change occur. |
void |
stop()
Not supported. |
OID |
store(java.lang.Object obj)
Not supported. |
OID |
store(java.lang.Object obj,
boolean deep)
Not supported. |
void |
subclassCreated(SchemaEvent event)
Called when a class in the schema is created and is subclass of another class. |
void |
subclassDropped(SchemaEvent event)
Called when a class in the schema is dropped and is subclass of another class. |
void |
unlinkTransientObjects()
Not supported. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StorageManagerProxy(RemoteStorageManager aManager)
aManager
- Reference to remote storage manager.Method Detail |
public void start(StorageController aController) throws StorageException
start
in interface StorageManager
aController
- Application's controller.
RuntimeStorageException
- Always.
StorageException
public void stop() throws StorageException
stop
in interface StorageManager
RuntimeStorageException
- Always.
StorageException
public Status getStatus()
getStatus
in interface StorageManager
RuntimeStorageException
- Always.public boolean isRemote()
StorageManager
isRemote
in interface StorageManager
true
if manager is running on another JVM;
false
otherwise.StorageManager.isRemote()
public void invalidateCache()
invalidateCache
in interface StorageManager
RuntimeStorageException
- Always.public ManagerInfo getManagerInfo()
getManagerInfo
in interface StorageManager
RuntimeStorageException
- Always.public Transaction getTransaction() throws StorageException
getTransaction
in interface StorageManager
RuntimeStorageException
- Always.
StorageException
public OID createOID(java.lang.Object obj)
createOID
in interface StorageManager
obj
- An OID representation. Usually a String
or
Number
object.
RuntimeStorageException
- Always.public OID getOID(java.lang.Object obj) throws StorageException
getOID
in interface StorageManager
obj
- The object to be identified.
RuntimeStorageException
- Always.
StorageException
public void unlinkTransientObjects()
unlinkTransientObjects
in interface StorageManager
RuntimeStorageException
- Always.public OID store(java.lang.Object obj) throws StorageException
store
in interface StorageManager
obj
- The object to be stored.
RuntimeStorageException
- Always.
StorageException
- If any storage operation fails.public OID store(java.lang.Object obj, boolean deep) throws StorageException
store
in interface StorageManager
obj
- The object to be stored.deep
- Indicates if referenced objects should also be stored.
RuntimeStorageException
- Always.
StorageException
- If any storage operation fails.public void batchStore(java.util.Collection objs, boolean deep) throws StorageException
batchStore
in interface StorageManager
objs
- The collection of object to be stored.deep
- Indicates if referenced objects should also be stored.
RuntimeStorageException
- Always.
StorageException
- If any storage operation fails.public java.lang.Object retrieve(OID oid) throws StorageException
retrieve
in interface StorageManager
oid
- The identification of object to be stored.
RuntimeStorageException
- Always.
StorageException
- If any storage operation fails.public java.lang.Object retrieve(OID oid, boolean summary) throws StorageException
retrieve
in interface StorageManager
oid
- The identification of object to be stored.summary
- Indicates if only summary fields should be retrieved.
RuntimeStorageException
- Always.
StorageException
- If any storage operation fails.public java.lang.Object retrieve(OID oid, boolean summary, boolean lazy) throws StorageException
retrieve
in interface StorageManager
oid
- The identification of object to be stored.summary
- Indicates if only summary fields should be retrieved.lazy
- Indicates if referenced objects should be lazy loaded.
RuntimeStorageException
- Always.
StorageException
- If any storage operation fails.public void delete(java.lang.Object obj) throws StorageException
delete
in interface StorageManager
obj
- The object to be deleted.
RuntimeStorageException
- Always.
StorageException
- If any storage operation fails.public void delete(OID oid) throws StorageException
delete
in interface StorageManager
oid
- The identification of object to be deleted.
RuntimeStorageException
- Always.
StorageException
- If any storage operation fails.public int delete(Parameters params) throws StorageException
delete
in interface StorageManager
params
- Parameters to be used.
RuntimeStorageException
- Always.
StorageException
- If any storage operation fails.public void addStatusListener(StatusListener listener)
addStatusListener
in interface StorageManager
listener
- Listener to receive status events.
RuntimeStorageException
- Always.public void removeStatusListener(StatusListener listener)
removeStatusListener
in interface StorageManager
listener
- Listener to stop receiving status events.
RuntimeStorageException
- Always.public void addStorageListener(StorageListener listener)
addStorageListener
in interface StorageManager
listener
- Listener to receive storage events.
RuntimeStorageException
- Always.public void removeStorageListener(StorageListener listener)
removeStorageListener
in interface StorageManager
listener
- Listener to stop receiving storage events.
RuntimeStorageException
- Always.public int count(Parameters params, Transaction tx) throws StorageException
RuntimeStorageException
- Always.
StorageException
public int count(Parameters params) throws StorageException
count
in interface QueryProcessor
params
- Parameters to be used.
RuntimeStorageException
- Always.
StorageException
- If any storage operation fails.public int countPages(Parameters params, Transaction tx) throws StorageException
RuntimeStorageException
- Always.
StorageException
public int countPages(Parameters params) throws StorageException
countPages
in interface QueryProcessor
params
- Parameters to be used.
RuntimeStorageException
- Always.
StorageException
- If any storage operation fails.public java.util.List retrieve(Parameters params, Transaction tx) throws StorageException
RuntimeStorageException
- Always.
StorageException
public java.util.List retrieve(Parameters params) throws StorageException
retrieve
in interface QueryProcessor
params
- Parameters to be used.
RuntimeStorageException
- Always.
StorageException
- If any storage operation fails.public void statusChanged(StatusEvent event)
StatusListener
statusChanged
in interface StatusListener
StatusListener.statusChanged(StatusEvent)
public void objectStored(StorageEvent event)
StorageListener
objectStored
in interface StorageListener
StorageListener.objectStored(StorageEvent)
public void objectDeleted(StorageEvent event)
StorageListener
objectDeleted
in interface StorageListener
StorageListener.objectDeleted(StorageEvent)
public void classAltered(SchemaEvent event)
SchemaListener
classAltered
in interface SchemaListener
SchemaListener.classAltered(SchemaEvent)
public void classDropped(SchemaEvent event)
SchemaListener
classDropped
in interface SchemaListener
SchemaListener.classDropped(SchemaEvent)
public void subclassCreated(SchemaEvent event)
SchemaListener
subclassCreated
in interface SchemaListener
SchemaListener.subclassCreated(SchemaEvent)
public void subclassDropped(SchemaEvent event)
SchemaListener
subclassDropped
in interface SchemaListener
SchemaListener.subclassDropped(SchemaEvent)
public boolean equals(java.lang.Object o)
o
- The object with which to compare.
true
if the proxy is the same as the proxy argument;
false
otherwise.public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |