@AccessLevel(value=EXTERNAL) public interface WaitList extends curam.util.persistence.Insertable, WaitListAccessor
Modifier and Type | Interface and Description |
---|---|
static interface |
WaitList.WaitListAddEntryEvents
Business interface to maintain events to allow the system to write and
attach
custom work flows for adding entries to the wait list.
|
static interface |
WaitList.WaitListAddWaitListEntryEvents
Business interface to maintain events to allow the system to write and
attach
custom work flows for adding entries to the wait list.
|
static interface |
WaitList.WaitListInsertEvents
Business interface to maintain events to allow the system to write and
attach
custom work flows for the insertion of wait lists.
|
Modifier and Type | Method and Description |
---|---|
WaitListEntry |
addEntry(long caseParticipantRoleID,
short position,
curam.codetable.impl.WAITLISTENTRYPRIORITYEntry priority,
curam.util.type.Date expiryDate)
Creates a wait list entry.
|
WaitListEntry |
addEntry(long caseParticipantRoleID,
curam.codetable.impl.WAITLISTENTRYPRIORITYEntry priority,
curam.util.type.Date expiryDate)
Creates a wait list entry.
|
WaitListEntry |
addEntry(WaitListEntry waitListEntry)
Creates a wait list entry.
|
java.util.Set<WaitListEntry> |
getEntries()
Returns the list of all the wait list entries.
|
java.util.Set<WaitListEntry> |
getEntriesForClient(long caseParticipantRoleID)
Returns the list of all the wait list entries for a client.
|
java.util.Set<WaitListEntry> |
searchBy(long personID,
curam.codetable.impl.WAITLISTENTRYPRIORITYEntry waitListEntryPriority,
curam.codetable.impl.WAITLISTENTRYEXPIRYDAYSEntry waitListEntryExpiryDays,
curam.codetable.impl.WAITLISTENTRYSTATUSEntry waitListEntryStatus,
curam.codetable.impl.WAITLISTTYPEEntry waitListType)
Returns the wait list entries for a matching resource type for specific
case
participant role ID, priority, and number of expiry days and/or status of
the wait list entry.
|
java.util.Set<WaitListEntry> |
searchBy(java.lang.String name,
curam.codetable.impl.WAITLISTENTRYPRIORITYEntry priority,
curam.util.type.Date expiryDate,
curam.codetable.impl.WAITLISTENTRYSTATUSEntry status,
curam.codetable.impl.WAITLISTTYPEEntry type)
Returns the wait list entries for matching resource type for specific
client
name, priority, and number of expiry date and OR or status of the wait list
entry.
|
void |
setResource(curam.waitlist.impl.Resource resource)
Sets the resource for the wait list.
|
getCreatedDateTime, getResourceID, getType
@AccessLevel(value=EXTERNAL) void setResource(curam.waitlist.impl.Resource resource)
resource
- The resource for the wait list.WaitList |
@AccessLevel(value=EXTERNAL) WaitListEntry addEntry(long caseParticipantRoleID, short position, curam.codetable.impl.WAITLISTENTRYPRIORITYEntry priority, curam.util.type.Date expiryDate) throws curam.util.exception.InformationalException, curam.util.exception.AppException
caseParticipantRoleID
- The case participant role id of the client.position
- The position of the wait list entry in the wait list.priority
- The priority for the wait list entry. The priority of the wait list
entry can be high or medium or low. Priority of the wait list entry
is only for informational purposes and is not considered when
deciding the order of the wait list entry.expiryDate
- The date on which the wait list entry expires. After the expiry date,
the client will no longer be considered for allocation to the resource.curam.util.exception.InformationalException
curam.util.exception.AppException
WaitList |
@AccessLevel(value=EXTERNAL) WaitListEntry addEntry(long caseParticipantRoleID, curam.codetable.impl.WAITLISTENTRYPRIORITYEntry priority, curam.util.type.Date expiryDate) throws curam.util.exception.InformationalException, curam.util.exception.AppException
caseParticipantRoleID
- The case participant role id of the client.priority
- The priority for the wait list entry. The priority of the wait list
entry can be high or medium or low. Priority of the wait list entry is only
for informational purposes and is not considered when deciding the
order of the wait list entry.expiryDate
- The date on which the wait list entry expires. After the expiry date,
the client will no longer be considered for allocation to the resource.curam.util.exception.InformationalException
curam.util.exception.AppException
WaitList |
@AccessLevel(value=EXTERNAL) WaitListEntry addEntry(WaitListEntry waitListEntry) throws curam.util.exception.InformationalException, curam.util.exception.AppException
waitListEntry
- The details of wait list entry.curam.util.exception.InformationalException
curam.util.exception.AppException
WaitList |
@AccessLevel(value=EXTERNAL) java.util.Set<WaitListEntry> getEntriesForClient(long caseParticipantRoleID) throws curam.util.exception.InformationalException, curam.util.exception.AppException
getEntriesForClient
in interface WaitListAccessor
caseParticipantRoleID
- The case participant role id of the client.curam.util.exception.InformationalException
curam.util.exception.AppException
WaitList |
@AccessLevel(value=EXTERNAL) java.util.Set<WaitListEntry> getEntries() throws curam.util.exception.InformationalException, curam.util.exception.AppException
getEntries
in interface WaitListAccessor
curam.util.exception.InformationalException
curam.util.exception.AppException
WaitList |
java.util.Set<WaitListEntry> searchBy(java.lang.String name, curam.codetable.impl.WAITLISTENTRYPRIORITYEntry priority, curam.util.type.Date expiryDate, curam.codetable.impl.WAITLISTENTRYSTATUSEntry status, curam.codetable.impl.WAITLISTTYPEEntry type) throws curam.util.exception.InformationalException, curam.util.exception.AppException
WaitListAccessor
searchBy
in interface WaitListAccessor
name
- The client name of the wait list entry.priority
- The priority for the wait list entry. The priority of the wait list
entry can be high or medium or low. Priority of the wait list entry
is only for informational purposes and is not considered when deciding
the order of the wait list entry.expiryDate
- The date on which the wait list entry expires. After this date, the
client will no longer be considered for allocating the resource.status
- The status of the WaitList entry.type
- The type of the Wait List.curam.util.exception.InformationalException
curam.util.exception.AppException
@AccessLevel(value=EXTERNAL) java.util.Set<WaitListEntry> searchBy(long personID, curam.codetable.impl.WAITLISTENTRYPRIORITYEntry waitListEntryPriority, curam.codetable.impl.WAITLISTENTRYEXPIRYDAYSEntry waitListEntryExpiryDays, curam.codetable.impl.WAITLISTENTRYSTATUSEntry waitListEntryStatus, curam.codetable.impl.WAITLISTTYPEEntry waitListType) throws curam.util.exception.InformationalException, curam.util.exception.AppException
personID
- The case participant role id of the client for whom the wait list
entries details are to be retrieved.waitListEntryPriority
- The priority for the wait list entry. The priority of the wait list
entry can be high or medium or low. Priority of the wait list entry
is only for informational purposes and is not considered when
deciding the order of the wait list entry.waitListEntryExpiryDays
- The date on which the wait list entry expires. After this date, the
client will no longer be considered for allocation to the resource.waitListEntryStatus
- The status of the wait list entry.curam.util.exception.InformationalException
curam.util.exception.AppException
WaitList |