Implement the set of the condition for DBClient::getActionList().

This patch also includes bug fixes correctly to work the above
function.