public void moveItem( ResourceStoreRequest from, ResourceStoreRequest to ) throws UnsupportedStorageOperationException, IllegalOperationException, ItemNotFoundException, StorageException, AccessDeniedException { if ( !checkConditions( from, Action.read ) ) { throw new AccessDeniedException( from, "Operation does not fills needed requirements!" ); } if ( !checkConditions( from, Action.delete ) ) { throw new AccessDeniedException( from, "Operation does not fills needed requirements!" ); } if ( !checkConditions( to, getResultingActionOnWrite( to ) ) ) { throw new AccessDeniedException( to, "Operation does not fills needed requirements!" ); } moveItem( false, from, to ); }