Interface ForpostAccountService
public interface ForpostAccountService
-
Method Summary
Modifier and TypeMethodDescriptionintaddForpostAccount(int contractId, ForpostAccount forpostAccount) voiddeleteForpostAccount(int id) voiddoSync()getDefaultForpostAccount(int contractId) getForpostAccount(int forpostAccountId) voidlinkForpostAccount(int id, int contractId) searchForpostAccounts(int contractId, String accountName, String[] sort, Page page) voidunlinkForpostAccount(int id) voidupdateForpostAccountParam(int forpostAccountId, String name, String value)
-
Method Details
-
searchForpostAccounts
SearchResult<ForpostAccount> searchForpostAccounts(int contractId, String accountName, String[] sort, Page page) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
doSync
void doSync() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
getDefaultForpostAccount
ForpostAccount getDefaultForpostAccount(int contractId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
addForpostAccount
int addForpostAccount(int contractId, ForpostAccount forpostAccount) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
updateForpostAccountParam
void updateForpostAccountParam(int forpostAccountId, String name, String value) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
deleteForpostAccount
void deleteForpostAccount(int id) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
getForpostAccount
ForpostAccount getForpostAccount(int forpostAccountId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
unlinkForpostAccount
void unlinkForpostAccount(int id) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
linkForpostAccount
void linkForpostAccount(int id, int contractId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-