- addChangeListener
Adds a listener to ChangeEvent.
- addPostCommitListener
Adds a listener to PostCommitEvent. You can also add an event listener
declaratively using a control
- commit
Commits changed and removed instances to the middleware. After successful
commit, the context contai
- evict
Removes the entity from the context so the context stops tracking it. If the
given entity is not in
- getParent
Returns a parent context, if any. If the parent context is set, #commit() method
merges the changed
- hasChanges
Returns true if the context has detected changes in the tracked entities.
- isModified
Returns true if the context has detected changes in the given entity.
- isRemoved
Returns true if the context has registered removal of the given entity.
- merge
Merge the given entities into the context. The whole object graph for each
element of the collection
- remove
Removes the entity from the context and registers it as deleted. The entity will
be removed from the
- setParent
Sets the parent context. If the parent context is set, #commit() method merges
the changed instances