Difference between revisions of "OldIdFunctions"

From Catglobe Wiki
Jump to: navigation, search
Line 292: Line 292:
 
| style="border: 1px solid; width: 370.7px;" | X
 
| style="border: 1px solid; width: 370.7px;" | X
 
| style="border: 1px solid; width: 453.183px;" |already exist: setRPQId <br>and not related with Id, no need new function
 
| style="border: 1px solid; width: 453.183px;" |already exist: setRPQId <br>and not related with Id, no need new function
 +
 +
|- valign="top" align="left"
 +
| style="border: 1px solid; width: 510.117px;" | getResourceGuid
 +
| style="border: 1px solid; width: 370.7px;" |
 +
| style="border: 1px solid; width: 453.183px;" |
 +
 +
|- valign="top" align="left"
 +
| style="border: 1px solid; width: 510.117px;" | UserQuarantine.AddedByUserId
 +
| style="border: 1px solid; width: 370.7px;" |
 +
| style="border: 1px solid; width: 453.183px;" |
 +
 +
|- valign="top" align="left"
 +
| style="border: 1px solid; width: 510.117px;" | UserQuarantine.RemovedByUserId
 +
| style="border: 1px solid; width: 370.7px;" |
 +
| style="border: 1px solid; width: 453.183px;" |
 +
 +
|- valign="top" align="left"
 +
| style="border: 1px solid; width: 510.117px;" | Quarantine_getUserIdsOfQuarantined(quarantineRIdList)
 +
| style="border: 1px solid; width: 370.7px;" |
 +
| style="border: 1px solid; width: 453.183px;" |
  
  
 
|}
 
|}

Revision as of 08:15, 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
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)