Interface PhoneResourceService
public interface PhoneResourceService
-
Method Summary
Modifier and TypeMethodDescriptionvoid
phoneCategoryDelete
(int id) int
phoneCategoryUpdate
(PhoneCategory phoneCategory) phoneFreeList
(Integer categoryId, Date date, Long phoneFrom, Long phoneTo, int count) void
phoneResourceDelete
(int id) void
phoneResourceImport
(int categoryId, String importData) phoneResourceList
(int phoneCategoryId) boolean
phoneResourceSubscribe
(long phone, int subscriberId, String subscriberTitle, Date dateFrom, Date dateTo) void
phoneResourceUnsubscribe
(int subscriberId) int
phoneResourceUpdate
(PhoneResource phoneResource) phoneSubscriptionList
(int id, Date dateFrom, Date dateTo, Page page)
-
Method Details
-
phoneCategoryRoot
PhoneCategory phoneCategoryRoot() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
phoneCategoryUpdate
int phoneCategoryUpdate(PhoneCategory phoneCategory) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
phoneCategoryDelete
void phoneCategoryDelete(int id) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
phoneResourceList
List<PhoneResource> phoneResourceList(int phoneCategoryId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
phoneResourceDelete
void phoneResourceDelete(int id) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
phoneResourceUpdate
int phoneResourceUpdate(PhoneResource phoneResource) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
phoneSubscriptionList
Result<PhoneResourceSubscription> phoneSubscriptionList(int id, Date dateFrom, Date dateTo, Page page) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
phoneFreeList
List<Long> phoneFreeList(Integer categoryId, Date date, Long phoneFrom, Long phoneTo, int count) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
phoneResourceSubscribe
boolean phoneResourceSubscribe(long phone, int subscriberId, String subscriberTitle, Date dateFrom, Date dateTo) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
phoneResourceUnsubscribe
void phoneResourceUnsubscribe(int subscriberId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
phoneCategoryList
List<PhoneCategory> phoneCategoryList() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
phoneResourceImport
void phoneResourceImport(int categoryId, String importData) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-