it.eng.spagobi.services.common
Class AbstractServiceImpl

java.lang.Object
  extended by it.eng.spagobi.services.common.AbstractServiceImpl
Direct Known Subclasses:
AuditServiceImpl, ContentServiceImpl, DataSetServiceImpl, DataSourceServiceImpl, EventServiceImpl, MapCatalogueImpl, PublishImpl, SbiDocumentServiceImpl, SchedulerServiceImpl, SecurityServiceImpl

public abstract class AbstractServiceImpl
extends java.lang.Object

Abstract class for all Service Implementation


Constructor Summary
AbstractServiceImpl()
          Instantiates a new abstract service impl.
 
Method Summary
protected  void setTenantByUserId(java.lang.String userId)
           
protected  void setTenantByUserProfile(it.eng.spago.security.IEngUserProfile profile)
           
protected  void unsetTenant()
           
protected  void validateTicket(java.lang.String ticket, java.lang.String userId)
          check the ticket used for verify the user authentication
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractServiceImpl

public AbstractServiceImpl()
Instantiates a new abstract service impl.

Method Detail

validateTicket

protected void validateTicket(java.lang.String ticket,
                              java.lang.String userId)
                       throws it.eng.spagobi.services.security.exceptions.SecurityException
check the ticket used for verify the user authentication

Parameters:
ticket - String
Throws:
it.eng.spagobi.services.security.exceptions.SecurityException

setTenantByUserProfile

protected void setTenantByUserProfile(it.eng.spago.security.IEngUserProfile profile)

unsetTenant

protected void unsetTenant()

setTenantByUserId

protected void setTenantByUserId(java.lang.String userId)