contentConstraintsConstraints = new ArrayList(fragmentConstraintsConstraints.size());
Iterator constraintsIter = fragmentConstraintsConstraints.iterator();
while (constraintsIter.hasNext())
{
SecurityConstraint fragmentConstraint = (SecurityConstraint)constraintsIter.next();
contentConstraintsConstraints.add(new ContentSecurityConstraint(false, fragmentConstraint.getGroups(), fragmentConstraint.getPermissions(), fragmentConstraint.getRoles(), fragmentConstraint.getUsers()));
}
}
List contentConstraintsConstraintsRefs = null;
List fragmentConstraintsConstraintsRefs = fragmentConstraints.getSecurityConstraintsRefs();
if ((fragmentConstraintsConstraintsRefs != null) && !fragmentConstraintsConstraintsRefs.isEmpty())