Package org.jasig.portal.events

Examples of org.jasig.portal.events.PortletExecutionEvent$PortletExecutionEventBuilder


        assertTrue(setupSupportsTest("some-portlet", true, false, FNameFilterType.Blacklist));
    }


    private boolean setupSupportsTest(String fname, boolean classMatch, boolean fnameMatch, FNameFilterType filterType) {
        PortletExecutionEvent event = spy(new MockPortletExecutionEvent());
        when(event.getFname()).thenReturn(fname);

        PortletExecutionEventConverter converter = new PortletExecutionEventConverter();
        List<Class<? extends PortletExecutionEvent>> classes = new ArrayList<Class<? extends PortletExecutionEvent>>();
        classes.add(PortletActionExecutionEvent.class);
        if (classMatch) {
View Full Code Here


            }
        }

        if (postEvent && filterFNames != null) {

            PortletExecutionEvent execEvent = (PortletExecutionEvent)event;
            boolean foundFName = false;
            for (String fname : filterFNames) {
                if (fname != null && fname.equalsIgnoreCase(execEvent.getFname())) {
                    foundFName = true;
                    break;
                }
            }
View Full Code Here

TOP

Related Classes of org.jasig.portal.events.PortletExecutionEvent$PortletExecutionEventBuilder

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.