Example #1
0
 public void deleteTag(EntryKey entryKey, String tag) {
   tagHome.delete(
       entryKey.getPersonId(),
       entryKey.getEntryId(),
       entryKey.getElementDefinition().getId(),
       tag);
 }
Example #2
0
 public List<String> getTagsByEntryId(BigDecimal entryId) {
   return tagHome.findAllByEntryId(entryId);
 }
Example #3
0
 public boolean matchingTagExists(ElementDataObject entry, String tagText) {
   return tagHome.exists(
       entry.getPersonId(), entry.getElementDefinition().getId(), entry.getEntryId(), tagText);
 }
Example #4
0
 public List<String> getTagsByUser(String personId) {
   return tagHome.findByPersonId(personId);
 }
Example #5
0
 public List<String> getTagList(ElementDataObject entry) {
   return tagHome.findAllByElement(
       entry.getPersonId(), entry.getElementDefinition().getId(), entry.getEntryId());
 }
Example #6
0
 public void deleteTags(EntryKey entryKey) {
   tagHome.deleteAll(
       entryKey.getPersonId(), entryKey.getElementDefinition().getId(), entryKey.getEntryId());
 }
Example #7
0
 public void deleteTag(ElementDataObject entry, String text) {
   tagHome.delete(
       entry.getPersonId(), entry.getEntryId(), entry.getElementDefinition().getId(), text);
 }
Example #8
0
 public void addTag(EntryKey entry, String text) {
   tagHome.insert(
       entry.getPersonId(), entry.getEntryId(), entry.getElementDefinition().getId(), text);
 }