public void updateComponentDataMemberDefaultAccess(String strAccess) throws SecurityException, ApplicationException {
  checkWriteAccess();
  boolean hasAccess=ConfigWebUtil.hasAccess(config,SecurityManager.TYPE_SETTING);
  if (!hasAccess)   throw new SecurityException("no access to update component setting");
  Element scope=_getRootElement("component");
  if (StringUtil.isEmpty(strAccess)) {
    scope.setAttribute("data-member-default-access","");
  }
 else {
    scope.setAttribute("data-member-default-access",ComponentUtil.toStringAccess(ComponentUtil.toIntAccess(strAccess)));
  }
}

public void updateComponentDataMemberDefaultAccess ( String strAccess ) throws SecurityException , ApplicationException { checkWriteAccess ( ) ; boolean hasAccess = ConfigWebUtil . hasAccess ( config , SecurityManager . TYPE_SETTING ) ; if ( ! hasAccess ) throw new SecurityException ( "no access to update component setting" ) ; Element scope = _getRootElement ( "component" ) ; if ( StringUtil . isEmpty ( strAccess ) ) { scope . setAttribute ( "data-member-default-access" , "" ) ; } else { scope . setAttribute ( "data-member-default-access" , ComponentUtil . toStringAccess ( ComponentUtil . toIntAccess ( strAccess ) ) ) ; } }
update the component data member default access type
