public final class HibernateApplicationDao
extends org.springframework.orm.hibernate5.support.HibernateDaoSupport
implements com.atlassian.crowd.dao.application.ApplicationDAO
Constructor and Description |
---|
HibernateApplicationDao() |
Modifier and Type | Method and Description |
---|---|
com.atlassian.crowd.model.application.Application |
add(com.atlassian.crowd.model.application.Application application,
com.atlassian.crowd.embedded.api.PasswordCredential passwordCredential) |
void |
addDirectoryMapping(long applicationId,
long directoryId,
boolean allowAllToAuthenticate,
com.atlassian.crowd.embedded.api.OperationType... operationTypes) |
void |
addGroupMapping(long applicationId,
long directoryId,
String groupName) |
void |
addRemoteAddress(long applicationId,
com.atlassian.crowd.model.application.RemoteAddress remoteAddress) |
List<com.atlassian.crowd.model.application.Application> |
findAuthorisedApplications(long directoryId,
List<String> groupNames) |
com.atlassian.crowd.model.application.ApplicationImpl |
findById(long id) |
com.atlassian.crowd.model.application.ApplicationImpl |
findByName(String name) |
void |
remove(com.atlassian.crowd.model.application.Application application) |
void |
removeDirectoryMapping(long applicationId,
long directoryId) |
void |
removeDirectoryMappings(long directoryId) |
void |
removeGroupMapping(long applicationId,
long directoryId,
String groupName) |
void |
removeGroupMappings(long directoryId,
String groupName) |
void |
removeRemoteAddress(long applicationId,
com.atlassian.crowd.model.application.RemoteAddress remoteAddress) |
void |
renameGroupMappings(long directoryId,
String oldGroupName,
String newGroupName) |
List<com.atlassian.crowd.model.application.Application> |
search(com.atlassian.crowd.search.query.entity.EntityQuery<com.atlassian.crowd.model.application.Application> query) |
void |
setDirectoryDao(HibernateDirectoryDao directoryDao) |
com.atlassian.crowd.model.application.Application |
update(com.atlassian.crowd.model.application.Application application) |
void |
updateCredential(com.atlassian.crowd.model.application.Application application,
com.atlassian.crowd.embedded.api.PasswordCredential passwordCredential) |
void |
updateDirectoryMapping(long applicationId,
long directoryId,
boolean allowAllToAuthenticate) |
void |
updateDirectoryMapping(long applicationId,
long directoryId,
boolean allowAllToAuthenticate,
Set<com.atlassian.crowd.embedded.api.OperationType> operationTypes) |
void |
updateDirectoryMapping(long applicationId,
long directoryId,
int position) |
public com.atlassian.crowd.model.application.ApplicationImpl findById(long id) throws com.atlassian.crowd.exception.ApplicationNotFoundException
findById
in interface com.atlassian.crowd.dao.application.ApplicationDAO
com.atlassian.crowd.exception.ApplicationNotFoundException
public com.atlassian.crowd.model.application.ApplicationImpl findByName(String name) throws com.atlassian.crowd.exception.ApplicationNotFoundException
findByName
in interface com.atlassian.crowd.dao.application.ApplicationDAO
com.atlassian.crowd.exception.ApplicationNotFoundException
public com.atlassian.crowd.model.application.Application add(com.atlassian.crowd.model.application.Application application, com.atlassian.crowd.embedded.api.PasswordCredential passwordCredential)
add
in interface com.atlassian.crowd.dao.application.ApplicationDAO
public com.atlassian.crowd.model.application.Application update(com.atlassian.crowd.model.application.Application application) throws com.atlassian.crowd.exception.ApplicationNotFoundException
update
in interface com.atlassian.crowd.dao.application.ApplicationDAO
com.atlassian.crowd.exception.ApplicationNotFoundException
public void updateCredential(com.atlassian.crowd.model.application.Application application, com.atlassian.crowd.embedded.api.PasswordCredential passwordCredential) throws com.atlassian.crowd.exception.ApplicationNotFoundException
updateCredential
in interface com.atlassian.crowd.dao.application.ApplicationDAO
com.atlassian.crowd.exception.ApplicationNotFoundException
public void remove(com.atlassian.crowd.model.application.Application application)
remove
in interface com.atlassian.crowd.dao.application.ApplicationDAO
public List<com.atlassian.crowd.model.application.Application> search(com.atlassian.crowd.search.query.entity.EntityQuery<com.atlassian.crowd.model.application.Application> query)
search
in interface com.atlassian.crowd.dao.application.ApplicationDAO
public void addDirectoryMapping(long applicationId, long directoryId, boolean allowAllToAuthenticate, com.atlassian.crowd.embedded.api.OperationType... operationTypes) throws com.atlassian.crowd.exception.ApplicationNotFoundException, com.atlassian.crowd.exception.DirectoryNotFoundException
addDirectoryMapping
in interface com.atlassian.crowd.dao.application.ApplicationDAO
com.atlassian.crowd.exception.ApplicationNotFoundException
com.atlassian.crowd.exception.DirectoryNotFoundException
public void addRemoteAddress(long applicationId, com.atlassian.crowd.model.application.RemoteAddress remoteAddress)
addRemoteAddress
in interface com.atlassian.crowd.dao.application.ApplicationDAO
public void removeRemoteAddress(long applicationId, com.atlassian.crowd.model.application.RemoteAddress remoteAddress)
removeRemoteAddress
in interface com.atlassian.crowd.dao.application.ApplicationDAO
public void removeDirectoryMapping(long applicationId, long directoryId) throws com.atlassian.crowd.exception.ApplicationNotFoundException
removeDirectoryMapping
in interface com.atlassian.crowd.dao.application.ApplicationDAO
com.atlassian.crowd.exception.ApplicationNotFoundException
public void removeDirectoryMappings(long directoryId)
removeDirectoryMappings
in interface com.atlassian.crowd.dao.application.ApplicationDAO
public void addGroupMapping(long applicationId, long directoryId, String groupName)
addGroupMapping
in interface com.atlassian.crowd.dao.application.ApplicationDAO
public void removeGroupMapping(long applicationId, long directoryId, String groupName)
removeGroupMapping
in interface com.atlassian.crowd.dao.application.ApplicationDAO
public void removeGroupMappings(long directoryId, String groupName)
removeGroupMappings
in interface com.atlassian.crowd.dao.application.ApplicationDAO
public void renameGroupMappings(long directoryId, String oldGroupName, String newGroupName)
renameGroupMappings
in interface com.atlassian.crowd.dao.application.ApplicationDAO
public List<com.atlassian.crowd.model.application.Application> findAuthorisedApplications(long directoryId, List<String> groupNames)
findAuthorisedApplications
in interface com.atlassian.crowd.dao.application.ApplicationDAO
public void updateDirectoryMapping(long applicationId, long directoryId, int position) throws com.atlassian.crowd.exception.ApplicationNotFoundException
updateDirectoryMapping
in interface com.atlassian.crowd.dao.application.ApplicationDAO
com.atlassian.crowd.exception.ApplicationNotFoundException
public void updateDirectoryMapping(long applicationId, long directoryId, boolean allowAllToAuthenticate) throws com.atlassian.crowd.exception.ApplicationNotFoundException
updateDirectoryMapping
in interface com.atlassian.crowd.dao.application.ApplicationDAO
com.atlassian.crowd.exception.ApplicationNotFoundException
public void updateDirectoryMapping(long applicationId, long directoryId, boolean allowAllToAuthenticate, Set<com.atlassian.crowd.embedded.api.OperationType> operationTypes) throws com.atlassian.crowd.exception.ApplicationNotFoundException
updateDirectoryMapping
in interface com.atlassian.crowd.dao.application.ApplicationDAO
com.atlassian.crowd.exception.ApplicationNotFoundException
public void setDirectoryDao(HibernateDirectoryDao directoryDao)
Copyright © 2003–2017 Atlassian. All rights reserved.