Package org.osforce.connect.entity.commons

Examples of org.osforce.connect.entity.commons.Tag


      questionService.updateQuestion(question);
    }
    // tags
    for(String name : tags) {
      if(StringUtils.isNotBlank(name)) {
        Tag tag = new Tag(name, question.getId(), Question.NAME);
        tag.setUserId(user.getId());
        tagService.createTag(tag);
      }
    }
    return String.format("redirect:/%s/knowledge/question/detail?questionId=%s",
        project.getUniqueId(), question.getId());
View Full Code Here


  public void deleteTag(Long tagId) {
    tagDao.delete(tagId);
  }
 
  public void deleteTag(String name, Long linkedId, String entity) {
    Tag tag = getTag(name, linkedId, entity);
    tagDao.delete(tag.getId());
  }
View Full Code Here

TOP

Related Classes of org.osforce.connect.entity.commons.Tag

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.