Package com.atlassian.bamboo.specs
Interface RssRepositoryPermissionDao
- All Known Implementing Classes:
RssRepositoryPermissionHibernateDaoImpl
public interface RssRepositoryPermissionDao
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(RssRepositoryPermission entity) DeleteRssRepositoryPermission
entity.@Nullable RssRepositoryPermission
findById
(long id) Search by permission ID.@NotNull List<RssRepositoryPermission>
findByRepositoryId
(long repositoryId) Search by repository ID@NotNull List<RssRepositoryPermission>
findByTargetRepositoryId
(long repositoryId) Search by target repository ID.@Nullable RssRepositoryPermission
findByTargetRepositoryIdAndRepositoryId
(long targetRepositoryId, long repositoryId) Search by target repository ID and repository ID.findRepositoryIdsByTargetRepositoryId
(long targetRepositoryId) Search repository IDs by target repository IDvoid
save
(RssRepositoryPermission entity) Save newRssRepositoryPermission
entity
-
Method Details
-
findById
Search by permission ID. -
findByTargetRepositoryId
Search by target repository ID. -
findByRepositoryId
Search by repository ID -
findByTargetRepositoryIdAndRepositoryId
@Nullable @Nullable RssRepositoryPermission findByTargetRepositoryIdAndRepositoryId(long targetRepositoryId, long repositoryId) Search by target repository ID and repository ID. Returns single result or null. -
findRepositoryIdsByTargetRepositoryId
Search repository IDs by target repository ID -
save
Save newRssRepositoryPermission
entity -
delete
DeleteRssRepositoryPermission
entity.
-