/** * Performs the actual write using the template. This can be overridden by * a subclass if necessary. * * @param items the list of items to be persisted. */ protected void doWrite(List<? extends T> items) { if(delete) { delete(items); } else { save(items); } }
/** * Performs the actual write using the template. This can be overridden by * a subclass if necessary. * * @param items the list of items to be persisted. */ protected void doWrite(List<? extends T> items) { if(delete) { delete(items); } else { save(items); } }