*
* @return the SUCCESS result
*/
public String unselect() throws ServiceException {
TargetList targetList = null;
Document document = null;
Set<Account> accounts = null;
if ("TargetList".equals(this.getRelationKey())) {
targetList = targetListService.getEntityById(TargetList.class,
Integer.valueOf(this.getRelationValue()));
accounts = targetList.getAccounts();
} else if ("Document".equals(this.getRelationKey())) {
document = documentService.getEntityById(Document.class,
Integer.valueOf(this.getRelationValue()));
accounts = document.getAccounts();
}
if (this.getSeleteIDs() != null) {
String[] ids = seleteIDs.split(",");
Collection<Account> selectedAccounts = new ArrayList<Account>();