@AccessLevel(value=EXTERNAL) public abstract class OrganisationUnit extends OrganisationUnit
Constructor and Description |
---|
OrganisationUnit() |
Modifier and Type | Method and Description |
---|---|
protected void |
cancelOrgUnitPositionsLinksAndParentLink(curam.core.sl.entity.struct.OrganisationUnitKey organisationUnitKey,
curam.core.sl.entity.struct.OrgStructureOrgUnitAndStatusKey orgStructureOrgUnitAndStatusKey)
This method cancels the links between the org units and positions.
|
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.OrganisationUnitDtls |
getOrganisationUnitDetail(curam.core.sl.entity.struct.OrganisationUnitKey organisationUnitKey)
Retrieve the Organization Unit Detail for a particular organisationUnitID
|
protected boolean |
isOrgUnitCaseOrTaskOwner(curam.core.sl.struct.CancelOrgUnitKey cancelOrgUnitKey)
Returns true/false based on whether or not Organization Unit has Case/Task
assigned to it.
|
curam.core.sl.entity.struct.OrganisationUnitNameList |
listOrganisationUnitNamesByUser(curam.core.sl.entity.struct.PositionHolderLinkIndexStruct3 positionHolderLinkIndex)
Retrieve the list of OrganizationUnitNames for a particular userName and
recordStatus.
|
protected void |
recursiveSearchChildOrgUnit(curam.core.sl.struct.OrgStructureAndOrgUnitKey key,
java.util.ArrayList<java.lang.Long> organisationUnitIDList)
Method to list all the organization unit ID from parent and sub unit
organization unit.
|
protected boolean isOrgUnitCaseOrTaskOwner(curam.core.sl.struct.CancelOrgUnitKey cancelOrgUnitKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
cancelOrgUnitKey
- curam.util.exception.AppException
curam.util.exception.InformationalException
protected void cancelOrgUnitPositionsLinksAndParentLink(curam.core.sl.entity.struct.OrganisationUnitKey organisationUnitKey, curam.core.sl.entity.struct.OrgStructureOrgUnitAndStatusKey orgStructureOrgUnitAndStatusKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
organisationAdminSecurityResult
- orgUnitObj
- positionHolderLinkObj
- organisationUnitKey
- orgStructureOrgUnitAndStatusKey
- curam.util.exception.AppException
curam.util.exception.InformationalException
protected curam.core.struct.UserNameKeyList convertUserList(curam.core.struct.UserForOrgUnitList userOrgUnitList)
userOrgUnitList
- List of UserForOrgUnit Objectsprotected void recursiveSearchChildOrgUnit(curam.core.sl.struct.OrgStructureAndOrgUnitKey key, java.util.ArrayList<java.lang.Long> organisationUnitIDList) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- organization Structure and unit identifiercuram.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.@AccessLevel(value=EXTERNAL) public curam.core.sl.entity.struct.OrganisationUnitDtls getOrganisationUnitDetail(curam.core.sl.entity.struct.OrganisationUnitKey organisationUnitKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
organisationUnitKey
- Contains organisationUnitIDcuram.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.@AccessLevel(value=EXTERNAL) public curam.core.sl.entity.struct.OrganisationUnitNameList listOrganisationUnitNamesByUser(curam.core.sl.entity.struct.PositionHolderLinkIndexStruct3 positionHolderLinkIndex) throws curam.util.exception.AppException, curam.util.exception.InformationalException
positionHolderLinkIndex
- which contains userName and recordStatus.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.