public class ApplicationDefaultGroupMembershipConfigurationDaoHibernate extends HibernateDao implements ApplicationDefaultGroupMembershipConfigurationDao
batchFinder, batchProcessor, logger, statelessSessionBatchProcessor, timeSourcesessionFactory| Constructor and Description |
|---|
ApplicationDefaultGroupMembershipConfigurationDaoHibernate() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Application application,
ApplicationDirectoryMapping directoryMapping,
String groupName)
Adds a new default group membership for the given application and group.
|
Class<?> |
getPersistentClass()
All subclasses of HibernateDao must implement this method for
HibernateDao.load(Serializable) to work
correctly. |
List<InternalApplicationDefaultGroupMembershipConfiguration> |
listAll(Application application,
ApplicationDirectoryMapping directoryMapping)
Lists all default group membership configurations for the given application/directory combination
|
void |
remove(Application application,
ApplicationDirectoryMapping directoryMapping,
String groupName)
Removes a default group membership configuration for the given application and group.
|
void |
removeAll(Application application,
ApplicationDirectoryMapping directoryMapping)
Removes all default group membership configurations for the given application and directory combination.
|
void |
setApplicationDAO(ApplicationDAO applicationDAO) |
createDeleteQuery, createDeleteQuery, createQuery, createQuery, executeHQLQuery, executeHQLQuery, findAllInternal, findByProperties, findByPropertiesOptional, findByProperty, findByProperty, findByPropertyOptional, findByPropertyOrThrow, getCountByProperties, load, load, loadOptional, loadReference, loadReference, remove, removeByIdIfPresent, save, saveOrUpdate, session, setBatchFinder, setBatchProcessor, setClock, setStatelessSessionBatchProcessor, toPredicates, updatesetSessionFactory, withStatelessSessionpublic ApplicationDefaultGroupMembershipConfigurationDaoHibernate()
public void add(Application application, ApplicationDirectoryMapping directoryMapping, String groupName) throws DirectoryMappingNotFoundException, ApplicationNotFoundException
ApplicationDefaultGroupMembershipConfigurationDaoadd in interface ApplicationDefaultGroupMembershipConfigurationDaoapplication - the application for which the default group membership will be createddirectoryMapping - directory mapping between the application and the directory from which the group originatesgroupName - the name of the group in the default group membership configurationDirectoryMappingNotFoundException - when the directory mapping could not be foundApplicationNotFoundExceptionpublic void remove(Application application, ApplicationDirectoryMapping directoryMapping, String groupName) throws DirectoryMappingNotFoundException, ApplicationNotFoundException
ApplicationDefaultGroupMembershipConfigurationDaoremove in interface ApplicationDefaultGroupMembershipConfigurationDaoapplication - the application for which the default group membership will be removeddirectoryMapping - directory mapping between the application and the directory from which the group originatesgroupName - the name of the group in the default group membership configurationDirectoryMappingNotFoundException - when the directory mapping could not be foundApplicationNotFoundExceptionpublic void removeAll(Application application, ApplicationDirectoryMapping directoryMapping) throws DirectoryMappingNotFoundException, ApplicationNotFoundException
ApplicationDefaultGroupMembershipConfigurationDaoremoveAll in interface ApplicationDefaultGroupMembershipConfigurationDaoapplication - the application for which the default group memberships will be removeddirectoryMapping - directory mapping between the application and the directory from which the group originatesDirectoryMappingNotFoundException - when the directory mapping could not be foundApplicationNotFoundExceptionpublic List<InternalApplicationDefaultGroupMembershipConfiguration> listAll(Application application, ApplicationDirectoryMapping directoryMapping) throws DirectoryMappingNotFoundException, ApplicationNotFoundException
ApplicationDefaultGroupMembershipConfigurationDaolistAll in interface ApplicationDefaultGroupMembershipConfigurationDaoapplication - the application for which the default group memberships should be listeddirectoryMapping - directory mapping between the application and the directory from which the group originatesDirectoryMappingNotFoundException - when the directory mapping could not be foundApplicationNotFoundException@Autowired public void setApplicationDAO(ApplicationDAO applicationDAO)
public Class<?> getPersistentClass()
HibernateDaoHibernateDao.load(Serializable) to work
correctly.getPersistentClass in class HibernateDaoCopyright © 2020 Atlassian. All rights reserved.