public function filterByConfigMaintenancemode($configMaintenancemode = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($configMaintenancemode)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $configMaintenancemode)) {
                $configMaintenancemode = str_replace('*', '%', $configMaintenancemode);
                $comparison = Criteria::LIKE;
            }
        }

        return $this->addUsingAlias(RemoteHistoryContaoPeer::CONFIG_MAINTENANCEMODE, $configMaintenancemode, $comparison);
    }