|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public ModelPersistenceProvider
| Method Summary | |
|---|---|
void |
findBySelection(ModelUrl url,
Object selection,
Object callback,
Object parameters)
Returns the selected objects. |
Object |
create(Object context)
Creates an object based on a given context. |
void |
remove(Array objects,
Object callback,
Object parameters)
Removes the specified objects. |
void |
store(Array objects,
Object callback,
Object parameters)
Stores the specified objects. |
Identifiable |
getModifiable(Identifiable node)
Returns the modifiable node of the provided node, if node is not already modifiable. |
| Method Detail |
|---|
void findBySelection(ModelUrl url,
Object selection,
Object callback,
Object parameters)
url -
url that specifies the object(s) to findselection -
selection criteria; for details on the selection object, refer to the model specific documentationcallback -
callback function, which is called with the following arguments: function(result, status, parameters), whereparameters -
parameters to pass to the callback function; optionalObject create(Object context)
context -
context defining properties for the object to create; for details on the selection object, refer to the model specific documentation
void remove(Array objects,
Object callback,
Object parameters)
objects -
array of objects to removecallback -
callback function, which is called with the following arguments: function(status, parameters), whereparameters -
parameters to pass to the callback function; optional
void store(Array objects,
Object callback,
Object parameters)
objects -
array of objects to store.callback -
callback function, which is called with the following arguments: function(status, parameters), whereparameters -
parameters to pass to the callback function; optionalIdentifiable getModifiable(Identifiable node)
node is not already modifiable.
node -
the node to get the modifiable for.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||