Difference between revisions of "OldIdFunctions"

From Catglobe Wiki
Jump to: navigation, search
Line 7: Line 7:
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | updateUserPermission
+
| style="border: 1px solid;" | [[updateUserPermission|updateUserPermission]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | QAS.UserId
+
| style="border: 1px solid;" | [[QAS_class|QAS.UserId]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | User_GetResourceIdFromUserId
+
| style="border: 1px solid;" | [[User_class|User_GetResourceIdFromUserId]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | sendBulkMail
+
| style="border: 1px solid;" | [[sendBulkMail|sendBulkMail]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | sendBulkMailSyncronious
+
| style="border: 1px solid;" | [[sendBulkMailSyncronious|sendBulkMailSyncronious]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | sendTestBulkMail
+
| style="border: 1px solid;" | [[sendTestBulkMail|sendTestBulkMail]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | sendTestBulkMailSyncronious
+
| style="border: 1px solid;" | [[sendTestBulkMailSyncronious|sendTestBulkMailSyncronious]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | setBulkMailFromGlobalEmailAlias
+
| style="border: 1px solid;" | [[setBulkMailFromGlobalEmailAlias|setBulkMailFromGlobalEmailAlias]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | setBulkMailFromResource
+
| style="border: 1px solid;" | [[setBulkMailFromResource|setBulkMailFromResource]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | setBulkMailFromSupport
+
| style="border: 1px solid;" | [[setBulkMailFromSupport|setBulkMailFromSupport]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | setBulkMailFromWebshop
+
| style="border: 1px solid;" | [[setBulkMailFromWebshop|setBulkMailFromWebshop]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | setBulkMailGroups
+
| style="border: 1px solid;" | [[setBulkMailGroups|setBulkMailGroups]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | setBulkMailGroupsToBeRebuilt
+
| style="border: 1px solid;" | [[setBulkMailGroupsToBeRebuilt|setBulkMailGroupsToBeRebuilt]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | setBulkMailUsers
+
| style="border: 1px solid;" | [[setBulkMailUsers|setBulkMailUsers]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | addToGroup
+
| style="border: 1px solid;" | [[addToGroup|addToGroup]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | removeFromGroup
+
| style="border: 1px solid;" | [[removeFromGroup|removeFromGroup]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
Line 92: Line 92:
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | createUserProjectQuestionnaire
+
| style="border: 1px solid;" | [[createUserProjectQuestionnaire|createUserProjectQuestionnaire]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
Line 102: Line 102:
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | groupExists
+
| style="border: 1px solid;" | [[groupExists|groupExists]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | isMemberOfGroup
+
| style="border: 1px solid;" | [[isMemberOfGroup|isMemberOfGroup]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | rebuildGroup
+
| style="border: 1px solid;" | [[rebuildGroup|rebuildGroup]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | Tabulation_saveAsReport
+
| style="border: 1px solid;" | [[Tabulation_saveAsReport|Tabulation_saveAsReport]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | updateGroupPermission
+
| style="border: 1px solid;" | [[updateGroupPermission|updateGroupPermission]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | sendMailTemplateFromResource
+
| style="border: 1px solid;" | [[sendMailTemplateFromResource|sendMailTemplateFromResource]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | sendMailTemplate
+
| style="border: 1px solid;" | [[SendMail_Template|sendMailTemplate]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | sendTestMailTemplate
+
| style="border: 1px solid;" | [[sendTestMailTemplate|sendTestMailTemplate]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
Line 147: Line 147:
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | setReportStyleSheetId
+
| style="border: 1px solid;" | [[setReportStyleSheetId|setReportStyleSheetId]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
Line 162: Line 162:
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | addJournal
+
| style="border: 1px solid;" | [[add_Journal|addJournal]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
Line 187: Line 187:
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | isMemberOfSampleRule
+
| style="border: 1px solid;" | [[isMemberOfSampleRule|isMemberOfSampleRule]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | EmailTemplate.PrimaryKey
+
| style="border: 1px solid;" | [[EmailTemplate_class|EmailTemplate.PrimaryKey]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | UserQuarantine.QuarantineResourceId
+
| style="border: 1px solid;" | [[UserQuarantine_class|UserQuarantine.QuarantineResourceId]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | User.PrimaryKey
+
| style="border: 1px solid;" | [[User_class|User.PrimaryKey]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
Line 234: Line 234:
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | getResourceIdFromGuid
+
| style="border: 1px solid;" | [[getResourceIdFromGuid|getResourceIdFromGuid]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | task[TASK_CASE_NUMBER]
+
| style="border: 1px solid;" | [[Task_new|task[TASK_CASE_NUMBER]]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | getCurrentUserId
+
| style="border: 1px solid;" | [[getCurrentUserId|getCurrentUserId]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | getUserIdFromResourceId
+
| style="border: 1px solid;" | [[getUserIdFromResourceId|getUserIdFromResourceId]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | createUser
+
| style="border: 1px solid;" | [[createUser|createUser]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
| style="border: 1px solid;" |
+
| style="border: 1px solid;" | existing: User_new
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | User class.ResourceTemplateId
+
| style="border: 1px solid;" | [[User_class|User class.ResourceTemplateId]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
Line 294: Line 294:
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid; width: 510.117px;" | getResourceGuid
+
| style="border: 1px solid; width: 510.117px;" | [[getResourceGuid|getResourceGuid]]
 
| style="border: 1px solid; width: 370.7px;" |  
 
| style="border: 1px solid; width: 370.7px;" |  
 
| style="border: 1px solid; width: 453.183px;" |
 
| style="border: 1px solid; width: 453.183px;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid; width: 510.117px;" | UserQuarantine.AddedByUserId  
+
| style="border: 1px solid; width: 510.117px;" | [[UserQuarantine_class|UserQuarantine.AddedByUserId]]
 
| style="border: 1px solid; width: 370.7px;" |  
 
| style="border: 1px solid; width: 370.7px;" |  
 
| style="border: 1px solid; width: 453.183px;" |
 
| style="border: 1px solid; width: 453.183px;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid; width: 510.117px;" | UserQuarantine.RemovedByUserId  
+
| style="border: 1px solid; width: 510.117px;" | [[UserQuarantine_class|UserQuarantine.RemovedByUserId]]
 
| style="border: 1px solid; width: 370.7px;" |  
 
| style="border: 1px solid; width: 370.7px;" |  
 
| style="border: 1px solid; width: 453.183px;" |
 
| style="border: 1px solid; width: 453.183px;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid; width: 510.117px;" | Quarantine_getUserIdsOfQuarantined(quarantineRIdList)
+
| style="border: 1px solid; width: 510.117px;" | [[Quarantine_getUserIdsOfQuarantined|Quarantine_getUserIdsOfQuarantined(quarantineRIdList)]]
 
| style="border: 1px solid; width: 370.7px;" |  
 
| style="border: 1px solid; width: 370.7px;" |  
 
| style="border: 1px solid; width: 453.183px;" |
 
| style="border: 1px solid; width: 453.183px;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid; width: 510.117px;" | User class.CreatedByUserId  
+
| style="border: 1px solid; width: 510.117px;" | [[User_class|User class.CreatedByUserId]]
 
| style="border: 1px solid; width: 370.7px;" |  
 
| style="border: 1px solid; width: 370.7px;" |  
 
| style="border: 1px solid; width: 453.183px;" |
 
| style="border: 1px solid; width: 453.183px;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid; width: 510.117px;" | User class.ModifiedByUserId  
+
| style="border: 1px solid; width: 510.117px;" | [[User_class|User class.ModifiedByUserId]]
 
| style="border: 1px solid; width: 370.7px;" |  
 
| style="border: 1px solid; width: 370.7px;" |  
 
| style="border: 1px solid; width: 453.183px;" |
 
| style="border: 1px solid; width: 453.183px;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid; width: 510.117px;" | User_getResourceIdFromUserId
+
| style="border: 1px solid; width: 510.117px;" | [[User_class|User_getResourceIdFromUserId]]
 
| style="border: 1px solid; width: 370.7px;" |  
 
| style="border: 1px solid; width: 370.7px;" |  
 
| style="border: 1px solid; width: 453.183px;" |
 
| style="border: 1px solid; width: 453.183px;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid; width: 510.117px;" | QAS_getLastInterviewerId
+
| style="border: 1px solid; width: 510.117px;" | [[QAS_getLastInterviewerId|QAS_getLastInterviewerId]]
 
| style="border: 1px solid; width: 370.7px;" |  
 
| style="border: 1px solid; width: 370.7px;" |  
 
| style="border: 1px solid; width: 453.183px;" |
 
| style="border: 1px solid; width: 453.183px;" |
  
 
|}
 
|}

Revision as of 09:24, 10 March 2022

Old function New function Note


updateUserPermission
QAS.UserId
User_GetResourceIdFromUserId
sendBulkMail
sendBulkMailSyncronious
sendTestBulkMail
sendTestBulkMailSyncronious
setBulkMailFromGlobalEmailAlias
setBulkMailFromResource
setBulkMailFromSupport
setBulkMailFromWebshop
setBulkMailGroups
setBulkMailGroupsToBeRebuilt
setBulkMailUsers
addToGroup
removeFromGroup
questionnaireAnswerSheetExists(qnaireId, userId)
questionnaireAnswerSheetExists(qnaireId)
already exist:
QAS_exists(qnaireRid, userRId)
QAS_exists(qnaieRId)
createUserProjectQuestionnaire
createResourceProjectQuestionnaire(qnaireId)
createResourceProjectQuestionnaire(qnaireId, assignCurrentUser)
createResourceProjectQuestionnaire(qnaireId, assignCurrentUser, useExisting)
already exist:
new QAS(qnaireRId, -1)
new QAS(qnaireRId, 0)
QAS_getByUserResourceId
groupExists
isMemberOfGroup
rebuildGroup
Tabulation_saveAsReport
updateGroupPermission
sendMailTemplateFromResource
sendMailTemplate
sendTestMailTemplate
getProjectQuestionnaireName(qnaireId)
getProjectQuestionnaireName()
expected new function name: getQuestionnaireName
setReportStyleSheetId
setUserProjectQuestionnaireUserId(userId) already exist: setQASUserId
setRPQUserId(userId) setQASUserId(userRId)
addJournal
getTimezone(userId)
getTimezone()
getUserTimezone(userRId)
getUserTimezone()
setTimezone(userId, timezoneId)
setTimezone(timezoneId)
setUserTimezone(userRId, timezoneId)
setUserTimezone(timezoneId)
setUserRoleId(userId, userResourceTemplateId) User_setUserRoleId(userRId, userResourceTemplateRId) same function:
setResourceTemplateResourceId(resourceRId, resourceTemplateRId)
User.ResourceTemplateResourceId = userResourceTemplateRId
getUserRoleId(userId)
return userResourceTemplateId
User_getUserRoleId(userRId)
return userResourceTemplateRId
same function:
getResourceTemplateResourceId(resourceRId)
User.ResourceTemplateResourceId
isMemberOfSampleRule
EmailTemplate.PrimaryKey
UserQuarantine.QuarantineResourceId
User.PrimaryKey
getQuestionnaireTemplateId(qnaireTemplateQualifiedName)
return qnaireTemplateId
Questionnaire_getTemplateId(qnaireTemplateQualifiedName)
return qnaireTemplateRId
Questionnaire_getQuestionnaireTemplateId
getProjectQuestionnaireId(qnaireQualifiedName)
return qnaireId
Questionnaire_getProjectId(qnaireQualifiedName)
return qnaireRId
Questionnaire_getQuestionnaireId


getReturnToProjectQuestionnaireId()
return qnaireId
expected new functions name: getReturnToQuestionnaireId
getReportStyleSheetIdByName(reportStyleSheetQualifiedName)
return ReportStyleSheetId
Report_getStyleSheetIdByName(reportStyleSheetQualifiedName)
return ReportStyleSheetRId
getReportStyleSheetId()
return ReportStyleSheetId
Report_getStyleSheetId()
return ReportStyleSheetRId


getResourceIdFromGuid
task[TASK_CASE_NUMBER]
getCurrentUserId
getUserIdFromResourceId
createUser existing: User_new
User class.ResourceTemplateId
getRPQUserId()
return userId
getQASUserId()
return userRId
changeSampleRuleId X sampleRule has only one kind of Id
getUserProjectQuestionnaireId() X already exist: getRPQId
not related to Id, no need new function
getUserProjectQuestionnaireUserId()
return UserId
already exist: getQASUserId
sampleRuleExists X sampleRule has only one kind of Id
setUserProjectQuestionnaireId(QASId) X already exist: setRPQId
and not related with Id, no need new function
getResourceGuid
UserQuarantine.AddedByUserId
UserQuarantine.RemovedByUserId
Quarantine_getUserIdsOfQuarantined(quarantineRIdList)
User class.CreatedByUserId
User class.ModifiedByUserId
User_getResourceIdFromUserId
QAS_getLastInterviewerId