@Override public List<IDeletedObject> getTrash() throws KettleException { List<IDeletedObject> trash = new ArrayList<IDeletedObject>(); List<RepositoryFile> deletedChildren = pur.getDeletedFiles();
for ( String parentFolderPath : parentFolderPaths ) { allFiles.addAll( pur.getDeletedFiles( parentFolderPath, mergedFilterBuf.toString() ) );
pur.getDeletedFiles( getDatabaseMetaParentFolderPath(), name + RepositoryObjectType.DATABASE.getExtension() ); if ( !deletedChildren.isEmpty() ) { pur.getDeletedFiles( dir.getObjectId().getId(), name + RepositoryObjectType.TRANSFORMATION.getExtension() ); if ( !deletedChildren.isEmpty() ) { pur.getDeletedFiles( getPartitionSchemaParentFolderPath(), name + RepositoryObjectType.PARTITION_SCHEMA.getExtension() ); if ( !deletedChildren.isEmpty() ) { pur.getDeletedFiles( getSlaveServerParentFolderPath(), name + RepositoryObjectType.SLAVE_SERVER.getExtension() ); if ( !deletedChildren.isEmpty() ) { pur.getDeletedFiles( getClusterSchemaParentFolderPath(), name + RepositoryObjectType.CLUSTER_SCHEMA.getExtension() ); if ( !deletedChildren.isEmpty() ) { pur.getDeletedFiles( dir.getObjectId().getId(), name + RepositoryObjectType.JOB.getExtension() ); if ( !deletedChildren.isEmpty() ) { return new StringObjectId( deletedChildren.get( 0 ).getId().toString() );
/** * Gets all deleted files. This is the "recycle bin" view. * * @return list of deleted files */ default List<RepositoryFile> getAllDeletedFiles() { return getDeletedFiles(); } // ~ Lock methods
public List<RepositoryFile> call() throws Exception { return delegatee.getDeletedFiles( origParentFolderPath ); } }, Messages.getInstance().getString( "ExceptionLoggingDecorator.getDeletedFilesInFolder", origParentFolderPath ) ); //$NON-NLS-1$
public List<RepositoryFile> call() throws Exception { return delegatee.getDeletedFiles( origParentFolderPath, filter ); } }, Messages.getInstance().getString( "ExceptionLoggingDecorator.getDeletedFilesInFolder", origParentFolderPath ) ); //$NON-NLS-1$
public List<RepositoryFile> call() throws Exception { return delegatee.getDeletedFiles(); } }, Messages.getInstance().getString( "ExceptionLoggingDecorator.getDeletedFiles" ) ); //$NON-NLS-1$
/** * Gets all deleted files for the current user. This is the "recycle bin" view. * * @return list of deleted files */ @Override public List<RepositoryFile> getDeletedFiles() { return repository.getDeletedFiles(); }
/** * Gets all deleted files for the current user in this folder. * * @param origParentFolderPath * path to original parent folder * @return list of deleted files */ @Override public List<RepositoryFile> getDeletedFiles( final String origParentFolderPath ) { return repository.getDeletedFiles( origParentFolderPath ); }
/** * Gets all deleted files for the current user in this folder. * * @param origParentFolderPath * path to original parent folder * @param filter * filter may be a full name or a partial name with one or more wildcard characters ("*"), or a * disjunction (using the "|" character to represent logical OR) of these * @return list of deleted files */ @Override public List<RepositoryFile> getDeletedFiles( final String origParentFolderPath, final String filter ) { return repository.getDeletedFiles( origParentFolderPath, filter ); }
public List<RepositoryFileDto> getDeletedFilesInFolderWithFilter( String folderPath, String filter ) { return marshalFiles( repo.getDeletedFiles( folderPath, filter ) ); }
public List<RepositoryFileDto> getDeletedFiles() { return marshalFiles( repo.getDeletedFiles() ); }
public List<RepositoryFileDto> getDeletedFilesInFolder( String folderPath ) { return marshalFiles( repo.getDeletedFiles( folderPath ) ); }