public interface CredentialsDao extends BambooObjectWithOidDao<MutableCredentialsData>
Modifier and Type | Method and Description |
---|---|
Collection<? extends MutableCredentialsData> |
findAll()
Shortcut for
BambooObjectDao.findAll(Class) . |
Collection<? extends MutableCredentialsData> |
findAll(int firstResult,
int maxResults) |
MutableCredentialsData |
findById(long id)
Shortcut for
BambooObjectDao.findById(long, Class) . |
MutableCredentialsData |
findByName(String name) |
MutableCredentialsData |
findByOid(BambooEntityOid oid)
Shortcut for
BambooObjectWithOidDao.findByOid(BambooEntityOid, Class) . |
List<? extends MutableCredentialsData> |
findByPluginKey(String pluginKey) |
BambooEntityOid |
getMaxCredentialOid(int serverKey) |
boolean |
hasAnyCredentials(String pluginKey) |
MutableCredentialsData |
merge(MutableCredentialsData unmanagedEntity)
Shortcut for
BambooObjectDao.merge(BambooObject, Class) . |
findByOid
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
@NotNull BambooEntityOid getMaxCredentialOid(int serverKey)
@NotNull Collection<? extends MutableCredentialsData> findAll(int firstResult, int maxResults)
@NotNull List<? extends MutableCredentialsData> findByPluginKey(@NotNull String pluginKey)
boolean hasAnyCredentials(@NotNull String pluginKey)
@Nullable MutableCredentialsData findByName(String name)
@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)
.Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.