You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2cf4ee5
Browse filesBrowse the repository at this point in the historyBrowse files
eugenp
committed
- work on sorting and integration testing related to sorting
@@ -69,38 +66,27 @@ public T save( final T entity ){
69
66
publicvoidupdate( finalTentity ){
70
67
Preconditions.checkNotNull( entity );
71
68
72
-
getDao().save( entity );
69
+
this.getDao().save( entity );
73
70
}
74
71
75
72
// delete
76
73
77
74
@Override
78
75
publicvoiddeleteAll(){
79
-
getDao().deleteAll();
76
+
this.getDao().deleteAll();
80
77
}
81
78
@Override
82
79
publicvoiddelete( finalList< T > entities ){
83
80
Preconditions.checkNotNull( entities );
84
81
85
-
getDao().delete( entities );
82
+
this.getDao().delete( entities );
86
83
}
87
84
@Override
88
85
publicvoiddelete( finallongid ){
89
-
/*final T entity = this.findOne( id );
90
-
RestPreconditions.checkNotNull( entity );*/
91
-
// - note: disabled because it doesn't belong here; it doesn't really belong in the controller either, so I'm catching the exception and translating in the controller - and this will go away
92
-
93
-
getDao().delete( id );
86
+
this.getDao().delete( id );
94
87
}
95
88
96
-
// template method
97
-
89
+
//
98
90
protectedabstractPagingAndSortingRepository< T, Long > getDao();
0 commit comments