public interface AdminBillingMgrIf
Modifier and Type | Method and Description |
---|---|
int |
deletePaymentSchedule(int id)
Delete a Payment Schedule Object
|
int |
deleteSubscription(int id)
Delete a Subscription Object
|
AdminPaymentSchedule |
getPaymentSchedule(int id)
Returns the payment schedule object for the
id parameter, or Null if the payment
schedule object doesn't exist in the DB. |
AdminPaymentSchedule |
getPaymentSchedule(int id,
java.sql.Connection con)
Returns the payment schedule object for the
id parameter, or Null if the payment
schedule object doesn't exist in the DB. |
AdminPaymentScheduleSearchResult |
getPaymentSchedules(AdminPaymentScheduleSearch search,
int offset,
int size)
This returns an AdminPaymentScheduleSearchResult object.
|
AdminSubscription |
getSubscription(int id)
Returns the subscription object for the
id parameter, or Null if the
subscription object doesn't exist in the DB. |
AdminSubscriptionSearchResult |
getSubscriptions(AdminSubscriptionSearch search,
int offset,
int size)
This returns an AdminSubscriptionSearchResult object.
|
int |
insertPaymentSchedule(AdminPaymentSchedule ps)
An AdminPaymentSchedule object is inserted into the database.
|
int |
insertSubscription(AdminSubscription subscription)
An AdminSubscription object is inserted into the database.
|
int |
updatePaymentSchedule(AdminPaymentSchedule ps)
Update an AdminPaymentSchedule object.
|
int |
updateSubscription(AdminSubscription subscription)
Update an AdminSubscription object.
|
int deletePaymentSchedule(int id) throws KKAdminException, org.apache.torque.TorqueException
id
- The id of the payment schedule object to deleteKKAdminException
- an unexpected exception in the KonaKart Admin engineorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)AdminPaymentSchedule getPaymentSchedule(int id) throws KKAdminException, org.apache.torque.TorqueException, com.workingdogs.village.DataSetException
id
parameter, or Null if the payment
schedule object doesn't exist in the DB.id
- The id of the payment schedule objectKKAdminException
- an unexpected exception in the KonaKart Admin engineorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)AdminPaymentSchedule getPaymentSchedule(int id, java.sql.Connection con) throws KKAdminException, org.apache.torque.TorqueException, com.workingdogs.village.DataSetException
id
parameter, or Null if the payment
schedule object doesn't exist in the DB.id
- The id of the payment schedule objectcon
- Connection for transactionKKAdminException
- an unexpected exception in the KonaKart Admin engineorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)AdminPaymentScheduleSearchResult getPaymentSchedules(AdminPaymentScheduleSearch search, int offset, int size) throws org.apache.torque.TorqueException, com.workingdogs.village.DataSetException, KKAdminException
search
- The object containing the search constraintsoffset
- the offset in the dbsize
- the number of records from the specified offsetcom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)org.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)KKAdminException
- an unexpected exception in the KonaKart Admin engineint insertPaymentSchedule(AdminPaymentSchedule ps) throws KKAdminException, org.apache.torque.TorqueException
ps
- the psKKAdminException
- an unexpected exception in the KonaKart Admin engineorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)int updatePaymentSchedule(AdminPaymentSchedule ps) throws KKAdminException, org.apache.torque.TorqueException, com.workingdogs.village.DataSetException
ps
- An AdminPaymentSchedule objectKKAdminException
- an unexpected exception in the KonaKart Admin engineorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)int deleteSubscription(int id) throws KKAdminException, org.apache.torque.TorqueException
id
- The id of the subscription object to deleteKKAdminException
- an unexpected exception in the KonaKart Admin engineorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)AdminSubscription getSubscription(int id) throws KKAdminException, org.apache.torque.TorqueException, com.workingdogs.village.DataSetException
id
parameter, or Null if the
subscription object doesn't exist in the DB.id
- The id of the subscription objectKKAdminException
- an unexpected exception in the KonaKart Admin engineorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)AdminSubscriptionSearchResult getSubscriptions(AdminSubscriptionSearch search, int offset, int size) throws org.apache.torque.TorqueException, com.workingdogs.village.DataSetException, KKAdminException
search
- The object containing the search constraintsoffset
- the offset in the dbsize
- the number of records from the specified offsetcom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)org.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)KKAdminException
- an unexpected exception in the KonaKart Admin engineint insertSubscription(AdminSubscription subscription) throws KKAdminException, org.apache.torque.TorqueException
subscription
- the subscriptionKKAdminException
- an unexpected exception in the KonaKart Admin engineorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)int updateSubscription(AdminSubscription subscription) throws KKAdminException, org.apache.torque.TorqueException, com.workingdogs.village.DataSetException
subscription
- An AdminSubscription objectKKAdminException
- an unexpected exception in the KonaKart Admin engineorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)Copyright © 2018 DS Data Systems UK Ltd.