def __init__(self, conds, admin_obj): SearchHelper.__init__( self, conds, admin_obj, {"credit_change": CreditChangeSearchTable(), "credit_change_userid": CreditChangeUserIDSearchTable()}, )
def __init__(self, conds, requester_obj, requester_role): SearchHelper.__init__( self, conds, requester_obj, requester_role, { "users": SearchUsersTable(), "user_attrs": SearchUserAttrsTable(), "normal_users": SearchNormalUsersTable(), "persistent_lan_users": SearchPLanUsersTable(), "voip_users": SearchVoIPUsersTable(), "caller_id_users": SearchCallerIDUsersTable(), "group_attrs": SearchGroupAttrsTable(), })
def __init__(self, conds, admin_obj): SearchHelper.__init__( self, conds, admin_obj, { "users": SearchUsersTable(), "user_attrs": SearchUserAttrsTable(), "normal_users": SearchNormalUsersTable(), "persistent_lan_users": SearchPLanUsersTable(), "voip_users": SearchVoIPUsersTable(), "group_attrs": SearchGroupAttrsTable(), }, )
def __init__(self, conds, requester_obj, requester_role, _type): """ _type(str) can be one of "internet" or "voip" """ if _type == "internet": table = InternetSnapShotSearchTable() elif _type == "voip": table = VoIPSnapShotSearchTable() else: table = BWSnapShotSearchTable() self._type = _type SearchHelper.__init__(self, conds, requester_obj, requester_role, {"snapshot": table})
def __init__(self, conds, requester_obj, requester_role): SearchHelper.__init__( self, conds, requester_obj, requester_role, { "connection_log": ConnectionLogSearchTable(), "connection_log_details": ConnectionLogDetailsSearchTable() })
def __init__(self, conds, requester_obj, requester_role): SearchHelper.__init__(self, conds, requester_obj, requester_role, {"web_analyzer_log": WebAnalyzerSearchTable()})
def __init__(self, conds, requester_obj, requester_role): SearchHelper.__init__( self, conds, requester_obj, requester_role, { "credit_change": CreditChangeSearchTable(), "credit_change_userid": CreditChangeUserIDSearchTable() })
def __init__(self, conds, admin_obj): SearchHelper.__init__( self, conds, admin_obj, "admin", { "add_user_saves": AddUserSaveSearchTable(), "add_user_save_details": AddUserSaveDetailsSearchTable() })
def __init__(self, conds, requester_obj, requester_role): SearchHelper.__init__(self, conds, requester_obj, requester_role, {"user_audit_log": UserAuditSearchTable()})
def __init__(self, conds, requester_obj, requester_role): SearchHelper.__init__( self, conds, requester_obj, requester_role, {"admin_deposit_change": AdminDepositChangeLogsSearchTable()})
def __init__(self,conds,admin_obj): SearchHelper.__init__(self,conds,admin_obj,{"connection_log":ConnectionLogSearchTable(), "connection_log_details":ConnectionLogDetailsSearchTable()})
def __init__(self,conds,admin_obj): SearchHelper.__init__(self,conds,admin_obj,{"add_user_saves":AddUserSaveSearchTable(), "add_user_save_details":AddUserSaveDetailsSearchTable()})
def __init__(self, conds, requester_obj, requester_role, table_name, table_obj): SearchHelper.__init__(self, conds, requester_obj, requester_role, {table_name: table_obj}) self.table_name = table_name