Modifier and Type | Method and Description |
---|---|
protected List<LdapSearchBaseDefinition> |
GroupRetriever.getSearchBaseDefinitions()
Method to get the search base definitions.
|
protected List<LdapSearchBaseDefinition> |
UserRetriever.getSearchBaseDefinitions()
Method to get the search base definitions.
|
protected abstract List<LdapSearchBaseDefinition> |
VisitingRetriever.getSearchBaseDefinitions()
Method to get the search base definitions.
|
protected List<LdapSearchBaseDefinition> |
MemberAndNonMemberModeVisitingRetriever.getSearchBaseDefinitions()
Method to get the search base definitions.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
LdapUtils.dnConformsToSearchBaseDefinitions(String dn,
Collection<LdapSearchBaseDefinition> searchBaseDefs)
Tests whether a DN conforms to at least on of the search bases.
|
static <T> T |
LdapSearchUtils.retrieveEntry(org.springframework.ldap.core.support.LdapContextSource contextFactory,
String dn,
String searchFilter,
String[] attributesToReturn,
Collection<LdapSearchBaseDefinition> searchBaseDefs,
LdapAttributesMapper<T> mapper)
Retrieve an entry with the named attributes from the LDAP directory and convert it with the
provided attributes mapper.
|
Modifier and Type | Class and Description |
---|---|
class |
LdapSearchBaseDefinitionImpl |
Modifier and Type | Method and Description |
---|---|
static LdapSearchBaseDefinition |
LdapSearchBaseDefinition.Factory.newInstance()
Constructs a new instance of
LdapSearchBaseDefinition . |
static LdapSearchBaseDefinition |
LdapSearchBaseDefinition.Factory.newInstance(String searchBase,
boolean searchSubtree)
Constructs a new instance of
LdapSearchBaseDefinition , taking all possible
properties (except the identifier(s))as arguments. |
Modifier and Type | Method and Description |
---|---|
List<LdapSearchBaseDefinition> |
LdapSearchConfiguration.getSearchBases() |
Modifier and Type | Method and Description |
---|---|
static LdapSearchConfiguration |
LdapSearchConfiguration.Factory.newInstance(String propertyMapping,
List<LdapSearchBaseDefinition> searchBases)
Constructs a new instance of
LdapSearchConfiguration , taking all required
and/or read-only properties as arguments. |
static LdapSearchConfiguration |
LdapSearchConfiguration.Factory.newInstance(String searchFilter,
String propertyMapping,
List<LdapSearchBaseDefinition> searchBases)
Constructs a new instance of
LdapSearchConfiguration , taking all possible
properties (except the identifier(s))as arguments. |
void |
LdapSearchConfiguration.setSearchBases(List<LdapSearchBaseDefinition> searchBases) |
Modifier and Type | Method and Description |
---|---|
LdapSearchBaseDefinition |
LdapSearchBaseDefinitionDaoBase.create(LdapSearchBaseDefinition ldapSearchBaseDefinition) |
LdapSearchBaseDefinition |
LdapSearchBaseDefinitionDao.create(LdapSearchBaseDefinition ldapSearchBaseDefinition)
Creates an instance of com.communote.server.persistence.config.LdapSearchBaseDefinition and
adds it to the persistent store.
|
LdapSearchBaseDefinition |
LdapSearchBaseDefinitionDaoBase.load(Long id) |
LdapSearchBaseDefinition |
LdapSearchBaseDefinitionDao.load(Long id)
Loads an instance of com.communote.server.persistence.config.LdapSearchBaseDefinition from
the persistent store.
|
Modifier and Type | Method and Description |
---|---|
Collection<LdapSearchBaseDefinition> |
LdapSearchBaseDefinitionDaoBase.create(Collection<LdapSearchBaseDefinition> entities) |
Collection<LdapSearchBaseDefinition> |
LdapSearchBaseDefinitionDao.create(Collection<LdapSearchBaseDefinition> entities)
Creates a new instance of com.communote.server.persistence.config.LdapSearchBaseDefinition
and adds from the passed in
entities collection |
Collection<LdapSearchBaseDefinition> |
LdapSearchBaseDefinitionDaoBase.create(int transform,
Collection<LdapSearchBaseDefinition> entities) |
Collection<LdapSearchBaseDefinition> |
LdapSearchBaseDefinitionDaoBase.loadAll() |
Collection<LdapSearchBaseDefinition> |
LdapSearchBaseDefinitionDao.loadAll()
Loads all entities of type
LdapSearchBaseDefinition
. |
Modifier and Type | Method and Description |
---|---|
Object |
LdapSearchBaseDefinitionDaoBase.create(int transform,
LdapSearchBaseDefinition ldapSearchBaseDefinition) |
Object |
LdapSearchBaseDefinitionDao.create(int transform,
LdapSearchBaseDefinition ldapSearchBaseDefinition)
Does the same thing as
LdapSearchBaseDefinitionDao.create(com.communote.server.model.config.LdapSearchBaseDefinition) with an
additional flag called transform . |
LdapSearchBaseDefinition |
LdapSearchBaseDefinitionDaoBase.create(LdapSearchBaseDefinition ldapSearchBaseDefinition) |
LdapSearchBaseDefinition |
LdapSearchBaseDefinitionDao.create(LdapSearchBaseDefinition ldapSearchBaseDefinition)
Creates an instance of com.communote.server.persistence.config.LdapSearchBaseDefinition and
adds it to the persistent store.
|
void |
LdapSearchBaseDefinitionDaoBase.evict(LdapSearchBaseDefinition entity)
Evicts (removes) the entity from the hibernate cache
|
void |
LdapSearchBaseDefinitionDao.evict(LdapSearchBaseDefinition entity)
Evicts (removes) the entity from the hibernate cache
|
void |
LdapSearchBaseDefinitionDaoBase.remove(LdapSearchBaseDefinition ldapSearchBaseDefinition) |
void |
LdapSearchBaseDefinitionDao.remove(LdapSearchBaseDefinition ldapSearchBaseDefinition)
Removes the instance of com.communote.server.persistence.config.LdapSearchBaseDefinition from
the persistent store.
|
protected Object |
LdapSearchBaseDefinitionDaoBase.transformEntity(int transform,
LdapSearchBaseDefinition entity)
Allows transformation of entities into value objects (or something else for that matter),
when the
transform flag is set to one of the constants defined in
com.communote.server.persistence.config.LdapSearchBaseDefinitionDao , please note
that the LdapSearchBaseDefinitionDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
LdapSearchBaseDefinitionDaoBase.update(LdapSearchBaseDefinition ldapSearchBaseDefinition) |
void |
LdapSearchBaseDefinitionDao.update(LdapSearchBaseDefinition ldapSearchBaseDefinition)
Updates the
ldapSearchBaseDefinition instance in the persistent store. |
Modifier and Type | Method and Description |
---|---|
Collection<LdapSearchBaseDefinition> |
LdapSearchBaseDefinitionDaoBase.create(Collection<LdapSearchBaseDefinition> entities) |
Collection<LdapSearchBaseDefinition> |
LdapSearchBaseDefinitionDao.create(Collection<LdapSearchBaseDefinition> entities)
Creates a new instance of com.communote.server.persistence.config.LdapSearchBaseDefinition
and adds from the passed in
entities collection |
Collection<LdapSearchBaseDefinition> |
LdapSearchBaseDefinitionDaoBase.create(int transform,
Collection<LdapSearchBaseDefinition> entities) |
Collection<?> |
LdapSearchBaseDefinitionDao.create(int transform,
Collection<LdapSearchBaseDefinition> entities)
Does the same thing as
LdapSearchBaseDefinitionDao.create(com.communote.server.model.config.LdapSearchBaseDefinition) with an
additional flag called transform . |
void |
LdapSearchBaseDefinitionDaoBase.remove(Collection<LdapSearchBaseDefinition> entities) |
void |
LdapSearchBaseDefinitionDao.remove(Collection<LdapSearchBaseDefinition> entities)
Removes all entities in the given
entities |
void |
LdapSearchBaseDefinitionDaoBase.update(Collection<LdapSearchBaseDefinition> entities) |
void |
LdapSearchBaseDefinitionDao.update(Collection<LdapSearchBaseDefinition> entities)
Updates all instances in the
entities collection in the persistent store. |
Modifier and Type | Method and Description |
---|---|
List<LdapSearchBaseDefinition> |
LdapConfigurationForm.getGroupSearchBases()
Gets the group searchbase
|
List<LdapSearchBaseDefinition> |
LdapConfigurationForm.getUserSearchBases()
Gets the userSearchBases
|
Modifier and Type | Method and Description |
---|---|
void |
LdapConfigurationForm.setGroupSearchBases(List<LdapSearchBaseDefinition> searchBases)
Wrapper to set group search bases in config.
|
void |
LdapConfigurationForm.setUserSearchBases(List<LdapSearchBaseDefinition> searchBases)
Wrapper to set the user search base in config.
|
Copyright © 2019 Communote team. All rights reserved.