RestOperationsannotation is used to specify which CRUD operations should be enabled for entity. RestOperations value is an array of one or more values specified in
RestOperationenum, that is: CREATE, READ, UPDATE, DELETE. There is also one special value - ALL. When provided, all CRUD operations are enabled for entity, regardless of presence of other values.
This annotation is processed by
org.motechproject.mds.annotations.internal.RestOperationsProcessorand can be applied only to class which is also annotated with
org.motechproject.mds.annotations.Entity. It has no effect otherwise.