@AccessLevel(value=EXTERNAL)
public interface ProgramApplication
extends curam.util.persistence.StandardEntity, curam.util.persistence.Insertable, curam.util.persistence.OptimisticLockModifiable
Application
. It is an
application for a type of benefit or assistance. A number of different
program applications can be made on the one Application
.
An organization has the ability to:
Modifier and Type | Method and Description |
---|---|
void |
approve()
Approves the program application.
|
void |
deny()
Denies the program application.
|
Application |
getApplication()
Gets the
Application for which the program application request was
made. |
curam.util.type.DateTime |
getDisposedDateTime()
Gets the disposed date time of the program application.
|
int |
getNumberOfReopenings()
Gets the number of times a program application has been reopened.
|
curam.util.type.DateTime |
getProgramRequestDate()
Gets the date time at which the program was requested.
|
curam.codetable.impl.PROGRAMTYPEEntry |
getProgramType()
Gets the program application type.
|
curam.codetable.impl.PROGRAMSTATUSEntry |
getStatus()
Gets the program application status.
|
void |
insert(curam.workspaceservices.intake.impl.IntakeProgramApplication intakeProgramApplication)
Inserts a program application record based on the information available via
the supplied intake program application.
|
java.util.List<ProgramWithdrawalRequest> |
listProgramWithdrawalRequests()
Gets a
list of ProgramWithdrawalRequest records for
the program application. |
void |
reopen(curam.codetable.impl.PROGAPPSTATUSTRANSREASONEntry reason,
java.lang.String comments)
Reopens a program application.
|
void |
setApplication(Application application)
Sets the
Application for which the program application request was
made. |
void |
setDisposedDateTime(curam.util.type.DateTime dateTime)
Sets the disposed date time for the program application.
|
void |
setProgramRequestDate(curam.util.type.DateTime dateTime)
Sets the date time at which the program was requested.
|
void |
setProgramType(curam.codetable.impl.PROGRAMTYPEEntry type)
Sets the program application type.
|
void |
withdraw(ProgramWithdrawalRequest programWithdrawalRequest)
Withdraws the request for this program application.
|
curam.util.type.DateTime getDisposedDateTime()
void setDisposedDateTime(curam.util.type.DateTime dateTime)
dateTime
- The disposed date time for the program application.curam.util.type.DateTime getProgramRequestDate()
void setProgramRequestDate(curam.util.type.DateTime dateTime)
dateTime
- The date time at which the program was requested.curam.codetable.impl.PROGRAMTYPEEntry getProgramType()
void setProgramType(curam.codetable.impl.PROGRAMTYPEEntry type)
type
- The program application type.Application getApplication()
Application
for which the program application request was
made.Application
for which the program application request
was made.void setApplication(Application application)
Application
for which the program application request was
made.application
- The Application
for which the program
application request was made.void insert(curam.workspaceservices.intake.impl.IntakeProgramApplication intakeProgramApplication) throws curam.util.exception.InformationalException, curam.util.exception.AppException
intakeProgramApplication
- The intake program application which will
used as the basis for the insertion of the program application record.curam.util.exception.InformationalException
curam.util.exception.AppException
curam.codetable.impl.PROGRAMSTATUSEntry getStatus()
void reopen(curam.codetable.impl.PROGAPPSTATUSTRANSREASONEntry reason, java.lang.String comments) throws curam.util.exception.InformationalException, curam.util.exception.AppException
reason
- The{@link PROGAPPSTATUSTRANSREASONEntry) for reopening the
program application.comments
- The comments relating to the reopening.curam.util.exception.InformationalException
curam.util.exception.AppException
int getNumberOfReopenings() throws curam.util.exception.InformationalException, curam.util.exception.AppException
curam.util.exception.InformationalException
curam.util.exception.AppException
java.util.List<ProgramWithdrawalRequest> listProgramWithdrawalRequests()
list
of ProgramWithdrawalRequest
records for
the program application.list
of ProgramWithdrawalRequest
records for
the program application.void deny() throws curam.util.exception.InformationalException, curam.util.exception.AppException
PROGRAMSTATUSEntry.DENIED
. In
addition to this, the timers associated with this program application will
also be stopped.curam.util.exception.InformationalException
curam.util.exception.AppException
void approve() throws curam.util.exception.InformationalException, curam.util.exception.AppException
PROGRAMSTATUSEntry.APPROVED
. In
addition to this, the timers associated with this program application will
also be stopped.curam.util.exception.InformationalException
curam.util.exception.AppException
void withdraw(ProgramWithdrawalRequest programWithdrawalRequest) throws curam.util.exception.InformationalException, curam.util.exception.AppException
PROGRAMSTATUSEntry.WITHDRAWN
.programWithdrawalRequest
- The ProgramWithdrawalRequest
associated with the withdrawal.curam.util.exception.InformationalException
curam.util.exception.AppException