com.atlassian.jira.rpc.soap.util
Class RemoteEntityFactoryImpl

java.lang.Object
  extended by com.atlassian.jira.rpc.soap.util.RemoteEntityFactoryImpl
All Implemented Interfaces:
RemoteEntityFactory

public class RemoteEntityFactoryImpl
extends java.lang.Object
implements RemoteEntityFactory

Default implementation of the RemoteEntityFactory interface. Provides email address protection to prevent information leakage in RPC land.

Since:
v4.1

Constructor Summary
RemoteEntityFactoryImpl(com.atlassian.jira.util.EmailFormatter emailFormatter, com.atlassian.jira.security.groups.GroupManager groupManager)
           
 
Method Summary
 RemoteGroup createGroup(com.atlassian.crowd.embedded.api.Group group)
          Returns a RemoteGroup based on the OSUser implementation.
 RemoteUser createUser(com.atlassian.crowd.embedded.api.User user)
          Returns a RemoteUser based on the OSUser implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteEntityFactoryImpl

public RemoteEntityFactoryImpl(com.atlassian.jira.util.EmailFormatter emailFormatter,
                               com.atlassian.jira.security.groups.GroupManager groupManager)
Method Detail

createUser

public RemoteUser createUser(com.atlassian.crowd.embedded.api.User user)
Description copied from interface: RemoteEntityFactory
Returns a RemoteUser based on the OSUser implementation.

Specified by:
createUser in interface RemoteEntityFactory
Parameters:
user - real user; must not be null.
Returns:
a RemoteUser bean

createGroup

public RemoteGroup createGroup(com.atlassian.crowd.embedded.api.Group group)
Description copied from interface: RemoteEntityFactory
Returns a RemoteGroup based on the OSUser implementation.

Specified by:
createGroup in interface RemoteEntityFactory
Parameters:
group - real group; must not be null.
Returns:
a RemoteGroup bean


Copyright © 2004-2011 Atlassian. All Rights Reserved.