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
|
|