For a shared string this will return a number that can be used to reference the item in the persisted json.
The to return an identifier for.
For a given persist id this will return the item.
Called when done persisting.
Return a array of resources that have been added via add
.
A transient scope for items to ids that can be used for references.
See
IPersistable.beginPersist