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) voidipCategoryDelete(int id) intipCategoryUpdate(IpCategory category) voidipResourceDelete(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) voidipResourceUnsubscribe(int subscriberId, int ipResourceSubscriptionId, byte[] addressFrom, byte[] addressTo) intipResourceUpdate(IpResource resource, boolean skipSubscriptionCheck) ipSubscriptionList(int ipResourceId, Date dateFrom, Date dateTo, Page page) nextFreeVlan(int vlanResourceCategoryId, int deviceId, Date dateFrom, Date dateTo) Deprecated.voidvlanCategoryDelete(int id) intvlanCategoryUpdate(VlanCategory category) voidvlanResourceDelete(int id) vlanResourceGet(int id) vlanResourceList(int categoryId) booleanvlanResourceSubscribe(int vlan, short subscriberType, int subscriberId, String subscriberTitle, Date dateFrom, Date dateTo, Set<Integer> vlanResourceCategoryIds, boolean isVlanPersonal) Подписка на VLANvoidvlanResourceUnsubscribe(int subscriberId) Deprecated.voidvlanResourceUnsubscribe(short subscriberType, int subscriberId) Отмена подписки на VLANintvlanSubscriptionList(int vlanResourceId, Date dateFrom, Date dateTo, Page page) vlanSubscriptionList1(int vlanResourceId, Date dateFrom, Date dateTo)
-
Method Details
-
vlanResourceList
- Throws:
Exception
-
vlanResourceGet
- Throws:
Exception
-
vlanResourceUpdate
- Throws:
Exception
-
vlanResourceDelete
- Throws:
Exception
-
nextFreeVlan
@Deprecated Integer nextFreeVlan(int vlanResourceCategoryId, int deviceId, Date dateFrom, Date dateTo) throws Exception Deprecated.- Throws:
Exception
-
freeVlan
- Throws:
Exception
-
vlanResourceSubscribe
boolean vlanResourceSubscribe(int vlan, short subscriberType, int subscriberId, String subscriberTitle, Date dateFrom, Date dateTo, Set<Integer> vlanResourceCategoryIds, boolean isVlanPersonal) throws Exception Подписка на VLAN- Parameters:
vlan- VLANsubscriberType- тип подсписчика, 0 - договор, 1 - аккаунт, 2 - устройствоsubscriberId- ID подписчикаsubscriberTitle- название подписчикаdateFrom-dateTo-vlanResourceCategoryIds-isVlanPersonal- проверять (true) или нет, что VLAN уже занят- Returns:
- 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 Exception Deprecated.- Throws:
Exception
-
vlanResourceUnsubscribe
Отмена подписки на VLAN- Parameters:
subscriberType- тип подписчика, 0 - договор, 1 - аккаунт(сервис), 2 - устройствоsubscriberId- ID подписчика
-
vlanSubscriptionList1
List<VlanResourceSubscription> vlanSubscriptionList1(int vlanResourceId, Date dateFrom, Date dateTo) throws Exception - Throws:
Exception
-
vlanSubscriptionList
Result<VlanResourceSubscription> vlanSubscriptionList(int vlanResourceId, Date dateFrom, Date dateTo, Page page) throws Exception - Throws:
Exception
-
vlanCategoryRoot
- Throws:
Exception
-
vlanCategoryUpdate
- Throws:
Exception
-
vlanCategoryDelete
- Throws:
Exception
-
ipCategoryRoot
- Throws:
Exception
-
ipCategoryList
- Throws:
Exception
-
ipResourceList
- Throws:
Exception
-
ipResourceGet
- Throws:
Exception
-
ipCategoryUpdate
- Throws:
Exception
-
ipCategoryDelete
- Throws:
Exception
-
ipResourceUpdate
- Throws:
Exception
-
ipResourceDelete
- Throws:
Exception
-
freeIpResourceRangeList
List<IpResourceRange> freeIpResourceRangeList(Collection<Integer> ipResourceCategoryIds, Collection<Integer> ipResourceIds, Date dateFrom, Date dateTo, int range, int max, String filter) throws Exception - Throws:
Exception
-
freeIpResourceNetList
List<IpResourceNet> freeIpResourceNetList(Collection<Integer> ipResourceCategoryIds, Collection<Integer> ipResourceIds, Date dateFrom, Date dateTo, int mask, int max, String filter) throws Exception - Throws:
Exception
-
ipResourceSubscribe
IpResourceSubscription ipResourceSubscribe(int subscriberId, String subscriberTitle, Collection<Integer> ipResourceCategoryIds, int ipResourceId, byte[] addressFrom, byte[] addressTo, Date dateFrom, Date dateTo) throws Exception - Throws:
Exception
-
ipResourceUnsubscribe
void ipResourceUnsubscribe(int subscriberId, int ipResourceSubscriptionId, byte[] addressFrom, byte[] addressTo) throws Exception - Throws:
Exception
-
ipSubscriptionList
Result<IpResourceSubscription> ipSubscriptionList(int ipResourceId, Date dateFrom, Date dateTo, Page page) throws Exception - Throws:
Exception
-