com.crystaldecisions.sdk.plugin.desktop.program
Interface IProgramPluginBase

All Known Subinterfaces:
IProgram

public interface IProgramPluginBase

This interface allows you to define what types of program objects you want to manage within the BusinessObjects Enterprise Infrastructure.


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.
 java.lang.String getResultMIMEType()
          Mime type for the result data
 void setProgramType(int programType)
           Sets the program type for this program.
 

Method Detail

setProgramType

public void setProgramType(int programType)

Sets the program type for this program.

You can choose from the following types:

  • Undefined: constant that indicates that the program type is undefined. The int value associated with this constant is 0.
  • Binary: constant that indicates that the program type is a binary program. The int value associated with this constant is 1.
  • Java: constant that indicates that the program type is a java program. The int value associated with this constant is 2.
  • Script: constant that indicates that the program type is a script program. The int value associated with this constant is 3.
  • See Also:
    IProgram

    getProgramType

    public int getProgramType()

    Returns the program type for this program.

    Program types:

  • Undefined: constant that indicates that the program type is undefined. The int value associated with this constant is 0.
  • Binary: constant that indicates that the program type is a binary program. The int value associated with this constant is 1.
  • Java: constant that indicates that the program type is a java program. The int value associated with this constant is 2.
  • Script: constant that indicates that the program type is a script program. The int value associated with this constant is 3.
  • Returns:
    An int that indicates the program type.

    getProgramInterface

    public java.lang.Object getProgramInterface()
                                         throws SDKException

    Returns the program interface for this program.

    Returns:
    An Object that represents the program interface.
    SDKException

    getResultMIMEType

    public java.lang.String getResultMIMEType()
    Mime type for the result data


    getResultByteStream

    public byte[] getResultByteStream()
                               throws SDKException

    Returns the result data as an array of bytes.

    Returns:
    A byte[] that contains the result data.
    SDKException