edu.internet2.middleware.grouper.dictionary.GrouperDictionaryDao Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grouper Show documentation
Show all versions of grouper Show documentation
Internet2 Groups Management Toolkit
package edu.internet2.middleware.grouper.dictionary;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.commons.lang3.StringUtils;
import edu.internet2.middleware.grouper.cfg.GrouperConfig;
import edu.internet2.middleware.grouper.util.GrouperUtil;
import edu.internet2.middleware.grouperClient.jdbc.GcDbAccess;
import edu.internet2.middleware.grouperClient.jdbc.GcPersistableHelper;
import edu.internet2.middleware.grouperClient.util.ExpirableCache;
import edu.internet2.middleware.grouperClient.util.GrouperClientUtils;
/**
* dao for dictionaries
* @author mchyzer
*
*/
public class GrouperDictionaryDao {
public GrouperDictionaryDao() {
}
/**
* get dictionary items by data provider for field and row assignments
* @param dataProviderInternalId
* @return internal id to value
*/
public static Map selectByDataProvider(Long dataProviderInternalId) {
if (dataProviderInternalId == null) {
throw new NullPointerException();
}
List