예제 #1
0
 /**
  * Method delete.
  *
  * @param like LikeAlbum
  * @see es.udc.fi.dc.photoalbum.spring.LikeService#delete(LikeAlbum)
  */
 @Override
 public void delete(LikeAlbum like) {
   Likefield l = like.getLike();
   likeAlbumDao.delete(like);
   likeDao.delete(l);
 }
예제 #2
0
 /**
  * Method delete.
  *
  * @param like LikeComment
  * @see es.udc.fi.dc.photoalbum.spring.LikeService#delete(LikeComment)
  */
 @Override
 public void delete(LikeComment like) {
   Likefield l = like.getLike();
   likeCommentDao.delete(like);
   likeDao.delete(l);
 }