|
AR System Java Plug-in API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bmc.arsys.pluginsvr.plugins.ARPlugin
com.bmc.arsys.pluginsvr.plugins.ARDBCPlugin
public abstract class ARDBCPlugin
Default implemetation of the ARDBC plugin
| Constructor Summary | |
|---|---|
ARDBCPlugin()
|
|
| Method Summary | |
|---|---|
void |
cancel(ARPluginContext context,
long transId)
Cancel the given transaction |
void |
commit(ARPluginContext context,
long transId)
Commit the given transaction in the external datasouce |
String |
createEntry(ARPluginContext context,
String tableName,
List<ARVendorField> fieldsList,
long transId,
com.bmc.arsys.api.Entry entry)
Create an entry in the given table for external data source. |
void |
deleteEntry(ARPluginContext context,
String tableName,
List<ARVendorField> fieldsList,
long transId,
String entryId)
Given the table name and entry id, delete the entry from the table in the external data source |
com.bmc.arsys.api.AttachmentValue |
getBLOB(ARPluginContext context,
String tableName,
List<ARVendorField> fieldsList,
long transId,
String entryId,
int fieldId)
Given the table name, entry id and the blob field id, fetch the blob from that field in that table for that entry |
com.bmc.arsys.api.Entry |
getEntry(ARPluginContext context,
String tableName,
List<ARVendorField> fieldsList,
long transId,
String entryId,
int[] idList)
Given the table name, list of fields and entry id, fetch the entry from the external data source. |
List<com.bmc.arsys.api.StatisticsResultInfo> |
getEntryStatistics(ARPluginContext context,
String tableName,
List<ARVendorField> fieldsList,
long transId,
com.bmc.arsys.api.QualifierInfo qualifier,
com.bmc.arsys.api.ArithmeticOrRelationalOperand target,
int statistic,
int[] groupByList)
Return the entry statistics for the given table and qualification. |
List<com.bmc.arsys.api.Entry> |
getListEntryWithFields(ARPluginContext context,
String tableName,
List<ARVendorField> fieldsList,
long transId,
com.bmc.arsys.api.QualifierInfo qualifier,
List<com.bmc.arsys.api.SortInfo> sortList,
List<com.bmc.arsys.api.EntryListFieldInfo> getListFields,
int startAt,
int maxRetrieve,
com.bmc.arsys.api.OutputInteger numMatches)
Given the table name, a qualification, and list of fields to fetch the values for, return a list of entries with all fields and their values that meet the given qualification. |
List<com.bmc.arsys.api.VendorForm> |
getListForms(ARPluginContext context)
Return the list of forms/tables that needs to be exposed to the AR Server. |
List<ARVendorField> |
getMultipleFields(ARPluginContext context,
com.bmc.arsys.api.VendorForm schema)
Given the Vendor form details, return it's list of fields with all their properties |
void |
rollback(ARPluginContext context,
long transId)
Rollback the given transaction in the external datasource. |
void |
setBLOB(ARPluginContext context,
String tableName,
List<ARVendorField> fieldsList,
long transId,
String entryId,
int fieldId,
com.bmc.arsys.api.AttachmentValue info)
Given the table, entry and the blob field id, insert the blob into the external datasource table |
void |
setEntry(ARPluginContext context,
String tableName,
List<ARVendorField> fieldsList,
long transId,
String entryId,
com.bmc.arsys.api.Entry entry,
com.bmc.arsys.api.Timestamp getTimestamp)
Given the table name, and entry object, modify the entry recognized by the entry key of the entry object in the external datasource. |
| Methods inherited from class com.bmc.arsys.pluginsvr.plugins.ARPlugin |
|---|
initialize, onEvent, terminate |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.bmc.arsys.pluginsvr.plugins.ARPluggable |
|---|
initialize, onEvent, terminate |
| Constructor Detail |
|---|
public ARDBCPlugin()
| Method Detail |
|---|
public String createEntry(ARPluginContext context,
String tableName,
List<ARVendorField> fieldsList,
long transId,
com.bmc.arsys.api.Entry entry)
throws com.bmc.arsys.api.ARException
ARDBCPluggable
createEntry in interface ARDBCPluggablecontext - Current context for this plugin call, like username etc.tableName - table namefieldsList - list of fields on the form and its datatypes etc.transId - transaction identry - the entry object with all field value pairs
com.bmc.arsys.api.ARException - with a list of StatusInfo objects in it that can be passed on to the server
public com.bmc.arsys.api.Entry getEntry(ARPluginContext context,
String tableName,
List<ARVendorField> fieldsList,
long transId,
String entryId,
int[] idList)
throws com.bmc.arsys.api.ARException
ARDBCPluggable
getEntry in interface ARDBCPluggablecontext - Current context for this plugin call, like username etc.tableName - table namefieldsList - list of fields on the form and its datatypes etc.transId - transaction identryId - String object with the id for the entry to fetchidList - list of field ids to fetch the values for in the entry
com.bmc.arsys.api.ARException
public void setEntry(ARPluginContext context,
String tableName,
List<ARVendorField> fieldsList,
long transId,
String entryId,
com.bmc.arsys.api.Entry entry,
com.bmc.arsys.api.Timestamp getTimestamp)
throws com.bmc.arsys.api.ARException
ARDBCPluggable
setEntry in interface ARDBCPluggablecontext - Current context for this plugin call, like username etc.tableName - table namefieldsList - list of fields on the form and its datatypes etc.transId - transaction identryId - entry id for entry to setentry - entry object with new field value pairs to modify the entrygetTimestamp - Timestamp for last modified time to recognize entries to modify
com.bmc.arsys.api.ARException
public void deleteEntry(ARPluginContext context,
String tableName,
List<ARVendorField> fieldsList,
long transId,
String entryId)
throws com.bmc.arsys.api.ARException
ARDBCPluggable
deleteEntry in interface ARDBCPluggablecontext - Current context for this plugin call, like username etc.tableName - table namefieldsList - list of fields on the form and its datatypes etc.transId - transaction identryId - String object iding the entry in the table
com.bmc.arsys.api.ARException
public com.bmc.arsys.api.AttachmentValue getBLOB(ARPluginContext context,
String tableName,
List<ARVendorField> fieldsList,
long transId,
String entryId,
int fieldId)
throws com.bmc.arsys.api.ARException
ARDBCPluggable
getBLOB in interface ARDBCPluggablecontext - Current context for this plugin call, like username etc.tableName - table namefieldsList - list of fields on the form and its datatypes etc.transId - transaction identryId - String object iding the entry in the tablefieldId - Fieldid to fetch the blob object from
com.bmc.arsys.api.ARException
public void setBLOB(ARPluginContext context,
String tableName,
List<ARVendorField> fieldsList,
long transId,
String entryId,
int fieldId,
com.bmc.arsys.api.AttachmentValue info)
throws com.bmc.arsys.api.ARException
ARDBCPluggable
setBLOB in interface ARDBCPluggablecontext - Current context for this plugin call, like username etc.tableName - table namefieldsList - list of fields on the form and its datatypes etc.transId - transaction identryId - String object iding the entry in the tablefieldId - Fieldid to fetch the blob object frominfo - AttachmentValue object with the blob to set.
com.bmc.arsys.api.ARException
public List<com.bmc.arsys.api.Entry> getListEntryWithFields(ARPluginContext context,
String tableName,
List<ARVendorField> fieldsList,
long transId,
com.bmc.arsys.api.QualifierInfo qualifier,
List<com.bmc.arsys.api.SortInfo> sortList,
List<com.bmc.arsys.api.EntryListFieldInfo> getListFields,
int startAt,
int maxRetrieve,
com.bmc.arsys.api.OutputInteger numMatches)
throws com.bmc.arsys.api.ARException
ARDBCPluggable
getListEntryWithFields in interface ARDBCPluggablecontext - Current context for this plugin call, like username etc.tableName - table namefieldsList - list of fields on the form and its datatypes etc.transId - transaction idqualifier - QualifierInfo for the qualificationsortList - SortInfo for the sort ordersgetListFields - list of fields to fetch values forstartAt - starting recordmaxRetrieve - max number of records to fetchnumMatches - OutputInteger to be returned with number of records that actually matched the qual
com.bmc.arsys.api.ARException
public void commit(ARPluginContext context,
long transId)
throws com.bmc.arsys.api.ARException
ARDBCPluggable
commit in interface ARDBCPluggablecontext - Current context for this plugin call, like username etc.transId - transaction id
com.bmc.arsys.api.ARException
public void rollback(ARPluginContext context,
long transId)
throws com.bmc.arsys.api.ARException
ARDBCPluggable
rollback in interface ARDBCPluggablecontext - Current context for this plugin call, like username etc.transId - transaction id
com.bmc.arsys.api.ARException
public void cancel(ARPluginContext context,
long transId)
throws com.bmc.arsys.api.ARException
ARDBCPluggable
cancel in interface ARDBCPluggablecontext - Current context for this plugin call, like username etc.transId - transaction id
com.bmc.arsys.api.ARException
public List<com.bmc.arsys.api.VendorForm> getListForms(ARPluginContext context)
throws com.bmc.arsys.api.ARException
ARDBCPluggable
getListForms in interface ARDBCPluggablecontext - Current context for this plugin call, like username etc.
com.bmc.arsys.api.ARException
public List<ARVendorField> getMultipleFields(ARPluginContext context,
com.bmc.arsys.api.VendorForm schema)
throws com.bmc.arsys.api.ARException
ARDBCPluggable
getMultipleFields in interface ARDBCPluggablecontext - Current context for this plugin call, like username etc.schema - VendorForm object with details about the form
com.bmc.arsys.api.ARException
public List<com.bmc.arsys.api.StatisticsResultInfo> getEntryStatistics(ARPluginContext context,
String tableName,
List<ARVendorField> fieldsList,
long transId,
com.bmc.arsys.api.QualifierInfo qualifier,
com.bmc.arsys.api.ArithmeticOrRelationalOperand target,
int statistic,
int[] groupByList)
throws com.bmc.arsys.api.ARException
ARDBCPluggable
getEntryStatistics in interface ARDBCPluggablecontext - Current context for this plugin call, like username etc.tableName - table namefieldsList - list of fields on the form and its datatypes etc.transId - transaction idqualifier - QualifierInfo for the qualificationtarget - Operation for the statisticsstatistic - the type of statisticgroupByList - list of fields to group by
com.bmc.arsys.api.ARException
|
AR System Java Plug-in API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||