Interface WorkspaceRepository
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Workspace,java.lang.Long>
,org.springframework.data.jpa.repository.JpaRepository<Workspace,java.lang.Long>
,org.springframework.data.repository.PagingAndSortingRepository<Workspace,java.lang.Long>
,org.springframework.data.repository.query.QueryByExampleExecutor<Workspace>
,org.springframework.data.repository.Repository<Workspace,java.lang.Long>
public interface WorkspaceRepository extends org.springframework.data.jpa.repository.JpaRepository<Workspace,java.lang.Long>
The database repository storing all workspaces
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<Workspace>
findByAccount(Account account)
Finds all workspaces owned by the supplied accountWorkspace
findByIdAndAccount(long id, Account account)
Finds a workspace with the supplied id and owned by the supplied account-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
-
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
-
-