Class LdapProvisioningTargetDao
java.lang.Object
edu.internet2.middleware.grouper.app.provisioning.targetDao.GrouperProvisionerTargetDaoBase
edu.internet2.middleware.grouper.app.ldapProvisioning.LdapProvisioningTargetDao
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeleteEntity
(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.look at object classes and the search attributegenerateUserSearchFilter
(String individualFilter) look at object classes and the search attributeinsertEntity
(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.static Object
ldapConvertAdAttributeToString
(String attributeName, Object value) convert a set to a set of string, convert an object to a stringstatic String
ldapFilterValue
(String attributeName, String value) boolean
start logging the source low level actionsstop logging and returnvoid
registerGrouperProvisionerDaoCapabilities
(GrouperProvisionerDaoCapabilities grouperProvisionerDaoCapabilities) retrieveAllEntities
(TargetDaoRetrieveAllEntitiesRequest targetDaoRetrieveAllEntitiesRequest) dont return nullretrieveAllGroups
(TargetDaoRetrieveAllGroupsRequest targetDaoRetrieveAllGroupsRequest) retrieveEntities
(TargetDaoRetrieveEntitiesRequest targetDaoRetrieveEntitiesRequest) bulk retrieve target provisioning Entities, generally use the matching Ids in the targetEntitiesretrieveEntityByDn
(String dn, boolean includeAllMemberships, boolean exceptionIfNotFound) retrieveGroupByDn
(String dn, boolean includeAllMemberships, boolean exceptionIfNotFound) retrieveGroups
(TargetDaoRetrieveGroupsRequest targetDaoRetrieveGroupsRequest) bulk retrieve target provisioning groups, generally use the matching Ids in the targetGroupsretrieveMembership
(TargetDaoRetrieveMembershipRequest targetDaoRetrieveMembershipRequest) return a Membership by matching id of grouper target Membership, or null if not foundupdateEntity
(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.Methods inherited from class edu.internet2.middleware.grouper.app.provisioning.targetDao.GrouperProvisionerTargetDaoBase
addTargetDaoTimingInfo, deleteEntities, deleteGroups, deleteMembership, deleteMemberships, getGrouperProvisioner, getGrouperProvisionerDaoCapabilities, getTargetDaoTimingInfos, insertEntities, insertGroups, insertMembership, insertMemberships, replaceGroupMemberships, retrieveAllData, retrieveAllMemberships, retrieveEntity, retrieveGroup, retrieveIncrementalData, retrieveMemberships, retrieveMembershipsByEntities, retrieveMembershipsByEntity, retrieveMembershipsByGroup, retrieveMembershipsByGroups, sendChangesToTarget, sendEntityChangesToTarget, sendGroupChangesToTarget, sendMembershipChangesToTarget, setGrouperProvisioner, setGrouperProvisionerDaoCapabilities, setTargetDaoTimingInfos, updateEntities, updateGroups, updateMembership, updateMemberships
-
Field Details
-
ldap_dn
ldap dn attribute name- See Also:
-
-
Constructor Details
-
LdapProvisioningTargetDao
public LdapProvisioningTargetDao()
-
-
Method Details
-
loggingStart
public boolean loggingStart()start logging the source low level actions- Overrides:
loggingStart
in classGrouperProvisionerTargetDaoBase
- 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 return- Overrides:
loggingStop
in classGrouperProvisionerTargetDaoBase
-
generateGroupSearchAllFilter
look at object classes and the search attribute- Returns:
- the filter
-
retrieveAllGroups
public TargetDaoRetrieveAllGroupsResponse retrieveAllGroups(TargetDaoRetrieveAllGroupsRequest targetDaoRetrieveAllGroupsRequest) - Overrides:
retrieveAllGroups
in classGrouperProvisionerTargetDaoBase
-
insertGroup
public TargetDaoInsertGroupResponse insertGroup(TargetDaoInsertGroupRequest targetDaoInsertGroupRequest) Description copied from class:GrouperProvisionerTargetDaoBase
set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true)- Overrides:
insertGroup
in classGrouperProvisionerTargetDaoBase
-
deleteGroup
public TargetDaoDeleteGroupResponse deleteGroup(TargetDaoDeleteGroupRequest targetDaoDeleteGroupRequest) Description copied from class:GrouperProvisionerTargetDaoBase
set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true)- Overrides:
deleteGroup
in classGrouperProvisionerTargetDaoBase
-
updateGroup
public TargetDaoUpdateGroupResponse updateGroup(TargetDaoUpdateGroupRequest targetDaoUpdateGroupRequest) Description copied from class:GrouperProvisionerTargetDaoBase
set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true)- Overrides:
updateGroup
in classGrouperProvisionerTargetDaoBase
-
retrieveGroupByDn
public ProvisioningGroup retrieveGroupByDn(String dn, boolean includeAllMemberships, boolean exceptionIfNotFound) - Parameters:
dn
-includeAllMemberships
-exceptionIfNotFound
-- Returns:
- provisioning group
-
retrieveEntityByDn
public ProvisioningEntity retrieveEntityByDn(String dn, boolean includeAllMemberships, boolean exceptionIfNotFound) - Parameters:
dn
-includeAllMemberships
-exceptionIfNotFound
-- Returns:
- provisioning entity
-
ldapConvertAdAttributeToString
convert a set to a set of string, convert an object to a string- Parameters:
attributeName
-value
-- Returns:
-
ldapFilterValue
-
retrieveGroups
public TargetDaoRetrieveGroupsResponse retrieveGroups(TargetDaoRetrieveGroupsRequest targetDaoRetrieveGroupsRequest) Description copied from class:GrouperProvisionerTargetDaoBase
bulk retrieve target provisioning groups, generally use the matching Ids in the targetGroups- Overrides:
retrieveGroups
in classGrouperProvisionerTargetDaoBase
- Returns:
- the target provisioning groups
-
retrieveAllEntities
public TargetDaoRetrieveAllEntitiesResponse retrieveAllEntities(TargetDaoRetrieveAllEntitiesRequest targetDaoRetrieveAllEntitiesRequest) Description copied from class:GrouperProvisionerTargetDaoBase
dont return null- Overrides:
retrieveAllEntities
in classGrouperProvisionerTargetDaoBase
- Returns:
-
retrieveEntities
public TargetDaoRetrieveEntitiesResponse retrieveEntities(TargetDaoRetrieveEntitiesRequest targetDaoRetrieveEntitiesRequest) Description copied from class:GrouperProvisionerTargetDaoBase
bulk retrieve target provisioning Entities, generally use the matching Ids in the targetEntities- Overrides:
retrieveEntities
in classGrouperProvisionerTargetDaoBase
- Returns:
- the target provisioning Entities
-
insertEntity
public TargetDaoInsertEntityResponse insertEntity(TargetDaoInsertEntityRequest targetDaoInsertEntityRequest) Description copied from class:GrouperProvisionerTargetDaoBase
set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true)- Overrides:
insertEntity
in classGrouperProvisionerTargetDaoBase
-
registerGrouperProvisionerDaoCapabilities
public void registerGrouperProvisionerDaoCapabilities(GrouperProvisionerDaoCapabilities grouperProvisionerDaoCapabilities) - Specified by:
registerGrouperProvisionerDaoCapabilities
in classGrouperProvisionerTargetDaoBase
-
retrieveMembership
public TargetDaoRetrieveMembershipResponse retrieveMembership(TargetDaoRetrieveMembershipRequest targetDaoRetrieveMembershipRequest) Description copied from class:GrouperProvisionerTargetDaoBase
return a Membership by matching id of grouper target Membership, or null if not found- Overrides:
retrieveMembership
in classGrouperProvisionerTargetDaoBase
- Returns:
- the target provisioning Membership or null if not found
-
deleteEntity
public TargetDaoDeleteEntityResponse deleteEntity(TargetDaoDeleteEntityRequest targetDaoDeleteEntityRequest) Description copied from class:GrouperProvisionerTargetDaoBase
set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true)- Overrides:
deleteEntity
in classGrouperProvisionerTargetDaoBase
-
updateEntity
public TargetDaoUpdateEntityResponse updateEntity(TargetDaoUpdateEntityRequest targetDaoUpdateEntityRequest) Description copied from class:GrouperProvisionerTargetDaoBase
set each provisioning object as "provisioned" after the insert/update/delete is done e.g. targetObject.setProvisioned(true)- Overrides:
updateEntity
in classGrouperProvisionerTargetDaoBase
-
generateUserSearchFilter
look at object classes and the search attribute- Parameters:
individualFilter
- - leave blank to get all or pass in a filter for an individual filter- Returns:
- the filter
-