it.eng.spagobi.services.metamodel.service
Class MetamodelServiceImpl

java.lang.Object
  extended by it.eng.spagobi.services.common.AbstractServiceImpl
      extended by it.eng.spagobi.services.metamodel.service.MetamodelServiceImpl

public class MetamodelServiceImpl
extends AbstractServiceImpl


Constructor Summary
MetamodelServiceImpl()
          Instantiates a new metamodel service impl.
 
Method Summary
 javax.activation.DataHandler getMetamodelContentByName(java.lang.String token, java.lang.String user, java.lang.String name)
          return the metamodel by the id
 long getMetamodelContentLastModified(java.lang.String token, java.lang.String user, java.lang.String name)
          Returns the last modification date of the metamodel specified
 
Methods inherited from class it.eng.spagobi.services.common.AbstractServiceImpl
setTenantByUserId, setTenantByUserProfile, unsetTenant, validateTicket
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetamodelServiceImpl

public MetamodelServiceImpl()
Instantiates a new metamodel service impl.

Method Detail

getMetamodelContentByName

public javax.activation.DataHandler getMetamodelContentByName(java.lang.String token,
                                                              java.lang.String user,
                                                              java.lang.String name)
return the metamodel by the id

Parameters:
token. - The token.
user. - The user.
id. - The metamodel's name.
Returns:
the content of the metamodel.

getMetamodelContentLastModified

public long getMetamodelContentLastModified(java.lang.String token,
                                            java.lang.String user,
                                            java.lang.String name)
Returns the last modification date of the metamodel specified

Parameters:
token - The token.
user - The user.
name - The metamodel's name.
Returns:
the last modification date of the metamodel specified