public final class CachedCrowdApplicationDao extends Object implements com.atlassian.crowd.dao.application.ApplicationDAO
findByName(java.lang.String)
.ApplicationCache
Constructor and Description |
---|
CachedCrowdApplicationDao() |
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.Application |
findById(long id) |
com.atlassian.crowd.model.application.Application |
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 |
setCache(ApplicationCache cache) |
void |
setDelegate(com.atlassian.crowd.dao.application.ApplicationDAO delegate) |
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 void setDelegate(com.atlassian.crowd.dao.application.ApplicationDAO delegate)
public void setCache(ApplicationCache cache)
public com.atlassian.crowd.model.application.Application 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.Application 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.DirectoryNotFoundException, com.atlassian.crowd.exception.ApplicationNotFoundException
addDirectoryMapping
in interface com.atlassian.crowd.dao.application.ApplicationDAO
com.atlassian.crowd.exception.DirectoryNotFoundException
com.atlassian.crowd.exception.ApplicationNotFoundException
public void addRemoteAddress(long applicationId, com.atlassian.crowd.model.application.RemoteAddress remoteAddress) throws com.atlassian.crowd.exception.ApplicationNotFoundException
addRemoteAddress
in interface com.atlassian.crowd.dao.application.ApplicationDAO
com.atlassian.crowd.exception.ApplicationNotFoundException
public void removeRemoteAddress(long applicationId, com.atlassian.crowd.model.application.RemoteAddress remoteAddress) throws com.atlassian.crowd.exception.ApplicationNotFoundException
removeRemoteAddress
in interface com.atlassian.crowd.dao.application.ApplicationDAO
com.atlassian.crowd.exception.ApplicationNotFoundException
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) throws com.atlassian.crowd.exception.ApplicationNotFoundException
addGroupMapping
in interface com.atlassian.crowd.dao.application.ApplicationDAO
com.atlassian.crowd.exception.ApplicationNotFoundException
public void removeGroupMapping(long applicationId, long directoryId, String groupName) throws com.atlassian.crowd.exception.ApplicationNotFoundException
removeGroupMapping
in interface com.atlassian.crowd.dao.application.ApplicationDAO
com.atlassian.crowd.exception.ApplicationNotFoundException
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 void updateDirectoryMapping(long applicationId, long directoryId, int position) throws com.atlassian.crowd.exception.ApplicationNotFoundException, com.atlassian.crowd.exception.DirectoryNotFoundException
updateDirectoryMapping
in interface com.atlassian.crowd.dao.application.ApplicationDAO
com.atlassian.crowd.exception.ApplicationNotFoundException
com.atlassian.crowd.exception.DirectoryNotFoundException
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, boolean allowAllToAuthenticate) throws com.atlassian.crowd.exception.ApplicationNotFoundException, com.atlassian.crowd.exception.DirectoryNotFoundException
updateDirectoryMapping
in interface com.atlassian.crowd.dao.application.ApplicationDAO
com.atlassian.crowd.exception.ApplicationNotFoundException
com.atlassian.crowd.exception.DirectoryNotFoundException
public void updateDirectoryMapping(long applicationId, long directoryId, boolean allowAllToAuthenticate, Set<com.atlassian.crowd.embedded.api.OperationType> operationTypes) throws com.atlassian.crowd.exception.ApplicationNotFoundException, com.atlassian.crowd.exception.DirectoryNotFoundException
updateDirectoryMapping
in interface com.atlassian.crowd.dao.application.ApplicationDAO
com.atlassian.crowd.exception.ApplicationNotFoundException
com.atlassian.crowd.exception.DirectoryNotFoundException
Copyright © 2003–2017 Atlassian. All rights reserved.