Examples of CensusInsuranceService


Examples of com.cin.service.CensusInsuranceService

 
  private CensusInsuranceService cinService;
  private StatisticsService statService;

  public ControllerEJB (){
    cinService = new CensusInsuranceService();
    statService = new StatisticsService();
  }
View Full Code Here

Examples of com.cin.service.CensusInsuranceService

   */
  public GenericResponse retrieveUsersBySearchCriteria(GenericRequest pRequest)
    throws InvalidInputValueException {
 
    GenericResponse aResponse = new GenericResponse();
    CensusInsuranceService aService = new CensusInsuranceService();
    aResponse = aService.retrieveUserBySearchCriteria(pRequest);
    if(aResponse.isResponseStatus()) {
      EventLogger.getInstance().info("Returning from EJB successfully");
    }
    return aResponse;
  }
View Full Code Here

Examples of com.cin.service.CensusInsuranceService

  }

public GenericResponse checkExistence(GenericRequest pRequest) {

  GenericResponse aResponse = new GenericResponse();
  CensusInsuranceService aService = new CensusInsuranceService();
  UserDTO theUserDTO = null;
  try
  {
  theUserDTO = aService.checkUserExistence(pRequest);
  }
  catch(Exception e)
  {
    e.printStackTrace();
  }
View Full Code Here

Examples of com.cin.service.CensusInsuranceService

 
 
  public GenericResponse createUser(GenericRequest preq)
  {
    GenericResponse aResponse = new GenericResponse();
    CensusInsuranceService aService = new CensusInsuranceService();
    UserDTO theUserDTO = new UserDTO();
    theUserDTO = aService.createAUser(preq);
   
    if(theUserDTO != null)
    {
     
      aResponse.setUser(theUserDTO);
View Full Code Here

Examples of com.cin.service.CensusInsuranceService

    return aResponse;
  }
  public int removeUser(GenericRequest preq)throws RemoteException
  {
   
    CensusInsuranceService aService = new CensusInsuranceService();
   
    aService.removeAUser(preq);
   
    return 1;
  }
View Full Code Here

Examples of com.cin.service.CensusInsuranceService

  }

public GenericResponse updateUserDetail(GenericRequest pRequest) {

  GenericResponse aResponse = new GenericResponse();
  CensusInsuranceService aService = new CensusInsuranceService();
  UserDTO theUserDTO = null ;
  try
  {
  theUserDTO = aService.updateUserInfo(pRequest.getUser());
  }
  catch(UserNotFoundException u)
  {
    u.printStackTrace();
  }
View Full Code Here

Examples of com.cin.service.CensusInsuranceService

  public GenericResponse updateMiscDetails(GenericRequest pRequest)
  throws RemoteException
  {

  GenericResponse aResponse = new GenericResponse();
  CensusInsuranceService aService = new CensusInsuranceService();
  UserDTO theUserDTO = null ;
  try
  {
  theUserDTO = aService.updateMiscInfo(pRequest.getUser());
  }
  catch(UserNotFoundException u)
  {
    u.printStackTrace();
  }
View Full Code Here

Examples of com.cin.service.CensusInsuranceService

  public static void initClass() throws Exception{
    db = new Database();
    db.resetAllData();
   
    userFactory = EJBLookup.getInstance().getUserFactory();
    service = new CensusInsuranceService();
  }
View Full Code Here

Examples of com.cin.service.CensusInsuranceService

  @BeforeClass
  public static void initClass() throws Exception{
    db = new Database();
    db.resetAllData();
   
    service = new CensusInsuranceService();
    payTable = db.getTable(PayrollTable.class);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.