|
AR System Java Plug-in API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ARDBCPluggable
| 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 interface com.bmc.arsys.pluginsvr.plugins.ARPluggable |
|---|
initialize, onEvent, terminate |
| Method Detail |
|---|
String createEntry(ARPluginContext context,
String tableName,
List<ARVendorField> fieldsList,
long transId,
com.bmc.arsys.api.Entry entry)
throws com.bmc.arsys.api.ARException
context - 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
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
context - 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
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
context - 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
void deleteEntry(ARPluginContext context,
String tableName,
List<ARVendorField> fieldsList,
long transId,
String entryId)
throws com.bmc.arsys.api.ARException
context - 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
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
context - 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
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
context - 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
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
context - 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
void commit(ARPluginContext context,
long transId)
throws com.bmc.arsys.api.ARException
context - Current context for this plugin call, like username etc.transId - transaction id
com.bmc.arsys.api.ARException
void rollback(ARPluginContext context,
long transId)
throws com.bmc.arsys.api.ARException
context - Current context for this plugin call, like username etc.transId - transaction id
com.bmc.arsys.api.ARException
void cancel(ARPluginContext context,
long transId)
throws com.bmc.arsys.api.ARException
context - Current context for this plugin call, like username etc.transId - transaction id
com.bmc.arsys.api.ARException
List<com.bmc.arsys.api.VendorForm> getListForms(ARPluginContext context)
throws com.bmc.arsys.api.ARException
context - Current context for this plugin call, like username etc.
com.bmc.arsys.api.ARException
List<ARVendorField> getMultipleFields(ARPluginContext context,
com.bmc.arsys.api.VendorForm schema)
throws com.bmc.arsys.api.ARException
context - Current context for this plugin call, like username etc.schema - VendorForm object with details about the form
com.bmc.arsys.api.ARException
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
context - 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 | |||||||||