Package com.atlassian.bamboo.specs
Class RssRepositoryPermissionHibernateDaoImpl
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate5.support.HibernateDaoSupport
-
- com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport
-
- com.atlassian.bamboo.specs.RssRepositoryPermissionHibernateDaoImpl
-
- All Implemented Interfaces:
RssRepositoryPermissionDao
,org.springframework.beans.factory.InitializingBean
public class RssRepositoryPermissionHibernateDaoImpl extends StatelessSessionHibernateDaoSupport implements RssRepositoryPermissionDao
-
-
Constructor Summary
Constructors Constructor Description RssRepositoryPermissionHibernateDaoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 targetRepositoryId)
Search by target repository ID.@Nullable RssRepositoryPermission
findByTargetRepositoryIdAndRepositoryId(long targetRepositoryId, long repositoryId)
Search by target repository ID and repository ID.List<Long>
findRepositoryIdsByTargetRepositoryId(long projectId)
Search repository IDs by target repository IDvoid
save(RssRepositoryPermission entity)
Save newRssRepositoryPermission
entity-
Methods inherited from class com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport
getCacheAwareHibernateTemplate
-
-
-
-
Method Detail
-
findById
@Nullable public @Nullable RssRepositoryPermission findById(long id)
Description copied from interface:RssRepositoryPermissionDao
Search by permission ID.- Specified by:
findById
in interfaceRssRepositoryPermissionDao
-
findByTargetRepositoryId
@NotNull public @NotNull List<RssRepositoryPermission> findByTargetRepositoryId(long targetRepositoryId)
Description copied from interface:RssRepositoryPermissionDao
Search by target repository ID.- Specified by:
findByTargetRepositoryId
in interfaceRssRepositoryPermissionDao
-
findByRepositoryId
@NotNull public @NotNull List<RssRepositoryPermission> findByRepositoryId(long repositoryId)
Description copied from interface:RssRepositoryPermissionDao
Search by repository ID- Specified by:
findByRepositoryId
in interfaceRssRepositoryPermissionDao
-
findByTargetRepositoryIdAndRepositoryId
@Nullable public @Nullable RssRepositoryPermission findByTargetRepositoryIdAndRepositoryId(long targetRepositoryId, long repositoryId)
Description copied from interface:RssRepositoryPermissionDao
Search by target repository ID and repository ID. Returns single result or null.- Specified by:
findByTargetRepositoryIdAndRepositoryId
in interfaceRssRepositoryPermissionDao
-
findRepositoryIdsByTargetRepositoryId
public List<Long> findRepositoryIdsByTargetRepositoryId(long projectId)
Description copied from interface:RssRepositoryPermissionDao
Search repository IDs by target repository ID- Specified by:
findRepositoryIdsByTargetRepositoryId
in interfaceRssRepositoryPermissionDao
-
save
public void save(RssRepositoryPermission entity)
Description copied from interface:RssRepositoryPermissionDao
Save newRssRepositoryPermission
entity- Specified by:
save
in interfaceRssRepositoryPermissionDao
-
delete
public void delete(RssRepositoryPermission entity)
Description copied from interface:RssRepositoryPermissionDao
DeleteRssRepositoryPermission
entity.- Specified by:
delete
in interfaceRssRepositoryPermissionDao
-
-