|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to be implemented by Data Access Objects that allow data auditing
Method Summary | |
AuditableBusinessObject |
create(AuditableBusinessObject value)
Create a new object, the id value will be ignored |
AuditableBusinessObject |
findById(java.io.Serializable id)
Find an object by its identifier. |
AuditableBusinessObject |
findWithDetails(java.io.Serializable id)
Find an object and all related entities by its identifier. |
AuditableBusinessObject |
update(AuditableBusinessObject value)
Update an object |
Method Detail |
public AuditableBusinessObject findById(java.io.Serializable id)
id
- identifier
org.springframework.dao.DataRetrievalFailureException
- if an object with that id doesn't existpublic AuditableBusinessObject create(AuditableBusinessObject value)
value
-
public AuditableBusinessObject update(AuditableBusinessObject value)
value
- value to update
org.springframework.dao.OptimisticLockingFailureException
- if the value has been already updated or deletedpublic AuditableBusinessObject findWithDetails(java.io.Serializable id)
id
- identifier
org.springframework.dao.DataRetrievalFailureException
- if an object with that id doesn't exist
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |