Iterator<AccessRight> accessRightsIterator = accessRights.iterator();
while(accessRightsIterator.hasNext())
{
AccessRight accessRight = accessRightsIterator.next();
InterceptionPoint interceptionPoint = InterceptionPointController.getController().getInterceptionPointWithName(accessRight.getInterceptionPointName(), dbAccessRight);
accessRight.setInterceptionPoint(interceptionPoint);
if(interceptionPoint.getName().indexOf("Content") > -1)
accessRight.setParameters((String)contentIdMap.get(accessRight.getParameters()));
else if(interceptionPoint.getName().indexOf("SiteNodeVersion") > -1)
accessRight.setParameters((String)siteNodeVersionIdMap.get(accessRight.getParameters()));
else if(interceptionPoint.getName().indexOf("SiteNode") > -1)
accessRight.setParameters((String)siteNodeIdMap.get(accessRight.getParameters()));
else if(interceptionPoint.getName().indexOf("Repository") > -1)
accessRight.setParameters(""+repositoryIdMap.get(accessRight.getParameters()));
dbAccessRight.create(accessRight);
Iterator accessRightRoleIterator = accessRight.getRoles().iterator();