public boolean matchingTagExists(ElementDataObject entry, String tagText) { return tagHome.exists( entry.getPersonId(), entry.getElementDefinition().getId(), entry.getEntryId(), tagText); }
public void deleteTag(ElementDataObject entry, String text) { tagHome.delete( entry.getPersonId(), entry.getEntryId(), entry.getElementDefinition().getId(), text); }
public List<String> getTagList(ElementDataObject entry) { return tagHome.findAllByElement( entry.getPersonId(), entry.getElementDefinition().getId(), entry.getEntryId()); }
public void addTag(ElementDataObject entry, String text) { tagHome.insert( entry.getPersonId(), entry.getEntryId(), entry.getElementDefinition().getId(), text); }