insert | insert | AUTO_ID: approvalCriteriaID
AUTO_ID_KEY: SERCPLANBO
PRE_DATA_ACCESS: yes
| Insert a new record into the database | |
read | read | | Read an existing approval criteria record | |
modify | modify | OPTIMISTIC_LOCKING: yes
PRE_DATA_ACCESS: yes
| Modify an existing approval criteria record | |
cancel | nsmodify | OPTIMISTIC_LOCKING: yes
PRE_DATA_ACCESS: yes
| Cancel an existing approval criteria record | |
searchByRecordStatus | readmulti | ORDER_BY: occursWhen, priority
| Search for all approval criteria records with a given status | |
readAll | nkreadmulti | ORDER_BY: occursWhen, priority
| List all of the entries irrespective of record status. Used for the list view page. | |
searchPriorityDetailsByOccursWhen | nsreadmulti | ORDER_BY: priority
| Return records based on when they occur and status. The list returned contains the ID and priority for each entry only. | |
modifyPriority | nsmodify | OPTIMISTIC_LOCKING: yes
| Modify the priority value alone when these need to be reordered | |
countByCriteriaNameAndStatus | ns | | This operation returns back a count of approval criteria records that have the same criteriaName as that of the criteriaName passed in. This will help prevent duplicates being created. | SQL |
validateDuplicates | | | Method will ensure no approval criteria records will be created which have the same criteriaName. | |
validateDetails | | | Validate details for approval criteria operations | |
validateInsert | | | Validate data for an insert operation | |
validateModify | | | Validate details for a modify operation | |
validateCancel | | | Validate details for cancellation of an existing entry | |
insertApprovalCriteria | insert | | Inserts approval criteria record. This method expects the approvalCriteriaID to be set.
It is preferred to call only in scenarios where calling method wants to set the value of primary key by itself.
| |
modifyDescription | nsmodify | | Modifies approval criteria description. | |
modifyDescriptionTextID | nsmodify | | Modifies descriptionTextID. | |
modifyApprovalCriteria | modify | OPTIMISTIC_LOCKING: yes
| This modify operation will be called while re-applying a change set in the target system. Entity level validations that will happen during a standard modify operation will not be applicable in this case. This modify operation will update all the attributes defined for this entity. | |