com.atlassian.crowd.migration
Class RemoteRoleMapper

java.lang.Object
  extended by com.atlassian.crowd.migration.GenericMapper
      extended by com.atlassian.crowd.migration.RemoteRoleMapper
All Implemented Interfaces:
Mapper

public class RemoteRoleMapper
extends GenericMapper
implements Mapper

This mapper will handle the mapping of RemoteRoles and the associated RemoteRoleMemberships.


Field Summary
static java.lang.String REMOTE_ROLE_XML_ACTIVE
           
static java.lang.String REMOTE_ROLE_XML_DESCRIPTION
           
static java.lang.String REMOTE_ROLE_XML_DIRECTORY_ID
           
static java.lang.String REMOTE_ROLE_XML_NAME
           
static java.lang.String REMOTE_ROLE_XML_NODE
           
static java.lang.String REMOTE_ROLE_XML_PRINCIPAL
           
static java.lang.String REMOTE_ROLE_XML_PRINCIPAL_NAME
           
static java.lang.String REMOTE_ROLE_XML_PRINCIPAL_NODE
           
static java.lang.String REMOTE_ROLE_XML_ROOT
           
 
Fields inherited from class com.atlassian.crowd.migration.GenericMapper
DATE_FORMAT, GENERIC_XML_ATTRIBUTE, GENERIC_XML_ATTRIBUTE_ID, GENERIC_XML_ATTRIBUTE_KEY, GENERIC_XML_ATTRIBUTE_VALUE, GENERIC_XML_ATTRIBUTE_VALUES, GENERIC_XML_ATTRIBUTES_NODE, GENERIC_XML_CONCEPTION, GENERIC_XML_ID, GENERIC_XML_LASTMODIFIED, logger
 
Constructor Summary
RemoteRoleMapper()
           
 
Method Summary
 org.dom4j.Element exportXml(java.util.Map options)
           
 RoleDAO getRoleDAO()
           
 void importXml(org.dom4j.Element root)
           
 void setRoleDAO(RoleDAO roleDAO)
           
 
Methods inherited from class com.atlassian.crowd.migration.GenericMapper
addEntities, addEntity, addEntityAttributes, exportDefaults, findAllExportableDirectories, getBatchProcessor, getDateAsFormattedString, getDateFromFormattedString, getDirectoryManager, getEntityAttributes, getSessionFactory, populateDefaults, setBatchProcessor, setDirectoryManager, setSessionFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REMOTE_ROLE_XML_ROOT

public static final java.lang.String REMOTE_ROLE_XML_ROOT
See Also:
Constant Field Values

REMOTE_ROLE_XML_NODE

public static final java.lang.String REMOTE_ROLE_XML_NODE
See Also:
Constant Field Values

REMOTE_ROLE_XML_ACTIVE

public static final java.lang.String REMOTE_ROLE_XML_ACTIVE
See Also:
Constant Field Values

REMOTE_ROLE_XML_NAME

public static final java.lang.String REMOTE_ROLE_XML_NAME
See Also:
Constant Field Values

REMOTE_ROLE_XML_DIRECTORY_ID

public static final java.lang.String REMOTE_ROLE_XML_DIRECTORY_ID
See Also:
Constant Field Values

REMOTE_ROLE_XML_DESCRIPTION

public static final java.lang.String REMOTE_ROLE_XML_DESCRIPTION
See Also:
Constant Field Values

REMOTE_ROLE_XML_PRINCIPAL_NODE

public static final java.lang.String REMOTE_ROLE_XML_PRINCIPAL_NODE
See Also:
Constant Field Values

REMOTE_ROLE_XML_PRINCIPAL

public static final java.lang.String REMOTE_ROLE_XML_PRINCIPAL
See Also:
Constant Field Values

REMOTE_ROLE_XML_PRINCIPAL_NAME

public static final java.lang.String REMOTE_ROLE_XML_PRINCIPAL_NAME
See Also:
Constant Field Values
Constructor Detail

RemoteRoleMapper

public RemoteRoleMapper()
Method Detail

exportXml

public org.dom4j.Element exportXml(java.util.Map options)
                            throws java.text.ParseException
Specified by:
exportXml in interface Mapper
Throws:
java.text.ParseException

importXml

public void importXml(org.dom4j.Element root)
               throws java.lang.Exception
Specified by:
importXml in interface Mapper
Throws:
java.lang.Exception

setRoleDAO

public void setRoleDAO(RoleDAO roleDAO)

getRoleDAO

public RoleDAO getRoleDAO()


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.