Package ru.bitel.oss.systems.inventory.resource.common.service

# Interface PhoneResourceService

public interface PhoneResourceService

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `phoneCategoryDelete(int id)`
  `List<PhoneCategory>`
  `phoneCategoryList()`
  `PhoneCategory`
  `phoneCategoryRoot()`
  `int`
  `phoneCategoryUpdate(PhoneCategory phoneCategory)`
  `List<Long>`
  `phoneFreeList(Integer categoryId, Set<Integer> resourceIds, Date date, String numberFilter, int count)`
  `void`
  `phoneResourceDelete(int id)`
  `PhoneResource`
  `phoneResourceGet(int id)`
  `void`
  `phoneResourceImport(int categoryId, String importData)`
  `List<PhoneResource>`
  `phoneResourceList(int phoneCategoryId)`
  `boolean`
  `phoneResourceSubscribe(long phone, int subscriberId, String subscriberTitle, Date dateFrom, Date dateTo)`
  `void`
  `phoneResourceUnsubscribe(int subscriberId)`
  `int`
  `phoneResourceUpdate(PhoneResource phoneResource)`
  `Result<PhoneResourceSubscription>`
  `phoneSubscriptionList(int id, Date dateFrom, Date dateTo, Page page)`

- ## Method Details

  - ### phoneCategoryRoot

    PhoneCategory phoneCategoryRoot() throws Exception
    Throws:
      `Exception`

  - ### phoneCategoryUpdate

    int phoneCategoryUpdate(PhoneCategory phoneCategory) throws Exception
    Throws:
      `Exception`

  - ### phoneCategoryDelete

    void phoneCategoryDelete(int id) throws Exception
    Throws:
      `Exception`

  - ### phoneResourceList

    List<PhoneResource> phoneResourceList(int phoneCategoryId) throws Exception
    Throws:
      `Exception`

  - ### phoneResourceDelete

    void phoneResourceDelete(int id) throws Exception
    Throws:
      `Exception`

  - ### phoneResourceUpdate

    int phoneResourceUpdate(PhoneResource phoneResource) throws Exception
    Throws:
      `Exception`

  - ### phoneResourceGet

    PhoneResource phoneResourceGet(int id) throws Exception
    Throws:
      `Exception`

  - ### phoneSubscriptionList

    Result<PhoneResourceSubscription> phoneSubscriptionList(int id, Date dateFrom, Date dateTo, Page page) throws Exception
    Throws:
      `Exception`

  - ### phoneFreeList

    List<Long> phoneFreeList(Integer categoryId, Set<Integer> resourceIds, Date date, String numberFilter, int count) throws Exception
    Throws:
      `Exception`

  - ### phoneResourceSubscribe

    boolean phoneResourceSubscribe(long phone, int subscriberId, String subscriberTitle, Date dateFrom, Date dateTo) throws Exception
    Throws:
      `Exception`

  - ### phoneResourceUnsubscribe

    void phoneResourceUnsubscribe(int subscriberId) throws Exception
    Throws:
      `Exception`

  - ### phoneCategoryList

    List<PhoneCategory> phoneCategoryList() throws Exception
    Throws:
      `Exception`

  - ### phoneResourceImport

    void phoneResourceImport(int categoryId, String importData) throws Exception
    Throws:
      `Exception`