protected boolean handleIsBackEndServiceOperationMatchingParameters()
{
boolean matches = true;
final ServiceOperation serviceOperation = getBackEndServiceOperation();
// cache this operation's parameters for easy lookup
final Map parameterMap = new HashMap();
final Collection controllerParameters = getParameters();
for (final Iterator iterator = controllerParameters.iterator(); iterator.hasNext();)
{
final ParameterFacade parameter = (ParameterFacade)iterator.next();
parameterMap.put(parameter.getName(), parameter.getType());
}
// make sure that any service parameter exists here too
final Collection serviceParameters = serviceOperation.getParameters();
for (final Iterator iterator = serviceParameters.iterator(); iterator.hasNext() && matches;)
{
final ParameterFacade serviceParameter = (ParameterFacade)iterator.next();
final ClassifierFacade controllerParameterType = (ClassifierFacade)parameterMap.get(
serviceParameter.getName());