Package com.centraview.marketing.marketingfacade

Examples of com.centraview.marketing.marketingfacade.MarketingFacade.deleteEvent()


    try
    {
      int elementID = Integer.parseInt(key);
      MarketingFacade remote =(MarketingFacade)marketingFacadeHome.create();
      remote.setDataSource(this.dataSource);
      remote.deleteEvent(elementID);
      // TODO deleteEvent user-rights.
    }
    catch( Exception e )
    {
      logger.error("[Exception] EventList.deleteElement( int indvID, String key )", e);
View Full Code Here


      for (int i=0; i<recordID.length; i++)
      {
        if(recordID[i] != null && !recordID[i].equals("")){
          int elementID = Integer.parseInt(recordID[i]);
          try{
            remote.deleteEvent(elementID);
            // TODO deleteEvent user-rights.
          }//end of try block
          catch(AuthorizationFailedException ae){
            String errorMessage = ae.getExceptionDescription();
            resultDeleteLog.add(errorMessage);
View Full Code Here

    try
    {
      MarketingFacade remote =( MarketingFacade )marketingFacadeHome.create();
         remote.setDataSource(dataSource);
      int eventid = Integer.parseInt(request.getParameter("eventid").toString());
      remote.deleteEvent(eventid);
    }
    catch(Exception e)
    {
      resultPage = "failure";
      logger.error("[Exception] DeleteEventHandler.Execute Handler ", e);
View Full Code Here

    try {
      MarketingFacade ejb = (MarketingFacade)CVUtility.setupEJB("MarketingFacade", "com.centraview.marketing.marketingfacade.MarketingFacadeHome", dataSource);
      for (int i=0; i<rowId.length; i++) {
        if(rowId[i] != null && !rowId[i].equals("")) {         
          int elementId = Integer.parseInt(rowId[i]);
          ejb.deleteEvent(elementId);
        }
      }
    } catch(Exception e) {
      logger.error("[execute] Exception thrown.", e);
      throw new CommunicationException(e.getMessage());
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.