public String addOrganization(String domainName, String orgName, String orgType)
     throws Exception {
   Objectify obj = ObjectifyService.begin();
   HelpDeskOrganization _record = new HelpDeskOrganization();
   _record.setOrgName(orgName);
   _record.setOrgType(orgType);
   _record.setDomainName(domainName);
   _record.setStatus("ACTIVE");
   obj.put(_record);
   return "success";
 }
 public String setOrganizationStatus(String orgId, String status) throws Exception {
   Objectify obj = ObjectifyService.begin();
   try {
     HelpDeskOrganization r =
         obj.query(HelpDeskOrganization.class).filter("id", Long.parseLong(orgId)).get();
     if (r != null) {
       r.setStatus(status);
       obj.put(r);
       return "success";
     } else {
       return "fail";
     }
   } catch (Exception ex) {
     throw new Exception("Could not set the Organization status. Please try again.");
   }
 }