boolean hideRHSInEditor = isHideRHSInEditor(sessionParameters);
boolean hideAttributesInEditor = isHideAttributesInEditor(sessionParameters);
String clientName = getClientName(sessionParameters);
String[] validFactTypes = getValidFactTypes(sessionParameters);
String[] activeWorkingSets = getActiveWorkingSets(sessionParameters);
StandaloneEditorInvocationParameters invocationParameters = new StandaloneEditorInvocationParameters();
this.loadRuleAssetsFromSessionParameters(sessionParameters,
invocationParameters);
invocationParameters.setHideLHS(hideLHSInEditor);
invocationParameters.setHideRHS(hideRHSInEditor);
invocationParameters.setHideAttributes(hideAttributesInEditor);
invocationParameters.setValidFactTypes(validFactTypes);
invocationParameters.setClientName(clientName);
invocationParameters.setActiveWorkingSets(activeWorkingSets);
return invocationParameters;
} finally {
//clear session parameters
session.removeAttribute(parametersUUID);