Interface ResourceService
public interface ResourceService
-
Method Summary
Modifier and TypeMethodDescriptionfreeIpResourceNetList
(Collection<Integer> ipResourceCategoryIds, Collection<Integer> ipResourceIds, Date dateFrom, Date dateTo, int mask, int max, String filter) freeIpResourceRangeList
(Collection<Integer> ipResourceCategoryIds, Collection<Integer> ipResourceIds, Date dateFrom, Date dateTo, int range, int max, String filter) void
ipCategoryDelete
(int id) int
ipCategoryUpdate
(IpCategory category) void
ipResourceDelete
(int id, boolean skipSubscriptionCheck) ipResourceGet
(int id) ipResourceList
(Collection<Integer> categoryIds) ipResourceSubscribe
(int subscriberId, String subscriberTitle, Collection<Integer> ipResourceCategoryIds, int ipResourceId, byte[] addressFrom, byte[] addressTo, Date dateFrom, Date dateTo) void
ipResourceUnsubscribe
(int subscriberId, int ipResourceSubscriptionId, byte[] addressFrom, byte[] addressTo) int
ipResourceUpdate
(IpResource resource, boolean skipSubscriptionCheck) ipSubscriptionList
(int ipResourceId, Date dateFrom, Date dateTo, Page page) nextFreeVlan
(int vlanResourceCategoryId, int deviceId, Date dateFrom, Date dateTo) Deprecated.void
vlanCategoryDelete
(int id) int
vlanCategoryUpdate
(VlanCategory category) void
vlanResourceDelete
(int id) vlanResourceGet
(int id) vlanResourceList
(int categoryId) boolean
vlanResourceSubscribe
(int vlan, short subscriberType, int subscriberId, String subscriberTitle, Date dateFrom, Date dateTo, Set<Integer> vlanResourceCategoryIds, boolean isVlanPersonal) Подписка на VLANvoid
vlanResourceUnsubscribe
(int subscriberId) Deprecated.void
vlanResourceUnsubscribe
(short subscriberType, int subscriberId) Отмена подписки на VLANint
vlanSubscriptionList
(int vlanResourceId, Date dateFrom, Date dateTo, Page page) vlanSubscriptionList1
(int vlanResourceId, Date dateFrom, Date dateTo)
-
Method Details
-
vlanResourceList
List<VlanResource> vlanResourceList(int categoryId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
vlanResourceGet
VlanResource vlanResourceGet(int id) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
vlanResourceUpdate
int vlanResourceUpdate(VlanResource vlan) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
vlanResourceDelete
void vlanResourceDelete(int id) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
nextFreeVlan
@Deprecated Integer nextFreeVlan(int vlanResourceCategoryId, int deviceId, Date dateFrom, Date dateTo) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Deprecated.- Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
freeVlan
Integer freeVlan(Set<Integer> vlanResourceCategoryIds, 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
-
vlanResourceSubscribe
boolean vlanResourceSubscribe(int vlan, short subscriberType, int subscriberId, String subscriberTitle, Date dateFrom, Date dateTo, Set<Integer> vlanResourceCategoryIds, boolean isVlanPersonal) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Подписка на VLAN- Parameters:
vlan
- VLANsubscriberType
- тип подсписчика, 0 - договор, 1 - аккаунт, 2 - устройствоsubscriberId
- ID подписчикаsubscriberTitle
- название подписчикаdateFrom
-dateTo
-vlanResourceCategoryIds
-isVlanPersonal
- проверять (true) или нет, что VLAN уже занят- Returns:
- Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
- See Also:
-
vlanResourceUnsubscribe
@Deprecated @RequestWrapper(className="ru.bitel.oss.systems.inventory.resource.common.jaxws.VlanResourceUnsubscribeOldRequest") @ResponseWrapper(className="ru.bitel.oss.systems.inventory.resource.common.jaxws.VlanResourceUnsubscribeOldResponse") void vlanResourceUnsubscribe(int subscriberId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Deprecated.- Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
vlanResourceUnsubscribe
void vlanResourceUnsubscribe(short subscriberType, int subscriberId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Отмена подписки на VLAN- Parameters:
subscriberType
- тип подписчика, 0 - договор, 1 - аккаунт(сервис), 2 - устройствоsubscriberId
- ID подписчика- Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
vlanSubscriptionList1
List<VlanResourceSubscription> vlanSubscriptionList1(int vlanResourceId, 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
-
vlanSubscriptionList
Result<VlanResourceSubscription> vlanSubscriptionList(int vlanResourceId, 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
-
vlanCategoryRoot
VlanCategory vlanCategoryRoot() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
vlanCategoryUpdate
int vlanCategoryUpdate(VlanCategory category) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
vlanCategoryDelete
void vlanCategoryDelete(int id) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
ipCategoryRoot
IpCategory ipCategoryRoot() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
ipCategoryList
List<IpCategory> ipCategoryList() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
ipResourceList
List<IpResource> ipResourceList(Collection<Integer> categoryIds) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
ipResourceGet
IpResource ipResourceGet(int id) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalAccessException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
ru.bitel.bgbilling.common.BGIllegalAccessException
-
ipCategoryUpdate
int ipCategoryUpdate(IpCategory category) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
ipCategoryDelete
void ipCategoryDelete(int id) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
ipResourceUpdate
int ipResourceUpdate(IpResource resource, boolean skipSubscriptionCheck) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
ipResourceDelete
void ipResourceDelete(int id, boolean skipSubscriptionCheck) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
freeIpResourceRangeList
List<IpResourceRange> freeIpResourceRangeList(Collection<Integer> ipResourceCategoryIds, Collection<Integer> ipResourceIds, Date dateFrom, Date dateTo, int range, int max, String filter) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
freeIpResourceNetList
List<IpResourceNet> freeIpResourceNetList(Collection<Integer> ipResourceCategoryIds, Collection<Integer> ipResourceIds, Date dateFrom, Date dateTo, int mask, int max, String filter) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
ipResourceSubscribe
IpResourceSubscription ipResourceSubscribe(int subscriberId, String subscriberTitle, Collection<Integer> ipResourceCategoryIds, int ipResourceId, byte[] addressFrom, byte[] addressTo, 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
-
ipResourceUnsubscribe
void ipResourceUnsubscribe(int subscriberId, int ipResourceSubscriptionId, byte[] addressFrom, byte[] addressTo) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
ipSubscriptionList
Result<IpResourceSubscription> ipSubscriptionList(int ipResourceId, 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
-