コード例 #1
0
   void 
   FetchAccounts::RefreshPendingList()
   {
      String sSQL;
      sSQL.Format(_T("select * from hm_fetchaccounts where fanexttry <= %s and falocked = 0 and faactive = 1 order by faid asc"), SQLStatement::GetCurrentTimestamp().c_str());

      DBLoad_(sSQL);
   }
コード例 #2
0
   void 
   RuleActions::Refresh()
   {
      String sSQL;
      sSQL.Format(_T("select * from hm_rule_actions where actionruleid = %I64d order by actionsortorder asc"), rule_id_);

      DBLoad_(sSQL);
   }
コード例 #3
0
   void 
   RuleCriterias::Refresh()
   {
      String sSQL;
      sSQL.Format(_T("select * from hm_rule_criterias where criteriaruleid = %I64d order by criteriaid asc"), rule_id_);

      DBLoad_(sSQL);
   }
コード例 #4
0
   void 
   FetchAccounts::Refresh()
   {
      String sSQL;
      sSQL.Format(_T("select * from hm_fetchaccounts where faaccountid = %I64d")
                        _T(" order by faid asc"), account_id_);

      DBLoad_(sSQL);
   }
コード例 #5
0
ファイル: Domains.cpp プロジェクト: TreeSprite/hmailserver
 void
 Domains::Refresh()
 //---------------------------------------------------------------------------()
 // DESCRIPTION:
 // Reads all domains from the database
 //---------------------------------------------------------------------------()
 {
    String sSQL = "select * from hm_domains order by domainname asc";
    DBLoad_(sSQL);
 }
コード例 #6
0
 void 
 ServerMessages::Refresh()
 //---------------------------------------------------------------------------()
 // DESCRIPTION:
 // Reads all SURBL servers from the database.
 //---------------------------------------------------------------------------()
 {
    String sSQL = "select * from hm_servermessages order by smname asc";
    DBLoad_(sSQL);
 }
コード例 #7
0
ファイル: Domains.cpp プロジェクト: TreeSprite/hmailserver
   void 
   Domains::Refresh(__int64 iDomainID)
   //---------------------------------------------------------------------------()
   // DESCRIPTION:
   // Reads a specific domain from the database.
   //---------------------------------------------------------------------------()
   {
      String sSQL;
      sSQL.Format(_T("select * from hm_domains where domainid = %I64d"), iDomainID);

      DBLoad_(sSQL);
   }
コード例 #8
0
   void 
   GroupMembers::Refresh()
   //---------------------------------------------------------------------------()
   // DESCRIPTION:
   // Reads all group members from the database
   //---------------------------------------------------------------------------()
   {
      String sSQL;
      sSQL.Format(_T("select * from hm_group_members where membergroupid = %I64d order by memberid asc"), group_id_);

      DBLoad_(sSQL);      
   }
コード例 #9
0
   void 
   ACLPermissions::Refresh()
   //---------------------------------------------------------------------------()
   // DESCRIPTION:
   // Reads all groups form the database
   //---------------------------------------------------------------------------()
   {
      String sSQL;
      sSQL.Format(_T("select * from hm_acl where aclsharefolderid = %I64d"), folder_id_);

      DBLoad_(sSQL);
   }