indexing description: "Issue search use case." author: "Dennis Rietmann" date: "$Date$" revision: "$Revision$" class ISSUE_SEARCH inherit AUTH_USE_CASE O_ISSUE_CONSTANTS create make feature -- Access namespace: STRING is -- Namespace of this use case. once Result := issue_namespace end type: STRING is -- Message type of this use case. once Result := issue_search_type end feature -- Basic operation start (a_msg: O_MESSAGE) is -- Start the use case by a_msg. local l_msg: O_ISSUE_SEARCH_MESSAGE do l_msg ?= a_msg check valid_message: l_msg /= Void end -- check if the user is authorized and act accordingly -- to conduct a search the user must be either member or owner of the project is_authorized_for_project (l_msg, "issue_list", l_msg.project, auth_node) end feature {NONE} -- Implementation handle_auth_success (a_msg: O_MESSAGE) is -- a_msg has been authorized, execute it. -- query has to be processed by the storage node do forward_to_node (a_msg, "storage1") end end