Class GrouperDictionaryDao
java.lang.Object
edu.internet2.middleware.grouper.dictionary.GrouperDictionaryDao
dao for dictionaries
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
delete
(GrouperDictionary grouperDictionary) static Long
static void
reset()
delete all data if table is hereselectByDataProvider
(Long dataProviderInternalId) get dictionary items by data provider for field and row assignmentsselectByDataProviderAndMembers
(Long dataProviderInternalId, Set<Long> memberInternalIds) get dictionary items by data provider and members for field and row assignmentsstatic GrouperDictionary
selectByText
(String theText) static boolean
store
(GrouperDictionary grouperDictionary)
-
Constructor Details
-
GrouperDictionaryDao
public GrouperDictionaryDao()
-
-
Method Details
-
selectByDataProvider
get dictionary items by data provider for field and row assignments- Parameters:
dataProviderInternalId
-- Returns:
- internal id to value
-
selectByDataProviderAndMembers
public static Map<Long,String> selectByDataProviderAndMembers(Long dataProviderInternalId, Set<Long> memberInternalIds) get dictionary items by data provider and members for field and row assignments- Parameters:
dataProviderInternalId
-memberInternalIds
-- Returns:
- internal id to value
-
store
- Parameters:
grouperDictionary
-connectionName
-- Returns:
- true if changed
-
selectByText
-
delete
- Parameters:
connectionName
-
-
reset
public static void reset()delete all data if table is here -
findOrAdd
- Parameters:
string
-- Returns:
- the dictionary
-