Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

OldIdFunctions: Difference between revisions

From Catglobe Wiki
No edit summary
No edit summary
Line 1: Line 1:
{| class="tableintopic" style="border-collapse: collapse" cellpadding="2"
{| class="tableintopic" style="border-collapse: collapse;" cellpadding="2"
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 239px;" bgcolor="#C0C0C0" | '''Old function'''
|- align="left" valign="top"
| style="border: 1px solid; width: 251px;" bgcolor="#C0C0C0" | '''New function'''
| style="border: 1px solid" bgcolor="#C0C0C0"| '''Old function'''
| style="border: 1px solid; width: 237px;" bgcolor="#C0C0C0" | '''Note'''
| style="border: 1px solid" bgcolor="#C0C0C0"| '''New function'''
| style="border: 1px solid" bgcolor="#C0C0C0"| '''Note'''
 
|- align="left" valign="top"
|style="border: 1px solid"| [[setRPQUserId|setRPQUserId(userId)]]
|style="border: 1px solid"| [[setQASUserId|setQASUserId(userRId)]]
|style="border: 1px solid"|
 
|- align="left" valign="top"
|style="border: 1px solid"| [[getRPQUserId|getRPQUserId()]] <br> return userId
|style="border: 1px solid"| [[getQASUserId|getQASUserId()]] <br> return userRId
|style="border: 1px solid"|
 
|- align="left" valign="top"
|style="border: 1px solid"| [[setTimezone|setTimezone(userId, timezoneId)]] </br> [[setTimezone|setTimezone(timezoneId)]]
|style="border: 1px solid"| [[setUserTimezone|setUserTimezone(userRId, timezoneId)]]  </br> [[setUserTimezone|setUserTimezone(timezoneId)]]
|style="border: 1px solid"|
 
|- align="left" valign="top"
|style="border: 1px solid"| [[getTimezone|getTimezone(userId)]] <br> [[getTimezone|getTimezone()]]
|style="border: 1px solid"| [[getUserTimezone|getUserTimezone(userRId)]] <br> [[getUserTimezone|getUserTimezone()]]
|style="border: 1px solid"|
 
|- align="left" valign="top"
|style="border: 1px solid"| setUserRoleId
|style="border: 1px solid"| User_setUserRoleId
|style="border: 1px solid"|
 
|- align="left" valign="top"
|style="border: 1px solid"| getUserRoleId
|style="border: 1px solid"| User_getUserRoleId
|style="border: 1px solid"|
 
|- align="left" valign="top"
|style="border: 1px solid"| getQuestionnaireTemplateId
|style="border: 1px solid"| Questionnaire_getTemplateId
|style="border: 1px solid"|
 
|- align="left" valign="top"
|style="border: 1px solid"| getProjectQuestionnaireId
|style="border: 1px solid"| Questionnaire_getProjectId
|style="border: 1px solid"|
 
|- align="left" valign="top"
|style="border: 1px solid"| getReportStyleSheetIdByName
|style="border: 1px solid"| Report_getStyleSheetIdByName
|style="border: 1px solid"|
 
|- align="left" valign="top"
|style="border: 1px solid"| getReportStyleSheetId
|style="border: 1px solid"| Report_getStyleSheetId
|style="border: 1px solid"|
 
|- align="left" valign="top"
|style="border: 1px solid"| changeSampleRuleId
|style="border: 1px solid"|
|style="border: 1px solid"|
 
|- align="left" valign="top"
|style="border: 1px solid"| createResourceProjectQuestionnaire
|style="border: 1px solid"|
|style="border: 1px solid"|
 
|- align="left" valign="top"
|style="border: 1px solid"| getProjectQuestionnaireName
|style="border: 1px solid"|
|style="border: 1px solid"|
 
|- align="left" valign="top"
|style="border: 1px solid"| getReturnToProjectQuestionnaireId
|style="border: 1px solid"|
|style="border: 1px solid"|
 
|- align="left" valign="top"
|style="border: 1px solid"| getUserProjectQuestionnaireId
|style="border: 1px solid"|
|style="border: 1px solid"|
 
|- align="left" valign="top"
|style="border: 1px solid"| getUserProjectQuestionnaireUserId
|style="border: 1px solid"|
|style="border: 1px solid"|
 
|- align="left" valign="top"
|style="border: 1px solid"| questionnaireAnswerSheetExists
|style="border: 1px solid"|
|style="border: 1px solid"|
 
|- align="left" valign="top"
|style="border: 1px solid"| sampleRuleExists
|style="border: 1px solid"|
|style="border: 1px solid"|
 
|- align="left" valign="top"
|style="border: 1px solid"| setUserProjectQuestionnaireId
|style="border: 1px solid"|
|style="border: 1px solid"|
 
|- align="left" valign="top"
|style="border: 1px solid"| setUserProjectQuestionnaireUserId
|style="border: 1px solid"|
|style="border: 1px solid"|
 


|- 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(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()<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
| 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
| 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
| 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
| 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
| style="border: 1px solid; width: 251px;" |
<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
| style="border: 1px solid; width: 251px;" |
<br>
| style="border: 1px solid; width: 237px;" |
already exist: new QAS
|- valign="top" align="left"
| style="border: 1px solid; width: 239px;" | 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
| 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
| style="border: 1px solid; width: 251px;" |
<br>
| style="border: 1px solid; width: 237px;" |
already exist: getRPQId
|- valign="top" align="left"
| style="border: 1px solid; width: 239px;" | getUserProjectQuestionnaireUserId
| 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
| style="border: 1px solid; width: 251px;" |
<br>
| style="border: 1px solid; width: 237px;" |
expected new function name: QASExist
|- valign="top" align="left"
| style="border: 1px solid; width: 239px;" | sampleRuleExists
| style="border: 1px solid; width: 251px;" |
<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
| style="border: 1px solid; width: 251px;" |
<br>
| style="border: 1px solid; width: 237px;" |
already exist: setRPQId
|- valign="top" align="left"
| style="border: 1px solid; width: 239px;" | setUserProjectQuestionnaireUserId
| style="border: 1px solid; width: 251px;" |
<br>
| style="border: 1px solid; width: 237px;" |
already exist: setQASUserId
|}
|}

Revision as of 05:23, 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(userResourceTemplateId) User_setUserRoleId(userResourceTemplateRId)

already exist: setResourceTemplateResourceId

getUserRoleId()
return userResourceTemplateId
User_getUserRoleId()
return userResourceTemplateRId

already exist: getResourceTemplateResourceId

getQuestionnaireTemplateId Questionnaire_getTemplateId


getProjectQuestionnaireId Questionnaire_getProjectId

getQuestionnaireId

getReportStyleSheetIdByName Report_getStyleSheetIdByName


getReportStyleSheetId Report_getStyleSheetId


changeSampleRuleId


sampleRule has only one kind of Id

createResourceProjectQuestionnaire


already exist: new QAS

getProjectQuestionnaireName


expected new function name: getQuestionnaireName

getReturnToProjectQuestionnaireId


expected new functions name: getReturnToQuestionnaireId

getUserProjectQuestionnaireId


already exist: getRPQId

getUserProjectQuestionnaireUserId


already exist: getQASUserId

questionnaireAnswerSheetExists


expected new function name: QASExist

sampleRuleExists


sampleRule has only one kind of Id

setUserProjectQuestionnaireId


already exist: setRPQId

setUserProjectQuestionnaireUserId


already exist: setQASUserId