wip
This commit is contained in:
parent
6bb92717f5
commit
92461b6346
|
@ -194,6 +194,11 @@ public class EmpiLinkDaoSvc {
|
||||||
return myEmpiLinkDao.findAll(example);
|
return myEmpiLinkDao.findAll(example);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Delete all {@link EmpiLink} entities, and return all resource PIDs from the source of the relationship.
|
||||||
|
*
|
||||||
|
* @return A list of Long representing the related Person Pids.
|
||||||
|
*/
|
||||||
public List<Long> deleteAllEmpiLinksAndReturnPersonPids() {
|
public List<Long> deleteAllEmpiLinksAndReturnPersonPids() {
|
||||||
List<EmpiLink> all = myEmpiLinkDao.findAll();
|
List<EmpiLink> all = myEmpiLinkDao.findAll();
|
||||||
return deleteEmpiLinksAndReturnPersonPids(all);
|
return deleteEmpiLinksAndReturnPersonPids(all);
|
||||||
|
|
Loading…
Reference in New Issue