18 package org.turro.dossier.util;
20 import org.turro.dossier.db.DossierPU;
21 import org.turro.dossier.entity.Category;
22 import org.turro.dossier.search.CategoryResults;
23 import org.turro.jpa.Dao;
24 import org.turro.plugin.dossier.ICategory;
32 private long id, parentId;
33 private String description;
42 this.description = description;
71 "insert into Category " +
72 "(identifier, description, knowledgeBase, ownsProjects) " +
73 "values (?, ?, 0, 0)",
77 }
else if(cat.
getParent() ==
null && parentId > 0) {
void setParent(Category parent)
static void saveCategory(Category category)
void setParentId(long id)
void setDescription(String description)
int executeNativeUpdate(SqlClause sc, Object... pars)