Esempio n. 1
0
 public void reload(SoapProvisioning prov) throws ServiceException {
   XMLElement req = new XMLElement(AdminConstants.GET_DOMAIN_REQUEST);
   Element a = req.addElement(AdminConstants.E_DOMAIN);
   a.setText(getId());
   a.addAttribute(AdminConstants.A_BY, Key.DomainBy.id.name());
   setAttrs(SoapProvisioning.getAttrs(prov.invoke(req).getElement(AdminConstants.E_DOMAIN)));
 }
Esempio n. 2
0
 public void modifyAttrs(
     SoapProvisioning prov, Map<String, ? extends Object> attrs, boolean checkImmutable)
     throws ServiceException {
   XMLElement req = new XMLElement(AdminConstants.MODIFY_DOMAIN_REQUEST);
   req.addElement(AdminConstants.E_ID).setText(getId());
   SoapProvisioning.addAttrElements(req, attrs);
   setAttrs(SoapProvisioning.getAttrs(prov.invoke(req).getElement(AdminConstants.E_DOMAIN)));
 }