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

java.lang.Object
  extended by net.sf.sail.core.service.impl.DelegatingDataService
All Implemented Interfaces:
SessionDataService

public class DelegatingDataService
extends java.lang.Object
implements SessionDataService

Author:
scytacki

Constructor Summary
DelegatingDataService(UserService portal, AgentService agentService, Offering offering, AnnotationService annotationService)
           
 
Method Summary
 AnnotationService getAnnotationService()
           
 Offering getOffering()
           
 AgentService getPersistenceService(SessionContext session)
           
 User getUser(UserUuid userUuid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatingDataService

public DelegatingDataService(UserService portal,
                             AgentService agentService,
                             Offering offering,
                             AnnotationService annotationService)
Method Detail

getPersistenceService

public AgentService getPersistenceService(SessionContext session)
Specified by:
getPersistenceService in interface SessionDataService

getUser

public User getUser(UserUuid userUuid)
Specified by:
getUser in interface SessionDataService
Returns:
user in database identified by userUuid

getOffering

public Offering getOffering()
Specified by:
getOffering in interface SessionDataService
Returns:

getAnnotationService

public AnnotationService getAnnotationService()
Specified by:
getAnnotationService in interface SessionDataService


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