Difference between revisions of "OldIdFunctions"
Line 26: | Line 26: | ||
<br> | <br> | ||
|- valign="top" align="left" | |- valign="top" align="left" | ||
− | | style="border: 1px solid; width: 239px;" | [[setUserRoleId|setUserRoleId(userResourceTemplateId)]] | + | | style="border: 1px solid; width: 239px;" | [[setUserRoleId|setUserRoleId(userId, userResourceTemplateId)]] |
− | | style="border: 1px solid; width: 251px;" | User_setUserRoleId(userResourceTemplateRId) | + | | style="border: 1px solid; width: 251px;" | User_setUserRoleId(userRId, userResourceTemplateRId) |
− | | style="border: 1px solid; width: 237px;" | same function: setResourceTemplateResourceId | + | | style="border: 1px solid; width: 237px;" | same function: setResourceTemplateResourceId(resourceRId, resourceTemplateRId) |
|- valign="top" align="left" | |- valign="top" align="left" | ||
− | | style="border: 1px solid; width: 239px;" | [[getUserRoleId|getUserRoleId()]]<br>return userResourceTemplateId<br> | + | | style="border: 1px solid; width: 239px;" | [[getUserRoleId|getUserRoleId(userId)]]<br>return userResourceTemplateId<br> |
− | | style="border: 1px solid; width: 251px;" | User_getUserRoleId()<br>return userResourceTemplateRId<br> | + | | style="border: 1px solid; width: 251px;" | User_getUserRoleId(userRId)<br>return userResourceTemplateRId<br> |
− | | style="border: 1px solid; width: 237px;" | same function: <br>getResourceTemplateResourceId | + | | style="border: 1px solid; width: 237px;" | same function: <br>getResourceTemplateResourceId(resourceRId) |
|- valign="top" align="left" | |- valign="top" align="left" | ||
| style="border: 1px solid; width: 239px;" | [[getQuestionnaireTemplateId|getQuestionnaireTemplateId(qnaireTemplateQualifiedName)]] <br>return qnaireTemplateId | | style="border: 1px solid; width: 239px;" | [[getQuestionnaireTemplateId|getQuestionnaireTemplateId(qnaireTemplateQualifiedName)]] <br>return qnaireTemplateId |
Revision as of 10:37, 8 March 2022
Old function | New function | Note |
setRPQUserId(userId) | setQASUserId(userRId) |
|
getRPQUserId() return userId |
getQASUserId() return userRId |
|
setTimezone(userId, timezoneId) setTimezone(timezoneId) |
setUserTimezone(userRId, timezoneId) setUserTimezone(timezoneId) |
|
getTimezone(userId) getTimezone() |
getUserTimezone(userRId) getUserTimezone() |
|
setUserRoleId(userId, userResourceTemplateId) | User_setUserRoleId(userRId, userResourceTemplateRId) | same function: setResourceTemplateResourceId(resourceRId, resourceTemplateRId) |
getUserRoleId(userId) return userResourceTemplateId |
User_getUserRoleId(userRId) return userResourceTemplateRId |
same function: getResourceTemplateResourceId(resourceRId) |
getQuestionnaireTemplateId(qnaireTemplateQualifiedName) return qnaireTemplateId |
Questionnaire_getTemplateId return qnaireTemplateRId |
Questionnaire_getQuestionnaireTemplateId |
getProjectQuestionnaireId(qnaireQualifiedName) return qnaireId |
Questionnaire_getProjectId return qnaireRId |
Questionnaire_getQuestionnaireId |
getReportStyleSheetIdByName(reportStyleSheetQualifiedName) return ReportStyleSheetId |
Report_getStyleSheetIdByName return ReportStyleSheetRId |
|
getReportStyleSheetId() return ReportStyleSheetId |
Report_getStyleSheetId
return ReportStyleSheetRId |
|
changeSampleRuleId | X
|
sampleRule has only one kind of Id |
createResourceProjectQuestionnaire(qnaireId) createResourceProjectQuestionnaire(qnaireId, assignCurrentUser) createResourceProjectQuestionnaire(qnaireId, assignCurrentUser, useExisting) |
|
already exist: |
getProjectQuestionnaireName(qnaireId) getProjectQuestionnaireName() |
|
expected new function name: getQuestionnaireName |
getReturnToProjectQuestionnaireId() return qnaireId |
|
expected new functions name: getReturnToQuestionnaireId |
getUserProjectQuestionnaireId() | X
|
already exist: getRPQId |
getUserProjectQuestionnaireUserId() return UserId |
|
already exist: getQASUserId |
questionnaireAnswerSheetExists(qnaireId, userId) questionnaireAnswerSheetExists(qnaireId) |
|
already exist: QAS_exists(qnaireRid, userRId) QAS_exists(qnaieRId) |
sampleRuleExists | X
|
sampleRule has only one kind of Id |
setUserProjectQuestionnaireId(QASId) | X
|
already exist: setRPQId |
setUserProjectQuestionnaireUserId(userId) |
|
already exist: setQASUserId |