Interface SubscriptionService
public interface SubscriptionService
-
Method Summary
Modifier and TypeMethodDescriptionint[]
groupOperationActivateSubscription
(int[] contractIds, int[] subscriptionTypeIds) int[]
groupOperationAddSubscription
(int[] contractIds, int[] subscriptionTypeIds, Subscription subscription) int[]
groupOperationCloseSubscription
(int[] contractIds, int[] subscriptionTypeIds, Date dateTo) void
subscriptionActivate
(int subscriptionId) int
subscriptionDelete
(int id) subscriptionGet
(int id) subscriptionList
(int contractId, boolean loadRegistrationPeriod) subscriptionRegistrationPeriodList
(int subscriptionId) Boolean[][]
subscriptionStatusMatrixGet
(List<Integer> subscriptionIds, List<Integer> statusIds, boolean replaceDefaultToValue) void
subscriptionStatusMatrixUpdate
(List<Integer> subscriptionIds, List<Integer> statusIds, Boolean[][] values) int
subscriptionTypeDelete
(int id) subscriptionTypeGet
(int id) int
int
subscriptionUpdate
(Subscription subscription)
-
Method Details
-
subscriptionActivate
- Throws:
Exception
-
subscriptionList
List<Subscription> subscriptionList(int contractId, boolean loadRegistrationPeriod) throws Exception - Throws:
Exception
-
subscriptionRegistrationPeriodList
- Throws:
Exception
-
subscriptionGet
- Throws:
Exception
-
subscriptionUpdate
- Throws:
Exception
-
subscriptionDelete
- Throws:
Exception
-
subscriptionTypeList
- Throws:
Exception
-
subscriptionTypeGet
- Throws:
Exception
-
subscriptionTypeUpdate
- Throws:
Exception
-
subscriptionTypeDelete
- Throws:
Exception
-
groupOperationAddSubscription
int[] groupOperationAddSubscription(int[] contractIds, int[] subscriptionTypeIds, Subscription subscription) throws Exception - Throws:
Exception
-
groupOperationCloseSubscription
int[] groupOperationCloseSubscription(int[] contractIds, int[] subscriptionTypeIds, Date dateTo) throws Exception - Throws:
Exception
-
groupOperationActivateSubscription
int[] groupOperationActivateSubscription(int[] contractIds, int[] subscriptionTypeIds) throws Exception - Throws:
Exception
-
subscriptionTypes
- Returns:
- Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
Exception
-
subscriptionStatusMatrixGet
Boolean[][] subscriptionStatusMatrixGet(List<Integer> subscriptionIds, List<Integer> statusIds, boolean replaceDefaultToValue) throws Exception - Parameters:
subscriptionIds
-statusIds
-replaceDefaultToValue
-- Returns:
- Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
Exception
-
subscriptionStatusMatrixUpdate
void subscriptionStatusMatrixUpdate(List<Integer> subscriptionIds, List<Integer> statusIds, Boolean[][] values) throws Exception - Parameters:
subscriptionIds
-statusIds
-values
-- Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
Exception
-