|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IProgramPluginBase
This interface allows you to define what types of program objects you want to manage within the BusinessObjects Enterprise Infrastructure.
| Field Summary | |
|---|---|
static java.lang.String |
KIND
The Kind used to query for Program objects. |
static java.lang.String |
PROGID
The ProgID for the Program Class. |
| Method Summary | |
|---|---|
java.lang.Object |
getProgramInterface()
Returns the program interface for this program. |
int |
getProgramType()
Returns the program type for this program. |
byte[] |
getResultByteStream()
Returns the result data as an array of bytes. |
long |
getResultLength()
Returns length of the result in bytes. |
java.lang.String |
getResultMIMEType()
Mime type for the result data |
void |
setProgramType(int programType)
Sets the program type for this program. |
void |
writeResult(java.io.OutputStream stream)
Writes the result to the specific OutputStream. |
| Field Detail |
|---|
static final java.lang.String KIND
The Kind used to query for Program objects.
static final java.lang.String PROGID
The ProgID for the Program Class.
| ProgID | CrystalEnterprise.Program |
| Query Category | CI_INFOOBJECTS |
| Associated Interface | com.crystaldecisions.sdk.plugin.desktop.program.IProgram |
Query syntax:
SELECT | |
SI_DESCRIPTION, SI_NAME, SI_ID | |
FROM | |
CI_INFOOBJECTS | |
WHERE | |
SI_PROGID='CrystalEnterprise.Program' | |
The IProgram interface does not contain any methods or properties that require specific CePropertyIDs to be referenced in the SELECT Statement. However, you can access general InfoObject properties, such as the SI_NAME, SI_DESCRIPTION, and SI_ID from the objects returned by the query. For more information, see program.
| Method Detail |
|---|
void setProgramType(int programType)
Sets the program type for this program.
You can choose from the following types:
int value associated with this constant is 0.int value associated with this constant is 1.int value associated with this constant is 2.int value associated with this constant is 3.
IProgramint getProgramType()
Returns the program type for this program.
Program types:
int value associated with this constant is 0.int value associated with this constant is 1.int value associated with this constant is 2.int value associated with this constant is 3.
int that indicates the program type.
java.lang.Object getProgramInterface()
throws SDKException
Returns the program interface for this program.
Object that represents the program interface.
SDKExceptionjava.lang.String getResultMIMEType()
byte[] getResultByteStream()
throws SDKException
Returns the result data as an array of bytes.
byte[] that contains the result data.
SDKException - This is thrown if the process is unsuccessful
void writeResult(java.io.OutputStream stream)
throws SDKException
stream - An OutputStream stream object.
SDKException - This is thrown if the process is unsuccessful
long getResultLength()
throws SDKException
long that represents the length of the result in bytes.
SDKException - This is thrown if the process is unsuccessful
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||