Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## jet.datasource
Interface JRSecurityUserDataSource

All Superinterfaces:
  JRUserDataSource

    public interface JRSecurityUserDataSource

extends JRUserDataSource

A JRSecurityUserDataSource provides data for JReport for generating reports. JRUserDataSource class is developed by user of JReport, and it can provide data from flat file, non-relational database, or application data. The data returned by this class is in ResultSet object, so user need create ResultSet instance and JReport will use the instance to fetch data. User can also creating their own ResultSet class.

Method Summary
`java.sql.ResultSet` | `getResultSet(SecurityContext sc, java.lang.String param)` Gets the data in ResultSet according to parameters.

Methods inherited from interface jet.datasource.JRUserDataSource
`getResultSet, releaseResultSet`

Method Detail

### getResultSet

    java.sql.ResultSet getResultSet(SecurityContext sc,
                                    java.lang.String param)
                                    throws JRUserDataSourceException

  Gets the data in ResultSet according to parameters.

  Parameters:
    `sc` - A SecurityContext object, which is implemented by the user
    `param` - The parameter that the user wants to use for UDS
  Returns:
    The ResultSet object
  Throws:
    `JRUserDataSourceException` - if a data access error occurs

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD