Represents an action taken against the collection. Used by
to determine a custom
based on this information.
- INSERT, SAVE have null query
- REMOVE has null document
- INSERT_LIST has null entityType, document, and query
- Mark Pollack
- Oliver Gierke
Create an instance of a
defaultWriteConcern the default write concern.
mongoActionOperation action being taken against the collection
collectionName the collection name, must not be null or empty.
entityType the POJO that is being operated against
document the converted DBObject from the POJO or Spring Update object
query the converted DBOjbect from the Spring Query object
Assert.hasText(collectionName, "Collection name must not be null or empty!");