com.waveset.adapter
Class SimulatedResourceAdapter.ResourceObjects
java.lang.Object
com.waveset.adapter.SimulatedResourceAdapter.ResourceObjects
- Enclosing class:
- SimulatedResourceAdapter
- public static class SimulatedResourceAdapter.ResourceObjects
- extends java.lang.Object
A class maintaining a collection of "resource objects" managed
by a particular resource. This will eventually be read from a file,
for now we'll build these manually.
Method Summary |
WavesetResult |
createObject(java.lang.String type,
java.lang.String id,
java.util.Map attributes,
java.util.Map options)
|
GenericObject |
getObject(java.lang.String type,
java.lang.String objectId,
java.util.Map attrsToGet,
java.util.Map options)
|
GenericObject |
getObjectSchema(java.lang.String type,
java.lang.String scope)
|
java.util.ArrayList |
listObjects(java.lang.String type,
java.util.Map options)
|
WavesetResult |
updateObject(java.lang.String type,
java.lang.String id,
java.util.Map attributes,
java.util.Map options)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimulatedResourceAdapter.ResourceObjects
public SimulatedResourceAdapter.ResourceObjects(SimulatedResourceAdapter.State state)
getObjectSchema
public GenericObject getObjectSchema(java.lang.String type,
java.lang.String scope)
throws WavesetException
- Throws:
WavesetException
listObjects
public java.util.ArrayList listObjects(java.lang.String type,
java.util.Map options)
getObject
public GenericObject getObject(java.lang.String type,
java.lang.String objectId,
java.util.Map attrsToGet,
java.util.Map options)
throws WavesetException
- Throws:
WavesetException
createObject
public WavesetResult createObject(java.lang.String type,
java.lang.String id,
java.util.Map attributes,
java.util.Map options)
throws WavesetException
- Throws:
WavesetException
updateObject
public WavesetResult updateObject(java.lang.String type,
java.lang.String id,
java.util.Map attributes,
java.util.Map options)
throws WavesetException
- Throws:
WavesetException