Exemplo n.º 1
0
    def get_recyclebin_records(self):
        try:
            from .Handler import MassEntityAPIHandler
        except ImportError:
            from Handler import MassEntityAPIHandler

        return MassEntityAPIHandler.get_instance(self).get_recyclebin_records()
Exemplo n.º 2
0
 def update_records(self, record_ins_list):
     try:
         from .Handler import MassEntityAPIHandler
     except ImportError:
         from Handler import MassEntityAPIHandler
     return MassEntityAPIHandler.get_instance(self).update_records(
         record_ins_list)
Exemplo n.º 3
0
 def mass_update_records(self, entityid_list, field_api_name, value):
     try:
         from .Handler import MassEntityAPIHandler
     except ImportError:
         from Handler import MassEntityAPIHandler
     return MassEntityAPIHandler.get_instance(self).update_mass_records(
         entityid_list, field_api_name, value)
Exemplo n.º 4
0
 def search_records_by_email(self, email, page=0, per_page=200):
     try:
         from .Handler import MassEntityAPIHandler
     except ImportError:
         from Handler import MassEntityAPIHandler
     return MassEntityAPIHandler.get_instance(self).search_records(
         email, page, per_page, 'email')
Exemplo n.º 5
0
 def search_records_by_criteria(self, criteria, page=0, per_page=200):
     try:
         from .Handler import MassEntityAPIHandler
     except ImportError:
         from Handler import MassEntityAPIHandler
     return MassEntityAPIHandler.get_instance(self).search_records(
         criteria, page, per_page, 'criteria')
Exemplo n.º 6
0
 def search_records_by_phone(self, phone, page=0, per_page=200):
     try:
         from .Handler import MassEntityAPIHandler
     except ImportError:
         from Handler import MassEntityAPIHandler
     return MassEntityAPIHandler.get_instance(self).search_records(
         phone, page, per_page, 'phone')
Exemplo n.º 7
0
 def search_records(self, search_word, page=0, per_page=200):
     try:
         from .Handler import MassEntityAPIHandler
     except ImportError:
         from Handler import MassEntityAPIHandler
     return MassEntityAPIHandler.get_instance(self).search_records(
         search_word, page, per_page, 'word')
Exemplo n.º 8
0
 def get_permanently_deleted_records(self):
     try:
         from .Handler import MassEntityAPIHandler
     except ImportError:
         from Handler import MassEntityAPIHandler
     return MassEntityAPIHandler.get_instance(
         self).get_permanently_deleted_records()
Exemplo n.º 9
0
 def delete_records(self, entityid_list):
     try:
         from .Handler import MassEntityAPIHandler
     except ImportError:
         from Handler import MassEntityAPIHandler
     return MassEntityAPIHandler.get_instance(self).delete_records(
         entityid_list)
Exemplo n.º 10
0
 def get_records(self,
                 cvid=None,
                 sort_by=None,
                 sort_order=None,
                 page=0,
                 per_page=200):
     from Handler import MassEntityAPIHandler
     return MassEntityAPIHandler.get_instance(self).get_records(
         cvid, sort_by, sort_order, page, per_page)
Exemplo n.º 11
0
 def get_records(self,
                 cvid=None,
                 sort_by=None,
                 sort_order=None,
                 page=0,
                 per_page=200,
                 since=None):
     try:
         from .Handler import MassEntityAPIHandler
     except ImportError:
         from Handler import MassEntityAPIHandler
     return MassEntityAPIHandler.get_instance(self).get_records(
         cvid, sort_by, sort_order, page, per_page, since)
Exemplo n.º 12
0
 def get_recyclebin_records(self):
     from Handler import MassEntityAPIHandler
     return MassEntityAPIHandler.get_instance(self).get_recyclebin_records()
Exemplo n.º 13
0
 def get_all_deleted_records(self):
     from Handler import MassEntityAPIHandler
     return MassEntityAPIHandler.get_instance(
         self).get_all_deleted_records()
Exemplo n.º 14
0
 def delete_records(self, entityid_list):
     from Handler import MassEntityAPIHandler
     return MassEntityAPIHandler.get_instance(self).delete_records(
         entityid_list)
Exemplo n.º 15
0
 def update_records(self, record_ins_list):
     from Handler import MassEntityAPIHandler
     return MassEntityAPIHandler.get_instance(self).update_records(
         record_ins_list)
Exemplo n.º 16
0
 def search_records(self, search_word, page=0, per_page=200):
     from Handler import MassEntityAPIHandler
     return MassEntityAPIHandler.get_instance(self).search_records(
         search_word, page, per_page)