@Implementable
@AccessLevel(value=EXTERNAL)
public interface CloseUserExcludedCases
In certain circumstances, it makes no sense to close some of the case types, Participant Data Cases, for example.
This interface provides a filter mechanism for any cases that should not be considered during account closure.
If/when customers provide implementations for any case types that they wish to be excluded, they also need to inject these implementations using a Guice map binding in a custom module. The bindings will look something like the following:
final Multibinder setBinder =
Multibinder.newSetBinder(binder(),
curam.core.impl.CloseUserExcludedCases.class);
setBinder.addBinding()
.to(curam.core.impl.CloseUserExcludedCasesImpl.class);
Modifier and Type | Method and Description |
---|---|
java.util.Set<curam.codetable.impl.CASETYPECODEEntry> |
getListOfExcludedCases()
Returns a list of case type codes of cases which are not
considered when closing a user account.
|
@AccessLevel(value=EXTERNAL) java.util.Set<curam.codetable.impl.CASETYPECODEEntry> getListOfExcludedCases() throws curam.util.exception.AppException, curam.util.exception.InformationalException
curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.