@AccessLevel(value=EXTERNAL)
public interface FundUserRole
extends curam.fundpm.funduserrole.impl.FundUserRoleAccessor, curam.util.persistence.Insertable
Modifier and Type | Interface and Description |
---|---|
static interface |
FundUserRole.CheckFundOwnerEvents
Interface to the check fund owner functionality.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkFundOwner(java.lang.Long programFundID,
java.lang.Long orgObjectReference,
curam.codetable.impl.ORGOBJECTTYPEEntry orgObjectType,
java.lang.String userName)
Checks if a user is the owner of a fund.
|
curam.fundpm.impl.ProgramFund |
getFund()
Gets the immutable program fund for the fund user role.
|
void |
setComments(java.lang.String comments)
Sets the comments of the Fund User Role record.
|
void |
setDateRange(curam.util.type.DateRange dateRange)
Sets the from and to date.
|
void |
setOrgObjectLink(curam.piwrapper.organization.impl.OrgObjectLink orgObjectLink)
Sets the Organization Object Link record.
|
void |
setProgramFund(curam.fundpm.impl.ProgramFund programFund)
Sets the Program fund.
|
void |
setStatus(curam.codetable.impl.RECORDSTATUSEntry status)
Sets the record status of the Fund User Role.
|
void |
setType(curam.codetable.impl.FUNDUSERROLETYPEEntry type)
Sets the code value to denote the type of the Fund User Role.
|
getDateRange, getOrgObjectLink, getStatus, getType
curam.fundpm.impl.ProgramFund getFund()
getFund
in interface curam.fundpm.funduserrole.impl.FundUserRoleAccessor
void setProgramFund(curam.fundpm.impl.ProgramFund programFund)
programFund
- The program fund object.void setOrgObjectLink(curam.piwrapper.organization.impl.OrgObjectLink orgObjectLink)
orgObjectLink
- The orgobjectLink detailsvoid setDateRange(curam.util.type.DateRange dateRange)
dateRange
- The date range of the fund user role.void setType(curam.codetable.impl.FUNDUSERROLETYPEEntry type)
type
- The type of the Fund User Role.void setStatus(curam.codetable.impl.RECORDSTATUSEntry status)
status
- The record status of the Fund User Role record.void setComments(java.lang.String comments)
comments
- The comments for Fund User Role.@AccessLevel(value=EXTERNAL) boolean checkFundOwner(java.lang.Long programFundID, java.lang.Long orgObjectReference, curam.codetable.impl.ORGOBJECTTYPEEntry orgObjectType, java.lang.String userName) throws curam.util.exception.AppException, curam.util.exception.InformationalException
programFundID
- The unique ID of program fund.orgObjectReference
- The organization reference which can be a organization unit ID or
work queue ID or position ID.orgObjectType
- The organization object type.userName
- The user name of the logged in user.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.The default implementation -
curam.fundpm.funduserrole .impl.FundUserRoleImpl#checkFundOwner(Long,
Long, ORGOBJECTTYPEEntry, String)}