Difference between revisions of "OldIdFunctions"

From Catglobe Wiki
Jump to: navigation, search
(Blanked the page)
(Tag: Blanking)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="tableintopic" style="border-collapse: collapse; width: 1350px;" cellpadding="2"
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" bgcolor="#C0C0C0" | '''Old function'''
 
| style="border: 1px solid; width: 370.7px;" bgcolor="#C0C0C0" | '''New function'''
 
| style="border: 1px solid; width: 453.183px;" bgcolor="#C0C0C0" | '''Note'''
 
  
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[updateUserPermission|updateUserPermission]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[QAS_class|QAS.UserId]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[User_class|User_GetResourceIdFromUserId]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[sendBulkMail|sendBulkMail]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[sendBulkMailSyncronious|sendBulkMailSyncronious]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[sendTestBulkMail|sendTestBulkMail]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[sendTestBulkMailSyncronious|sendTestBulkMailSyncronious]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[setBulkMailFromGlobalEmailAlias|setBulkMailFromGlobalEmailAlias]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[setBulkMailFromResource|setBulkMailFromResource]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[setBulkMailFromSupport|setBulkMailFromSupport]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[setBulkMailFromWebshop|setBulkMailFromWebshop]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[setBulkMailGroups|setBulkMailGroups]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[setBulkMailGroupsToBeRebuilt|setBulkMailGroupsToBeRebuilt]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[setBulkMailUsers|setBulkMailUsers]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[addToGroup|addToGroup]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[removeFromGroup|removeFromGroup]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[questionnaireAnswerSheetExists|questionnaireAnswerSheetExists(qnaireId, userId)]] <br>[[questionnaireAnswerSheetExists|questionnaireAnswerSheetExists(qnaireId)]]
 
| style="border: 1px solid; width: 370.7px;" |
 
| style="border: 1px solid; width: 453.183px;" | already exist:<br>QAS_exists(qnaireRid, userRId)<br>QAS_exists(qnaieRId)
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[createUserProjectQuestionnaire|createUserProjectQuestionnaire]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[createResourceProjectQuestionnaire|createResourceProjectQuestionnaire(qnaireId)]]<br>[[createResourceProjectQuestionnaire|createResourceProjectQuestionnaire(qnaireId, assignCurrentUser)]]<br>[[createResourceProjectQuestionnaire|createResourceProjectQuestionnaire(qnaireId, assignCurrentUser, useExisting)]]
 
| style="border: 1px solid; width: 370.7px;" |
 
| style="border: 1px solid; width: 453.183px;" | already exist:<br>new QAS(qnaireRId, -1) <br>new QAS(qnaireRId, 0)<br>QAS_getByUserResourceId
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[groupExists|groupExists]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[isMemberOfGroup|isMemberOfGroup]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[rebuildGroup|rebuildGroup]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[Tabulation_saveAsReport|Tabulation_saveAsReport]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[updateGroupPermission|updateGroupPermission]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[sendMailTemplateFromResource|sendMailTemplateFromResource]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[SendMail_Template|sendMailTemplate]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[sendTestMailTemplate|sendTestMailTemplate]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getProjectQuestionnaireName|getProjectQuestionnaireName(qnaireId)]] <br>[[getProjectQuestionnaireName|getProjectQuestionnaireName()]]
 
| style="border: 1px solid; width: 370.7px;" |
 
| style="border: 1px solid; width: 453.183px;" |expected new function name: getQuestionnaireName
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[setReportStyleSheetId|setReportStyleSheetId]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[setUserProjectQuestionnaireUserId|setUserProjectQuestionnaireUserId(userId)]]
 
| style="border: 1px solid; width: 370.7px;" |
 
| style="border: 1px solid; width: 453.183px;" |already exist: setQASUserId
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[setRPQUserId|setRPQUserId(userId)]]
 
| style="border: 1px solid; width: 370.7px;" | [[setQASUserId|setQASUserId(userRId)]]
 
| style="border: 1px solid; width: 453.183px;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[add_Journal|addJournal]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getTimezone|getTimezone(userId)]] <br>[[getTimezone|getTimezone()]]
 
| style="border: 1px solid; width: 370.7px;" | [[getUserTimezone|getUserTimezone(userRId)]] <br>[[getUserTimezone|getUserTimezone()]]
 
| style="border: 1px solid; width: 453.183px;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[setTimezone|setTimezone(userId, timezoneId)]] <br>[[setTimezone|setTimezone(timezoneId)]]
 
| style="border: 1px solid; width: 370.7px;" | [[setUserTimezone|setUserTimezone(userRId, timezoneId)]] <br>[[setUserTimezone|setUserTimezone(timezoneId)]]
 
| style="border: 1px solid; width: 453.183px;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[setUserRoleId|setUserRoleId(userId, userResourceTemplateId)]]
 
| style="border: 1px solid; width: 370.7px;" | User_setUserRoleId(userRId, userResourceTemplateRId)
 
| style="border: 1px solid; width: 453.183px;" | same function: <br>[[setResourceTemplateResourceId|setResourceTemplateResourceId(resourceRId, resourceTemplateRId)]] <br>[[User_class|User.ResourceTemplateResourceId]] = userResourceTemplateRId
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getUserRoleId|getUserRoleId(userId)]]<br>return userResourceTemplateId<br>
 
| style="border: 1px solid; width: 370.7px;" | User_getUserRoleId(userRId)<br>return userResourceTemplateRId<br>
 
| style="border: 1px solid; width: 453.183px;" | same function: <br>[[getResourceTemplateResourceId|getResourceTemplateResourceId(resourceRId)]] <br>[[User_class|User.ResourceTemplateResourceId]]
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[isMemberOfSampleRule|isMemberOfSampleRule]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[EmailTemplate_class|EmailTemplate.PrimaryKey]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[UserQuarantine_class|UserQuarantine.QuarantineResourceId]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[User_class|User.PrimaryKey]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getQuestionnaireTemplateId|getQuestionnaireTemplateId(qnaireTemplateQualifiedName)]] <br>return qnaireTemplateId
 
| style="border: 1px solid; width: 370.7px;" | Questionnaire_getTemplateId(qnaireTemplateQualifiedName)<br>return qnaireTemplateRId
 
| style="border: 1px solid; width: 453.183px;" | Questionnaire_getQuestionnaireTemplateId
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getProjectQuestionnaireId|getProjectQuestionnaireId(qnaireQualifiedName)]] <br>return qnaireId
 
| style="border: 1px solid; width: 370.7px;" | Questionnaire_getProjectId(qnaireQualifiedName)<br>return qnaireRId
 
| style="border: 1px solid; width: 453.183px;" | Questionnaire_getQuestionnaireId
 
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getReturnToProjectQuestionnaireId|getReturnToProjectQuestionnaireId()]] <br>return qnaireId
 
| style="border: 1px solid; width: 370.7px;" |
 
| style="border: 1px solid; width: 453.183px;" |expected new functions name: getReturnToQuestionnaireId
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getReportStyleSheetIdByName|getReportStyleSheetIdByName(reportStyleSheetQualifiedName)]]<br>return ReportStyleSheetId
 
| style="border: 1px solid; width: 370.7px;" | Report_getStyleSheetIdByName(reportStyleSheetQualifiedName)<br>return ReportStyleSheetRId
 
| style="border: 1px solid; width: 453.183px;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getReportStyleSheetId|getReportStyleSheetId()]] <br>return ReportStyleSheetId
 
| style="border: 1px solid; width: 370.7px;" | Report_getStyleSheetId() <br> return ReportStyleSheetRId
 
| style="border: 1px solid; width: 453.183px;" |
 
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[getResourceIdFromGuid|getResourceIdFromGuid]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[Task_new|task[TASK_CASE_NUMBER]]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[getCurrentUserId|getCurrentUserId]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[getUserIdFromResourceId|getUserIdFromResourceId]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[createUser|createUser]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" | existing: User_new
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[User_class|User class.ResourceTemplateId]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getRPQUserId|getRPQUserId()]] <br>return userId
 
| style="border: 1px solid; width: 370.7px;" | [[getQASUserId|getQASUserId()]] <br>return userRId
 
| style="border: 1px solid; width: 453.183px;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[changeSampleRuleId|changeSampleRuleId]]
 
| style="border: 1px solid; width: 370.7px;" | X
 
| style="border: 1px solid; width: 453.183px;" | sampleRule has only one kind of Id
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getUserProjectQuestionnaireId|getUserProjectQuestionnaireId()]]
 
| style="border: 1px solid; width: 370.7px;" | X
 
| style="border: 1px solid; width: 453.183px;" | already exist: getRPQId <br>not related to Id, no need new function
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getUserProjectQuestionnaireUserId|getUserProjectQuestionnaireUserId()]] <br>return UserId
 
| style="border: 1px solid; width: 370.7px;" |
 
| style="border: 1px solid; width: 453.183px;" |already exist: getQASUserId
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[sampleRuleExists|sampleRuleExists]]
 
| style="border: 1px solid; width: 370.7px;" | X
 
| style="border: 1px solid; width: 453.183px;" |sampleRule has only one kind of Id
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[setUserProjectQuestionnaireId|setUserProjectQuestionnaireId(QASId)]]
 
| 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
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getResourceGuid|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_class|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_class|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|Quarantine_getUserIdsOfQuarantined(quarantineRIdList)]]
 
| 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;" | [[User_class|User class.CreatedByUserId]]
 
| 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;" | [[User_class|User class.ModifiedByUserId]]
 
| 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;" | [[User_class|User_getResourceIdFromUserId]]
 
| 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;" | [[QAS_getLastInterviewerId|QAS_getLastInterviewerId]]
 
| style="border: 1px solid; width: 370.7px;" |
 
| style="border: 1px solid; width: 453.183px;" |
 
 
|}
 

Latest revision as of 05:42, 25 April 2022