Operation | Stereotype | Options | Description | SQL |
insert | insert | AUTO_ID: referralID
| Standard Operation | |
read | read | | Standard Operation | |
modify | modify | OPTIMISTIC_LOCKING: yes
| Standard Operation | |
searchByRelatedObjectIDTypeAndStatus | readmulti | | Retrieves all referral records related to a referral based on the related object identifier, related object type and record status. | |
searchByRelatedObjectAndDateRange | readmulti | WHERE: relatedObjectID=:relatedObjectID
AND
((referralDate >=:startDate AND referralDate <=:endDate AND referralDate is not null )
OR
(creationDate>=:startDate AND creationDate <=:endDate AND referralDate is null))
| Retrieves all referral records with passed relatedObjectId and where referral date lies within the date range or where referral date is null. | |
|