insert | insert | AUTO_ID: organisationUnitResourceID
AUTO_ID_KEY: ORGNSTREBO
PRE_DATA_ACCESS: yes
| Standard Operation | |
read | read | | Standard Operation | |
countByOrganisationUnitAndResource | ns | | Counts organization unit resource records by organization unit and resource id and resource status.. | SQL |
searchByOrganisationUnit | nsmulti | | Method to return all organization unit resources for specified organization unit. | SQL |
searchByOrganisationUnitAndResourceType | nsmulti | | Method to return all organization unit resources for specified organization unit and resource type code. | SQL |
cancel | nsmodify | OPTIMISTIC_LOCKING: yes
PRE_DATA_ACCESS: yes
| Method to cancel organization unit resource. | |
validateInsert | | | Method to validate organization unit resource details before creating new organization unit resource. | |
validateCancel | | | Method to validate organization unit resource details before canceling organization unit resource record. | |
validate | | | Method to validate general organization unit resource details. | |
countByResourceID | ns | | Returns any active OrganisationUnitResources for a Resource. | SQL |
searchByOrganisationUnitAndResourceID | ns | | Returns organizationUnitResourceID by organization unit and resource id and resource status | SQL |
searchByresourceIDAndStatus | nsreadmulti | | Returns organization unit resource records by resource id and OrganisationUnitResource status.. | |
searchByOrganisationUnitKey | readmulti | | Reads all the record for an organisation unit id. | |
insertOrganisationUnitResource | insert | PRE_DATA_ACCESS: no
| Inserts record to organisation unit resource entity. This method expects organisation unit resource ID to be set by the caller, if not set it delegates the call to insert() which is modeled to auto generate primary key field (organisation unit resource ID). It's preferred to call insertOrganisationUnitResource only in scenarios where caller wants to set the value of primary key (organisation unit resource ID) by itself. | |
modify | modify | | Modifies a organisation unit resource record. | |