Examples of IProfileMapper


Examples of org.jasig.portal.layout.profile.IProfileMapper

    @Override
    public boolean isApplicable(IPerson person) {
       
        final ApplicationContext applicationContext = ApplicationContextLocator.getApplicationContext();
        final IPortalRequestUtils portalRequestUtils = applicationContext.getBean(IPortalRequestUtils.class);
        final IProfileMapper profileMapper = applicationContext.getBean("profileMapper", IProfileMapper.class);
       
        final HttpServletRequest request = portalRequestUtils.getCurrentPortalRequest();
        final String currentFname = profileMapper.getProfileFname(person, request);
       
        return profileFname.equals(currentFname);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.