public class RssRepositoryPermissionHibernateDaoImpl extends StatelessSessionHibernateDaoSupport implements RssRepositoryPermissionDao
Constructor and Description |
---|
RssRepositoryPermissionHibernateDaoImpl() |
Modifier and Type | Method and Description |
---|---|
void |
delete(RssRepositoryPermission entity)
Delete
RssRepositoryPermission 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 ID
|
void |
save(RssRepositoryPermission entity)
Save new
RssRepositoryPermission entity |
getCacheAwareHibernateTemplate
public RssRepositoryPermissionHibernateDaoImpl()
@Nullable public @Nullable RssRepositoryPermission findById(long id)
RssRepositoryPermissionDao
findById
in interface RssRepositoryPermissionDao
@NotNull public @NotNull List<RssRepositoryPermission> findByTargetRepositoryId(long targetRepositoryId)
RssRepositoryPermissionDao
findByTargetRepositoryId
in interface RssRepositoryPermissionDao
@NotNull public @NotNull List<RssRepositoryPermission> findByRepositoryId(long repositoryId)
RssRepositoryPermissionDao
findByRepositoryId
in interface RssRepositoryPermissionDao
@Nullable public @Nullable RssRepositoryPermission findByTargetRepositoryIdAndRepositoryId(long targetRepositoryId, long repositoryId)
RssRepositoryPermissionDao
findByTargetRepositoryIdAndRepositoryId
in interface RssRepositoryPermissionDao
public List<Long> findRepositoryIdsByTargetRepositoryId(long projectId)
RssRepositoryPermissionDao
findRepositoryIdsByTargetRepositoryId
in interface RssRepositoryPermissionDao
public void save(RssRepositoryPermission entity)
RssRepositoryPermissionDao
RssRepositoryPermission
entitysave
in interface RssRepositoryPermissionDao
public void delete(RssRepositoryPermission entity)
RssRepositoryPermissionDao
RssRepositoryPermission
entity.delete
in interface RssRepositoryPermissionDao
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.