Interface JpaDataFeedFileLobRepository<D extends JpaDataFeedFileLob>
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<D,,String> CustomizedDataFeedFileLobRepository<D>,org.springframework.data.repository.Repository<D,String>
@Repository
public interface JpaDataFeedFileLobRepository<D extends JpaDataFeedFileLob>
extends org.springframework.data.repository.CrudRepository<D,String>, CustomizedDataFeedFileLobRepository<D>
Repository for JpaDataFeedFileLob-
Method Summary
Modifier and TypeMethodDescriptionlongdeleteByPath(String path) Hard-deletes aJpaDataFeedFileLobbyJpaDataFeedFileLob.getPath().findByPath(String path) Gets aJpaDataFeedFileLobbyJpaDataFeedFileLob.getPath().Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAllMethods inherited from interface com.broadleafcommerce.datafeed.provider.jpa.repository.nontrackable.CustomizedDataFeedFileLobRepository
readToDestination, store
-
Method Details
-
findByPath
Gets aJpaDataFeedFileLobbyJpaDataFeedFileLob.getPath().- Parameters:
path- the value ofJpaDataFeedFileLob.getPath()to match- Returns:
- an
Optionalcontaining the foundJpaDataFeedFileLob, elseOptional.empty()
-
deleteByPath
@Policy(operationTypes=DELETE) @Transactional("datafeedTransactionManager") long deleteByPath(String path) Hard-deletes aJpaDataFeedFileLobbyJpaDataFeedFileLob.getPath().- Parameters:
path- the value ofJpaDataFeedFileLob.getPath()to match- Returns:
- the number of deleted rows (should be 1 if successful, since
JpaDataFeedFileLob.getPath()is unique)
-