{
// fragment property writes not supported: lookup and
// update entire page, dynamic page, page template, or
// fragment definition; security is checked unless user
// scope is specified
AbstractBaseFragmentElement fragmentElement = (AbstractBaseFragmentElement)fragment;
AbstractBaseFragmentsElement fragmentsElement = ((fragmentElement != null) ? fragmentElement.getBaseFragmentsElement() : null);
boolean checkEditAccess = ((scope == null) || !scope.equals(USER_PROPERTY_SCOPE));
if (fragmentsElement instanceof Page)
{
updateFragmentsElement(fragmentsElement, Page.DOCUMENT_TYPE, checkEditAccess);
}