@Override public PhotosAlbum findById(String id) { return photosAlbumDao.findOne(id); }
@Override @Transactional public void create(PhotosAlbum album) { photosAlbumDao.save(album); }
public List<PhotosAlbum> findRootsByMember(String memberId) { List<PhotosAlbum> photosAlbums = photosAlbumDao.findRootsByMember(memberId); return photosAlbums; }
@Override public List<PhotosAlbum> getByParent(long ParentId) { return photosAlbumDao.findByParent(ParentId); }
@Override @Transactional public List<PhotosAlbum> findRoots() { List<PhotosAlbum> photosAlbums = photosAlbumDao.findRoots(); return photosAlbums; }