19 package org.turro.groupit;
21 import java.util.Collection;
22 import org.turro.string.Strings;
23 import org.turro.contacts.FieldIt;
24 import org.turro.contacts.Grouped;
25 import org.turro.contacts.db.ContactsPU;
26 import org.turro.elephant.context.IConstructor;
27 import org.turro.fieldit.FieldItSet;
28 import org.turro.fieldit.FieldItUtil;
29 import org.turro.fieldit.ValueItSet;
30 import org.turro.jpa.Dao;
38 public static void saveValues(Collection<Grouped> values) {
43 }
else if(!Strings.isBlank(v.getId())) {
69 public static Collection<String>
getPathsFromGroup(String path, String selectedGroup, String selectedCategory) {
73 public static Collection<String>
getPathsFromGroup(String path, String selectedGroup, String selectedCategory,
boolean exact) {
74 return Grouped.
paths(path, selectedGroup, selectedCategory, exact);
85 fis.addAll(g.getParent().fields());
static ValueIt value(FieldIt field, String path)
static String getCategory(IConstructor constructor, String pathOrigin)
static void setSelectedGroup(IConstructor constructor, String pathOrigin, String value)
static ValueItSet getValues(String entityPath)
static void setCategory(IConstructor constructor, String pathOrigin, String value)
static Collection< String > getPathsFromCategory(String path, String category)
static FieldItSet getFields(String entityPath)
static void saveValues(Collection< Grouped > values)
static Collection< String > getPathsFromGroup(String path, String selectedGroup, String selectedCategory)
static Collection< String > getPathsFromGroup(String path, String selectedGroup, String selectedCategory, boolean exact)
static String getSelectedGroup(IConstructor constructor, String pathOrigin)
void deleteObject(Object obj)
void setSessionAttribute(String key, Object value)
Object getSessionAttribute(String key)