* @throws dmLite
* action exception if there is a problem
*/
public boolean update(T entity, T updateEntity)
throws ActionException {
EntitiesAction entitiesUpdateAction = new UpdateAction();
entitiesUpdateAction.setEntities(this);
entitiesUpdateAction.setEntity(entity);
entitiesUpdateAction.setUpdateEntity(updateEntity);
try {
if (entity == updateEntity) {
String error = "The before update entity and the after update entity cannot be the same object.";
throw new ActionException(error, entitiesUpdateAction);
}