|
|
(12 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | {| class="tableintopic" style="border-collapse: collapse;" cellpadding="2"
| |
− | |- valign="top" align="left"
| |
− | | style="border: 1px solid; width: 239px;" bgcolor="#C0C0C0" | '''Old function'''
| |
− | | style="border: 1px solid; width: 251px;" bgcolor="#C0C0C0" | '''New function'''
| |
− | | style="border: 1px solid; width: 237px;" bgcolor="#C0C0C0" | '''Note'''
| |
| | | |
− | |- valign="top" align="left"
| |
− | | style="border: 1px solid; width: 239px;" | [[setRPQUserId|setRPQUserId(userId)]]
| |
− | | style="border: 1px solid; width: 251px;" | [[setQASUserId|setQASUserId(userRId)]]
| |
− | | style="border: 1px solid; width: 237px;" |
| |
− | <br>
| |
− | |- valign="top" align="left"
| |
− | | style="border: 1px solid; width: 239px;" | [[getRPQUserId|getRPQUserId()]] <br>return userId
| |
− | | style="border: 1px solid; width: 251px;" | [[getQASUserId|getQASUserId()]] <br>return userRId
| |
− | | style="border: 1px solid; width: 237px;" |
| |
− | <br>
| |
− | |- valign="top" align="left"
| |
− | | style="border: 1px solid; width: 239px;" | [[setTimezone|setTimezone(userId, timezoneId)]] <br>[[setTimezone|setTimezone(timezoneId)]]
| |
− | | style="border: 1px solid; width: 251px;" | [[setUserTimezone|setUserTimezone(userRId, timezoneId)]] <br>[[setUserTimezone|setUserTimezone(timezoneId)]]
| |
− | | style="border: 1px solid; width: 237px;" |
| |
− | |- valign="top" align="left"
| |
− | | style="border: 1px solid; width: 239px;" | [[getTimezone|getTimezone(userId)]] <br>[[getTimezone|getTimezone()]]
| |
− | | style="border: 1px solid; width: 251px;" | [[getUserTimezone|getUserTimezone(userRId)]] <br>[[getUserTimezone|getUserTimezone()]]
| |
− | | style="border: 1px solid; width: 237px;" |
| |
− | <br>
| |
− | |- valign="top" align="left"
| |
− | | style="border: 1px solid; width: 239px;" | [[setUserRoleId|setUserRoleId(userResourceTemplateId)]]
| |
− | | style="border: 1px solid; width: 251px;" | User_setUserRoleId(userResourceTemplateRId)
| |
− | | style="border: 1px solid; width: 237px;" |
| |
− | already exist: setResourceTemplateResourceId
| |
− | |- valign="top" align="left"
| |
− | | style="border: 1px solid; width: 239px;" | [[getUserRoleId|getUserRoleId()]]<br>return userResourceTemplateId<br>
| |
− | | style="border: 1px solid; width: 251px;" | User_getUserRoleId()<br>return userResourceTemplateRId<br>
| |
− | | style="border: 1px solid; width: 237px;" |
| |
− | already exist: getResourceTemplateResourceId
| |
− | |- valign="top" align="left"
| |
− | | style="border: 1px solid; width: 239px;" | [[getQuestionnaireTemplateId|getQuestionnaireTemplateId]]
| |
− | | style="border: 1px solid; width: 251px;" | Questionnaire_getTemplateId
| |
− | | style="border: 1px solid; width: 237px;" |
| |
− | <br>
| |
− | |- valign="top" align="left"
| |
− | | style="border: 1px solid; width: 239px;" | [[getProjectQuestionnaireId|getProjectQuestionnaireId]]
| |
− | | style="border: 1px solid; width: 251px;" | Questionnaire_getProjectId
| |
− | | style="border: 1px solid; width: 237px;" |
| |
− | getQuestionnaireId
| |
− | |- valign="top" align="left"
| |
− | | style="border: 1px solid; width: 239px;" | [[getReportStyleSheetIdByName|getReportStyleSheetIdByName]]
| |
− | | style="border: 1px solid; width: 251px;" | Report_getStyleSheetIdByName
| |
− | | style="border: 1px solid; width: 237px;" |
| |
− | <br>
| |
− | |- valign="top" align="left"
| |
− | | style="border: 1px solid; width: 239px;" | [[getReportStyleSheetId|getReportStyleSheetId]]
| |
− | | style="border: 1px solid; width: 251px;" | Report_getStyleSheetId
| |
− | | style="border: 1px solid; width: 237px;" |
| |
− | <br>
| |
− | |- valign="top" align="left"
| |
− | | style="border: 1px solid; width: 239px;" | [[changeSampleRuleId|changeSampleRuleId]]
| |
− | | style="border: 1px solid; width: 251px;" | X
| |
− | <br>
| |
− | | style="border: 1px solid; width: 237px;" |
| |
− | sampleRule has only one kind of Id<br>
| |
− | |- valign="top" align="left"
| |
− | | style="border: 1px solid; width: 239px;" | [[createResourceProjectQuestionnaire|createResourceProjectQuestionnaire(qnaireId)]]<br> [[createResourceProjectQuestionnaire|createResourceProjectQuestionnaire(qnaireId, assignCurrentUser)]]<br> [[createResourceProjectQuestionnaire|createResourceProjectQuestionnaire(qnaireId, assignCurrentUser, useExisting)]]
| |
− | | style="border: 1px solid; width: 251px;" |
| |
− | <br>
| |
− | | style="border: 1px solid; width: 237px;" |
| |
− | already exist:<br> new QAS(qnaireRId, -1) <br> new QAS(qnaireRId, 0)<br> QAS_getByUserResourceId
| |
− | |- valign="top" align="left"
| |
− | | style="border: 1px solid; width: 239px;" | [[getProjectQuestionnaireName|getProjectQuestionnaireName(qnaireId)]] <br> [[getProjectQuestionnaireName|getProjectQuestionnaireName()]]
| |
− | | style="border: 1px solid; width: 251px;" |
| |
− | <br>
| |
− | | style="border: 1px solid; width: 237px;" |
| |
− | expected new function name: getQuestionnaireName
| |
− | |- valign="top" align="left"
| |
− | | style="border: 1px solid; width: 239px;" | [[getReturnToProjectQuestionnaireId|getReturnToProjectQuestionnaireId()]] <br> return qnaireId
| |
− | | style="border: 1px solid; width: 251px;" |
| |
− | <br>
| |
− | | style="border: 1px solid; width: 237px;" |
| |
− | expected new functions name: getReturnToQuestionnaireId
| |
− | |- valign="top" align="left"
| |
− | | style="border: 1px solid; width: 239px;" | [[getUserProjectQuestionnaireId|getUserProjectQuestionnaireId()]]
| |
− | | style="border: 1px solid; width: 251px;" | X
| |
− | <br>
| |
− | | style="border: 1px solid; width: 237px;" |
| |
− | already exist: getRPQId <br>not related to Id, no need new function
| |
− | |- valign="top" align="left"
| |
− | | style="border: 1px solid; width: 239px;" | [[getUserProjectQuestionnaireUserId|getUserProjectQuestionnaireUserId()]] <br> return UserId
| |
− | | style="border: 1px solid; width: 251px;" |
| |
− | <br>
| |
− | | style="border: 1px solid; width: 237px;" |
| |
− | already exist: getQASUserId
| |
− | |- valign="top" align="left"
| |
− | | style="border: 1px solid; width: 239px;" | [[questionnaireAnswerSheetExists|questionnaireAnswerSheetExists(qnaireId, userId)]] <br>[[questionnaireAnswerSheetExists|questionnaireAnswerSheetExists(qnaireId)]]
| |
− | | style="border: 1px solid; width: 251px;" |
| |
− | | style="border: 1px solid; width: 237px;" |already exist:<br>QAS_exists(qnaireRid, userRId)<br>QAS_exists(qnaieRId)
| |
− |
| |
− | |- valign="top" align="left"
| |
− | | style="border: 1px solid; width: 239px;" | [[sampleRuleExists|sampleRuleExists]]
| |
− | | style="border: 1px solid; width: 251px;" | X
| |
− | <br>
| |
− | | style="border: 1px solid; width: 237px;" |
| |
− | sampleRule has only one kind of Id
| |
− | |- valign="top" align="left"
| |
− | | style="border: 1px solid; width: 239px;" | [[setUserProjectQuestionnaireId|setUserProjectQuestionnaireId(QASId)]]
| |
− | | style="border: 1px solid; width: 251px;" | X
| |
− | <br>
| |
− | | style="border: 1px solid; width: 237px;" |
| |
− | already exist: setRPQId <br> and not related with Id, no need new function
| |
− | |- valign="top" align="left"
| |
− | | style="border: 1px solid; width: 239px;" | [[setUserProjectQuestionnaireUserId|setUserProjectQuestionnaireUserId(userId)]]
| |
− | | style="border: 1px solid; width: 251px;" |
| |
− | <br>
| |
− | | style="border: 1px solid; width: 237px;" |
| |
− | already exist: setQASUserId
| |
− | |}
| |