Пример #1
0
 @TransactionAttribute(TransactionAttributeType.REQUIRED)
 public void createNewApplicationDomain(String domainName, DomainGroupEntity dge) {
   DomainEntity de =
       EntityBuilder.of()
           .DomainEntity()
           .setDomainFQDN(domainName)
           .setDomaintype(DomainType.Type.APPLICATION);
   // domain space key and domain name of entity are same
   de.insertNewGroup(domainName, dge);
   this.setEntity(de);
   // this.create();
 }