Class VoiceDAO


public class VoiceDAO extends BillingModuleDAO
  • Constructor Details

    • VoiceDAO

      public VoiceDAO(User user, String billingId, int moduleId)
    • VoiceDAO

      public VoiceDAO(User user, DBInfo dbInfo, int moduleId)
  • Method Details

    • getAccounts

      public List<VoiceAccount> getAccounts(int contractId)
    • getAccount

      public VoiceAccount getAccount(int id)
    • updateAccount

      public void updateAccount(VoiceAccount account)
    • generateAccountPassword

      public void generateAccountPassword(int id)
    • deleteAccount

      public void deleteAccount(int id)
    • getAccountTypes

      public List<VoiceAccountType> getAccountTypes()
    • getDeviceTypes

      public List<IdTitle> getDeviceTypes()
    • getDevice

      public VoiceDevice getDevice(int deviceId)
    • getDeviceRoot

      public VoiceDevice getDeviceRoot()
    • getCategoryRoot

      public PhoneCategory getCategoryRoot()
    • getResources

      public List<PhoneResource> getResources(int categoryId)
    • getFreeList

      public List<Long> getFreeList(int categoryId, int resourceId)