public static class

ACMDistributor.DistributorData

extends Object
implements IDSSXMLObjectServer.StringFormatAndErrorData
java.lang.Object
   ↳ com.microstrategy.webapi.ACMDistributor.DistributorData

Class Overview

DistributorData is returned from the Run() method

Summary

Public Constructors
DistributorData()
Public Methods
void addException(String iProjectId, MSTRWebAPIException iEx)
boolean getAnySuccess()
getAnySuccess returns true if any of the distributed calls was successful.
HashMap<String, MSTRWebAPIException> getExceptions()
getExceptions gets a map of Project IDs that failed and the reason for the failure
String getStringData()
getStringData returns the result in a string data format (xml or Json)
void setStringData(String iStringData, boolean iAnySuccess)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.microstrategy.webapi.IDSSXMLObjectServer.StringFormatAndErrorData

Public Constructors

public DistributorData ()

Public Methods

public void addException (String iProjectId, MSTRWebAPIException iEx)

public boolean getAnySuccess ()

getAnySuccess returns true if any of the distributed calls was successful. This is independent of whether or not the distributed call returned any data or not, because an empty result may be valid

public HashMap<String, MSTRWebAPIException> getExceptions ()

getExceptions gets a map of Project IDs that failed and the reason for the failure

public String getStringData ()

getStringData returns the result in a string data format (xml or Json)

public void setStringData (String iStringData, boolean iAnySuccess)