Class AbstractGroupTransformScript
- java.lang.Object
-
- org.openiam.sync.service.impl.service.AbstractTransformScript<Group>
-
- org.openiam.sync.service.impl.service.AbstractGroupTransformScript
-
- All Implemented Interfaces:
TransformScript<Group>
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
public abstract class AbstractGroupTransformScript extends AbstractTransformScript<Group>
-
-
Field Summary
-
Fields inherited from class org.openiam.sync.service.impl.service.AbstractTransformScript
CERTIFIED_RIGHT_SET, config, context, counterRabbitMQService, groupRabbitMQService, groupsById, groupsByName, isNewUser, log, managedSystemById, managedSystemByName, managedSystemRabbitMQService, metadataTypeRabbitMQService, metadataTypesByGroupingAndName, organizationById, organizationByName, organizationRabbitMQService, resourceRabbitMQService, resourcesById, resourcesByName, resourceTypeById, resourceTypeByName, roleRabbitMQService, rolesById, rolesByName, synchConfigId, userManager, usersById, usersByLogin
-
Fields inherited from interface org.openiam.sync.service.TransformScript
DELETE, DISABLE, ENABLE, EXCEPTION, INITIATE_ADD_USER_AND_INVITE_WORKFLOW, INITIATE_CHANGE_POSITION_WORKFLOW, INITIATE_EDIT_USER_WORKFLOW, INITIATE_NEW_HIRE_WORKFLOW, INITIATE_REVOKE_ACCESS_WORKFLOW, INITIATE_TERMINATE_USER_WORKFLOW, NO_DELETE, SKIP, SKIP_OK
-
-
Constructor Summary
Constructors Constructor Description AbstractGroupTransformScript()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addChildGroup(Group pGroup, String childGroupId)
add relation between groups.protected void
addGroupAttribute(Group group, String name, String value)
Add or update Group Attribute by name.protected void
addParentGroup(Group pGroup, String parentGroupId)
add relation between groups.protected void
deleteGroupAttribute(Group g, String name)
Delete group attribute by name-
Methods inherited from class org.openiam.sync.service.impl.service.AbstractTransformScript
getContext, getGroupById, getGroupByName, getManagedSystemById, getManagedSystemByName, getMetadataTypeByNameAndGrouping, getNextFormattedValueInSeries, getNextValueInSeries, getOrganizationById, getOrganizationByName, getResourceById, getResourceByName, getResourceTypeById, getResourceTypeByName, getRoleById, getRoleByName, getUserByAttribute, getUserById, getUserByLogin, getUserByLogin, isNewUser, setApplicationContext, setNewUser
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openiam.sync.service.TransformScript
execute, init
-
-
-
-
Method Detail
-
addGroupAttribute
protected void addGroupAttribute(Group group, String name, String value)
Add or update Group Attribute by name.- Parameters:
group
-name
-value
-
-
addChildGroup
protected void addChildGroup(Group pGroup, String childGroupId)
add relation between groups.- Parameters:
pGroup
-childGroupId
-
-
addParentGroup
protected void addParentGroup(Group pGroup, String parentGroupId)
add relation between groups.- Parameters:
pGroup
-parentGroupId
-
-
-