public class GcGrouperSyncGroupDao extends Object
| Constructor and Description |
|---|
GcGrouperSyncGroupDao() |
| Modifier and Type | Method and Description |
|---|---|
GcGrouperSync |
getGcGrouperSync() |
GcGrouperSyncGroup |
groupCreateByGroupId(String groupId)
select grouper sync group by group id.
|
GcGrouperSyncLog |
groupCreateLog(GcGrouperSyncGroup gcGrouperSyncGroup) |
int |
groupDelete(Collection<GcGrouperSyncGroup> gcGrouperSyncGroups,
boolean deleteMemberships,
boolean deleteLogs)
delete batch
|
int |
groupDelete(GcGrouperSyncGroup gcGrouperSyncGroup,
boolean deleteMemberships,
boolean deleteLogs)
delete sync group
|
int |
groupDeleteAll(boolean deleteMemberships,
boolean deleteLogs)
delete all groups for a sync
|
List<GcGrouperSyncGroup> |
groupRetrieveAll()
select grouper sync group by sync id and group id
|
GcGrouperSyncGroup |
groupRetrieveByGroupId(String groupId)
select grouper sync group by group id
|
Map<String,GcGrouperSyncGroup> |
groupRetrieveByGroupIds(Collection<String> grouperGroupIdsCollection)
select grouper sync group by sync id and group id
|
GcGrouperSyncGroup |
groupRetrieveById(String gcGrouperSyncGroupId)
select grouper sync group by id
|
Map<String,GcGrouperSyncGroup> |
groupRetrieveByIds(Collection<String> gcGrouperSyncGroupIds)
select grouper sync groups by ids
|
GcGrouperSyncGroup |
groupRetrieveOrCreateByGroupId(String groupId)
select grouper sync group by group id.
|
Map<String,GcGrouperSyncGroup> |
groupRetrieveOrCreateByGroupIds(Collection<String> grouperGroupIdsCollection)
select grouper sync group by group id.
|
void |
internal_groupCacheDelete(GcGrouperSyncGroup gcGrouperSyncGroup) |
GcGrouperSyncGroup |
internal_groupCreateByGroupIdHelper(String groupId)
select grouper sync group by group id.
|
List<GcGrouperSyncGroup> |
internal_groupRetrieveFromDbAll()
select grouper sync group by sync id and group id
|
GcGrouperSyncGroup |
internal_groupRetrieveFromDbByGroupId(String groupId)
select grouper sync group by group id
|
Map<String,GcGrouperSyncGroup> |
internal_groupRetrieveFromDbByGroupIds(Collection<String> grouperGroupIdsCollection)
select grouper sync group by sync id and group id
|
GcGrouperSyncGroup |
internal_groupRetrieveFromDbById(String gcGrouperSyncGroupId)
select grouper sync group by gcGrouperSyncGroupId id
|
Map<String,GcGrouperSyncGroup> |
internal_groupRetrieveFromDbByIds(Collection<String> syncGroupIdsCollection)
select grouper sync group by sync id and group id
|
int |
internal_groupStore(Collection<GcGrouperSyncGroup> gcGrouperSyncGroups)
store batch, generally call this from store all objects from GcGrouperSync
|
void |
internal_groupStore(GcGrouperSyncGroup gcGrouperSyncGroup)
store batch, generally call this from store all objects from GcGrouperSync
|
int |
internal_groupStoreAll() |
Map<String,Integer> |
retrieveErrorCountByCode()
get count of rows per error code
|
List<String> |
retrieveGroupIdsWithErrorsAfterMillis(Timestamp errorTimestampCheckFrom)
get group ids with errors after error timestamp
|
void |
setGcGrouperSync(GcGrouperSync gcGrouperSync) |
public GcGrouperSyncGroup groupCreateByGroupId(String groupId)
connectionName - groupId - public GcGrouperSyncGroup internal_groupCreateByGroupIdHelper(String groupId)
connectionName - groupId - public int groupDelete(Collection<GcGrouperSyncGroup> gcGrouperSyncGroups, boolean deleteMemberships, boolean deleteLogs)
gcGrouperSyncGroups - public int groupDelete(GcGrouperSyncGroup gcGrouperSyncGroup, boolean deleteMemberships, boolean deleteLogs)
gcGrouperSyncGroup - public int groupDeleteAll(boolean deleteMemberships,
boolean deleteLogs)
deleteMemberships - true if delete memberships and logs for memberships toodeleteLogs - delete logs toopublic List<GcGrouperSyncGroup> groupRetrieveAll()
grouperSyncId - provisionerName - public GcGrouperSyncGroup groupRetrieveByGroupId(String groupId)
connectionName - groupId - public Map<String,GcGrouperSyncGroup> groupRetrieveByGroupIds(Collection<String> grouperGroupIdsCollection)
grouperSyncId - grouperGroupIdsCollection - provisionerName - public GcGrouperSyncGroup groupRetrieveById(String gcGrouperSyncGroupId)
gcGrouperSyncGroupId - public Map<String,GcGrouperSyncGroup> groupRetrieveByIds(Collection<String> gcGrouperSyncGroupIds)
gcGrouperSyncGroupIds - public GcGrouperSyncGroup groupRetrieveOrCreateByGroupId(String groupId)
connectionName - groupId - public Map<String,GcGrouperSyncGroup> groupRetrieveOrCreateByGroupIds(Collection<String> grouperGroupIdsCollection)
grouperSyncId - grouperGroupIdsCollection - provisionerName - public GcGrouperSyncLog groupCreateLog(GcGrouperSyncGroup gcGrouperSyncGroup)
gcGrouperSyncGroupId - public void internal_groupCacheDelete(GcGrouperSyncGroup gcGrouperSyncGroup)
gcGrouperSyncGroup - public List<GcGrouperSyncGroup> internal_groupRetrieveFromDbAll()
grouperSyncId - provisionerName - public GcGrouperSyncGroup internal_groupRetrieveFromDbByGroupId(String groupId)
connectionName - groupId - public Map<String,GcGrouperSyncGroup> internal_groupRetrieveFromDbByGroupIds(Collection<String> grouperGroupIdsCollection)
grouperSyncId - grouperGroupIdsCollection - provisionerName - public GcGrouperSyncGroup internal_groupRetrieveFromDbById(String gcGrouperSyncGroupId)
gcGrouperSyncGroupId - public Map<String,GcGrouperSyncGroup> internal_groupRetrieveFromDbByIds(Collection<String> syncGroupIdsCollection)
grouperSyncId - syncGroupIdsCollection - provisionerName - public GcGrouperSync getGcGrouperSync()
public void setGcGrouperSync(GcGrouperSync gcGrouperSync)
gcGrouperSync - public int internal_groupStoreAll()
public int internal_groupStore(Collection<GcGrouperSyncGroup> gcGrouperSyncGroups)
gcGrouperSyncGroups - public void internal_groupStore(GcGrouperSyncGroup gcGrouperSyncGroup)
gcGrouperSyncGroups - public List<String> retrieveGroupIdsWithErrorsAfterMillis(Timestamp errorTimestampCheckFrom)
errorTimestampCheckFrom - if null get allCopyright © 2021 Internet2. All rights reserved.