org.jasig.schedassist.portlet.visitors
Class DefaultPortletScheduleVisitorFactoryImpl
java.lang.Object
org.jasig.schedassist.portlet.visitors.DefaultPortletScheduleVisitorFactoryImpl
- All Implemented Interfaces:
- IPortletScheduleVisitorFactory
public class DefaultPortletScheduleVisitorFactoryImpl
- extends Object
- implements IPortletScheduleVisitorFactory
Default IPortletScheduleVisitorFactory implementation.
The AccountId returned on the IPortletScheduleVisitor is sourced
from PortletRequest.getRemoteUser().
- Author:
- Nicholas Blair
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPortletScheduleVisitorFactoryImpl
public DefaultPortletScheduleVisitorFactoryImpl()
setSchedulingAssistantService
public void setSchedulingAssistantService(@Qualifier(value="portlet")
PortletSchedulingAssistantService schedulingAssistantService)
- Parameters:
schedulingAssistantService - the schedulingAssistantService to set
getSchedulingAssistantService
public PortletSchedulingAssistantService getSchedulingAssistantService()
- Returns:
- the schedulingAssistantService
getPortletScheduleVisitor
public IPortletScheduleVisitor getPortletScheduleVisitor(javax.portlet.PortletRequest portletRequest)
- Description copied from interface:
IPortletScheduleVisitorFactory
- Implementations should never return null.
- Specified by:
getPortletScheduleVisitor in interface IPortletScheduleVisitorFactory
- Returns:
- the
IPortletScheduleVisitor associated with the request
doConstructVisitor
protected IPortletScheduleVisitor doConstructVisitor(String accountId)
- Invoke
PortletSchedulingAssistantService.isEligible(String) and construct
a DefaultPortletScheduleVisitorImpl with the accountId and eligible result.
- Parameters:
accountId -
- Returns:
- the
IPortletScheduleVisitor.
Copyright © 2012 Jasig. All Rights Reserved.