Difference between revisions of "OldIdFunctions"

From Catglobe Wiki
Jump to: navigation, search
(Blanked the page)
(Tag: Blanking)
 
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" | '''Obsolete methods''' <br> using Id
 
| style="border: 1px solid; width: 370.7px;" bgcolor="#C0C0C0" | '''Replace with methods''' <br> using ResourceId
 
| style="border: 1px solid; width: 453.183px;" bgcolor="#C0C0C0" | '''Note'''
 
  
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[updateUserPermission|updateUserPermission(resourceId, permission)]]
 
| style="border: 1px solid;" | [[updateUserResourceIdPermission|updateUserResourceIdPermission(resourceId, permission)]]
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[QAS_class|QAS.UserId]]
 
| style="border: 1px solid;" | [[QAS_class|QAS.UserResourceId]]
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[User_getResourceIdFromUserId|User_getResourceIdFromUserId(userId)]]
 
| style="border: 1px solid;" | Obsolete
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[User_getResourceIdFromUserIds|User_getResourceIdFromUserIds(userIds)]]
 
| style="border: 1px solid;" | Obsolete
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[sendBulkMail|sendBulkMail(bulkMailId, maxToSend)]]
 
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.Send()]]<br>[[BulkMail_class|BulkMail.SendBulkMail(maxToSend, isTest, isSyncronious)]]
 
| style="border: 1px solid;" | New class BulkMail
 
                             
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[sendBulkMailSyncronious|sendBulkMailSyncronious(bulkMailId, maxToSend)]]
 
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.SendSyncronious()]] <br>[[BulkMail_class|BulkMail.SendBulkMail(maxToSend, isTest, isSyncronious)]]
 
| style="border: 1px solid;" | New class BulkMail
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[sendTestBulkMail|sendTestBulkMail(bulkMailId, maxToSend)]]
 
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.SendBulkMail(maxToSend, isTest, isSyncronious)]]
 
| style="border: 1px solid;" | New class BulkMail
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[sendTestBulkMailSyncronious|sendTestBulkMailSyncronious(bulkMailId, maxToSend)]]
 
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.SendBulkMail(maxToSend, isTest, isSyncronious)]]
 
| style="border: 1px solid;" | New class BulkMail
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[setBulkMailFromGlobalEmailAlias|setBulkMailFromGlobalEmailAlias(bulkMailId, globalEmailAliasId)]]
 
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.From]]
 
| style="border: 1px solid;" | New class BulkMail (BulkMail.From just set)
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[setBulkMailFromResource|setBulkMailFromResource(bulkMailId, resourceRId)]]
 
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.From]]
 
| style="border: 1px solid;" | New class BulkMail (BulkMail.From just set)
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[setBulkMailFromSupport|setBulkMailFromSupport(bulkMailId)]]
 
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.From]]
 
| style="border: 1px solid;" | New class BulkMail (BulkMail.From just set)
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[setBulkMailFromWebshop|setBulkMailFromWebshop(bulkMailId)]]
 
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.From]]
 
| style="border: 1px solid;" | New class BulkMail (BulkMail.From just set)
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[setBulkMailGroups|setBulkMailGroups(bulkMailId, groupIds)]]
 
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.SetGroups(groupIds)]]
 
| style="border: 1px solid;" | New class BulkMail
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[setBulkMailGroupsToBeRebuilt|setBulkMailGroupsToBeRebuilt(bulkMailId, groupIds)]]
 
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.SetGroupsToBeRebuilt(groupIds)]]
 
| style="border: 1px solid;" | New class BulkMail
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[setBulkMailUsers|setBulkMailUsers(bulkMailId, userIds)]]
 
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.SetUsers(userIds)]]
 
| style="border: 1px solid;" | New class BulkMail
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[-addToGroup|addToGroup(groupId)]] 
 
| style="border: 1px solid;" | [[Group_addUser|Group_addUser(QAS_getCurrentQAS().UserResourceId, groupId)]]
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[removeFromGroup|removeFromGroup(groupId)]]
 
| style="border: 1px solid;" | [[Group_removeUser|Group_removeUser(QAS_getCurrentQAS().UserResourceId, groupId)]]
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[questionnaireAnswerSheetExists|questionnaireAnswerSheetExists(qnaireId[, userId])]]
 
| style="border: 1px solid; width: 370.7px;" | [[QAS_exists|QAS_exists(qnaireId, userId)]]
 
| style="border: 1px solid; width: 453.183px;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[createUserProjectQuestionnaire|createUserProjectQuestionnaire(qnaireId[, assignCurrentUser, useExisting])]]
 
| style="border: 1px solid;" | [[QAS_class|new QAS(qnaireId, userId)]] <br>[[QAS_getByUserResourceId|QAS_getByUserResourceId(userId, qnaireId, createIfNone)]]
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[createResourceProjectQuestionnaire|createResourceProjectQuestionnaire(qnaireId[, assignCurrentUser, useExisting])]]
 
| style="border: 1px solid; width: 370.7px;" |[[QAS_class|new QAS(qnaireId, userid)]] <br>[[QAS_getByUserResourceId|QAS_getByUserResourceId(userId, qnaireId, createIfNone)]]
 
| style="border: 1px solid; width: 453.183px;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[groupExists|groupExists(groupId)]]
 
| style="border: 1px solid;" | [[Group_getGroupByResourceId|Group_getGroupByResourceId(groupId)]]
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[isMemberOfGroup|isMemberOfGroup(userId, groupId)]]
 
| style="border: 1px solid;" | [[Group_isMemberOfGroup|Group_isMemberOfGroup(userId, groupId)]]
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[rebuildGroup|rebuildGroup(groupId)]]
 
| style="border: 1px solid;" | [[Group_rebuildGroup|Group_rebuildGroup(groupId,parallelBuild)]]
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[Tabulation_saveAsReport|Tabulation_saveAsReport(name, parentId, permissionGroups[, overwrite])]]
 
| style="border: 1px solid;" | [[Tabulation_class|Tabulation.SaveAsReport(name, parentId, permissionGroups, overwrite)]]
 
| style="border: 1px solid;" | New class Tabulation
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[updateGroupPermission|updateGroupPermission(resourceId, permission)]]
 
| style="border: 1px solid;" | [[updateGroupResourceIdPermission|updateGroupResourceIdPermission(resourceId, permission)]]
 
| style="border: 1px solid;" |
 
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[sendMailTemplateFromResource|sendMailTemplateFromResource(parentId, email, alias, mailTemplateId, fromEmail, callbackmethod)]]
 
| style="border: 1px solid;" | [[EmailTemplate_class|EmailTemplate_send(mailTemplateId, isTest, toEmail, alias, parentId, fromEmail, callbackmethod)]]
 
| style="border: 1px solid;" | New method EmailTemplate_send
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[SendMail_Template|sendMailTemplate(email, alias, mailTemplateId, fromEmail, callbackmethod) ]]
 
| style="border: 1px solid;" | [[EmailTemplate_class|EmailTemplate_send(mailTemplateId, isTest, toEmail, alias, parentId, fromEmail, callbackmethod)]]
 
| style="border: 1px solid;" | New method EmailTemplate_send
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[sendTestMailTemplate|sendTestMailTemplate(email, alias, mailTemplateId, emailAccountCGO, callbackmethod)]]
 
| style="border: 1px solid;" | [[EmailTemplate_class|EmailTemplate_send(mailTemplateId, isTest, toEmail, alias, parentId, fromEmail, callbackmethod)]]
 
| style="border: 1px solid;" | New method EmailTemplate_send
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getProjectQuestionnaireName|getProjectQuestionnaireName([qnaireId])]]
 
| style="border: 1px solid; width: 453.183px;" |[[getProjectQuestionnaireNameByResourceId|getProjectQuestionnaireNameByResourceId(qnaireRId)]]<br>[[Resource_getResourceName|Resource_getResourceName(qniareId)]]<br>[[Questionnaire_class|Questionnaire_current().QualifiedName]]
 
| style="border: 1px solid; width: 370.7px;" | <br><br>New method Questionnaire_current
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[setReportStyleSheetId|setReportStyleSheetId(reportStyleSheetId)]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" | TODO [[Tabulation_class|Tabulation.ReportStyleSheetId=value]]
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[setUserProjectQuestionnaireUserId|setUserProjectQuestionnaireUserId(userId)]]
 
| style="border: 1px solid; width: 370.7px;" | [[QAS_class|QAS_getCurrentQAS().UserResourceId]] = value
 
| style="border: 1px solid; width: 453.183px;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getUserProjectQuestionnaireUserId|getUserProjectQuestionnaireUserId()]]
 
| style="border: 1px solid; width: 370.7px;" | [[QAS_class|QAS_getCurrentQAS().UserResourceId]]
 
| style="border: 1px solid; width: 453.183px;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[setRPQUserId|setRPQUserId(userId)]]
 
| style="border: 1px solid; width: 370.7px;" | [[QAS_class|QAS_getCurrentQAS().UserResourceId]] = value
 
| style="border: 1px solid; width: 453.183px;" |
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[add_Journal|addJournal(resourceId, userId, journalType, content)]]
 
| style="border: 1px solid;" | [[ResourceJournalEntry_class|new ResourceJournalEntry (resourceId, journalType, content).Save()]]
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getTimezone|getTimezone([userId])]]
 
| style="border: 1px solid; width: 370.7px;" | [[User_class|User_getUserByResourceId(UserId).TimezoneId]]
 
| style="border: 1px solid; width: 453.183px;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[setTimezone|setTimezone([userId,] timezoneId)]]
 
| style="border: 1px solid; width: 370.7px;" | [[User_class|User_getUserByResourceId(UserId).TimezoneId=value]]
 
| 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;" | [[setResourceTemplateResourceId|setResourceTemplateResourceId(userId, resourceTemplateId)]] <br>[[User_class|User_getUserByResourceId(UserId).ResourceTemplateResourceId = value]]
 
| style="border: 1px solid; width: 453.183px;" | 
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getUserRoleId|getUserRoleId(userId)]]
 
| style="border: 1px solid; width: 370.7px;" | [[getResourceTemplateResourceId|getResourceTemplateResourceId(userId)]] <br>[[User_class|User_getUserByResourceId(userId).ResourceTemplateResourceId]]
 
| style="border: 1px solid; width: 453.183px;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[isMemberOfSampleRule|isMemberOfSampleRule([userId,] sampleRuleId)]]
 
| style="border: 1px solid;" | [[User_isMemberOfSampleRule|User_isMemberOfSampleRule(userId, sampleRuleId)]]
 
| style="border: 1px solid;" | New method User_isMemberOfSampleRule
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[EmailTemplate_class|EmailTemplate.PrimaryKey]]
 
| style="border: 1px solid;" | Obsolete
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[UserQuarantine_class|UserQuarantine.QuarantineResourceId]]
 
| style="border: 1px solid;" | [[UserQuarantine_class|UserQuarantine.QuarantineResourceId]]
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[User_class|User.PrimaryKey]]
 
| style="border: 1px solid;" | Obsolete
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getQuestionnaireTemplateId|getQuestionnaireTemplateId(qualifiedName)]]
 
| style="border: 1px solid; width: 370.7px;" |
 
| style="border: 1px solid; width: 453.183px;" |  TODO [[QuestionnaireTemplate_class|QuestionnaireTemplate_getByQualifiedName(qualifiedName).Id]]
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getProjectQuestionnaireId|getProjectQuestionnaireId(qualifiedName)]]
 
| style="border: 1px solid; width: 370.7px;" | [[Questionnaire_class|new Questionnaire(qualifiedName).Id]]
 
| style="border: 1px solid; width: 453.183px;" | New class Questionnaire
 
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getReturnToProjectQuestionnaireId|getReturnToProjectQuestionnaireId()]]
 
| style="border: 1px solid; width: 370.7px;" |
 
| style="border: 1px solid; width: 453.183px;" | lacking new method
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getReportStyleSheetIdByName|getReportStyleSheetIdByName(reportStyleSheetQualifiedName)]]
 
| style="border: 1px solid; width: 370.7px;" |
 
| style="border: 1px solid; width: 453.183px;" | TODO [[ReportStyleSheet_class|ReportStyleSheet_getByQualifiedName(qualifiedName).Id]]
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getReportStyleSheetId|getReportStyleSheetId()]]
 
| style="border: 1px solid; width: 370.7px;" |
 
| style="border: 1px solid; width: 453.183px;" | TODO  [[Tabulation_class|Tabulation_getCurrentReportStyleSheetId()]]
 
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[getResourceIdFromGuid|getResourceIdFromGuid(guid)]]
 
| style="border: 1px solid;" | [[getResourceUniqueIdFromGuid|getResourceUniqueIdFromGuid(guid)]]
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[Task_new|task[TASK_CASE_NUMBER]]]
 
| style="border: 1px solid;" | [[Task_new|task[TASK_RESOURCE_ID]]]
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[getCurrentUserId|getCurrentUserId()]]
 
| style="border: 1px solid;" | [[User_getCurrentUser|User_getCurrentUser()]]
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[getUserIdFromResourceId|getUserIdFromResourceId(guid)]]
 
| style="border: 1px solid;" | [[getResourceUniqueIdFromGuid|getResourceUniqueIdFromGuid(guid)]]
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[createUser|createUser(userResourceTemplateId)]]
 
| style="border: 1px solid;" | [[User_new|User_new(userResourceTemplateId)]]
 
| style="border: 1px solid;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getRPQUserId|getRPQUserId()]]
 
| style="border: 1px solid; width: 370.7px;" | [[QAS_class|QAS_getCurrentQAS().UserResourceId]]
 
| style="border: 1px solid; width: 453.183px;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[User_class|User class.ResourceTemplateId]]
 
| style="border: 1px solid;" | [[User_class|User class.ResourceTemplateResourceId]]
 
| style="border: 1px solid;" |
 
 
 
|- 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;" | lacking UserQuarantine.AddedByUserResourceId
 
 
|- 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;" | lacking UserQuarantine.RemovedByUserResourceId
 
 
|- 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;" | lacking new method
 
 
|- 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;" | lacking User.CreatedByUserResourceId
 
 
|- 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;" | lacking User.ModifiedByUserResourceId
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[SampleRule_class|SampleRule.QuestionnaireId]]
 
| style="border: 1px solid; width: 370.7px;" | [[SampleRule_class|SampleRule.QuestionnaireResourceId ]]
 
| style="border: 1px solid; width: 453.183px;" |
 
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[SampleRule_class|SampleRule.GroupId]]
 
| style="border: 1px solid; width: 370.7px;" | [[SampleRule_class|SampleRule.GroupResourceId]]
 
| style="border: 1px solid; width: 453.183px;" |
 
|}
 

Latest revision as of 05:42, 25 April 2022