public interface CredentialsDao extends BambooObjectWithOidDao<MutableCredentialsData>
findByOidcountAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll@NotNull @NotNull BambooEntityOid getMaxCredentialOid(int serverKey)
@NotNull @NotNull Collection<? extends MutableCredentialsData> findAll(int firstResult, int maxResults)
firstResult - maxResults - @NotNull @NotNull List<? extends MutableCredentialsData> findGlobalByPluginKey(@NotNull @NotNull String pluginKey)
@NotNull @NotNull List<? extends MutableCredentialsData> findAllByPluginKey(@NotNull @NotNull String pluginKey)
boolean hasAnyGlobalCredentials(@NotNull
@NotNull String pluginKey)
@Nullable @Nullable MutableCredentialsData findGlobalByName(String name)
@NotNull @NotNull Collection<? extends MutableCredentialsData> findGlobalAll()
@NotNull @NotNull Long countAllGlobalCredentials()
@NotNull @NotNull Long countAllProjectsCredentials()
@NotNull @NotNull List<Long> findAllProjectsIdsUsingProjectSharedCredentials()
@NotNull @NotNull List<? extends MutableCredentialsData> getPaginatedSharedCredentials(@Nullable @Nullable Long projectId, int start, int limit, String filter)
int deleteByProjectId(long projectId)
@NotNull @NotNull Collection<? extends MutableCredentialsData> findAll()
BambooObjectDao.findAll(Class).@Nullable @Nullable MutableCredentialsData findById(long id)
BambooObjectDao.findById(long, Class).@Nullable @Nullable MutableCredentialsData findByOid(@NotNull @NotNull BambooEntityOid oid)
BambooObjectWithOidDao.findByOid(BambooEntityOid, Class).@NotNull @NotNull MutableCredentialsData merge(@NotNull @NotNull MutableCredentialsData unmanagedEntity)
BambooObjectDao.merge(BambooObject, Class).@NotNull @NotNull Collection<? extends MutableCredentialsData> findAllByProject(Long projectId)
@NotNull @NotNull Collection<? extends MutableCredentialsData> findAllByProjectAndPluginKey(@NotNull @NotNull Long projectId, @NotNull @NotNull String pluginKey)
@Nullable @Nullable MutableCredentialsData findByNameAndProjectId(String name, long projectId)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.