|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cle.persistence.DeploymentConnector | +--oracle.cle.persistence.DeploymentAutoConnector | +--oracle.cle.persistence.Handler
The superclass for classes that handle persistence queries for a specific resource.
Constructor Summary | |
Handler()
|
Method Summary | |
void |
commitChanges(java.lang.Object sessionId,
boolean commitAndResume)
Empty Implementation |
java.lang.Object |
createObject(java.util.Map defaultValues)
Make a new instance of the specified Object for which this Handler is being constructed. |
java.lang.Object |
createObject(java.util.Map defaultValues,
java.lang.Object sessionId)
Make a new instance of the specified Object for which this Handler is being constructed. |
void |
deleteObject(java.lang.Object key)
Delete the Resource with the specified key. |
void |
deleteObject(java.lang.Object key,
java.lang.Object sessionId)
Delete the Resource with the specified key. |
void |
deleteObject(Resource aResource,
java.lang.Object sessionId)
Deprecated. Use deleteObject(Object, Object) instead. Handler will now work against any business object interface, not only those extending Resource. Resource is deprecated. |
java.lang.Object |
findObject(java.lang.Object key)
Get the Object for the specified key |
java.lang.Object |
findObject(java.lang.Object key,
java.lang.Object sessionId)
Get the Object for the specified key |
java.util.Vector |
getAllObjects()
Returns all the objects of the Resource for which this Handler was built. |
java.util.Vector |
getAllObjects(java.lang.Object sessionId)
Returns all the objects of the Resource for which this Handler was built. |
Resource |
getObject(java.lang.Object key,
java.lang.Object sessionId)
Deprecated. Use findObject instead. Handler will now work against any business object interface, not only those extending Resource. Resource is deprecated. |
Resource |
newObject(java.lang.Object sessionId)
Deprecated. Use createObject instead. Handler will now work against any business object interface, not only those extending Resource. Resource ise deprecated. |
java.lang.Object |
registerForChanges(Resource anObject,
java.lang.Object sessionId)
Deprecated. |
java.util.Vector |
registerForChanges(java.util.Vector objects,
java.lang.Object sessionId)
Implements a loop for registering registering multiple objects for changes. |
void |
startTransaction(java.lang.Object sessionId)
Empty Implementation |
void |
startTransaction(java.lang.Object sessionId,
java.util.Vector readOnlyClasses)
Empty Implementation |
Methods inherited from class oracle.cle.persistence.DeploymentAutoConnector |
getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getReferenceClass, releaseConnection, releaseConnection, releaseConnection, releaseConnection |
Methods inherited from class oracle.cle.persistence.DeploymentConnector |
deploymentKeyNotFound, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getDeploymentKey, getDeploymentKey, getDeploymentKey, getProvider, getProvider, providerNotSupported, releaseConnection, releaseConnection, releaseConnection, releaseConnection, releaseConnection, releaseConnection, releaseConnection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Handler()
Method Detail |
public java.lang.Object createObject(java.util.Map defaultValues, java.lang.Object sessionId) throws java.lang.Exception
If this method is not implemented for a given concrete Handler, then it will throw an UnsupportedOperationException
createObject
in interface HandlerDefinition
java.lang.Exception
- public java.lang.Object createObject(java.util.Map defaultValues) throws java.lang.Exception
If this method is not implemented for a given concrete Handler, then it will throw an UnsupportedOperationException
createObject
in interface HandlerDefinition
java.lang.Exception
- public Resource newObject(java.lang.Object sessionId) throws java.lang.Exception
If this method is not implemented for a given concrete Handler, then it will throw an UnsupportedOperationException
newObject
in interface HandlerDefinition
public java.util.Vector getAllObjects(java.lang.Object sessionId) throws java.lang.Exception
If this method is not implemented for a given concrete Handler, then it will throw an UnsupportedOperationException
getAllObjects
in interface HandlerDefinition
oracle.cle.persistence.HandlerDefinition
public java.util.Vector getAllObjects() throws java.lang.Exception
If this method is not implemented for a given concrete Handler, then it will throw an UnsupportedOperationException
getAllObjects
in interface HandlerDefinition
oracle.cle.persistence.HandlerDefinition
public java.lang.Object findObject(java.lang.Object key, java.lang.Object sessionId) throws java.lang.Exception
If this method is not implemented for a given concrete Handler, then it will throw an UnsupportedOperationException
findObject
in interface HandlerDefinition
public java.lang.Object findObject(java.lang.Object key) throws java.lang.Exception
If this method is not implemented for a given concrete Handler, then it will throw an UnsupportedOperationException
findObject
in interface HandlerDefinition
public Resource getObject(java.lang.Object key, java.lang.Object sessionId) throws java.lang.Exception
If this method is not implemented for a given concrete Handler, then it will throw an UnsupportedOperationException
getObject
in interface HandlerDefinition
public void deleteObject(java.lang.Object key, java.lang.Object sessionId) throws java.lang.Exception
If this method is not implemented for a given concrete Handler, then it will throw an UnsupportedOperationException
deleteObject
in interface HandlerDefinition
public void deleteObject(java.lang.Object key) throws java.lang.Exception
If this method is not implemented for a given concrete Handler, then it will throw an UnsupportedOperationException
deleteObject
in interface HandlerDefinition
public void deleteObject(Resource aResource, java.lang.Object sessionId) throws java.lang.Exception
If this method is not implemented for a given concrete Handler, then it will throw an UnsupportedOperationException
deleteObject
in interface HandlerDefinition
public void startTransaction(java.lang.Object sessionId) throws java.lang.Exception
java.lang.Exception
- public void startTransaction(java.lang.Object sessionId, java.util.Vector readOnlyClasses) throws java.lang.Exception
java.lang.Exception
- public java.lang.Object registerForChanges(Resource anObject, java.lang.Object sessionId) throws java.lang.Exception
java.lang.Exception
- public java.util.Vector registerForChanges(java.util.Vector objects, java.lang.Object sessionId) throws java.lang.Exception
java.lang.Exception
- public void commitChanges(java.lang.Object sessionId, boolean commitAndResume) throws java.lang.Exception
java.lang.Exception
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |