public void updateScopeCascadingType(short type) throws SecurityException {
  checkWriteAccess();
  boolean hasAccess=ConfigWebUtil.hasAccess(config,SecurityManager.TYPE_SETTING);
  if (!hasAccess)   throw new SecurityException("no access to update scope setting");
  Element scope=_getRootElement("scope");
  if (type == ConfigWeb.SCOPE_STRICT)   scope.setAttribute("cascading","strict");
 else   if (type == ConfigWeb.SCOPE_SMALL)   scope.setAttribute("cascading","small");
 else   if (type == ConfigWeb.SCOPE_STANDARD)   scope.setAttribute("cascading","standard");
}

public void updateScopeCascadingType ( short type ) throws SecurityException { checkWriteAccess ( ) ; boolean hasAccess = ConfigWebUtil . hasAccess ( config , SecurityManager . TYPE_SETTING ) ; if ( ! hasAccess ) throw new SecurityException ( "no access to update scope setting" ) ; Element scope = _getRootElement ( "scope" ) ; if ( type == ConfigWeb . SCOPE_STRICT ) scope . setAttribute ( "cascading" , "strict" ) ; else if ( type == ConfigWeb . SCOPE_SMALL ) scope . setAttribute ( "cascading" , "small" ) ; else if ( type == ConfigWeb . SCOPE_STANDARD ) scope . setAttribute ( "cascading" , "standard" ) ; }
sets the scope cascading type
