|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.dynalivery.pcre.PCREEngine
| Field Summary | |
static int |
engineClosed
|
static int |
engineOpened
|
static int |
GV_DLL
|
static int |
GV_ENGINE
|
| Constructor Summary | |
PCREEngine(PCREClient client)
Construct a PCRE Engine object. |
|
PCREEngine(PCREClient client,
boolean open)
Construct a PCRE Engine object and optionally call OpenEngine. |
|
| Method Summary | |
boolean |
CanClose()
Query the print engine to see if it is closeable. |
java.lang.Object |
clone()
PCREEngine objects are not clonable, this method simply throws an exception. |
void |
Close()
Close the print engine. |
PCREAPI |
getAPI()
Get the PCREAPI object used by this engine. |
PCREClient |
getClient()
Get the client instance for this engine. |
short |
GetErrorCode()
Issue a PEGetErrorCode call. |
java.lang.String |
GetErrorText()
Issue a PEGetErrorStr call. |
boolean |
GetHandleString(int textHandle,
short textLength,
java.lang.StringBuffer string)
Issue a PEGetHandleString call. |
PCREJobTable |
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. |
void |
logOffRepository()
Should be called to release resources after the user is finished using the repository from this PCREEngine object and all PCREJob objects associated with this PCREEngine. |
boolean |
LogOffServer(java.lang.String dllName,
PCRELogOnInfo logOnInfo)
Log off a database server. |
void |
logOnRepository(java.lang.String username,
java.lang.String password)
Used to log this PCREEngine object and any PCREJob object created with this PCREEngine onto the repository. |
boolean |
LogOnServer(java.lang.String dllName,
PCRELogOnInfo logOnInfo)
Log on to a database server. |
boolean |
Open()
Open a new print engine. |
PCREJob |
OpenJob(java.lang.String reportFileName)
Open a report using this engine |
PCREJob |
OpenJobFromRepository(java.lang.String repositoryPath)
Similar to the OpenJob method call except the report template is retrieved from the repository instead of the file system of the report server. |
PCRESaffronJob |
OpenSaffronJob()
Get an instance of PCRESaffronJob |
PCREJob |
OpenSubreport(PCREJob parentJob,
java.lang.String subreportName)
Open a subreport within a job's current report. |
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 GV_DLL
public static final int GV_ENGINE
public static final int engineClosed
public static final int engineOpened
| Constructor Detail |
public PCREEngine(PCREClient client)
throws PCREClientError,
PCREServerError,
PCREAPIError
client - The PCREClient object that holds the PCRE server connection.
public PCREEngine(PCREClient client,
boolean open)
throws PCREClientError,
PCREServerError,
PCREAPIError
client - The PCREClient object that holds the PCRE server connection.open - If true, call OpenEngine to open the print engine.| Method Detail |
public boolean CanClose()
throws PCREServerError,
PCREAPIError
public final java.lang.Object clone()
throws java.lang.CloneNotSupportedException
public void Close()
throws PCREServerError,
PCREAPIError
public PCREAPI getAPI()
public PCREClient getClient()
public short GetErrorCode()
throws PCREServerError,
PCREAPIError
public java.lang.String GetErrorText()
throws PCREServerError,
PCREAPIError
public boolean GetHandleString(int textHandle,
short textLength,
java.lang.StringBuffer string)
throws PCREServerError,
PCREAPIError
textHandle - The handle of the string to retrieve.textLength - The length of the text.string - A buffer to store the result into.public PCREJobTable getJobTable()
public int getStatus()
public short GetVersion(int versionRequested)
throws PCREServerError,
PCREAPIError
public boolean LogOffServer(java.lang.String dllName,
PCRELogOnInfo logOnInfo)
throws PCREServerError,
PCREAPIError
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,
PCRELogOnInfo logOnInfo)
throws PCREServerError,
PCREAPIError
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 PCREServerError,
PCREAPIError
public PCREJob OpenJob(java.lang.String reportFileName)
throws PCREServerError,
PCREAPIError
reportFileName - The path and filename of the report file to open.
public PCRESaffronJob OpenSaffronJob()
throws PCREServerError,
PCREAPIError
public PCREJob OpenSubreport(PCREJob parentJob,
java.lang.String subreportName)
throws PCREServerError,
PCREAPIError
parentJob - The job associated with the report containing the subreport.subreportName - The name of the subreport within parentJob's report.
public void PrintReport(java.lang.String reportFile)
throws PCREServerError,
PCREAPIError
reportFile - The path and filename of the report file which is to be printed.
public void logOnRepository(java.lang.String username,
java.lang.String password)
throws RepositorySecurityException,
RepositoryServerUnavailableException,
RepositoryAuthenticationException,
InternalRepositoryException,
RepositoryNotEnabledException
username - a user which exists in the security realm of the Web Application Server which is running
the repository.password - the password corresponding to the username given
public void logOffRepository()
throws InternalRepositoryException,
RepositoryNotEnabledException
public PCREJob OpenJobFromRepository(java.lang.String repositoryPath)
throws RepositorySecurityException,
InvalidPathnameException,
InternalRepositoryException,
RepositoryNotEnabledException,
PCREAPIError
repositoryPath - the full path to the report template in the repository.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||