Exemplo n.º 1
0
 public Company createTopOrganization(String name, String sn, Date date) {
   Company result = new Company(name, sn);
   result.setCreateDate(date);
   result.createAsTopOrganization();
   return result;
 }
Exemplo n.º 2
0
 public Company createCompany(String name, String sn, Date date) {
   Company result = new Company(name, sn);
   result.setCreateDate(date);
   result.save();
   return result;
 }