com.atlassian.crowd.integration.directory.connector.mapper
Class GroupContextMapper

java.lang.Object
  extended by com.atlassian.crowd.integration.directory.connector.mapper.ContainerContextMapper
      extended by com.atlassian.crowd.integration.directory.connector.mapper.GroupContextMapper
All Implemented Interfaces:
org.springframework.ldap.core.ContextMapper

public class GroupContextMapper
extends ContainerContextMapper


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.crowd.integration.directory.connector.mapper.ContainerContextMapper
ContainerContextMapper.MemberFetchType
 
Field Summary
 
Fields inherited from class com.atlassian.crowd.integration.directory.connector.mapper.ContainerContextMapper
directoryID, ldapPropertiesMapper, ldapTemplate, logger, memberParser, populateMembers
 
Constructor Summary
GroupContextMapper(long directoryID, org.springframework.ldap.core.LdapTemplate ldapTemplate, LDAPPropertiesMapper ldapPropertiesMapper, ContainerContextMapper.MemberFetchType populateMembers, MemberAttributeParser memberParser)
           
 
Method Summary
protected  java.lang.String getDescriptionAttribute()
          Returns the name of the attribute that identifies the group description
protected  java.lang.String getNameAttribute()
          Returns the name of the attribute that identifies the group name
protected  DirectoryContainer getNewContainer()
          Resonsible for creating the RemoteGroup.
 
Methods inherited from class com.atlassian.crowd.integration.directory.connector.mapper.ContainerContextMapper
getFetcher, mapFromContext, mapFromContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupContextMapper

public GroupContextMapper(long directoryID,
                          org.springframework.ldap.core.LdapTemplate ldapTemplate,
                          LDAPPropertiesMapper ldapPropertiesMapper,
                          ContainerContextMapper.MemberFetchType populateMembers,
                          MemberAttributeParser memberParser)
Method Detail

getNewContainer

protected DirectoryContainer getNewContainer()
Resonsible for creating the RemoteGroup.

Specified by:
getNewContainer in class ContainerContextMapper
Returns:

getNameAttribute

protected java.lang.String getNameAttribute()
Returns the name of the attribute that identifies the group name

Specified by:
getNameAttribute in class ContainerContextMapper
Returns:

getDescriptionAttribute

protected java.lang.String getDescriptionAttribute()
Returns the name of the attribute that identifies the group description

Specified by:
getDescriptionAttribute in class ContainerContextMapper
Returns:


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.