public class CredentialsHibernateDao extends BambooHibernateObjectWithOidDao<MutableCredentialsData> implements CredentialsDao
Constructor and Description |
---|
CredentialsHibernateDao() |
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, executeCountQuery, findAll, findById, merge, save, saveAll
getCacheAwareHibernateTemplate
checkDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findByOid
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
@NotNull public Collection<? extends MutableCredentialsData> findAll(int firstResult, int maxResults)
findAll
in interface CredentialsDao
@NotNull public List<? extends MutableCredentialsData> findByPluginKey(@NotNull String pluginKey)
findByPluginKey
in interface CredentialsDao
@NotNull public BambooEntityOid getMaxCredentialOid(int serverKey)
getMaxCredentialOid
in interface CredentialsDao
@Nullable public MutableCredentialsData findByName(String name)
findByName
in interface CredentialsDao
public boolean hasAnyCredentials(@NotNull String pluginKey)
hasAnyCredentials
in interface CredentialsDao
@NotNull public Collection<? extends MutableCredentialsData> findAll()
CredentialsDao
BambooObjectDao.findAll(Class)
.findAll
in interface CredentialsDao
@Nullable public MutableCredentialsData findById(long id)
CredentialsDao
BambooObjectDao.findById(long, Class)
.findById
in interface CredentialsDao
@Nullable public MutableCredentialsData findByOid(@NotNull BambooEntityOid oid)
CredentialsDao
BambooObjectWithOidDao.findByOid(BambooEntityOid, Class)
.findByOid
in interface CredentialsDao
@NotNull public MutableCredentialsData merge(@NotNull MutableCredentialsData unmanagedEntity)
CredentialsDao
BambooObjectDao.merge(BambooObject, Class)
.merge
in interface CredentialsDao
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.