@AccessLevel(value=EXTERNAL) public abstract class Position extends Position
Constructor and Description |
---|
Position() |
Modifier and Type | Method and Description |
---|---|
protected curam.core.struct.UserNameKeyList |
convertUserList(curam.core.struct.UserForOrgUnitList userOrgUnitList)
converts a list of UserForOrgUnit Objects into a list of userID's.
|
curam.core.sl.entity.struct.OrgUnitPositionLinkDetails |
getOrgUnitPositionLinkDetailByOrgStructurePositionAndStatus(curam.core.sl.entity.struct.OrgStructurePositionAndStatusKey positionAndStatusKey)
Retrieve the OrgUnitPositionLinkDetails for the particular
organisationStructureID, positionID and recordStatus.
|
curam.core.sl.entity.struct.PositionDtls |
getPositionDetails(curam.core.sl.entity.struct.PositionKey positionKey)
Retrieve the Position Details for a particular positionID
|
protected boolean |
isPositionTaskOrCaseOwner(curam.core.sl.struct.CancelPositionByWorkFlowKey cancelPositionKey)
Returns true/false based on whether or not Position has Case/Task assigned
to it.
|
curam.core.sl.entity.struct.PositionHolderLinkDtlsList |
listPositionHolderDetailsByUserName(curam.core.struct.UsersKey usersKey)
Retrieves the list of PositionHolderLink Detail for a perticular Users Key.
|
protected void |
validateCancelPositionDetails(curam.core.sl.struct.CancelPositionByWorkFlowKey cancelPositionKey)
Makes sure that the position has no links left before it is
cancelled/deleted.
|
protected boolean isPositionTaskOrCaseOwner(curam.core.sl.struct.CancelPositionByWorkFlowKey cancelPositionKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
cancelPositionKey
- curam.util.exception.InformationalException
- #DOC_END#curam.util.exception.AppException
protected void validateCancelPositionDetails(curam.core.sl.struct.CancelPositionByWorkFlowKey cancelPositionKey) throws curam.util.exception.InformationalException, curam.util.exception.AppException
cancelPositionKey
- curam.util.exception.InformationalException
- #DOC_END#curam.util.exception.AppException
protected curam.core.struct.UserNameKeyList convertUserList(curam.core.struct.UserForOrgUnitList userOrgUnitList)
userOrgUnitList
- List of UserForOrgUnit Objects@AccessLevel(value=EXTERNAL) public curam.core.sl.entity.struct.OrgUnitPositionLinkDetails getOrgUnitPositionLinkDetailByOrgStructurePositionAndStatus(curam.core.sl.entity.struct.OrgStructurePositionAndStatusKey positionAndStatusKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
positionAndStatusKey
- contains organisationStructureID, positionID and recordStatus.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.@AccessLevel(value=EXTERNAL) public curam.core.sl.entity.struct.PositionDtls getPositionDetails(curam.core.sl.entity.struct.PositionKey positionKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
positionKey
- contains positionIDcuram.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.@AccessLevel(value=EXTERNAL) public curam.core.sl.entity.struct.PositionHolderLinkDtlsList listPositionHolderDetailsByUserName(curam.core.struct.UsersKey usersKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
Position
usersKey
- contains userNamecuram.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.