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
-
Field Summary
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
-
Constructor Summary
-
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 targetRepositoryId) Search by target repository ID.@Nullable RssRepositoryPermission
findByTargetRepositoryIdAndRepositoryId
(long targetRepositoryId, long repositoryId) Search by target repository ID and repository ID.findRepositoryIdsByTargetRepositoryId
(long projectId) Search repository IDs by target repository IDvoid
save
(RssRepositoryPermission entity) Save newRssRepositoryPermission
entityMethods inherited from class com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport
getCacheAwareHibernateTemplate
Methods inherited from class org.springframework.orm.hibernate5.support.HibernateDaoSupport
checkDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
-
Constructor Details
-
RssRepositoryPermissionHibernateDaoImpl
public RssRepositoryPermissionHibernateDaoImpl()
-
-
Method Details
-
findById
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
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
Description copied from interface:RssRepositoryPermissionDao
Search repository IDs by target repository ID- Specified by:
findRepositoryIdsByTargetRepositoryId
in interfaceRssRepositoryPermissionDao
-
save
Description copied from interface:RssRepositoryPermissionDao
Save newRssRepositoryPermission
entity- Specified by:
save
in interfaceRssRepositoryPermissionDao
-
delete
Description copied from interface:RssRepositoryPermissionDao
DeleteRssRepositoryPermission
entity.- Specified by:
delete
in interfaceRssRepositoryPermissionDao
-