org.jasig.schedassist.portlet.visitors
Class DefaultPortletScheduleVisitorImpl
java.lang.Object
org.jasig.schedassist.portlet.visitors.DefaultPortletScheduleVisitorImpl
- All Implemented Interfaces:
- IPortletScheduleVisitor
public class DefaultPortletScheduleVisitorImpl
- extends Object
- implements IPortletScheduleVisitor
Default implementation of IScheduleVisitor.
- Author:
- Nicholas Blair
DefaultPortletScheduleVisitorImpl
public DefaultPortletScheduleVisitorImpl(String username)
- Parameters:
username -
DefaultPortletScheduleVisitorImpl
public DefaultPortletScheduleVisitorImpl(String username,
boolean eligible)
- Parameters:
username - eligible -
getAccountId
public String getAccountId()
- Description copied from interface:
IPortletScheduleVisitor
- Return a String that uniquely idenfies this visitor in the
remote calendar service.
This could be a username or an email address.
- Specified by:
getAccountId in interface IPortletScheduleVisitor
- Returns:
- a string that uniquely identifies this visitor.
isEligible
public boolean isEligible()
- Specified by:
isEligible in interface IPortletScheduleVisitor
- Returns:
- true if this account is eligible for the remote calendar service
setEligible
public void setEligible(boolean eligible)
- Parameters:
eligible - the eligible to set
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012 Jasig. All Rights Reserved.