protected void updateDomainStatus(SSOToken token,String orgDN,String status) throws AMException {
  try {
    String domainName=getCanonicalDomain(token,orgDN);
    if ((domainName != null) && (domainName.length() > 0)) {
      DomainComponentTree dcTree=new DomainComponentTree(token,new Guid(DCTREE_START_DN));
      dcTree.setDomainStatus(domainName,status);
    }
 else {
      debug.warning("DCTree.updateDomainStatus(): value for " + IPLANET_DOMAIN_NAME_ATTR + " attribute "+ "null or empty");
    }
  }
 catch (  UMSException ue) {
    debug.error("DCTree.removeDomain(): ",ue);
    throw new AMException(AMSDKBundle.getString("356"),"356");
  }
}

protected void updateDomainStatus ( SSOToken token , String orgDN , String status ) throws AMException { try { String domainName = getCanonicalDomain ( token , orgDN ) ; if ( ( domainName != null ) && ( domainName . length ( ) > 0 ) ) { DomainComponentTree dcTree = new DomainComponentTree ( token , new Guid ( DCTREE_START_DN ) ) ; dcTree . setDomainStatus ( domainName , status ) ; } else { debug . warning ( "DCTree.updateDomainStatus(): value for " + IPLANET_DOMAIN_NAME_ATTR + " attribute " + "null or empty" ) ; } } catch ( UMSException ue ) { debug . error ( "DCTree.removeDomain(): " , ue ) ; throw new AMException ( AMSDKBundle . getString ( "356" ) , "356" ) ; } }
method which update attribute inetdomainstatus of the dc tree corresponding to the org
