Interface ForpostAccountService
public interface ForpostAccountService
-
Method Summary
Modifier and Type Method Description intaddForpostAccount(int contractId, ForpostAccount forpostAccount)voiddeleteForpostAccount(int id)voiddoSync()ForpostAccountgetDefaultForpostAccount(int contractId)ForpostAccountgetForpostAccount(int forpostAccountId)voidlinkForpostAccount(int id, int contractId)SearchResult<ForpostAccount>searchForpostAccounts(int contractId, java.lang.String accountName, java.lang.String[] sort, Page page)voidunlinkForpostAccount(int id)voidupdateForpostAccountParam(int forpostAccountId, java.lang.String name, java.lang.String value)
-
Method Details
-
searchForpostAccounts
SearchResult<ForpostAccount> searchForpostAccounts(int contractId, java.lang.String accountName, java.lang.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, java.lang.String name, java.lang.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
-