@AccessLevel(value=EXTERNAL)
public abstract class SlotAllocation
extends curam.core.sl.base.SlotAllocation
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
kGanttDateFormat |
protected static int |
kMinusWorkItem |
protected static int |
kOne |
protected static java.lang.String |
kTimeChar |
protected static int |
kZero |
protected static java.lang.String |
kZeroDate |
Constructor and Description |
---|
SlotAllocation() |
Modifier and Type | Method and Description |
---|---|
void |
add(curam.core.sl.struct.SlotAllocationAddDetails slotAllocationAddDetails)
Determines if a slot allocation exists for the slot in question.
|
curam.core.sl.struct.DetermineAvailableSlotsDetailsList |
determineAvailableSlots(curam.core.sl.struct.DetermineAvailableSlotsKey determineAvailableSlotsKey)
Determines if a user can be assigned to undertake a work item during a slot
at a specified location.
|
curam.core.sl.entity.struct.AvailableSlotDetailsList |
getAvailableSlots(curam.core.sl.struct.GetAvailableSlotsKey getAvailableSlotsKey)
Gets the list of available slots based on the following details passed in.
|
void |
modifyUnits(curam.core.sl.struct.SlotAllocationUpdateUnitsKey key,
curam.core.sl.struct.SlotAllocationUpdateUnitsDetails details)
Modifies slot allocation details record.
|
curam.core.sl.struct.ProcessSlotDetails |
processSlot(curam.core.sl.struct.ProcessSlotKey processSlotKey)
Processes a location schedule slot, such as a slot selected by a client
who is scheduling an appointment online as part of an application process.
|
void |
remove(curam.core.sl.struct.SlotAllocationRemoveDetails slotAllocationRemoveDetails)
A slot allocation is retrieved for a slot on a certain date.
|
getLongestFreeOverlapDuration, getOverlapDuration, getScheduleItemsFromUserActivities
protected static final int kZero
protected static final int kOne
protected static final int kMinusWorkItem
protected static final java.lang.String kZeroDate
protected static final java.lang.String kTimeChar
protected static final java.lang.String kGanttDateFormat
@AccessLevel(value=EXTERNAL) public void add(curam.core.sl.struct.SlotAllocationAddDetails slotAllocationAddDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
slotAllocationAddDetails
- The details for slot allocation to be
addedcuram.util.exception.AppException
curam.util.exception.InformationalException
SlotAllocation, Assignment |
SlotAllocation, Assignment |
@AccessLevel(value=EXTERNAL) public void remove(curam.core.sl.struct.SlotAllocationRemoveDetails slotAllocationRemoveDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
slotAllocationRemoveDetails
- The details of the slot allocation to be
removed.curam.util.exception.AppException
curam.util.exception.InformationalException
SlotAllocation, Assignment |
SlotAllocation, Assignment |
@AccessLevel(value=EXTERNAL) public curam.core.sl.struct.DetermineAvailableSlotsDetailsList determineAvailableSlots(curam.core.sl.struct.DetermineAvailableSlotsKey determineAvailableSlotsKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
determineAvailableSlotsKey
- The details used to determine if a user
can be assigned to a task.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) public curam.core.sl.entity.struct.AvailableSlotDetailsList getAvailableSlots(curam.core.sl.struct.GetAvailableSlotsKey getAvailableSlotsKey) throws curam.util.exception.InformationalException, curam.util.exception.AppException
getAvailableSlotsKey
- - contains the details based on which the
available slots should be searched for.AppException{@link
- BPOSLOTALLOCATION.ERR_SLOTALLOCATION_XFV_NO_OF_DAYS_NO_OF_SLOTS_EMPTY}
When both the number of slots and the number of days are not specified.curam.util.exception.AppException
- Generic Exception Signature.AppException{@link
- BPOSLOTALLOCATION.ERR_SLOTALLOCATION_FV_LOCATIONID_EMPTY}
When the location ID is not specified.AppException{@link
- BPOSLOTALLOCATION.ERR_SLOTALLOCATION_FV_LOCATION_SCHEDULE_TYPE_EMPTY}
When the location schedule type is not specified.curam.util.exception.InformationalException
- Generic Exception Signature.AppException{@link
- BPOSLOTALLOCATION.ERR_SLOTALLOCATION_FV_DATE_EMPTY}
When the start date is not specified.@AccessLevel(value=EXTERNAL) public curam.core.sl.struct.ProcessSlotDetails processSlot(curam.core.sl.struct.ProcessSlotKey processSlotKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
processSlotKey
- Contains details for processing a slot.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.@AccessLevel(value=EXTERNAL) public void modifyUnits(curam.core.sl.struct.SlotAllocationUpdateUnitsKey key, curam.core.sl.struct.SlotAllocationUpdateUnitsDetails details) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- Contains slot allocation id.details
- Contains slot allocation details to be modified.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.