Search in sources :

Example 6 with Address

use of org.nhindirect.config.model.Address in project nhin-d by DirectProject.

the class DomainForm method setPostmasterEmailAddressId.

public void setPostmasterEmailAddressId(Long anId) {
    final Address postmasterAddress = (domain.getPostmasterAddress() == null) ? new Address() : domain.getPostmasterAddress();
    postmasterAddress.setId(anId);
    domain.setPostmasterAddress(postmasterAddress);
}
Also used : Address(org.nhindirect.config.model.Address)

Example 7 with Address

use of org.nhindirect.config.model.Address in project nhin-d by DirectProject.

the class DomainForm method setPostmasterEmail.

public void setPostmasterEmail(String postmasterEmail) {
    final Address postmasterAddress = (domain.getPostmasterAddress() == null) ? new Address() : domain.getPostmasterAddress();
    postmasterAddress.setEmailAddress(postmasterEmail);
    domain.setPostmasterAddress(postmasterAddress);
}
Also used : Address(org.nhindirect.config.model.Address)

Aggregations

Address (org.nhindirect.config.model.Address)7 Domain (org.nhindirect.config.model.Domain)4 ArrayList (java.util.ArrayList)3 IOException (java.io.IOException)2 X509Certificate (java.security.cert.X509Certificate)2 ServiceException (org.nhindirect.common.rest.exceptions.ServiceException)2 Anchor (org.nhindirect.config.model.Anchor)2 Certificate (org.nhindirect.config.model.Certificate)2 TrustBundleAnchor (org.nhindirect.config.model.TrustBundleAnchor)2 ConfigurationServiceException (org.nhindirect.config.service.ConfigurationServiceException)2 AddressForm (org.nhindirect.config.ui.form.AddressForm)2 AnchorForm (org.nhindirect.config.ui.form.AnchorForm)2 CertificateForm (org.nhindirect.config.ui.form.CertificateForm)2 DomainForm (org.nhindirect.config.ui.form.DomainForm)2 SearchDomainForm (org.nhindirect.config.ui.form.SearchDomainForm)2 PreAuthorize (org.springframework.security.access.prepost.PreAuthorize)2 RequestMapping (org.springframework.web.bind.annotation.RequestMapping)2 ModelAndView (org.springframework.web.servlet.ModelAndView)2 EntityStatus (org.nhindirect.config.model.EntityStatus)1 SimpleForm (org.nhindirect.config.ui.form.SimpleForm)1