def get_recyclebin_records(self):
        try:
            from .Handler import MassEntityAPIHandler
        except ImportError:
            from Handler import MassEntityAPIHandler

        return MassEntityAPIHandler.get_instance(self).get_recyclebin_records()
Exemple #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)
Exemple #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)
Exemple #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')
Exemple #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')
Exemple #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')
Exemple #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')
Exemple #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()
Exemple #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)
Exemple #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)
Exemple #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)
Exemple #12
0
 def get_recyclebin_records(self):
     from Handler import MassEntityAPIHandler
     return MassEntityAPIHandler.get_instance(self).get_recyclebin_records()
Exemple #13
0
 def get_all_deleted_records(self):
     from Handler import MassEntityAPIHandler
     return MassEntityAPIHandler.get_instance(
         self).get_all_deleted_records()
Exemple #14
0
 def delete_records(self, entityid_list):
     from Handler import MassEntityAPIHandler
     return MassEntityAPIHandler.get_instance(self).delete_records(
         entityid_list)
Exemple #15
0
 def update_records(self, record_ins_list):
     from Handler import MassEntityAPIHandler
     return MassEntityAPIHandler.get_instance(self).update_records(
         record_ins_list)
Exemple #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)