public class CredentialsHibernateDao extends BambooHibernateObjectDao<MutableCredentialsData> implements CredentialsDao
Constructor and Description |
---|
CredentialsHibernateDao() |
Modifier and Type | Method and Description |
---|---|
Collection<? extends MutableCredentialsData> |
findAll(int firstResult,
int maxResults) |
List<? extends MutableCredentialsData> |
findByPluginKey(String pluginKey) |
BambooEntityOid |
getMaxCredentialOid(int serverKey) |
boolean |
hasAnyCredentials(String pluginKey) |
countAll, countWithRestriction, delete, deleteAll, executeCountQuery, findAll, findById, save, saveAll
getCacheAwareHibernateTemplate
checkDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countAll, countWithRestriction, delete, deleteAll, findAll, findById, 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
public boolean hasAnyCredentials(@NotNull String pluginKey)
hasAnyCredentials
in interface CredentialsDao
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.