it.eng.spagobi.services.artifact.service
Class ArtifactServiceImpl
java.lang.Object
it.eng.spagobi.services.common.AbstractServiceImpl
it.eng.spagobi.services.artifact.service.ArtifactServiceImpl
public class ArtifactServiceImpl
- extends AbstractServiceImpl
Method Summary |
javax.activation.DataHandler |
getArtifactContentById(java.lang.String token,
java.lang.String user,
java.lang.Integer id)
return the artifact by the id |
javax.activation.DataHandler |
getArtifactContentByNameAndType(java.lang.String token,
java.lang.String user,
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 token,
java.lang.String user,
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 |
ArtifactServiceImpl
public ArtifactServiceImpl()
- Instantiates a new artifact service impl.
getArtifactContentByNameAndType
public javax.activation.DataHandler getArtifactContentByNameAndType(java.lang.String token,
java.lang.String user,
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.String token,
java.lang.String user,
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 token,
java.lang.String user,
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.