Package it.eng.spagobi.kpi.model.dao

Examples of it.eng.spagobi.kpi.model.dao.IResourceDAO.deleteResource()


        throw new SpagoBIServiceException(SERVICE_NAME,  "Please fill resource name, code and type");
      }
    } else if (serviceType != null  && serviceType.equalsIgnoreCase(RESOURCE_DELETE)) {
      Integer id = getAttributeAsInteger(ID);
      try {
        resDao.deleteResource(id);
        logger.debug("Resource deleted");
        writeBackToClient( new JSONAcknowledge("Operation succeded") );
      } catch (Throwable e) {
        logger.error("Exception occurred while retrieving resource to delete", e);
        throw new SpagoBIServiceException(SERVICE_NAME,
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.