Package org.drools.guvnor.client.ruleeditor.standalone

Examples of org.drools.guvnor.client.ruleeditor.standalone.StandaloneEditorInvocationParameters


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


            attribute = sessionParameters.get( StandaloneEditorServlet.STANDALONE_EDITOR_SERVLET_PARAMETERS.GE_CLIENT_NAME_PARAMETER_NAME.getParameterName() );
            String clientName = attribute.toString();
           
            String[] validFactTypes = (String[])sessionParameters.get( StandaloneEditorServlet.STANDALONE_EDITOR_SERVLET_PARAMETERS.GE_VALID_FACT_TYPE_PARAMETER_NAME.getParameterName() );

            StandaloneEditorInvocationParameters invocationParameters = new StandaloneEditorInvocationParameters();

            this.loadRuleAssetsFromSessionParameters(sessionParameters, invocationParameters);

            invocationParameters.setHideLHS( hideLHSInEditor );
            invocationParameters.setHideRHS( hideRHSInEditor );
            invocationParameters.setHideAttributes( hideAttributesInEditor );
            invocationParameters.setValidFactTypes(validFactTypes);
            invocationParameters.setClientName(clientName);


            return invocationParameters;
        } finally{
            //clear session parameters
View Full Code Here

                hideAttributesInEditor = Boolean.parseBoolean( attribute.toString() );
            }
           
            String[] validFactTypes = (String[])sessionParameters.get( StandaloneEditorServlet.STANDALONE_EDITOR_SERVLET_PARAMETERS.GE_VALID_FACT_TYPE_PARAMETER_NAME.getParameterName() );

            StandaloneEditorInvocationParameters invocationParameters = new StandaloneEditorInvocationParameters();

            this.loadRuleAssetsFromSessionParameters(sessionParameters, invocationParameters);

            invocationParameters.setHideLHS( hideLHSInEditor );
            invocationParameters.setHideRHS( hideRHSInEditor );
            invocationParameters.setHideAttributes( hideAttributesInEditor );
            invocationParameters.setValidFactTypes(validFactTypes);


            return invocationParameters;
        } finally{
            //clear session parameters
View Full Code Here

            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);
View Full Code Here

TOP

Related Classes of org.drools.guvnor.client.ruleeditor.standalone.StandaloneEditorInvocationParameters

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.