Class GrouperProvisionerTargetDaoBase
java.lang.Object
edu.internet2.middleware.grouper.app.provisioning.targetDao.GrouperProvisionerTargetDaoBase
- Direct Known Subclasses:
GrouperAdobeTargetDao
,GrouperAzureTargetDao
,GrouperBoxTargetDao
,GrouperDigitalMarketplaceTargetDao
,GrouperDuoRoleTargetDao
,GrouperDuoTargetDao
,GrouperExampleWsGenericTargetDao
,GrouperExampleWsTargetDao
,GrouperGoogleTargetDao
,GrouperMessagingTargetDao
,GrouperProvisionerTargetDaoAdapter
,GrouperRemedyTargetDao
,GrouperScim2TargetDao
,LdapProvisioningTargetDao
,ProvisioningExampleFileWriter
,SqlProvisioningDao
,TeamDynamixTargetDao
generally when you deal with insert/update/delete/retrieve
you should use the "matchingId" of the parameter to the method.
Note: when you retrieve the data, you should not set the matchingId,
you should let the provisioning framework set that.
The results of retrieving a few objects should be in the same format
as when you retrieve all at once.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTargetDaoTimingInfo
(TargetDaoTimingInfo targetDaoTimingInfo) deleteEntities
(TargetDaoDeleteEntitiesRequest targetDaoDeleteEntitiesRequest) delete all these entities and either throw exception for all or mark each one with an exception set each provisioning object as "provisioned" after the insert/update/delete is done e.g.deleteEntity
(TargetDaoDeleteEntityRequest targetDaoDeleteEntityRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g.deleteGroup
(TargetDaoDeleteGroupRequest targetDaoDeleteGroupRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g.deleteGroups
(TargetDaoDeleteGroupsRequest targetDaoDeleteGroupsRequest) delete all these groups and either throw exception for all or mark each one with an exception set each provisioning object as "provisioned" after the insert/update/delete is done e.g.deleteMembership
(TargetDaoDeleteMembershipRequest targetDaoDeleteMembershipRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g.deleteMemberships
(TargetDaoDeleteMembershipsRequest targetDaoDeleteMembershipsRequest) delete all these Memberships and either throw exception for all or mark each one with an exception set each provisioning object as "provisioned" after the insert/update/delete is done e.g.reference back up to the provisionerinsertEntities
(TargetDaoInsertEntitiesRequest targetDaoInsertEntitiesRequest) insert all these groups and either throw exception for all or mark each one with an exception set each provisioning object as "provisioned" after the insert/update/delete is done e.g.insertEntity
(TargetDaoInsertEntityRequest targetDaoInsertEntityRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g.insertGroup
(TargetDaoInsertGroupRequest targetDaoInsertGroupRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g.insertGroups
(TargetDaoInsertGroupsRequest targetDaoInsertGroupsRequest) insert all these groups and either throw exception for all or mark each one with an exception set each provisioning object as "provisioned" after the insert/update/delete is done e.g.insertMembership
(TargetDaoInsertMembershipRequest targetDaoInsertMembershipRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g.insertMemberships
(TargetDaoInsertMembershipsRequest targetDaoInsertMembershipsRequest) insert all these Memberships and either throw exception for all or mark each one with an exception set each provisioning object as "provisioned" after the insert/update/delete is done e.g.boolean
start logging the source low level actionsstop logging and get the output only call this if you successfully started the loggingabstract void
registerGrouperProvisionerDaoCapabilities
(GrouperProvisionerDaoCapabilities grouperProvisionerDaoCapabilities) replaceGroupMemberships
(TargetDaoReplaceGroupMembershipsRequest targetDaoReplaceGroupMembershipsRequest) replace a groups memberships with this listretrieveAllData
(TargetDaoRetrieveAllDataRequest targetDaoRetrieveAllDataRequest) retrieve all data from the targetretrieveAllEntities
(TargetDaoRetrieveAllEntitiesRequest targetDaoRetrieveAllEntitiesRequest) dont return nullretrieveAllGroups
(TargetDaoRetrieveAllGroupsRequest targetDaoRetrieveAllGroupsRequest) retrieveAllMemberships
(TargetDaoRetrieveAllMembershipsRequest targetDaoRetrieveAllMembershipsRequest) retrieveEntities
(TargetDaoRetrieveEntitiesRequest targetDaoRetrieveEntitiesRequest) bulk retrieve target provisioning Entities, generally use the matching Ids in the targetEntitiesretrieveEntity
(TargetDaoRetrieveEntityRequest targetDaoRetrieveEntityRequest) return a Entity by matching id of grouper target Entity, or null if not foundretrieveGroup
(TargetDaoRetrieveGroupRequest targetDaoRetrieveGroupRequest) return a group by matching id of grouper target group, or null if not foundretrieveGroups
(TargetDaoRetrieveGroupsRequest targetDaoRetrieveGroupsRequest) bulk retrieve target provisioning groups, generally use the matching Ids in the targetGroupsretrieveIncrementalData
(TargetDaoRetrieveIncrementalDataRequest targetDaoRetrieveIncementalDataRequest) retrieve all incremental data from the target from the matching ids of the grouper translated and indexed target groupsretrieveMembership
(TargetDaoRetrieveMembershipRequest targetDaoRetrieveMembershipRequest) return a Membership by matching id of grouper target Membership, or null if not foundretrieveMemberships
(TargetDaoRetrieveMembershipsRequest targetDaoRetrieveMembershipsRequest) bulk retrieve target provisioning Memberships, generally use the matching Ids in the targetMembershipsretrieveMembershipsByEntities
(TargetDaoRetrieveMembershipsByEntitiesRequest targetDaoRetrieveMembershipsByEntitiesRequest) bulk retrieve target provisioning Memberships, generally use the matching Ids in the targetEntitiesretrieveMembershipsByEntity
(TargetDaoRetrieveMembershipsByEntityRequest targetDaoRetrieveMembershipsByEntityRequest) bulk retrieve all target provisioning Memberships related to these entityretrieveMembershipsByGroup
(TargetDaoRetrieveMembershipsByGroupRequest targetDaoRetrieveMembershipsByGroupRequest) bulk retrieve all target provisioning Memberships related to these groupretrieveMembershipsByGroups
(TargetDaoRetrieveMembershipsByGroupsRequest targetDaoRetrieveMembershipsByGroupsRequest) bulk retrieve all target provisioning Memberships related to these groups, generally use the matching Ids in the targetGroupssendChangesToTarget
(TargetDaoSendChangesToTargetRequest targetDaoSendChangesToTargetRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g.sendEntityChangesToTarget
(TargetDaoSendEntityChangesToTargetRequest targetDaoSendEntityChangesToTargetRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g.sendGroupChangesToTarget
(TargetDaoSendGroupChangesToTargetRequest targetDaoSendGroupChangesToTargetRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g.sendMembershipChangesToTarget
(TargetDaoSendMembershipChangesToTargetRequest targetDaoSendMembershipChangesToTargetRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g.void
setGrouperProvisioner
(GrouperProvisioner grouperProvisioner1) reference back up to the provisionervoid
setGrouperProvisionerDaoCapabilities
(GrouperProvisionerDaoCapabilities grouperProvisionerDaoCapabilities) void
setTargetDaoTimingInfos
(List<TargetDaoTimingInfo> targetDaoTimingInfos) updateEntities
(TargetDaoUpdateEntitiesRequest targetDaoUpdateEntitiesRequest) insert all these Entities and either throw exception for all or mark each one with an exception set each provisioning object as "provisioned" after the insert/update/delete is done e.g.updateEntity
(TargetDaoUpdateEntityRequest targetDaoUpdateEntityRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g.updateGroup
(TargetDaoUpdateGroupRequest targetDaoUpdateGroupRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g.updateGroups
(TargetDaoUpdateGroupsRequest targetDaoUpdateGroupsRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g.updateMembership
(TargetDaoUpdateMembershipRequest targetDaoUpdateMembershipRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g.updateMemberships
(TargetDaoUpdateMembershipsRequest targetDaoUpdateMembershipsRequest) update all these Memberships and either throw exception for all or mark each one with an exception set each provisioning object as "provisioned" after the insert/update/delete is done e.g.
-
Constructor Details
-
GrouperProvisionerTargetDaoBase
public GrouperProvisionerTargetDaoBase()
-
-
Method Details
-
loggingStart
public boolean loggingStart()start logging the source low level actions- Returns:
- true if the logging was started (i.e. can be stopped), or false if already started (in which case somewhere up the stack with stop it so dont stop it)
-
loggingStop
stop logging and get the output only call this if you successfully started the logging -
getGrouperProvisionerDaoCapabilities
-
setGrouperProvisionerDaoCapabilities
public void setGrouperProvisionerDaoCapabilities(GrouperProvisionerDaoCapabilities grouperProvisionerDaoCapabilities) -
registerGrouperProvisionerDaoCapabilities
public abstract void registerGrouperProvisionerDaoCapabilities(GrouperProvisionerDaoCapabilities grouperProvisionerDaoCapabilities) -
addTargetDaoTimingInfo
-
getTargetDaoTimingInfos
-
setTargetDaoTimingInfos
-
retrieveAllGroups
public TargetDaoRetrieveAllGroupsResponse retrieveAllGroups(TargetDaoRetrieveAllGroupsRequest targetDaoRetrieveAllGroupsRequest) -
retrieveAllEntities
public TargetDaoRetrieveAllEntitiesResponse retrieveAllEntities(TargetDaoRetrieveAllEntitiesRequest targetDaoRetrieveAllEntitiesRequest) dont return null- Parameters:
targetDaoRetrieveAllEntitiesRequest
-- Returns:
-
retrieveAllMemberships
public TargetDaoRetrieveAllMembershipsResponse retrieveAllMemberships(TargetDaoRetrieveAllMembershipsRequest targetDaoRetrieveAllMembershipsRequest) -
deleteGroup
public TargetDaoDeleteGroupResponse deleteGroup(TargetDaoDeleteGroupRequest targetDaoDeleteGroupRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true) -
insertGroup
public TargetDaoInsertGroupResponse insertGroup(TargetDaoInsertGroupRequest targetDaoInsertGroupRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true) -
getGrouperProvisioner
reference back up to the provisioner- Returns:
- the provisioner
-
setGrouperProvisioner
reference back up to the provisioner- Parameters:
grouperProvisioner1
-
-
sendChangesToTarget
public TargetDaoSendChangesToTargetResponse sendChangesToTarget(TargetDaoSendChangesToTargetRequest targetDaoSendChangesToTargetRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true)- Parameters:
targetDaoSendChangesToTargetRequest
-- Returns:
-
sendGroupChangesToTarget
public TargetDaoSendGroupChangesToTargetResponse sendGroupChangesToTarget(TargetDaoSendGroupChangesToTargetRequest targetDaoSendGroupChangesToTargetRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true)- Parameters:
targetDaoSendGroupChangesToTargetRequest
-- Returns:
-
updateGroups
public TargetDaoUpdateGroupsResponse updateGroups(TargetDaoUpdateGroupsRequest targetDaoUpdateGroupsRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true) insert all these groups and either throw exception for all or mark each one with an exception -
deleteMemberships
public TargetDaoDeleteMembershipsResponse deleteMemberships(TargetDaoDeleteMembershipsRequest targetDaoDeleteMembershipsRequest) delete all these Memberships and either throw exception for all or mark each one with an exception set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true) -
retrieveAllData
public TargetDaoRetrieveAllDataResponse retrieveAllData(TargetDaoRetrieveAllDataRequest targetDaoRetrieveAllDataRequest) retrieve all data from the target -
retrieveIncrementalData
public TargetDaoRetrieveIncrementalDataResponse retrieveIncrementalData(TargetDaoRetrieveIncrementalDataRequest targetDaoRetrieveIncementalDataRequest) retrieve all incremental data from the target from the matching ids of the grouper translated and indexed target groups -
retrieveGroups
public TargetDaoRetrieveGroupsResponse retrieveGroups(TargetDaoRetrieveGroupsRequest targetDaoRetrieveGroupsRequest) bulk retrieve target provisioning groups, generally use the matching Ids in the targetGroups- Returns:
- the target provisioning groups
-
retrieveMembershipsByGroups
public TargetDaoRetrieveMembershipsByGroupsResponse retrieveMembershipsByGroups(TargetDaoRetrieveMembershipsByGroupsRequest targetDaoRetrieveMembershipsByGroupsRequest) bulk retrieve all target provisioning Memberships related to these groups, generally use the matching Ids in the targetGroups- Returns:
- the target provisioning memberships
-
retrieveMembershipsByGroup
public TargetDaoRetrieveMembershipsByGroupResponse retrieveMembershipsByGroup(TargetDaoRetrieveMembershipsByGroupRequest targetDaoRetrieveMembershipsByGroupRequest) bulk retrieve all target provisioning Memberships related to these group- Parameters:
targetGroup
-- Returns:
- the memberships
-
retrieveMembershipsByEntities
public TargetDaoRetrieveMembershipsByEntitiesResponse retrieveMembershipsByEntities(TargetDaoRetrieveMembershipsByEntitiesRequest targetDaoRetrieveMembershipsByEntitiesRequest) bulk retrieve target provisioning Memberships, generally use the matching Ids in the targetEntities- Returns:
- the target provisioning memberships
-
retrieveMembershipsByEntity
public TargetDaoRetrieveMembershipsByEntityResponse retrieveMembershipsByEntity(TargetDaoRetrieveMembershipsByEntityRequest targetDaoRetrieveMembershipsByEntityRequest) bulk retrieve all target provisioning Memberships related to these entity- Parameters:
targetEntity
-- Returns:
- the memberships
-
retrieveMemberships
public TargetDaoRetrieveMembershipsResponse retrieveMemberships(TargetDaoRetrieveMembershipsRequest targetDaoRetrieveMembershipsRequest) bulk retrieve target provisioning Memberships, generally use the matching Ids in the targetMemberships- Parameters:
targetDaoRetrieveMembershipsRequest
-- Returns:
- the target provisioning Memberships
-
retrieveEntities
public TargetDaoRetrieveEntitiesResponse retrieveEntities(TargetDaoRetrieveEntitiesRequest targetDaoRetrieveEntitiesRequest) bulk retrieve target provisioning Entities, generally use the matching Ids in the targetEntities- Parameters:
targetEntities
-- Returns:
- the target provisioning Entities
-
retrieveGroup
public TargetDaoRetrieveGroupResponse retrieveGroup(TargetDaoRetrieveGroupRequest targetDaoRetrieveGroupRequest) return a group by matching id of grouper target group, or null if not found- Parameters:
targetGroup
-- Returns:
- the target provisioning group or null if not found
-
retrieveEntity
public TargetDaoRetrieveEntityResponse retrieveEntity(TargetDaoRetrieveEntityRequest targetDaoRetrieveEntityRequest) return a Entity by matching id of grouper target Entity, or null if not found- Parameters:
targetEntity
-- Returns:
- the target provisioning Entity or null if not found
-
retrieveMembership
public TargetDaoRetrieveMembershipResponse retrieveMembership(TargetDaoRetrieveMembershipRequest targetDaoRetrieveMembershipRequest) return a Membership by matching id of grouper target Membership, or null if not found- Parameters:
targetMembership
-- Returns:
- the target provisioning Membership or null if not found
-
updateGroup
public TargetDaoUpdateGroupResponse updateGroup(TargetDaoUpdateGroupRequest targetDaoUpdateGroupRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true) -
insertGroups
public TargetDaoInsertGroupsResponse insertGroups(TargetDaoInsertGroupsRequest targetDaoInsertGroupsRequest) insert all these groups and either throw exception for all or mark each one with an exception set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true) -
deleteEntity
public TargetDaoDeleteEntityResponse deleteEntity(TargetDaoDeleteEntityRequest targetDaoDeleteEntityRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true) -
deleteEntities
public TargetDaoDeleteEntitiesResponse deleteEntities(TargetDaoDeleteEntitiesRequest targetDaoDeleteEntitiesRequest) delete all these entities and either throw exception for all or mark each one with an exception set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true) -
insertEntity
public TargetDaoInsertEntityResponse insertEntity(TargetDaoInsertEntityRequest targetDaoInsertEntityRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true) -
insertEntities
public TargetDaoInsertEntitiesResponse insertEntities(TargetDaoInsertEntitiesRequest targetDaoInsertEntitiesRequest) insert all these groups and either throw exception for all or mark each one with an exception set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true)- Parameters:
targetEntityInserts
-
-
updateEntity
public TargetDaoUpdateEntityResponse updateEntity(TargetDaoUpdateEntityRequest targetDaoUpdateEntityRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true) -
updateEntities
public TargetDaoUpdateEntitiesResponse updateEntities(TargetDaoUpdateEntitiesRequest targetDaoUpdateEntitiesRequest) insert all these Entities and either throw exception for all or mark each one with an exception set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true)- Parameters:
targetEntityInserts
-
-
deleteMembership
public TargetDaoDeleteMembershipResponse deleteMembership(TargetDaoDeleteMembershipRequest targetDaoDeleteMembershipRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true) -
deleteGroups
public TargetDaoDeleteGroupsResponse deleteGroups(TargetDaoDeleteGroupsRequest targetDaoDeleteGroupsRequest) delete all these groups and either throw exception for all or mark each one with an exception set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true)- Parameters:
targetGroupDeletes
-
-
insertMembership
public TargetDaoInsertMembershipResponse insertMembership(TargetDaoInsertMembershipRequest targetDaoInsertMembershipRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true) -
replaceGroupMemberships
public TargetDaoReplaceGroupMembershipsResponse replaceGroupMemberships(TargetDaoReplaceGroupMembershipsRequest targetDaoReplaceGroupMembershipsRequest) replace a groups memberships with this list- Parameters:
targetDaoReplaceGroupMembershipsRequest
-- Returns:
- the response
-
insertMemberships
public TargetDaoInsertMembershipsResponse insertMemberships(TargetDaoInsertMembershipsRequest targetDaoInsertMembershipsRequest) insert all these Memberships and either throw exception for all or mark each one with an exception set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true) -
updateMembership
public TargetDaoUpdateMembershipResponse updateMembership(TargetDaoUpdateMembershipRequest targetDaoUpdateMembershipRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true) -
updateMemberships
public TargetDaoUpdateMembershipsResponse updateMemberships(TargetDaoUpdateMembershipsRequest targetDaoUpdateMembershipsRequest) update all these Memberships and either throw exception for all or mark each one with an exception set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true) -
sendEntityChangesToTarget
public TargetDaoSendEntityChangesToTargetResponse sendEntityChangesToTarget(TargetDaoSendEntityChangesToTargetRequest targetDaoSendEntityChangesToTargetRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true)- Parameters:
ta
-- Returns:
-
sendMembershipChangesToTarget
public TargetDaoSendMembershipChangesToTargetResponse sendMembershipChangesToTarget(TargetDaoSendMembershipChangesToTargetRequest targetDaoSendMembershipChangesToTargetRequest) set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true)- Parameters:
targetDaoSendMembershipChangesToTargetRequest
-- Returns:
-