net.sf.sail.core.service.impl
Class UserServiceImpl

java.lang.Object
  extended by net.sf.sail.core.service.impl.UserServiceImpl
All Implemented Interfaces:
Bundle, UserService

public class UserServiceImpl
extends java.lang.Object
implements UserService, Bundle

Author:
scytacki AUDIT07-

Constructor Summary
UserServiceImpl()
           
 
Method Summary
 java.util.Collection<User> getParticipants()
          Collection of users that are currently active
 User getUser(UserUuid userUuid)
          Translation from sail user id to a User object
 UserLookupService getUserLookupService()
           
 IAgent getWorkgroupAgent()
          This is a helper method because this object has all the ids needed to make the workgroup agent.
 java.lang.String getWorkgroupSDSId()
           
 AgentUuid getWorkgroupUuid()
           
 void initializeBundle(ServiceContext serviceContext)
          Initializes the services that this bundle provides
 void registerServices(ServiceContext serviceContext)
          Register a UserService
 void setUserLookupService(UserLookupService userLookup)
           
 void setWorkgroupSDSId(java.lang.String id)
           
 void setWorkgroupUuid(AgentUuid id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserServiceImpl

public UserServiceImpl()
Method Detail

setUserLookupService

public void setUserLookupService(UserLookupService userLookup)

getUserLookupService

public UserLookupService getUserLookupService()

getParticipants

public java.util.Collection<User> getParticipants()
Description copied from interface: UserService
Collection of users that are currently active

Specified by:
getParticipants in interface UserService
Returns:

getWorkgroupUuid

public AgentUuid getWorkgroupUuid()

setWorkgroupUuid

public void setWorkgroupUuid(AgentUuid id)

getWorkgroupSDSId

public java.lang.String getWorkgroupSDSId()

setWorkgroupSDSId

public void setWorkgroupSDSId(java.lang.String id)

getWorkgroupAgent

public IAgent getWorkgroupAgent()
This is a helper method because this object has all the ids needed to make the workgroup agent. It isn't used in all cases because the actual AgentService implementation might provide its own IAgent implementation.

Returns:

getUser

public User getUser(UserUuid userUuid)
Description copied from interface: UserService
Translation from sail user id to a User object

Specified by:
getUser in interface UserService
Returns:

registerServices

public void registerServices(ServiceContext serviceContext)
Register a UserService

Specified by:
registerServices in interface Bundle
Parameters:
-

initializeBundle

public void initializeBundle(ServiceContext serviceContext)
Description copied from interface: Bundle
Initializes the services that this bundle provides

Specified by:
initializeBundle in interface Bundle


Copyright © 2004-2008 TELS Center. All Rights Reserved.