com.atlassian.jira.rpc.soap.util
Interface RemoteEntityFactory

All Known Implementing Classes:
RemoteEntityFactoryImpl

public interface RemoteEntityFactory

An interface for the creation of RemoteEntity objects based on their real OSUser counterparts. This factory should perform extra steps to ensure that the remote entities are complete in their representation, such as masking or hiding email addresses in RemoteUser objects depending on system state.

Since:
v4.1

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.
 

Method Detail

createUser

RemoteUser createUser(com.atlassian.crowd.embedded.api.User user)
Returns a RemoteUser based on the OSUser implementation.

Parameters:
user - real user; must not be null.
Returns:
a RemoteUser bean

createGroup

RemoteGroup createGroup(com.atlassian.crowd.embedded.api.Group group)
Returns a RemoteGroup based on the OSUser implementation.

Parameters:
group - real group; must not be null.
Returns:
a RemoteGroup bean


Copyright © 2004-2011 Atlassian. All Rights Reserved.