|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.dynalivery.harmoni.HarmoniEngine
| Field Summary | |
static int |
engineClosed
|
static int |
engineOpened
|
| Constructor Summary | |
HarmoniEngine(HarmoniClient client)
Construct a Harmoni Engine object. |
|
HarmoniEngine(HarmoniClient client,
boolean open)
Construct a Harmoni Engine object and optionally call OpenEngine. |
|
| Method Summary | |
java.lang.Object |
clone()
HarmoniEngine objects are not clonable, this method simply throws an exception. |
void |
Close()
Close the print engine. |
HarmoniAPI |
getAPI()
Get the HarmoniAPI object used by this engine. |
HarmoniClient |
getClient()
Get the client instance for this engine. |
HarmoniJobTable |
getJobTable()
Get the job-table used by this engine. |
int |
getStatus()
Get the current engine status. |
short |
GetVersion(int versionRequested)
Get the version of this report engine. |
boolean |
LogOffServer(java.lang.String dllName,
HarmoniLogOnInfo logOnInfo)
Log off a database server. |
boolean |
LogOnServer(java.lang.String dllName,
HarmoniLogOnInfo logOnInfo)
Log on to a database server. |
boolean |
Open()
Open a new print engine. |
HarmoniSaffronJob |
OpenSaffronJob()
Get an instance of HarmoniSaffronJob |
void |
PrintReport(java.lang.String reportFile)
Print a given report |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public static final int engineClosed
public static final int engineOpened
| Constructor Detail |
public HarmoniEngine(HarmoniClient client)
throws HarmoniClientError,
HarmoniServerError,
HarmoniAPIError
client - The HarmoniClient object that holds the Harmoni server connection.
public HarmoniEngine(HarmoniClient client,
boolean open)
throws HarmoniClientError,
HarmoniServerError,
HarmoniAPIError
client - The HarmoniClient object that holds the Harmoni server connection.open - If true, call OpenEngine to open the print engine.| Method Detail |
public final java.lang.Object clone()
throws java.lang.CloneNotSupportedException
public void Close()
throws HarmoniServerError,
HarmoniAPIError
public HarmoniAPI getAPI()
public HarmoniClient getClient()
public HarmoniJobTable getJobTable()
public int getStatus()
public short GetVersion(int versionRequested)
throws HarmoniServerError,
HarmoniAPIError
public boolean LogOffServer(java.lang.String dllName,
HarmoniLogOnInfo logOnInfo)
throws HarmoniServerError,
HarmoniAPIError
dllName - The DLL to use for the data source which you wish to log off.logOnInfo - The login information to use for logging off the database.
public boolean LogOnServer(java.lang.String dllName,
HarmoniLogOnInfo logOnInfo)
throws HarmoniServerError,
HarmoniAPIError
dllName - The DLL to use for the data source which you wish to log on to.logOnInfo - The login information to use.
public boolean Open()
throws HarmoniServerError,
HarmoniAPIError
public HarmoniSaffronJob OpenSaffronJob()
throws HarmoniServerError,
HarmoniAPIError
public void PrintReport(java.lang.String reportFile)
throws HarmoniServerError,
HarmoniAPIError
reportFile - The path and filename of the report file which is to be printed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||