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