@AccessLevel(value=EXTERNAL) public abstract class CaseUserRole extends CaseUserRole
Modifier and Type | Field and Description |
---|---|
protected com.google.inject.Provider<CaseTransactionLogIntf> |
caseTransactionLogProvider |
Constructor and Description |
---|
CaseUserRole()
Constructor for injection.
|
Modifier and Type | Method and Description |
---|---|
void |
createCaseUserRole(curam.core.sl.entity.struct.CaseUserRoleDtls dtls)
Creates a case user role.
|
curam.core.sl.entity.struct.OrgObjectLinkKey |
createOrgObjectLink(curam.core.sl.entity.struct.OrgObjectLinkDtls dtls)
Creates an organization object link if one does not already exist.
|
void |
createOwner(curam.core.struct.CaseHeaderKey key,
curam.core.sl.entity.struct.OrgObjectLinkDtls ownerDtls)
Method to create a case owner on the initial case creation.
|
void |
createOwnerBasedOnOwnershipStrategy(curam.core.struct.CaseKey caseID,
curam.core.sl.struct.OwnershipStrategyDetails ownershipStrategyDetails)
Method to create "Pending Owner Work queue" to be the initial owner and
enact the workflow process to determine the actual case owner based on
ownership strategy configured for the case type.
|
void |
createOwnerCaseUserRole(curam.core.sl.entity.struct.CaseUserRoleDtls dtls)
Creates a case user role.
|
void |
createSupervisor(curam.core.struct.CaseHeaderKey key,
curam.core.struct.UserNameKey userNameKey)
Method to create a case supervisor.
|
void |
createSupervisorCaseUserRole(curam.core.sl.entity.struct.CaseUserRoleDtls dtls)
Creates a supervisor case user role.
|
void |
modifyCaseHeader(curam.core.struct.CaseHeaderKey key,
curam.core.sl.entity.struct.OrgObjectLinkKey orgObjectLinkKey)
Method to update the Case Header with owner details.
|
void |
modifyCaseOwner(curam.core.struct.CaseHeaderKey key,
curam.core.sl.entity.struct.OrgObjectLinkDtls ownerDtls,
curam.core.sl.struct.ReasonEndDateComments reasonEndDateComments,
curam.core.sl.struct.SendNotificationInd sendNotificationInd)
Modifies a case owner by closing the existing owner records and updating
them with new owner details.
|
curam.core.sl.struct.CaseOwnerDetails |
readOwner(curam.core.struct.CaseHeaderKey key)
Method to read the case owner details.
|
curam.core.sl.struct.CaseOwnerAndSupervisorDetails |
readOwnerAndSupervisor(curam.core.struct.CaseHeaderKey key)
Reads the case owner and supervisor.
|
curam.core.sl.struct.CaseOwnerDetails |
readOwnerName(curam.core.sl.entity.struct.OrgObjectLinkKey key)
Method to read the case owner name.
|
void |
sendNotificationToCaseOwner(curam.core.struct.UserNameKeyList userNameKeyList,
java.util.List<curam.core.sl.impl.NotificationWDOStruct> enactmentStructs,
curam.core.sl.impl.NotificationWDOStruct notificationWDOStruct)
This method iterates through owner names list and if user name list is not
null and user name is not null or empty then sends notification to the
owner when case owner changes
|
checkSensitivityExceptions, validateCaseOwner, validateCaseSupervisor, validateOrgUnitOwner, validatePositionOwner, validateUserOwner, validateWorkQueueOwner
@Inject protected com.google.inject.Provider<CaseTransactionLogIntf> caseTransactionLogProvider
@AccessLevel(value=EXTERNAL) public void createOwner(curam.core.struct.CaseHeaderKey key, curam.core.sl.entity.struct.OrgObjectLinkDtls ownerDtls) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- the unique identifier of the case that the owner is being created
for.ownerDtls
- the details of the case organization object or usercuram.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) public curam.core.sl.struct.CaseOwnerDetails readOwner(curam.core.struct.CaseHeaderKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- the unique identifier of the casecuram.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) public curam.core.sl.struct.CaseOwnerDetails readOwnerName(curam.core.sl.entity.struct.OrgObjectLinkKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- the unique identifier of the orgObjectLinkIDcuram.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) public curam.core.sl.struct.CaseOwnerAndSupervisorDetails readOwnerAndSupervisor(curam.core.struct.CaseHeaderKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- The unique identifier of the casecuram.util.exception.AppException
curam.util.exception.InformationalException
Case, Users, Organization |
@AccessLevel(value=EXTERNAL) public curam.core.sl.entity.struct.OrgObjectLinkKey createOrgObjectLink(curam.core.sl.entity.struct.OrgObjectLinkDtls dtls) throws curam.util.exception.AppException, curam.util.exception.InformationalException
dtls
- The case organization object link detailscuram.util.exception.AppException
curam.util.exception.InformationalException
Organization |
@AccessLevel(value=EXTERNAL) public void createCaseUserRole(curam.core.sl.entity.struct.CaseUserRoleDtls dtls) throws curam.util.exception.AppException, curam.util.exception.InformationalException
dtls
- The details of the case user rolecuram.util.exception.AppException
curam.util.exception.InformationalException
Case, Users |
CaseUserRole |
@AccessLevel(value=EXTERNAL) public void modifyCaseHeader(curam.core.struct.CaseHeaderKey key, curam.core.sl.entity.struct.OrgObjectLinkKey orgObjectLinkKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- the unique identifier of the userorgObjectLinkKey
- unique identifier of the OrgObjectLinkcuram.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) public void createSupervisor(curam.core.struct.CaseHeaderKey key, curam.core.struct.UserNameKey userNameKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- the unique identifier of the useruserNameKey
- the details of the case organization object or usercuram.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) public void createOwnerCaseUserRole(curam.core.sl.entity.struct.CaseUserRoleDtls dtls) throws curam.util.exception.AppException, curam.util.exception.InformationalException
dtls
- The details of the case user role.curam.util.exception.AppException
curam.util.exception.InformationalException
Case, Users |
CaseUserRole |
@AccessLevel(value=EXTERNAL) public void createSupervisorCaseUserRole(curam.core.sl.entity.struct.CaseUserRoleDtls dtls) throws curam.util.exception.AppException, curam.util.exception.InformationalException
dtls
- The details of the case user rolecuram.util.exception.AppException
curam.util.exception.InformationalException
Case, Users |
CaseUserRole |
@AccessLevel(value=EXTERNAL) public void modifyCaseOwner(curam.core.struct.CaseHeaderKey key, curam.core.sl.entity.struct.OrgObjectLinkDtls ownerDtls, curam.core.sl.struct.ReasonEndDateComments reasonEndDateComments, curam.core.sl.struct.SendNotificationInd sendNotificationInd) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- The unique identifier for the case.ownerDtls
- The modified details of the case organization object or
user.reasonEndDateComments
- Reason and comments associated with new owner.sendNotificationInd
- If this indicator is set, a notification is sent
to the previous
and the new case owner, provided the correct environment variables are set.curam.util.exception.AppException
curam.util.exception.InformationalException
CaseUserRole |
Organization, UserRecentAction, CaseUserRole |
@AccessLevel(value=EXTERNAL) public void createOwnerBasedOnOwnershipStrategy(curam.core.struct.CaseKey caseID, curam.core.sl.struct.OwnershipStrategyDetails ownershipStrategyDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
caseID
- Contains the case ID for the case being created.ownershipStrategyDetails
- Contains the ownership strategy process name configured for
specific case type.curam.util.exception.AppException
curam.util.exception.InformationalException
public void sendNotificationToCaseOwner(curam.core.struct.UserNameKeyList userNameKeyList, java.util.List<curam.core.sl.impl.NotificationWDOStruct> enactmentStructs, curam.core.sl.impl.NotificationWDOStruct notificationWDOStruct) throws curam.util.exception.AppException, curam.util.exception.InformationalException
userNameKeyList
- contains list of case ownerenactmentStructs
- contains notification listnotificationStruct
- contains notification infocuram.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.