org.jasig.schedassist.remoting.soap
Class SOAPSchedulingAssistantServiceEndpoint
java.lang.Object
org.jasig.schedassist.remoting.soap.SOAPSchedulingAssistantServiceEndpoint
- All Implemented Interfaces:
- SOAPSchedulingAssistantOperations
@Endpoint(value="schedulingAssistantEndpoint")
public class SOAPSchedulingAssistantServiceEndpoint
- extends Object
- implements SOAPSchedulingAssistantOperations
Endpoint implementation for Available, exposes some of the functionality
provided by SchedulingAssistantService and RelationshipDao.
- Version:
- $Id: RemoteAvailableServiceEndpoint.java 2976 2011-01-25 14:04:08Z npblair $
- Author:
- Nicholas Blair, nblair@doit.wisc.edu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOAPSchedulingAssistantServiceEndpoint
public SOAPSchedulingAssistantServiceEndpoint()
setAvailableService
public void setAvailableService(SchedulingAssistantService schedulingAssistantService)
- Parameters:
schedulingAssistantService - the schedulingAssistantService to set
setCalendarAccountDao
public void setCalendarAccountDao(ICalendarAccountDao calendarAccountDao)
- Parameters:
calendarAccountDao - the calendarAccountDao to set
setOwnerDao
public void setOwnerDao(OwnerDao ownerDao)
- Parameters:
ownerDao - the ownerDao to set
setVisitorDao
public void setVisitorDao(VisitorDao visitorDao)
- Parameters:
visitorDao - the visitorDao to set
setRelationshipDao
public void setRelationshipDao(@Qualifier(value="composite")
RelationshipDao relationshipDao)
- Parameters:
relationshipDao - the relationshipDao to set
setAvailableScheduleDao
public void setAvailableScheduleDao(AvailableScheduleDao availableScheduleDao)
- Parameters:
availableScheduleDao - the availableScheduleDao to set
isEligible
@PayloadRoot(localPart="IsEligibleRequest",
namespace="https://source.jasig.org/schemas/sched-assist")
public IsEligibleResponse isEligible(IsEligibleRequest request)
- Description copied from interface:
SOAPSchedulingAssistantOperations
- Simple method to determine eligibility for a visitor.
- Specified by:
isEligible in interface SOAPSchedulingAssistantOperations
- Returns:
getTargetAvailableBlock
@PayloadRoot(localPart="GetTargetAvailableBlockRequest",
namespace="https://source.jasig.org/schemas/sched-assist")
public GetTargetAvailableBlockResponse getTargetAvailableBlock(GetTargetAvailableBlockRequest request)
throws NotRegisteredException,
SchedulingException
- Specified by:
getTargetAvailableBlock in interface SOAPSchedulingAssistantOperations
- Returns:
-
- Throws:
NotRegisteredException
SchedulingException
getVisibleSchedule
@PayloadRoot(localPart="VisibleScheduleRequest",
namespace="https://source.jasig.org/schemas/sched-assist")
public VisibleScheduleResponse getVisibleSchedule(VisibleScheduleRequest request)
throws NotAVisitorException,
CalendarAccountNotFoundException,
NotRegisteredException
- Specified by:
getVisibleSchedule in interface SOAPSchedulingAssistantOperations
- Returns:
-
- Throws:
NotAVisitorException
CalendarAccountNotFoundException
NotRegisteredException
scheduleAppointment
@PayloadRoot(localPart="CreateAppointmentRequest",
namespace="https://source.jasig.org/schemas/sched-assist")
public CreateAppointmentResponse scheduleAppointment(CreateAppointmentRequest request)
throws NotAVisitorException,
InputFormatException,
SchedulingException,
CalendarAccountNotFoundException,
NotRegisteredException
- Specified by:
scheduleAppointment in interface SOAPSchedulingAssistantOperations
- Returns:
-
- Throws:
NotAVisitorException
InputFormatException
SchedulingException
CalendarAccountNotFoundException
NotRegisteredException
cancelAppointment
@PayloadRoot(localPart="CancelAppointmentRequest",
namespace="https://source.jasig.org/schemas/sched-assist")
public CancelAppointmentResponse cancelAppointment(CancelAppointmentRequest request)
throws NotAVisitorException,
InputFormatException,
SchedulingException,
CalendarAccountNotFoundException,
NotRegisteredException
- Specified by:
cancelAppointment in interface SOAPSchedulingAssistantOperations
- Returns:
-
- Throws:
NotAVisitorException
InputFormatException
SchedulingException
CalendarAccountNotFoundException
NotRegisteredException
getRelationships
@PayloadRoot(localPart="GetRelationshipsRequest",
namespace="https://source.jasig.org/schemas/sched-assist")
public GetRelationshipsResponse getRelationships(GetRelationshipsRequest request)
throws NotAVisitorException,
CalendarAccountNotFoundException
- Specified by:
getRelationships in interface SOAPSchedulingAssistantOperations
- Returns:
-
- Throws:
NotAVisitorException
CalendarAccountNotFoundException
getScheduleOwnerById
@PayloadRoot(localPart="GetScheduleOwnerByIdRequest",
namespace="https://source.jasig.org/schemas/sched-assist")
public GetScheduleOwnerByIdResponse getScheduleOwnerById(GetScheduleOwnerByIdRequest request)
throws CalendarAccountNotFoundException,
NotRegisteredException
- Specified by:
getScheduleOwnerById in interface SOAPSchedulingAssistantOperations
- Returns:
-
- Throws:
CalendarAccountNotFoundException
NotRegisteredException
getVisitorConflicts
@PayloadRoot(localPart="VisitorConflictsRequest",
namespace="https://source.jasig.org/schemas/sched-assist")
public VisitorConflictsResponse getVisitorConflicts(VisitorConflictsRequest request)
throws NotAVisitorException,
NotRegisteredException
- Specified by:
getVisitorConflicts in interface SOAPSchedulingAssistantOperations
- Returns:
-
- Throws:
NotAVisitorException
NotRegisteredException
createAvailableBlockElement
protected AvailableBlockElement createAvailableBlockElement(AvailableBlock block)
- Convert an
AvailableBlock into an AvailableBlockElement.
- Parameters:
block -
- Returns:
createScheduleOwnerElement
protected static ScheduleOwnerElement createScheduleOwnerElement(IScheduleOwner owner)
- Convert a
IScheduleOwner into a ScheduleOwnerElement.
- Parameters:
owner -
- Returns:
Copyright © 2012 Jasig. All Rights Reserved.