{
throw new IllegalArgumentException("Fragment and page not consistent");
}
// check for edit permission
fragment.checkAccess(JetspeedActions.EDIT);
// update fragment preferences and page in page manager
fragment.setSecurityConstraints(null);
if ((constraints != null) && !constraints.isEmpty())
{