public class AccessPolicyEntityMerger extends java.lang.Object implements ComponentEntityMerger<AccessPolicyEntity>
| Constructor and Description |
|---|
AccessPolicyEntityMerger() |
| Modifier and Type | Method and Description |
|---|---|
void |
merge(AccessPolicyEntity clientEntity,
java.util.Map<NodeIdentifier,AccessPolicyEntity> entityMap)
Merges the ComponentEntity responses according to their
PermissionsDTOs. |
void |
mergeComponents(AccessPolicyEntity clientEntity,
java.util.Map<NodeIdentifier,AccessPolicyEntity> entityMap)
Merges the AccessPolicyEntity responses.
|
public void merge(AccessPolicyEntity clientEntity, java.util.Map<NodeIdentifier,AccessPolicyEntity> entityMap)
ComponentEntityMergerPermissionsDTOs. Responsible for invoking
ComponentEntityMerger#mergeComponents(EntityType, Map).merge in interface ComponentEntityMerger<AccessPolicyEntity>clientEntity - the entity being returned to the cliententityMap - all node responsespublic void mergeComponents(AccessPolicyEntity clientEntity, java.util.Map<NodeIdentifier,AccessPolicyEntity> entityMap)
mergeComponents in interface ComponentEntityMerger<AccessPolicyEntity>clientEntity - the entity being returned to the cliententityMap - all node responses