Examples of deleteDirectory()


Examples of fr.soleil.salsa.dao.impl.ConfigDAO.deleteDirectory()

     * @see fr.soleil.salsa.service.IPersistenceService#deleteDirectory(fr.soleil.salsa.entity.IDirectory)
     */
    @Override
    public void deleteDirectory(IDirectory directory) throws PersistenceException {
        ConfigDAO dao = new ConfigDAO();
        dao.deleteDirectory(directory);
    }

    /* (non-Javadoc)
     * @see fr.soleil.salsa.service.IPersistenceService#getConfigById(java.lang.Integer)
     */
 
View Full Code Here

Examples of fr.soleil.salsa.dao.impl.ConfigDAO.deleteDirectory()

    }

    @Override
    public void deleteDirectory(IDirectory directory) throws PersistenceException {
        ConfigDAO dao = new ConfigDAO();
        dao.deleteDirectory(directory);
    }

    @Override
    public IConfig<?> getConfigById(Integer id) throws ScanNotFoundException {
        ConfigDAO dao = new ConfigDAO();
View Full Code Here

Examples of fr.soleil.salsa.dao.impl.ConfigDAO.deleteDirectory()

     * @see fr.soleil.salsa.service.IPersistenceService#deleteDirectory(fr.soleil.salsa.entity.IDirectory)
     */
    @Override
    public void deleteDirectory(IDirectory directory) throws PersistenceException {
        ConfigDAO dao = new ConfigDAO();
        dao.deleteDirectory(directory);
    }

    /* (non-Javadoc)
     * @see fr.soleil.salsa.service.IPersistenceService#getConfigById(java.lang.Integer)
     */
 
View Full Code Here

Examples of fr.soleil.salsa.dao.impl.ConfigDAO.deleteDirectory()

    }

    @Override
    public void deleteDirectory(IDirectory directory) throws PersistenceException {
        ConfigDAO dao = new ConfigDAO();
        dao.deleteDirectory(directory);
    }

    @Override
    public IConfig<?> getConfigById(Integer id) throws ScanNotFoundException {
        ConfigDAO dao = new ConfigDAO();
View Full Code Here

Examples of it.eng.spagobi.utilities.SpagoBIAccessUtils.deleteDirectory()

      try {
        File tmpDir = getCacheDir(prefixDirTemplate);
        String[] files = tmpDir.list();
        if (files.length == 0){
          SpagoBIAccessUtils util = new SpagoBIAccessUtils();
          util.deleteDirectory(tmpDir);
          logger.debug("Delating temporary directory: " + tmpDir);
        }
      } catch (Throwable t) {
        logger.error("Error while deleting cache dir content", t);
      }
View Full Code Here

Examples of it.eng.spagobi.utilities.SpagoBIAccessUtils.deleteDirectory()

      // delete tmp dir for dynamic template management only if it's empty (without subreport files)
      //File tmpDir = getJRTempDir(servletContext, executionId, prefixDirTemplate).getParentFile(); 
      File tmpDir = getJRTempDir(servletContext, prefixDirTemplate);
      String[] files = tmpDir.list();
      if (files.length == 0){
        util.deleteDirectory(tmpDir);
        logger.debug("Delating temporary directory: " + tmpDir);
      }
      monitor.stop();
      logger.debug("OUT");
    }
View Full Code Here

Examples of it.sauronsoftware.ftp4j.FTPClient.deleteDirectory()

                && client.isConnected()) {
            try {
                if (StringUtils.hasText(_fileName)) {
                    client.deleteFile(_url);
                } else {
                    client.deleteDirectory(_url);
                }
            } catch (Throwable t) {
            }
        }
    }
View Full Code Here

Examples of org.apache.maven.it.Verifier.deleteDirectory()

        verifier.deleteArtifact(
            systemProperties.getProperty("groupId", DEFAULT_TEST_GROUP_ID),
            systemProperties.getProperty("artifactId", DEFAULT_TEST_ARTIFACT_ID),
            systemProperties.getProperty("version", DEFAULT_TEST_VERSION),
            null);
        verifier.deleteDirectory(systemProperties.getProperty("artifactId", DEFAULT_TEST_ARTIFACT_ID));
    }

    /*
     * The data of the archetype to test are added here. Data needed are "archetypeGroupId", "archetypeArtifactId" and
     * "archetypeVersion".
 
View Full Code Here

Examples of org.jbpm.designer.repository.vfs.VFSRepository.deleteDirectory()

        assertNotNull(directoryId);

        rootFolderExists = repository.directoryExists("/test");
        assertTrue(rootFolderExists);

        boolean deleted = repository.deleteDirectory("/test", true);
        assertTrue(deleted);

        rootFolderExists = repository.directoryExists("/test");
        assertFalse(rootFolderExists);
View Full Code Here

Examples of org.jbpm.designer.repository.vfs.VFSRepository.deleteDirectory()

        assertTrue(rootFolderExists);

        rootFolderExists = repository.directoryExists("/test/nested");
        assertTrue(rootFolderExists);

        boolean deleted = repository.deleteDirectory("/test", false);
        assertTrue(deleted);

        rootFolderExists = repository.directoryExists("/test");
        assertFalse(rootFolderExists);
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.