Package org.dmlite.model.component.category

Examples of org.dmlite.model.component.category.Category


   */
  public Questions getCategoryQuestions(String categoryName) {
    Questions categoryQuestions = null;
    Categories categories = (Categories) getDomainModel().getEntry(
        "Categories");
    Category category = categories.getCategory(categoryName);
    if (category != null) {
      categoryQuestions = getCategoryQuestions(category.getOid());
    }
    return categoryQuestions;
  }
View Full Code Here


    try {
      question = new Question(getDomainModel());
      question.setQuestion(questionText);
      Categories categories = (Categories) getDomainModel().getEntry(
          "Categories");
      Category category = categories.getCategory(categoryName);
      if (category != null) {
        question.setCategory(category);
      }
      if (!add(question)) {
        question = null;
View Full Code Here

TOP

Related Classes of org.dmlite.model.component.category.Category

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.