it.eng.spagobi.services.artifact.service
Class ArtifactServiceImplSupplier

java.lang.Object
  extended by it.eng.spagobi.services.artifact.service.ArtifactServiceImplSupplier

public class ArtifactServiceImplSupplier
extends java.lang.Object


Constructor Summary
ArtifactServiceImplSupplier()
           
 
Method Summary
 javax.activation.DataHandler getArtifactContentById(java.lang.Integer id)
          return the artifact by the id
 javax.activation.DataHandler getArtifactContentByNameAndType(java.lang.String name, java.lang.String type)
          return the artifact by name and type
 it.eng.spagobi.services.artifact.bo.SpagoBIArtifact[] getArtifactsByType(java.lang.String type)
          return the artifacts list of the given type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtifactServiceImplSupplier

public ArtifactServiceImplSupplier()
Method Detail

getArtifactContentByNameAndType

public javax.activation.DataHandler getArtifactContentByNameAndType(java.lang.String name,
                                                                    java.lang.String type)
return the artifact by name and type

Parameters:
token. - The token.
user. - The user.
name. - The artifact's name.
type. - The artifact's type.
Returns:
the content of the artifact.

getArtifactContentById

public javax.activation.DataHandler getArtifactContentById(java.lang.Integer id)
return the artifact by the id

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

getArtifactsByType

public it.eng.spagobi.services.artifact.bo.SpagoBIArtifact[] getArtifactsByType(java.lang.String type)
return the artifacts list of the given type

Parameters:
token. - The token.
user. - The user.
type. - The artifact's type.
Returns:
the list of the artifacts of the given type.