Difference between revisions of "OldIdFunctions"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
{| class="tableintopic" style="border-collapse: collapse; width: 1350px;" cellpadding="2"
 
{| class="tableintopic" style="border-collapse: collapse; width: 1350px;" cellpadding="2"
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid; width: 510.117px;" bgcolor="#C0C0C0" | '''Old function'''
+
| style="border: 1px solid; width: 510.117px;" bgcolor="#C0C0C0" | '''Obsolete functions''' <br> using Id
| style="border: 1px solid; width: 370.7px;" bgcolor="#C0C0C0" | '''New function'''
+
| style="border: 1px solid; width: 370.7px;" bgcolor="#C0C0C0" | '''Replace with functions''' <br> using ResourceId
 
| style="border: 1px solid; width: 453.183px;" bgcolor="#C0C0C0" | '''Note'''
 
| style="border: 1px solid; width: 453.183px;" bgcolor="#C0C0C0" | '''Note'''
  
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | [[updateUserPermission|updateUserPermission]]
+
| style="border: 1px solid;" | [[updateUserPermission|updateUserPermission(resourceRId, {{userId1,permission},{userId2,permission}})]]
 +
| style="border: 1px solid;" | [[updateUserResourceIdPermission|updateUserResourceIdPermission(resourceRId, {userRId1:permission,userRId2:permission})]]
 
| 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_class|QAS.UserId]]
 
| style="border: 1px solid;" | [[QAS_class|QAS.UserId]]
 +
| style="border: 1px solid;" | [[QAS_class|QAS.UserResourceId]]
 
| 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_class|User_GetResourceIdFromUserId]]
+
| style="border: 1px solid;" | [[User_class|User_GetResourceIdFromUserId(userId)]]
 +
| style="border: 1px solid;" | Obsolete
 
| 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|sendBulkMail]]
+
| style="border: 1px solid;" | [[sendBulkMail|sendBulkMail(bulkMailId])]]<br>[[sendBulkMail|sendBulkMail(bulkMailId, maxToSend)]]
| style="border: 1px solid;" |  
+
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.Send()]]<br>[[BulkMail_class|BulkMail.SendBulkMail(maxToSend, false, false)]]
| style="border: 1px solid;" |
+
| style="border: 1px solid;" | New class
 
+
                             
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | [[sendBulkMailSyncronious|sendBulkMailSyncronious]]
+
| style="border: 1px solid;" | [[sendBulkMailSyncronious|sendBulkMailSyncronious(bulkMailId)]] <br> [[sendBulkMailSyncronious|sendBulkMailSyncronious(bulkMailId, maxToSend)]]  
| style="border: 1px solid;" |  
+
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.SendSyncronious()]] <br>[[BulkMail_class|BulkMail.SendBulkMail(maxToSend, false, true)]]
| style="border: 1px solid;" |
+
| style="border: 1px solid;" | New class
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | [[sendTestBulkMail|sendTestBulkMail]]
+
| style="border: 1px solid;" | [[sendTestBulkMail|sendTestBulkMail(bulkMailId)]] <br>[[sendTestBulkMail|sendTestBulkMail(bulkMailId, maxToSend)]]
| style="border: 1px solid;" |  
+
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.SendBulkMail(maxToSend, true, false)]]
| style="border: 1px solid;" |
+
| style="border: 1px solid;" | New class
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | [[sendTestBulkMailSyncronious|sendTestBulkMailSyncronious]]
+
| style="border: 1px solid;" | [[sendTestBulkMailSyncronious|sendTestBulkMailSyncronious(bulkMailId)]]<br>[[sendTestBulkMailSyncronious|sendTestBulkMailSyncronious(bulkMailId, maxToSend)]]
| style="border: 1px solid;" |  
+
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.SendBulkMail(maxToSend, true, true)]]
| style="border: 1px solid;" |
+
| style="border: 1px solid;" | New class
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | [[setBulkMailFromGlobalEmailAlias|setBulkMailFromGlobalEmailAlias]]
+
| style="border: 1px solid;" | [[setBulkMailFromGlobalEmailAlias|setBulkMailFromGlobalEmailAlias(bulkMailId, globalEmailAliasId)]]
| style="border: 1px solid;" |  
+
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.From]] just allow get not set
| style="border: 1px solid;" |
+
| style="border: 1px solid;" | New class
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | [[setBulkMailFromResource|setBulkMailFromResource]]
+
| style="border: 1px solid;" | [[setBulkMailFromResource|setBulkMailFromResource(bulkMailId, resourceRId)]]
| style="border: 1px solid;" |  
+
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.From]] just allow get not set
| style="border: 1px solid;" |
+
| style="border: 1px solid;" | New class
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | [[setBulkMailFromSupport|setBulkMailFromSupport]]
+
| style="border: 1px solid;" | [[setBulkMailFromSupport|setBulkMailFromSupport(bulkMailId)]]
| style="border: 1px solid;" |  
+
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.From]] just allow get not set
| style="border: 1px solid;" |
+
| style="border: 1px solid;" | New class
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | [[setBulkMailFromWebshop|setBulkMailFromWebshop]]
+
| style="border: 1px solid;" | [[setBulkMailFromWebshop|setBulkMailFromWebshop(bulkMailId)]]
| style="border: 1px solid;" |  
+
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.From]] just allow get not set
| style="border: 1px solid;" |
+
| style="border: 1px solid;" | New class
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | [[setBulkMailGroups|setBulkMailGroups]]
+
| style="border: 1px solid;" | [[setBulkMailGroups|setBulkMailGroups(bulkMailId, groupIds)]]
| style="border: 1px solid;" |  
+
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.SetGroups(groupRIds)]]
| style="border: 1px solid;" |
+
| style="border: 1px solid;" | New class
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | [[setBulkMailGroupsToBeRebuilt|setBulkMailGroupsToBeRebuilt]]
+
| style="border: 1px solid;" | [[setBulkMailGroupsToBeRebuilt|setBulkMailGroupsToBeRebuilt(bulkMailId, groupIds)]]
| style="border: 1px solid;" |  
+
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.SetGroupsToBeRebuilt(groupRIds)]]
| style="border: 1px solid;" |
+
| style="border: 1px solid;" | New class
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | [[setBulkMailUsers|setBulkMailUsers]]
+
| style="border: 1px solid;" | [[setBulkMailUsers|setBulkMailUsers(bulkMailId, userIds)]]
| style="border: 1px solid;" |  
+
| style="border: 1px solid;" | [[BulkMail_class|BulkMail.SetUsers(userRIds)]]
| style="border: 1px solid;" |
+
| style="border: 1px solid;" | New class
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | [[addToGroup|addToGroup]]
+
| style="border: 1px solid;" | [[addToGroup|addToGroup(groupId)]] run on qas context
 +
| style="border: 1px solid;" | [[Group_addUser|Group_addUser]]([[QAS_getCurrentQAS|QAS_getCurrentQAS()]][[QAS_class|.UserResourceId]], groupResourceId)
 
| 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|removeFromGroup]]
+
| style="border: 1px solid;" | [[removeFromGroup|removeFromGroup(groupId)]] run on qas context
 +
| style="border: 1px solid;" | [[Group_removeUser|Group_removeUser]]([[QAS_getCurrentQAS|QAS_getCurrentQAS()]][[QAS_class|.UserResourceId]], groupRId)
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
| style="border: 1px solid;" |
 
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[questionnaireAnswerSheetExists|questionnaireAnswerSheetExists(qnaireId, userId)]] <br>[[questionnaireAnswerSheetExists|questionnaireAnswerSheetExists(qnaireId)]]
 
| 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: 370.7px;" | [[QAS_exists|QAS_exists(qnaireRId, userRId)]]<br>[[QAS_exists|QAS_exists]](qnaieRId, [[QAS_getCurrentQAS|QAS_getCurrentQAS()]][[QAS_class|.UserResourceId]])
| style="border: 1px solid; width: 453.183px;" | already exist:<br>QAS_exists(qnaireRid, userRId)<br>QAS_exists(qnaieRId)
+
| style="border: 1px solid; width: 453.183px;" |  
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[createUserProjectQuestionnaire|createUserProjectQuestionnaire]]
 
| style="border: 1px solid;" | [[createUserProjectQuestionnaire|createUserProjectQuestionnaire]]
 +
| style="border: 1px solid;" | Same as [[createResourceProjectQuestionnaire|createResourceProjectQuestionnaire]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
| style="border: 1px solid;" |
 
  
 
|- valign="top" align="left"
 
|- 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: 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: 370.7px;" |[[QAS_class|new QAS(qnaireRId, -1)]] <br>[[QAS_class|new QAS(qnaireRId, 0)]]<br>[[QAS_getByUserResourceId|QAS_getByUserResourceId(userRId, qnaireRId, createIfNone)]]
| style="border: 1px solid; width: 453.183px;" | already exist:<br>new QAS(qnaireRId, -1) <br>new QAS(qnaireRId, 0)<br>QAS_getByUserResourceId
+
| style="border: 1px solid; width: 453.183px;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | [[groupExists|groupExists]]
+
| style="border: 1px solid;" | [[groupExists|groupExists(groupId)]]
 +
| style="border: 1px solid;" | [[Group_getGroupByResourceId|Group_getGroupByResourceId(groupRId)]]<br> if doesn't exist, return empty
 
| 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|isMemberOfGroup]]
+
| style="border: 1px solid;" | [[isMemberOfGroup|isMemberOfGroup(userId, groupId)]]
 +
| style="border: 1px solid;" | [[Group_isMemberOfGroup|Group_isMemberOfGroup(userRId, groupRId)]]
 
| 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|rebuildGroup]]
+
| style="border: 1px solid;" | [[rebuildGroup|rebuildGroup(groupId)]]
 +
| style="border: 1px solid;" | [[Group_rebuildGroup|Group_rebuildGroup(groupRId,parallelBuild)]]
 
| 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|Tabulation_saveAsReport]]
+
| style="border: 1px solid;" | [[Tabulation_saveAsReport|Tabulation_saveAsReport(name, parentRId, permissionGroups)]]<br>
| style="border: 1px solid;" |  
+
      [[Tabulation_saveAsReport|Tabulation_saveAsReport(name, parentRId, permissionGroups, overwrite)]]
| style="border: 1px solid;" |
+
| style="border: 1px solid;" | [[Tabulation_class|Tabulation.SaveAsReport(name, parentRId, permissionGroups, overwrite)]]
 +
| style="border: 1px solid;" | new class TODO
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | [[updateGroupPermission|updateGroupPermission]]
+
| style="border: 1px solid;" | [[updateGroupPermission|updateGroupPermission(resourceRId, {{groupId1, permission}, {groupId2, permission}})]]
 +
| style="border: 1px solid;" | [[updateGroupResourceIdPermission|updateGroupResourceIdPermission(resourceRId, {groupRId1: permission, groupRId2: permission})]]
 
| 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|sendMailTemplateFromResource]]
+
| style="border: 1px solid;" | [[sendMailTemplateFromResource|sendMailTemplateFromResource(parentRId, email, alias, mailTemplateId, fromEmail, callbackFunction)]]
| style="border: 1px solid;" |  
+
| style="border: 1px solid;" | [[EmailTemplate_class|EmailTemplate_send(mailTemplateRId, isTest, toEmail, alias, parentRId, fromEmail, callbackFunction)]]
| style="border: 1px solid;" |
+
| style="border: 1px solid;" | New function
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | [[SendMail_Template|sendMailTemplate]]
+
| style="border: 1px solid;" | [[SendMail_Template|sendMailTemplate(email, alias, mailTemplateId, fromEmail, callbackFunction) ]]
| style="border: 1px solid;" |  
+
| style="border: 1px solid;" | [[EmailTemplate_class|EmailTemplate_send(mailTemplateRId, isTest, toEmail, alias, parentRId, fromEmail, callbackFunction)]]
| style="border: 1px solid;" |
+
| style="border: 1px solid;" | New function
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | [[sendTestMailTemplate|sendTestMailTemplate]]
+
| style="border: 1px solid;" | [[sendTestMailTemplate|sendTestMailTemplate(email, alias, mailTemplateId, emailAccountCGO, callbackFunction)]]
| style="border: 1px solid;" |  
+
| style="border: 1px solid;" | [[EmailTemplate_class|EmailTemplate_send(mailTemplateRId, isTest, toEmail, alias, parentRId, fromEmail, callbackFunction)]]
| style="border: 1px solid;" |
+
| style="border: 1px solid;" | New function
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getProjectQuestionnaireName|getProjectQuestionnaireName(qnaireId)]] <br>[[getProjectQuestionnaireName|getProjectQuestionnaireName()]]
 
| 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;" |[[getProjectQuestionnaireNameByResourceId|getProjectQuestionnaireNameByResourceId(qnaireRId)]]<br>[[Resource_getResourceName|Resource_getResourceName(qniareRId)]]<br>
| style="border: 1px solid; width: 453.183px;" |expected new function name: getQuestionnaireName
+
[[getProjectQuestionnaireNameByResourceId|getProjectQuestionnaireNameByResourceId]]([[QAS_getCurrentQAS|QAS_getCurrentQAS()]][[QAS_class|.QuestionnaireResourceId]])<br>
 +
[[Resource_getResourceName|Resource_getResourceName]]([[QAS_getCurrentQAS|QAS_getCurrentQAS()]][[QAS_class|.QuestionnaireResourceId]])<br>
 +
 
 +
[[Questionnaire_class|Questionnaire_current().QualifiedName]]
 +
 
 +
| style="border: 1px solid; width: 370.7px;" | <br><br><br><br>new statis methos on Questionnaire class
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | [[setReportStyleSheetId|setReportStyleSheetId]]
+
| style="border: 1px solid;" | [[setReportStyleSheetId|setReportStyleSheetId(reportStyleSheetId)]]
| style="border: 1px solid;" |  
+
| style="border: 1px solid;" | [[Tabulation_class|Tabulation.ReportStyleSheetId=value]]
| style="border: 1px solid;" |
+
| style="border: 1px solid;" | TODO
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[setUserProjectQuestionnaireUserId|setUserProjectQuestionnaireUserId(userId)]]
 
| style="border: 1px solid; width: 510.117px;" | [[setUserProjectQuestionnaireUserId|setUserProjectQuestionnaireUserId(userId)]]
| style="border: 1px solid; width: 370.7px;" |
+
| style="border: 1px solid; width: 370.7px;" | [[QAS_getCurrentQAS|QAS_getCurrentQAS()]][[QAS_class|.UserResourceId]] = value
| style="border: 1px solid; width: 453.183px;" |already exist: setQASUserId
+
| style="border: 1px solid; width: 453.183px;" |
 +
 
 +
|- valign="top" align="left"
 +
| style="border: 1px solid; width: 510.117px;" | [[getUserProjectQuestionnaireUserId|getUserProjectQuestionnaireUserId()]]<br> return userId
 +
| style="border: 1px solid; width: 370.7px;" | [[QAS_getCurrentQAS|QAS_getCurrentQAS()]][[QAS_class|.UserResourceId]]
 +
| style="border: 1px solid; width: 453.183px;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[setRPQUserId|setRPQUserId(userId)]]
 
| 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: 370.7px;" | [[QAS_getCurrentQAS|QAS_getCurrentQAS()]][[QAS_class|.UserResourceId]] = value
 
| 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;" | [[add_Journal|addJournal]]
+
| style="border: 1px solid;" | [[add_Journal|addJournal(resourceRId, userId, journalType, content)]]
 +
| style="border: 1px solid;" | [[ResourceJournalEntry_class|new ResourceJournalEntry (resourceRId, journalType, content).Save()]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
| style="border: 1px solid;" |
 
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getTimezone|getTimezone(userId)]] <br>[[getTimezone|getTimezone()]]
 
| 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: 370.7px;" | [[User_getUserByResourceId|User_getUserByResourceId(UserRId)]][[User_class|.TimezoneId]]<br>[[User_getUserByResourceId|User_getUserByResourceId]]([[QAS_getCurrentQAS|QAS_getCurrentQAS()]][[QAS_class|.UserResourceId]])[[User_class|.TimezoneId]]
 
| 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;" | [[setTimezone|setTimezone(userId, timezoneId)]] <br>[[setTimezone|setTimezone(timezoneId)]]
 
| 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: 370.7px;" | [[User_getUserByResourceId|User_getUserByResourceId(UserRId)]][[User_class|.TimezoneId=value]]<br>[[User_getUserByResourceId|User_getUserByResourceId]]([[QAS_getCurrentQAS|QAS_getCurrentQAS()]][[QAS_class|.UserResourceId]])[[User_class|.TimezoneId=value]]
| 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;" | [[setUserRoleId|setUserRoleId(userId, userResourceTemplateId)]]
 
| 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: 370.7px;" | [[setResourceTemplateResourceId|setResourceTemplateResourceId(userRId, resourceTemplateRId)]] <br>[[User_getUserByResourceId|User_getUserByResourceId(UserRId)]][[User_class|.ResourceTemplateResourceId = value]]
| style="border: 1px solid; width: 453.183px;" | same function: <br>[[setResourceTemplateResourceId|setResourceTemplateResourceId(resourceRId, resourceTemplateRId)]] <br>[[User_class|User.ResourceTemplateResourceId]] = userResourceTemplateRId
+
| style="border: 1px solid; width: 453.183px;" | 
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getUserRoleId|getUserRoleId(userId)]]<br>return userResourceTemplateId<br>
 
| 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: 370.7px;" | [[getResourceTemplateResourceId|getResourceTemplateResourceId(userRId)]] <br>[[User_getUserByResourceId|User_getUserByResourceId(userRId)]][[User_class|.ResourceTemplateResourceId]]
| style="border: 1px solid; width: 453.183px;" | same function: <br>[[getResourceTemplateResourceId|getResourceTemplateResourceId(resourceRId)]] <br>[[User_class|User.ResourceTemplateResourceId]]
+
| style="border: 1px solid; width: 453.183px;" |  
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | [[isMemberOfSampleRule|isMemberOfSampleRule]]
+
| style="border: 1px solid;" | [[isMemberOfSampleRule|isMemberOfSampleRule(sampleRuleId)]]<br>[[isMemberOfSampleRule|isMemberOfSampleRule(userId, sampleRuleId)]]
| style="border: 1px solid;" |  
+
| style="border: 1px solid;" | [[User_isMemberOfSampleRule|User_isMemberOfSampleRule(QAS_getCurrentQAS().UserResourceId, sampleRuleId)]]<br>[[User_isMemberOfSampleRule|User_isMemberOfSampleRule(userId, sampleRuleId)]]
| style="border: 1px solid;" |
+
| style="border: 1px solid;" | new static methos on User class
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[EmailTemplate_class|EmailTemplate.PrimaryKey]]
 
| style="border: 1px solid;" | [[EmailTemplate_class|EmailTemplate.PrimaryKey]]
| style="border: 1px solid;" |  
+
| style="border: 1px solid;" | Obsolete
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[UserQuarantine_class|UserQuarantine.QuarantineResourceId]]
 
| style="border: 1px solid;" | [[UserQuarantine_class|UserQuarantine.QuarantineResourceId]]
 +
| style="border: 1px solid;" | [[UserQuarantine_class|UserQuarantine.QuarantineResourceId]] keep
 
| 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_class|User.PrimaryKey]]
 
| style="border: 1px solid;" | [[User_class|User.PrimaryKey]]
| style="border: 1px solid;" |  
+
| style="border: 1px solid;" | Obsolete
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid; width: 510.117px;" | [[getQuestionnaireTemplateId|getQuestionnaireTemplateId(qnaireTemplateQualifiedName)]] <br>return qnaireTemplateId
+
| style="border: 1px solid; width: 510.117px;" | [[getQuestionnaireTemplateId|getQuestionnaireTemplateId(qualifiedName)]] <br>return qnaireTemplateId
| style="border: 1px solid; width: 370.7px;" | Questionnaire_getTemplateId(qnaireTemplateQualifiedName)<br>return qnaireTemplateRId
+
| style="border: 1px solid; width: 370.7px;" | [[QuestionnaireTemplate_class|QuestionnaireTemplate_getByQualifiedName(qualifiedName).Id]]
| style="border: 1px solid; width: 453.183px;" | Questionnaire_getQuestionnaireTemplateId
+
| style="border: 1px solid; width: 453.183px;" | TODO
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid; width: 510.117px;" | [[getProjectQuestionnaireId|getProjectQuestionnaireId(qnaireQualifiedName)]] <br>return qnaireId
+
| style="border: 1px solid; width: 510.117px;" | [[getProjectQuestionnaireId|getProjectQuestionnaireId(qualifiedName)]] <br>return qnaireId
| style="border: 1px solid; width: 370.7px;" | Questionnaire_getProjectId(qnaireQualifiedName)<br>return qnaireRId
+
| style="border: 1px solid; width: 370.7px;" | [[Questionnaire_class|new Questionnaire(qualifiedName).Id]]
| style="border: 1px solid; width: 453.183px;" | Questionnaire_getQuestionnaireId
+
| style="border: 1px solid; width: 453.183px;" | new class Questionnaire
  
  
Line 220: Line 231:
 
| style="border: 1px solid; width: 510.117px;" | [[getReturnToProjectQuestionnaireId|getReturnToProjectQuestionnaireId()]] <br>return qnaireId
 
| style="border: 1px solid; width: 510.117px;" | [[getReturnToProjectQuestionnaireId|getReturnToProjectQuestionnaireId()]] <br>return qnaireId
 
| style="border: 1px solid; width: 370.7px;" |
 
| style="border: 1px solid; width: 370.7px;" |
| style="border: 1px solid; width: 453.183px;" |expected new functions name: getReturnToQuestionnaireId
+
| style="border: 1px solid; width: 453.183px;" | lacking
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getReportStyleSheetIdByName|getReportStyleSheetIdByName(reportStyleSheetQualifiedName)]]<br>return ReportStyleSheetId
 
| 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: 370.7px;" | [[ReportStyleSheet_class|ReportStyleSheet_getByQualifiedName(qualifiedName).Id]]
| style="border: 1px solid; width: 453.183px;" |
+
| style="border: 1px solid; width: 453.183px;" | TODO
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getReportStyleSheetId|getReportStyleSheetId()]] <br>return ReportStyleSheetId
 
| 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: 370.7px;" | [[Tabulation_class|Tabulation_getCurrentReportStyleSheetId()]]
| style="border: 1px solid; width: 453.183px;" |
+
| style="border: 1px solid; width: 453.183px;" | TODO 
 
 
  
|- valign="top" align="left"
 
| style="border: 1px solid;" | [[getResourceIdFromGuid|getResourceIdFromGuid]]
 
| style="border: 1px solid;" |
 
| style="border: 1px solid;" |
 
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid;" | [[Task_new|task[TASK_CASE_NUMBER]]]
+
| style="border: 1px solid;" | [[getResourceIdFromGuid|getResourceIdFromGuid(guid)]]
 +
| style="border: 1px solid;" | [[getResourceUniqueIdFromGuid|getResourceUniqueIdFromGuid]]
 
| 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|getCurrentUserId]]
+
| style="border: 1px solid;" | [[Task_new|task[TASK_CASE_NUMBER]]]
 +
| style="border: 1px solid;" | [[Task_new|task[TASK_RESOURCE_ID]]]
 
| 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|getUserIdFromResourceId]]
+
| style="border: 1px solid;" | [[getCurrentUserId|getCurrentUserId()]]
 +
| style="border: 1px solid;" | [[User_getCurrentUser|User_getCurrentUser()]]
 
| 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|createUser]]
+
| style="border: 1px solid;" | [[getUserIdFromResourceId|getUserIdFromResourceId(guid)]]
 +
| style="border: 1px solid;" | [[getResourceUniqueIdFromGuid|getResourceUniqueIdFromGuid]]
 
| 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|User class.ResourceTemplateId]]
+
| style="border: 1px solid;" | [[createUser|createUser(userResourceTemplateId)]]
 +
| style="border: 1px solid;" | [[User_new|User_new]]
 
| style="border: 1px solid;" |  
 
| style="border: 1px solid;" |  
| style="border: 1px solid;" |
 
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[getRPQUserId|getRPQUserId()]] <br>return userId
 
| 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: 370.7px;" | [[QAS_getCurrentQAS|QAS_getCurrentQAS()]][[QAS_class|.UserResourceId]]
| 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;" | [[changeSampleRuleId|changeSampleRuleId]]
+
| style="border: 1px solid;" | [[User_class|User class.ResourceTemplateId]]
| style="border: 1px solid; width: 370.7px;" | X
+
| style="border: 1px solid;" | [[User_class|User class.ResourceTemplateResourceId]]
| style="border: 1px solid; width: 453.183px;" | sampleRule has only one kind of Id
+
| style="border: 1px solid;" |  
 
 
|- 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"
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[UserQuarantine_class|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;" | lacking AddedByUserResourceId
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[UserQuarantine_class|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;" | lacking RemovedByUserResourceId
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[Quarantine_getUserIdsOfQuarantined|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;" | lacking new function
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[User_class|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;" | lacking user.CreatedByUserResourceId
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
 
| style="border: 1px solid; width: 510.117px;" | [[User_class|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;" | lacking user.ModifiedByUserResourceId
  
 
|- valign="top" align="left"
 
|- valign="top" align="left"
| style="border: 1px solid; width: 510.117px;" | [[User_class|User_getResourceIdFromUserId]]
+
| style="border: 1px solid; width: 510.117px;" | [[SampleRule_class|SampleRule.QuestionnaireId]]
| style="border: 1px solid; width: 370.7px;" |  
+
| style="border: 1px solid; width: 370.7px;" | SampleRule.QuestionnaireResourceId
 
| 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|QAS_getLastInterviewerId]]
+
| style="border: 1px solid; width: 510.117px;" | [[SampleRule_class|SampleRule.GroupId]]
| style="border: 1px solid; width: 370.7px;" |  
+
| style="border: 1px solid; width: 370.7px;" | SampleRule.GroupResourceId
| style="border: 1px solid; width: 453.183px;" |
+
| style="border: 1px solid; width: 453.183px;" |  
 
 
 
|}
 
|}

Revision as of 11:44, 22 April 2022

Obsolete functions
using Id
Replace with functions
using ResourceId
Note


updateUserPermission(resourceRId, {{userId1,permission},{userId2,permission}}) updateUserResourceIdPermission(resourceRId, {userRId1:permission,userRId2:permission})
QAS.UserId QAS.UserResourceId
User_GetResourceIdFromUserId(userId) Obsolete
sendBulkMail(bulkMailId])
sendBulkMail(bulkMailId, maxToSend)
BulkMail.Send()
BulkMail.SendBulkMail(maxToSend, false, false)
New class
sendBulkMailSyncronious(bulkMailId)
sendBulkMailSyncronious(bulkMailId, maxToSend)
BulkMail.SendSyncronious()
BulkMail.SendBulkMail(maxToSend, false, true)
New class
sendTestBulkMail(bulkMailId)
sendTestBulkMail(bulkMailId, maxToSend)
BulkMail.SendBulkMail(maxToSend, true, false) New class
sendTestBulkMailSyncronious(bulkMailId)
sendTestBulkMailSyncronious(bulkMailId, maxToSend)
BulkMail.SendBulkMail(maxToSend, true, true) New class
setBulkMailFromGlobalEmailAlias(bulkMailId, globalEmailAliasId) BulkMail.From just allow get not set New class
setBulkMailFromResource(bulkMailId, resourceRId) BulkMail.From just allow get not set New class
setBulkMailFromSupport(bulkMailId) BulkMail.From just allow get not set New class
setBulkMailFromWebshop(bulkMailId) BulkMail.From just allow get not set New class
setBulkMailGroups(bulkMailId, groupIds) BulkMail.SetGroups(groupRIds) New class
setBulkMailGroupsToBeRebuilt(bulkMailId, groupIds) BulkMail.SetGroupsToBeRebuilt(groupRIds) New class
setBulkMailUsers(bulkMailId, userIds) BulkMail.SetUsers(userRIds) New class
addToGroup(groupId) run on qas context Group_addUser(QAS_getCurrentQAS().UserResourceId, groupResourceId)
removeFromGroup(groupId) run on qas context Group_removeUser(QAS_getCurrentQAS().UserResourceId, groupRId)
questionnaireAnswerSheetExists(qnaireId, userId)
questionnaireAnswerSheetExists(qnaireId)
QAS_exists(qnaireRId, userRId)
QAS_exists(qnaieRId, QAS_getCurrentQAS().UserResourceId)
createUserProjectQuestionnaire Same as createResourceProjectQuestionnaire
createResourceProjectQuestionnaire(qnaireId)
createResourceProjectQuestionnaire(qnaireId, assignCurrentUser)
createResourceProjectQuestionnaire(qnaireId, assignCurrentUser, useExisting)
new QAS(qnaireRId, -1)
new QAS(qnaireRId, 0)
QAS_getByUserResourceId(userRId, qnaireRId, createIfNone)
groupExists(groupId) Group_getGroupByResourceId(groupRId)
if doesn't exist, return empty
isMemberOfGroup(userId, groupId) Group_isMemberOfGroup(userRId, groupRId)
rebuildGroup(groupId) Group_rebuildGroup(groupRId,parallelBuild)
Tabulation_saveAsReport(name, parentRId, permissionGroups)

Tabulation_saveAsReport(name, parentRId, permissionGroups, overwrite)

Tabulation.SaveAsReport(name, parentRId, permissionGroups, overwrite) new class TODO
updateGroupPermission(resourceRId, {{groupId1, permission}, {groupId2, permission}}) updateGroupResourceIdPermission(resourceRId, {groupRId1: permission, groupRId2: permission})


sendMailTemplateFromResource(parentRId, email, alias, mailTemplateId, fromEmail, callbackFunction) EmailTemplate_send(mailTemplateRId, isTest, toEmail, alias, parentRId, fromEmail, callbackFunction) New function
sendMailTemplate(email, alias, mailTemplateId, fromEmail, callbackFunction) EmailTemplate_send(mailTemplateRId, isTest, toEmail, alias, parentRId, fromEmail, callbackFunction) New function
sendTestMailTemplate(email, alias, mailTemplateId, emailAccountCGO, callbackFunction) EmailTemplate_send(mailTemplateRId, isTest, toEmail, alias, parentRId, fromEmail, callbackFunction) New function
getProjectQuestionnaireName(qnaireId)
getProjectQuestionnaireName()
getProjectQuestionnaireNameByResourceId(qnaireRId)
Resource_getResourceName(qniareRId)

getProjectQuestionnaireNameByResourceId(QAS_getCurrentQAS().QuestionnaireResourceId)
Resource_getResourceName(QAS_getCurrentQAS().QuestionnaireResourceId)

Questionnaire_current().QualifiedName





new statis methos on Questionnaire class
setReportStyleSheetId(reportStyleSheetId) Tabulation.ReportStyleSheetId=value TODO
setUserProjectQuestionnaireUserId(userId) QAS_getCurrentQAS().UserResourceId = value
getUserProjectQuestionnaireUserId()
return userId
QAS_getCurrentQAS().UserResourceId
setRPQUserId(userId) QAS_getCurrentQAS().UserResourceId = value
addJournal(resourceRId, userId, journalType, content) new ResourceJournalEntry (resourceRId, journalType, content).Save()
getTimezone(userId)
getTimezone()
User_getUserByResourceId(UserRId).TimezoneId
User_getUserByResourceId(QAS_getCurrentQAS().UserResourceId).TimezoneId
setTimezone(userId, timezoneId)
setTimezone(timezoneId)
User_getUserByResourceId(UserRId).TimezoneId=value
User_getUserByResourceId(QAS_getCurrentQAS().UserResourceId).TimezoneId=value
setUserRoleId(userId, userResourceTemplateId) setResourceTemplateResourceId(userRId, resourceTemplateRId)
User_getUserByResourceId(UserRId).ResourceTemplateResourceId = value
getUserRoleId(userId)
return userResourceTemplateId
getResourceTemplateResourceId(userRId)
User_getUserByResourceId(userRId).ResourceTemplateResourceId
isMemberOfSampleRule(sampleRuleId)
isMemberOfSampleRule(userId, sampleRuleId)
User_isMemberOfSampleRule(QAS_getCurrentQAS().UserResourceId, sampleRuleId)
User_isMemberOfSampleRule(userId, sampleRuleId)
new static methos on User class
EmailTemplate.PrimaryKey Obsolete
UserQuarantine.QuarantineResourceId UserQuarantine.QuarantineResourceId keep
User.PrimaryKey Obsolete
getQuestionnaireTemplateId(qualifiedName)
return qnaireTemplateId
QuestionnaireTemplate_getByQualifiedName(qualifiedName).Id TODO
getProjectQuestionnaireId(qualifiedName)
return qnaireId
new Questionnaire(qualifiedName).Id new class Questionnaire


getReturnToProjectQuestionnaireId()
return qnaireId
lacking
getReportStyleSheetIdByName(reportStyleSheetQualifiedName)
return ReportStyleSheetId
ReportStyleSheet_getByQualifiedName(qualifiedName).Id TODO
getReportStyleSheetId()
return ReportStyleSheetId
Tabulation_getCurrentReportStyleSheetId() TODO


getResourceIdFromGuid(guid) getResourceUniqueIdFromGuid
task[TASK_CASE_NUMBER] task[TASK_RESOURCE_ID]
getCurrentUserId() User_getCurrentUser()
getUserIdFromResourceId(guid) getResourceUniqueIdFromGuid
createUser(userResourceTemplateId) User_new
getRPQUserId()
return userId
QAS_getCurrentQAS().UserResourceId
User class.ResourceTemplateId User class.ResourceTemplateResourceId


UserQuarantine.AddedByUserId lacking AddedByUserResourceId
UserQuarantine.RemovedByUserId lacking RemovedByUserResourceId
Quarantine_getUserIdsOfQuarantined(quarantineRIdList) lacking new function
User class.CreatedByUserId lacking user.CreatedByUserResourceId
User class.ModifiedByUserId lacking user.ModifiedByUserResourceId
SampleRule.QuestionnaireId SampleRule.QuestionnaireResourceId
SampleRule.GroupId SampleRule.GroupResourceId