@Override public void delete(final Path path, final String comment) { deleteService.delete(path, comment); }
@Override public void deleteItem(final FolderItem folderItem, final String comment) { final Collection<Path> paths = resolvePath(folderItem); deleteService.deleteIfExists(paths, comment); }
public List<FolderItemOperation> getRestrictedOperations(final Path path) { final List<FolderItemOperation> restrictedOperations = new ArrayList<FolderItemOperation>(); if (copyService.hasRestriction(path)) { restrictedOperations.add(FolderItemOperation.COPY); } if (renameService.hasRestriction(path)) { restrictedOperations.add(FolderItemOperation.RENAME); } if (deleteService.hasRestriction(path)) { restrictedOperations.add(FolderItemOperation.DELETE); } return restrictedOperations; } }
private void mockDeleteRestrictions(boolean hasRestrictions) { when(deleteService.hasRestriction(any(Path.class))).thenReturn(hasRestrictions); }
@Override public void delete(final Path path, final String comment) { deleteService.delete(path, comment); }
@Override public void delete( Path path, String comment ) { deleteService.delete( path, comment ); }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public void delete( final Path path, final String comment ) { try { deleteService.delete( path, comment ); } catch ( Exception e ) { throw ExceptionUtilities.handleException( e ); } }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public void delete( final Path path, final String comment ) { try { deleteService.delete( path, comment ); } catch ( Exception e ) { throw ExceptionUtilities.handleException( e ); } }
@Override public void delete( final Path path, final String comment ) { try { deleteService.delete( path, comment ); } catch ( Exception e ) { throw ExceptionUtilities.handleException( e ); } }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }
@Override public void delete(final Path path, final String comment) { try { deleteService.delete(path, comment); } catch (Exception e) { throw ExceptionUtilities.handleException(e); } }