Versions in this module Expand all Collapse all v5 v5.22.0 Apr 4, 2020 Changes in this version + const CHANNEL_EXISTS_ERROR + const CLASS_EXISTS_ERROR + const FEATURE_TOGGLE_PREFIX + const MISSING_ACCOUNT_ERROR + const MISSING_AUTH_ACCOUNT_ERROR + const MISSING_CHANNEL_ERROR + const MISSING_CHANNEL_MEMBER_ERROR + const MISSING_CLASS_ERROR + const MISSING_CLASS_MEMBER_ERROR + const USER_SEARCH_OPTION_ALLOW_INACTIVE + const USER_SEARCH_OPTION_ALL_NO_FULL_NAME + const USER_SEARCH_OPTION_NAMES_ONLY + const USER_SEARCH_OPTION_NAMES_ONLY_NO_FULL_NAME + type AuditStore interface + Get func(user_id string, offset int, limit int) (model.Audits, *model.AppError) + PermanentDeleteByUser func(userId string) *model.AppError + Save func(audit *model.Audit) *model.AppError + type BranchStore interface + AnalyticsBranchCount func(includeDeleted bool) (int64, *model.AppError) + AnalyticsGetBranchCountForScheme func(schemeId string) (int64, *model.AppError) + ClearAllCustomRoleAssignments func() *model.AppError + ClearCaches func() + Get func(id string) (*model.Branch, *model.AppError) + GetActiveMemberCount func(branchId string, restrictions *model.ViewUsersRestrictions) (int64, *model.AppError) + GetAll func() ([]*model.Branch, *model.AppError) + GetAllForExportAfter func(limit int, afterId string) ([]*model.BranchForExport, *model.AppError) + GetAllPage func(offset int, limit int) ([]*model.Branch, *model.AppError) + GetBranchMembersForExport func(userId string) ([]*model.BranchMemberForExport, *model.AppError) + GetBranchesByScheme func(schemeId string, offset int, limit int) ([]*model.Branch, *model.AppError) + GetBranchesByUserId func(userId string) ([]*model.Branch, *model.AppError) + GetBranchesForUser func(userId string) ([]*model.BranchMember, *model.AppError) + GetBranchesForUserWithPagination func(userId string, page, perPage int) ([]*model.BranchMember, *model.AppError) + GetByName func(name string) (*model.Branch, *model.AppError) + GetByNames func(name []string) ([]*model.Branch, *model.AppError) + GetBySchoolId func(schoolId string) (*model.Branch, *model.AppError) + GetMember func(branchId string, userId string) (*model.BranchMember, *model.AppError) + GetMembers func(branchId string, offset int, limit int, ...) ([]*model.BranchMember, *model.AppError) + GetMembersByIds func(branchId string, userIds []string, restrictions *model.ViewUsersRestrictions) ([]*model.BranchMember, *model.AppError) + GetTotalMemberCount func(branchId string, restrictions *model.ViewUsersRestrictions) (int64, *model.AppError) + GetUserBranchIds func(userId string, allowFromCache bool) ([]string, *model.AppError) + InvalidateAllBranchIdsForUser func(userId string) + MigrateBranchMembers func(fromBranchId string, fromUserId string) (map[string]string, *model.AppError) + PermanentDelete func(branchId string) *model.AppError + RemoveAllMembersByBranch func(branchId string) *model.AppError + RemoveAllMembersByUser func(userId string) *model.AppError + RemoveMember func(branchId string, userId string) *model.AppError + ResetAllBranchSchemes func() *model.AppError + Save func(branch *model.Branch) (*model.Branch, *model.AppError) + SaveMember func(member *model.BranchMember, maxUsersPerBranch int) (*model.BranchMember, *model.AppError) + Update func(branch *model.Branch) (*model.Branch, *model.AppError) + UpdateLastBranchIconUpdate func(branchId string, curTime int64) *model.AppError + UpdateMember func(member *model.BranchMember) (*model.BranchMember, *model.AppError) + UpdateMembersRole func(branchID string, userIDs []string) *model.AppError + UserBelongsToBranches func(userId string, branchIds []string) (bool, *model.AppError) + type ClassSearchOpts struct + ExcludeClassNames []string + IncludeDeleted bool + Page *int + PerPage *int + func (c *ClassSearchOpts) IsPaginated() bool + type ClassStore interface + ClearAllCustomRoleAssignments func() *model.AppError + ClearCaches func() + CreateDirectClass func(userId *model.User, otherUserId *model.User) (*model.Class, *model.AppError) + Delete func(classId string, time int64) *model.AppError + Get func(id string, allowFromCache bool) (*model.Class, *model.AppError) + GetAll func(branchId string) ([]*model.Class, *model.AppError) + GetAllClassMembersForUser func(userId string, allowFromCache bool, includeDeleted bool) (map[string]string, *model.AppError) + GetAllClassMembersNotifyPropsForClass func(classId string, allowFromCache bool) (map[string]model.StringMap, *model.AppError) + GetAllClasses func(page, perPage int, opts ClassSearchOpts) (*model.ClassListWithBranchData, *model.AppError) + GetAllClassesCount func(opts ClassSearchOpts) (int64, *model.AppError) + GetAllClassesForExportAfter func(limit int, afterId string) ([]*model.ClassForExport, *model.AppError) + GetBranchClasses func(branchId string) (*model.ClassList, *model.AppError) + GetByName func(branch_id string, name string, allowFromCache bool) (*model.Class, *model.AppError) + GetByNameIncludeDeleted func(branch_id string, name string, allowFromCache bool) (*model.Class, *model.AppError) + GetByNames func(branch_id string, names []string, allowFromCache bool) ([]*model.Class, *model.AppError) + GetClassMembersForExport func(userId string, branchId string) ([]*model.ClassMemberForExport, *model.AppError) + GetClassMembersTimezones func(classId string) ([]model.StringMap, *model.AppError) + GetClasses func(branchId string, userId string, includeDeleted bool) (*model.ClassList, *model.AppError) + GetClassesBatchForIndexing func(startTime, endTime int64, limit int) ([]*model.Class, *model.AppError) + GetClassesByIds func(classIds []string, includeDeleted bool) ([]*model.Class, *model.AppError) + GetClassesByScheme func(schemeId string, offset int, limit int) (model.ClassList, *model.AppError) + GetDeleted func(branch_id string, offset int, limit int, userId string) (*model.ClassList, *model.AppError) + GetDeletedByName func(branch_id string, name string) (*model.Class, *model.AppError) + GetFromMaster func(id string) (*model.Class, *model.AppError) + GetMember func(classId string, userId string) (*model.ClassMember, *model.AppError) + GetMemberCount func(classId string, allowFromCache bool) (int64, *model.AppError) + GetMemberCountFromCache func(classId string) int64 + GetMembers func(classId string, offset, limit int) (*model.ClassMembers, *model.AppError) + GetMembersByIds func(classId string, userIds []string) (*model.ClassMembers, *model.AppError) + GetMembersForUser func(branchId string, userId string) (*model.ClassMembers, *model.AppError) + GetMembersForUserWithPagination func(branchId, userId string, page, perPage int) (*model.ClassMembers, *model.AppError) + GetMoreClasses func(branchId string, userId string, offset int, limit int) (*model.ClassList, *model.AppError) + InvalidateAllClassMembersForUser func(userId string) + InvalidateCacheForClassMembersNotifyProps func(classId string) + InvalidateClass func(id string) + InvalidateClassByName func(branchId, name string) + InvalidateMemberCount func(classId string) + IsUserInClassUseCache func(userId string, classId string) bool + MigrateClassMembers func(fromClassId string, fromUserId string) (map[string]string, *model.AppError) + PermanentDelete func(classId string) *model.AppError + PermanentDeleteByBranch func(branchId string) *model.AppError + PermanentDeleteMembersByClass func(classId string) *model.AppError + PermanentDeleteMembersByUser func(userId string) *model.AppError + RemoveAllDeactivatedMembers func(classId string) *model.AppError + RemoveMember func(classId string, userId string) *model.AppError + ResetAllClassSchemes func() *model.AppError + Restore func(classId string, time int64) *model.AppError + Save func(class *model.Class, maxClassesPerBranch int64) (*model.Class, *model.AppError) + SaveDirectClass func(class *model.Class, member1 *model.ClassMember, member2 *model.ClassMember) (*model.Class, *model.AppError) + SaveMember func(member *model.ClassMember) (*model.ClassMember, *model.AppError) + SetDeleteAt func(classId string, deleteAt int64, updateAt int64) *model.AppError + Update func(class *model.Class) (*model.Class, *model.AppError) + UpdateMember func(member *model.ClassMember) (*model.ClassMember, *model.AppError) + UpdateMembersRole func(classID string, userIDs []string) *model.AppError + UserBelongsToClasses func(userId string, classIds []string) (bool, *model.AppError) + type ClusterDiscoveryStore interface + Cleanup func() *model.AppError + Delete func(discovery *model.ClusterDiscovery) (bool, *model.AppError) + Exists func(discovery *model.ClusterDiscovery) (bool, *model.AppError) + GetAll func(discoveryType, clusterName string) ([]*model.ClusterDiscovery, *model.AppError) + Save func(discovery *model.ClusterDiscovery) *model.AppError + SetLastPingAt func(discovery *model.ClusterDiscovery) *model.AppError + type CommandStore interface + AnalyticsCommandCount func(teamId string) (int64, *model.AppError) + Delete func(commandId string, time int64) *model.AppError + Get func(id string) (*model.Command, *model.AppError) + GetByTeam func(teamId string) ([]*model.Command, *model.AppError) + GetByTrigger func(teamId string, trigger string) (*model.Command, *model.AppError) + PermanentDeleteByTeam func(teamId string) *model.AppError + PermanentDeleteByUser func(userId string) *model.AppError + Save func(webhook *model.Command) (*model.Command, *model.AppError) + Update func(hook *model.Command) (*model.Command, *model.AppError) + type CommandWebhookStore interface + Cleanup func() + Get func(id string) (*model.CommandWebhook, *model.AppError) + Save func(webhook *model.CommandWebhook) (*model.CommandWebhook, *model.AppError) + TryUse func(id string, limit int) *model.AppError + type ComplianceStore interface + ComplianceExport func(compliance *model.Compliance) ([]*model.CompliancePost, *model.AppError) + Get func(id string) (*model.Compliance, *model.AppError) + GetAll func(offset, limit int) (model.Compliances, *model.AppError) + MessageExport func(after int64, limit int) ([]*model.MessageExport, *model.AppError) + Save func(compliance *model.Compliance) (*model.Compliance, *model.AppError) + Update func(compliance *model.Compliance) (*model.Compliance, *model.AppError) + type EmojiStore interface + Delete func(emoji *model.Emoji, time int64) *model.AppError + Get func(id string, allowFromCache bool) (*model.Emoji, *model.AppError) + GetByName func(name string, allowFromCache bool) (*model.Emoji, *model.AppError) + GetList func(offset, limit int, sort string) ([]*model.Emoji, *model.AppError) + GetMultipleByName func(names []string) ([]*model.Emoji, *model.AppError) + Save func(emoji *model.Emoji) (*model.Emoji, *model.AppError) + Search func(name string, prefixOnly bool, limit int) ([]*model.Emoji, *model.AppError) + type FileInfoStore interface + AttachToPost func(fileId string, postId string, creatorId string) *model.AppError + ClearCaches func() + DeleteForPost func(postId string) (string, *model.AppError) + Get func(id string) (*model.FileInfo, *model.AppError) + GetByPath func(path string) (*model.FileInfo, *model.AppError) + GetForPost func(postId string, readFromMaster, includeDeleted, allowFromCache bool) ([]*model.FileInfo, *model.AppError) + GetForUser func(userId string) ([]*model.FileInfo, *model.AppError) + GetWithOptions func(page, perPage int, opt *model.GetFileInfosOptions) ([]*model.FileInfo, *model.AppError) + InvalidateFileInfosForPostCache func(postId string, deleted bool) + PermanentDelete func(fileId string) *model.AppError + PermanentDeleteBatch func(endTime int64, limit int64) (int64, *model.AppError) + PermanentDeleteByUser func(userId string) (int64, *model.AppError) + Save func(info *model.FileInfo) (*model.FileInfo, *model.AppError) + type IntegrityCheckResult struct + Data interface{} + Err error + type JobStore interface + Delete func(id string) (string, *model.AppError) + Get func(id string) (*model.Job, *model.AppError) + GetAllByStatus func(status string) ([]*model.Job, *model.AppError) + GetAllByType func(jobType string) ([]*model.Job, *model.AppError) + GetAllByTypePage func(jobType string, offset int, limit int) ([]*model.Job, *model.AppError) + GetAllPage func(offset int, limit int) ([]*model.Job, *model.AppError) + GetCountByStatusAndType func(status string, jobType string) (int64, *model.AppError) + GetNewestJobByStatusAndType func(status string, jobType string) (*model.Job, *model.AppError) + Save func(job *model.Job) (*model.Job, *model.AppError) + UpdateOptimistically func(job *model.Job, currentStatus string) (bool, *model.AppError) + UpdateStatus func(id string, status string) (*model.Job, *model.AppError) + UpdateStatusOptimistically func(id string, currentStatus string, newStatus string) (bool, *model.AppError) + type LicenseStore interface + Get func(id string) (*model.LicenseRecord, *model.AppError) + Save func(license *model.LicenseRecord) (*model.LicenseRecord, *model.AppError) + type LinkMetadataStore interface + Get func(url string, timestamp int64) (*model.LinkMetadata, *model.AppError) + Save func(linkMetadata *model.LinkMetadata) (*model.LinkMetadata, *model.AppError) + type OAuthStore interface + DeleteApp func(id string) *model.AppError + GetAccessData func(token string) (*model.AccessData, *model.AppError) + GetAccessDataByRefreshToken func(token string) (*model.AccessData, *model.AppError) + GetAccessDataByUserForApp func(userId, clientId string) ([]*model.AccessData, *model.AppError) + GetApp func(id string) (*model.OAuthApp, *model.AppError) + GetAppByUser func(userId string, offset, limit int) ([]*model.OAuthApp, *model.AppError) + GetApps func(offset, limit int) ([]*model.OAuthApp, *model.AppError) + GetAuthData func(code string) (*model.AuthData, *model.AppError) + GetAuthorizedApps func(userId string, offset, limit int) ([]*model.OAuthApp, *model.AppError) + GetPreviousAccessData func(userId, clientId string) (*model.AccessData, *model.AppError) + PermanentDeleteAuthDataByUser func(userId string) *model.AppError + RemoveAccessData func(token string) *model.AppError + RemoveAllAccessData func() *model.AppError + RemoveAuthData func(code string) *model.AppError + SaveAccessData func(accessData *model.AccessData) (*model.AccessData, *model.AppError) + SaveApp func(app *model.OAuthApp) (*model.OAuthApp, *model.AppError) + SaveAuthData func(authData *model.AuthData) (*model.AuthData, *model.AppError) + UpdateAccessData func(accessData *model.AccessData) (*model.AccessData, *model.AppError) + UpdateApp func(app *model.OAuthApp) (*model.OAuthApp, *model.AppError) + type OpenTracingLayer struct + AuditStore AuditStore + BranchStore BranchStore + ClassStore ClassStore + ClusterDiscoveryStore ClusterDiscoveryStore + CommandStore CommandStore + CommandWebhookStore CommandWebhookStore + ComplianceStore ComplianceStore + EmojiStore EmojiStore + FileInfoStore FileInfoStore + JobStore JobStore + LicenseStore LicenseStore + LinkMetadataStore LinkMetadataStore + OAuthStore OAuthStore + PreferenceStore PreferenceStore + ReactionStore ReactionStore + RoleStore RoleStore + SchemeStore SchemeStore + SessionStore SessionStore + StatusStore StatusStore + SystemStore SystemStore + TermsOfServiceStore TermsOfServiceStore + TokenStore TokenStore + UserAccessTokenStore UserAccessTokenStore + UserStore UserStore + UserTermsOfServiceStore UserTermsOfServiceStore + WebhookStore WebhookStore + func NewOpenTracingLayer(childStore Store, ctx context.Context) *OpenTracingLayer + func (s *OpenTracingLayer) Audit() AuditStore + func (s *OpenTracingLayer) Branch() BranchStore + func (s *OpenTracingLayer) Class() ClassStore + func (s *OpenTracingLayer) Close() + func (s *OpenTracingLayer) ClusterDiscovery() ClusterDiscoveryStore + func (s *OpenTracingLayer) Command() CommandStore + func (s *OpenTracingLayer) CommandWebhook() CommandWebhookStore + func (s *OpenTracingLayer) Compliance() ComplianceStore + func (s *OpenTracingLayer) DropAllTables() + func (s *OpenTracingLayer) Emoji() EmojiStore + func (s *OpenTracingLayer) FileInfo() FileInfoStore + func (s *OpenTracingLayer) GetCurrentSchemaVersion() string + func (s *OpenTracingLayer) Job() JobStore + func (s *OpenTracingLayer) License() LicenseStore + func (s *OpenTracingLayer) LinkMetadata() LinkMetadataStore + func (s *OpenTracingLayer) LockToMaster() + func (s *OpenTracingLayer) MarkSystemRanUnitTests() + func (s *OpenTracingLayer) OAuth() OAuthStore + func (s *OpenTracingLayer) Preference() PreferenceStore + func (s *OpenTracingLayer) Reaction() ReactionStore + func (s *OpenTracingLayer) Role() RoleStore + func (s *OpenTracingLayer) Scheme() SchemeStore + func (s *OpenTracingLayer) Session() SessionStore + func (s *OpenTracingLayer) SetContext(context context.Context) + func (s *OpenTracingLayer) Status() StatusStore + func (s *OpenTracingLayer) System() SystemStore + func (s *OpenTracingLayer) TermsOfService() TermsOfServiceStore + func (s *OpenTracingLayer) Token() TokenStore + func (s *OpenTracingLayer) TotalMasterDbConnections() int + func (s *OpenTracingLayer) TotalReadDbConnections() int + func (s *OpenTracingLayer) TotalSearchDbConnections() int + func (s *OpenTracingLayer) UnlockFromMaster() + func (s *OpenTracingLayer) User() UserStore + func (s *OpenTracingLayer) UserAccessToken() UserAccessTokenStore + func (s *OpenTracingLayer) UserTermsOfService() UserTermsOfServiceStore + func (s *OpenTracingLayer) Webhook() WebhookStore + type OpenTracingLayerAuditStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerAuditStore) Get(user_id string, offset int, limit int) (model.Audits, *model.AppError) + func (s *OpenTracingLayerAuditStore) PermanentDeleteByUser(userId string) *model.AppError + func (s *OpenTracingLayerAuditStore) Save(audit *model.Audit) *model.AppError + type OpenTracingLayerBranchStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerBranchStore) AnalyticsBranchCount(includeDeleted bool) (int64, *model.AppError) + func (s *OpenTracingLayerBranchStore) AnalyticsGetBranchCountForScheme(schemeId string) (int64, *model.AppError) + func (s *OpenTracingLayerBranchStore) ClearAllCustomRoleAssignments() *model.AppError + func (s *OpenTracingLayerBranchStore) ClearCaches() + func (s *OpenTracingLayerBranchStore) Get(id string) (*model.Branch, *model.AppError) + func (s *OpenTracingLayerBranchStore) GetActiveMemberCount(branchId string, restrictions *model.ViewUsersRestrictions) (int64, *model.AppError) + func (s *OpenTracingLayerBranchStore) GetAll() ([]*model.Branch, *model.AppError) + func (s *OpenTracingLayerBranchStore) GetAllForExportAfter(limit int, afterId string) ([]*model.BranchForExport, *model.AppError) + func (s *OpenTracingLayerBranchStore) GetAllPage(offset int, limit int) ([]*model.Branch, *model.AppError) + func (s *OpenTracingLayerBranchStore) GetBranchMembersForExport(userId string) ([]*model.BranchMemberForExport, *model.AppError) + func (s *OpenTracingLayerBranchStore) GetBranchesByScheme(schemeId string, offset int, limit int) ([]*model.Branch, *model.AppError) + func (s *OpenTracingLayerBranchStore) GetBranchesByUserId(userId string) ([]*model.Branch, *model.AppError) + func (s *OpenTracingLayerBranchStore) GetBranchesForUser(userId string) ([]*model.BranchMember, *model.AppError) + func (s *OpenTracingLayerBranchStore) GetBranchesForUserWithPagination(userId string, page int, perPage int) ([]*model.BranchMember, *model.AppError) + func (s *OpenTracingLayerBranchStore) GetByName(name string) (*model.Branch, *model.AppError) + func (s *OpenTracingLayerBranchStore) GetByNames(name []string) ([]*model.Branch, *model.AppError) + func (s *OpenTracingLayerBranchStore) GetBySchoolId(schoolId string) (*model.Branch, *model.AppError) + func (s *OpenTracingLayerBranchStore) GetMember(branchId string, userId string) (*model.BranchMember, *model.AppError) + func (s *OpenTracingLayerBranchStore) GetMembers(branchId string, offset int, limit int, ...) ([]*model.BranchMember, *model.AppError) + func (s *OpenTracingLayerBranchStore) GetMembersByIds(branchId string, userIds []string, restrictions *model.ViewUsersRestrictions) ([]*model.BranchMember, *model.AppError) + func (s *OpenTracingLayerBranchStore) GetTotalMemberCount(branchId string, restrictions *model.ViewUsersRestrictions) (int64, *model.AppError) + func (s *OpenTracingLayerBranchStore) GetUserBranchIds(userId string, allowFromCache bool) ([]string, *model.AppError) + func (s *OpenTracingLayerBranchStore) InvalidateAllBranchIdsForUser(userId string) + func (s *OpenTracingLayerBranchStore) MigrateBranchMembers(fromBranchId string, fromUserId string) (map[string]string, *model.AppError) + func (s *OpenTracingLayerBranchStore) PermanentDelete(branchId string) *model.AppError + func (s *OpenTracingLayerBranchStore) RemoveAllMembersByBranch(branchId string) *model.AppError + func (s *OpenTracingLayerBranchStore) RemoveAllMembersByUser(userId string) *model.AppError + func (s *OpenTracingLayerBranchStore) RemoveMember(branchId string, userId string) *model.AppError + func (s *OpenTracingLayerBranchStore) ResetAllBranchSchemes() *model.AppError + func (s *OpenTracingLayerBranchStore) Save(branch *model.Branch) (*model.Branch, *model.AppError) + func (s *OpenTracingLayerBranchStore) SaveMember(member *model.BranchMember, maxUsersPerBranch int) (*model.BranchMember, *model.AppError) + func (s *OpenTracingLayerBranchStore) Update(branch *model.Branch) (*model.Branch, *model.AppError) + func (s *OpenTracingLayerBranchStore) UpdateLastBranchIconUpdate(branchId string, curTime int64) *model.AppError + func (s *OpenTracingLayerBranchStore) UpdateMember(member *model.BranchMember) (*model.BranchMember, *model.AppError) + func (s *OpenTracingLayerBranchStore) UpdateMembersRole(branchID string, userIDs []string) *model.AppError + func (s *OpenTracingLayerBranchStore) UserBelongsToBranches(userId string, branchIds []string) (bool, *model.AppError) + type OpenTracingLayerClassStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerClassStore) ClearAllCustomRoleAssignments() *model.AppError + func (s *OpenTracingLayerClassStore) ClearCaches() + func (s *OpenTracingLayerClassStore) CreateDirectClass(userId *model.User, otherUserId *model.User) (*model.Class, *model.AppError) + func (s *OpenTracingLayerClassStore) Delete(classId string, time int64) *model.AppError + func (s *OpenTracingLayerClassStore) Get(id string, allowFromCache bool) (*model.Class, *model.AppError) + func (s *OpenTracingLayerClassStore) GetAll(branchId string) ([]*model.Class, *model.AppError) + func (s *OpenTracingLayerClassStore) GetAllClassMembersForUser(userId string, allowFromCache bool, includeDeleted bool) (map[string]string, *model.AppError) + func (s *OpenTracingLayerClassStore) GetAllClassMembersNotifyPropsForClass(classId string, allowFromCache bool) (map[string]model.StringMap, *model.AppError) + func (s *OpenTracingLayerClassStore) GetAllClasses(page int, perPage int, opts ClassSearchOpts) (*model.ClassListWithBranchData, *model.AppError) + func (s *OpenTracingLayerClassStore) GetAllClassesCount(opts ClassSearchOpts) (int64, *model.AppError) + func (s *OpenTracingLayerClassStore) GetAllClassesForExportAfter(limit int, afterId string) ([]*model.ClassForExport, *model.AppError) + func (s *OpenTracingLayerClassStore) GetBranchClasses(branchId string) (*model.ClassList, *model.AppError) + func (s *OpenTracingLayerClassStore) GetByName(branch_id string, name string, allowFromCache bool) (*model.Class, *model.AppError) + func (s *OpenTracingLayerClassStore) GetByNameIncludeDeleted(branch_id string, name string, allowFromCache bool) (*model.Class, *model.AppError) + func (s *OpenTracingLayerClassStore) GetByNames(branch_id string, names []string, allowFromCache bool) ([]*model.Class, *model.AppError) + func (s *OpenTracingLayerClassStore) GetClassMembersForExport(userId string, branchId string) ([]*model.ClassMemberForExport, *model.AppError) + func (s *OpenTracingLayerClassStore) GetClassMembersTimezones(classId string) ([]model.StringMap, *model.AppError) + func (s *OpenTracingLayerClassStore) GetClasses(branchId string, userId string, includeDeleted bool) (*model.ClassList, *model.AppError) + func (s *OpenTracingLayerClassStore) GetClassesBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.Class, *model.AppError) + func (s *OpenTracingLayerClassStore) GetClassesByIds(classIds []string, includeDeleted bool) ([]*model.Class, *model.AppError) + func (s *OpenTracingLayerClassStore) GetClassesByScheme(schemeId string, offset int, limit int) (model.ClassList, *model.AppError) + func (s *OpenTracingLayerClassStore) GetDeleted(branch_id string, offset int, limit int, userId string) (*model.ClassList, *model.AppError) + func (s *OpenTracingLayerClassStore) GetDeletedByName(branch_id string, name string) (*model.Class, *model.AppError) + func (s *OpenTracingLayerClassStore) GetFromMaster(id string) (*model.Class, *model.AppError) + func (s *OpenTracingLayerClassStore) GetMember(classId string, userId string) (*model.ClassMember, *model.AppError) + func (s *OpenTracingLayerClassStore) GetMemberCount(classId string, allowFromCache bool) (int64, *model.AppError) + func (s *OpenTracingLayerClassStore) GetMemberCountFromCache(classId string) int64 + func (s *OpenTracingLayerClassStore) GetMembers(classId string, offset int, limit int) (*model.ClassMembers, *model.AppError) + func (s *OpenTracingLayerClassStore) GetMembersByIds(classId string, userIds []string) (*model.ClassMembers, *model.AppError) + func (s *OpenTracingLayerClassStore) GetMembersForUser(branchId string, userId string) (*model.ClassMembers, *model.AppError) + func (s *OpenTracingLayerClassStore) GetMembersForUserWithPagination(branchId string, userId string, page int, perPage int) (*model.ClassMembers, *model.AppError) + func (s *OpenTracingLayerClassStore) GetMoreClasses(branchId string, userId string, offset int, limit int) (*model.ClassList, *model.AppError) + func (s *OpenTracingLayerClassStore) InvalidateAllClassMembersForUser(userId string) + func (s *OpenTracingLayerClassStore) InvalidateCacheForClassMembersNotifyProps(classId string) + func (s *OpenTracingLayerClassStore) InvalidateClass(id string) + func (s *OpenTracingLayerClassStore) InvalidateClassByName(branchId string, name string) + func (s *OpenTracingLayerClassStore) InvalidateMemberCount(classId string) + func (s *OpenTracingLayerClassStore) IsUserInClassUseCache(userId string, classId string) bool + func (s *OpenTracingLayerClassStore) MigrateClassMembers(fromClassId string, fromUserId string) (map[string]string, *model.AppError) + func (s *OpenTracingLayerClassStore) PermanentDelete(classId string) *model.AppError + func (s *OpenTracingLayerClassStore) PermanentDeleteByBranch(branchId string) *model.AppError + func (s *OpenTracingLayerClassStore) PermanentDeleteMembersByClass(classId string) *model.AppError + func (s *OpenTracingLayerClassStore) PermanentDeleteMembersByUser(userId string) *model.AppError + func (s *OpenTracingLayerClassStore) RemoveAllDeactivatedMembers(classId string) *model.AppError + func (s *OpenTracingLayerClassStore) RemoveMember(classId string, userId string) *model.AppError + func (s *OpenTracingLayerClassStore) ResetAllClassSchemes() *model.AppError + func (s *OpenTracingLayerClassStore) Restore(classId string, time int64) *model.AppError + func (s *OpenTracingLayerClassStore) Save(class *model.Class, maxClassesPerBranch int64) (*model.Class, *model.AppError) + func (s *OpenTracingLayerClassStore) SaveDirectClass(class *model.Class, member1 *model.ClassMember, member2 *model.ClassMember) (*model.Class, *model.AppError) + func (s *OpenTracingLayerClassStore) SaveMember(member *model.ClassMember) (*model.ClassMember, *model.AppError) + func (s *OpenTracingLayerClassStore) SetDeleteAt(classId string, deleteAt int64, updateAt int64) *model.AppError + func (s *OpenTracingLayerClassStore) Update(class *model.Class) (*model.Class, *model.AppError) + func (s *OpenTracingLayerClassStore) UpdateMember(member *model.ClassMember) (*model.ClassMember, *model.AppError) + func (s *OpenTracingLayerClassStore) UpdateMembersRole(classID string, userIDs []string) *model.AppError + func (s *OpenTracingLayerClassStore) UserBelongsToClasses(userId string, classIds []string) (bool, *model.AppError) + type OpenTracingLayerClusterDiscoveryStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerClusterDiscoveryStore) Cleanup() *model.AppError + func (s *OpenTracingLayerClusterDiscoveryStore) Delete(discovery *model.ClusterDiscovery) (bool, *model.AppError) + func (s *OpenTracingLayerClusterDiscoveryStore) Exists(discovery *model.ClusterDiscovery) (bool, *model.AppError) + func (s *OpenTracingLayerClusterDiscoveryStore) GetAll(discoveryType string, clusterName string) ([]*model.ClusterDiscovery, *model.AppError) + func (s *OpenTracingLayerClusterDiscoveryStore) Save(discovery *model.ClusterDiscovery) *model.AppError + func (s *OpenTracingLayerClusterDiscoveryStore) SetLastPingAt(discovery *model.ClusterDiscovery) *model.AppError + type OpenTracingLayerCommandStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerCommandStore) AnalyticsCommandCount(teamId string) (int64, *model.AppError) + func (s *OpenTracingLayerCommandStore) Delete(commandId string, time int64) *model.AppError + func (s *OpenTracingLayerCommandStore) Get(id string) (*model.Command, *model.AppError) + func (s *OpenTracingLayerCommandStore) GetByTeam(teamId string) ([]*model.Command, *model.AppError) + func (s *OpenTracingLayerCommandStore) GetByTrigger(teamId string, trigger string) (*model.Command, *model.AppError) + func (s *OpenTracingLayerCommandStore) PermanentDeleteByTeam(teamId string) *model.AppError + func (s *OpenTracingLayerCommandStore) PermanentDeleteByUser(userId string) *model.AppError + func (s *OpenTracingLayerCommandStore) Save(webhook *model.Command) (*model.Command, *model.AppError) + func (s *OpenTracingLayerCommandStore) Update(hook *model.Command) (*model.Command, *model.AppError) + type OpenTracingLayerCommandWebhookStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerCommandWebhookStore) Cleanup() + func (s *OpenTracingLayerCommandWebhookStore) Get(id string) (*model.CommandWebhook, *model.AppError) + func (s *OpenTracingLayerCommandWebhookStore) Save(webhook *model.CommandWebhook) (*model.CommandWebhook, *model.AppError) + func (s *OpenTracingLayerCommandWebhookStore) TryUse(id string, limit int) *model.AppError + type OpenTracingLayerComplianceStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerComplianceStore) ComplianceExport(compliance *model.Compliance) ([]*model.CompliancePost, *model.AppError) + func (s *OpenTracingLayerComplianceStore) Get(id string) (*model.Compliance, *model.AppError) + func (s *OpenTracingLayerComplianceStore) GetAll(offset int, limit int) (model.Compliances, *model.AppError) + func (s *OpenTracingLayerComplianceStore) MessageExport(after int64, limit int) ([]*model.MessageExport, *model.AppError) + func (s *OpenTracingLayerComplianceStore) Save(compliance *model.Compliance) (*model.Compliance, *model.AppError) + func (s *OpenTracingLayerComplianceStore) Update(compliance *model.Compliance) (*model.Compliance, *model.AppError) + type OpenTracingLayerEmojiStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerEmojiStore) Delete(emoji *model.Emoji, time int64) *model.AppError + func (s *OpenTracingLayerEmojiStore) Get(id string, allowFromCache bool) (*model.Emoji, *model.AppError) + func (s *OpenTracingLayerEmojiStore) GetByName(name string, allowFromCache bool) (*model.Emoji, *model.AppError) + func (s *OpenTracingLayerEmojiStore) GetList(offset int, limit int, sort string) ([]*model.Emoji, *model.AppError) + func (s *OpenTracingLayerEmojiStore) GetMultipleByName(names []string) ([]*model.Emoji, *model.AppError) + func (s *OpenTracingLayerEmojiStore) Save(emoji *model.Emoji) (*model.Emoji, *model.AppError) + func (s *OpenTracingLayerEmojiStore) Search(name string, prefixOnly bool, limit int) ([]*model.Emoji, *model.AppError) + type OpenTracingLayerFileInfoStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerFileInfoStore) AttachToPost(fileId string, postId string, creatorId string) *model.AppError + func (s *OpenTracingLayerFileInfoStore) ClearCaches() + func (s *OpenTracingLayerFileInfoStore) DeleteForPost(postId string) (string, *model.AppError) + func (s *OpenTracingLayerFileInfoStore) Get(id string) (*model.FileInfo, *model.AppError) + func (s *OpenTracingLayerFileInfoStore) GetByPath(path string) (*model.FileInfo, *model.AppError) + func (s *OpenTracingLayerFileInfoStore) GetForPost(postId string, readFromMaster bool, includeDeleted bool, allowFromCache bool) ([]*model.FileInfo, *model.AppError) + func (s *OpenTracingLayerFileInfoStore) GetForUser(userId string) ([]*model.FileInfo, *model.AppError) + func (s *OpenTracingLayerFileInfoStore) GetWithOptions(page int, perPage int, opt *model.GetFileInfosOptions) ([]*model.FileInfo, *model.AppError) + func (s *OpenTracingLayerFileInfoStore) InvalidateFileInfosForPostCache(postId string, deleted bool) + func (s *OpenTracingLayerFileInfoStore) PermanentDelete(fileId string) *model.AppError + func (s *OpenTracingLayerFileInfoStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, *model.AppError) + func (s *OpenTracingLayerFileInfoStore) PermanentDeleteByUser(userId string) (int64, *model.AppError) + func (s *OpenTracingLayerFileInfoStore) Save(info *model.FileInfo) (*model.FileInfo, *model.AppError) + type OpenTracingLayerJobStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerJobStore) Delete(id string) (string, *model.AppError) + func (s *OpenTracingLayerJobStore) Get(id string) (*model.Job, *model.AppError) + func (s *OpenTracingLayerJobStore) GetAllByStatus(status string) ([]*model.Job, *model.AppError) + func (s *OpenTracingLayerJobStore) GetAllByType(jobType string) ([]*model.Job, *model.AppError) + func (s *OpenTracingLayerJobStore) GetAllByTypePage(jobType string, offset int, limit int) ([]*model.Job, *model.AppError) + func (s *OpenTracingLayerJobStore) GetAllPage(offset int, limit int) ([]*model.Job, *model.AppError) + func (s *OpenTracingLayerJobStore) GetCountByStatusAndType(status string, jobType string) (int64, *model.AppError) + func (s *OpenTracingLayerJobStore) GetNewestJobByStatusAndType(status string, jobType string) (*model.Job, *model.AppError) + func (s *OpenTracingLayerJobStore) Save(job *model.Job) (*model.Job, *model.AppError) + func (s *OpenTracingLayerJobStore) UpdateOptimistically(job *model.Job, currentStatus string) (bool, *model.AppError) + func (s *OpenTracingLayerJobStore) UpdateStatus(id string, status string) (*model.Job, *model.AppError) + func (s *OpenTracingLayerJobStore) UpdateStatusOptimistically(id string, currentStatus string, newStatus string) (bool, *model.AppError) + type OpenTracingLayerLicenseStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerLicenseStore) Get(id string) (*model.LicenseRecord, *model.AppError) + func (s *OpenTracingLayerLicenseStore) Save(license *model.LicenseRecord) (*model.LicenseRecord, *model.AppError) + type OpenTracingLayerLinkMetadataStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerLinkMetadataStore) Get(url string, timestamp int64) (*model.LinkMetadata, *model.AppError) + func (s *OpenTracingLayerLinkMetadataStore) Save(linkMetadata *model.LinkMetadata) (*model.LinkMetadata, *model.AppError) + type OpenTracingLayerOAuthStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerOAuthStore) DeleteApp(id string) *model.AppError + func (s *OpenTracingLayerOAuthStore) GetAccessData(token string) (*model.AccessData, *model.AppError) + func (s *OpenTracingLayerOAuthStore) GetAccessDataByRefreshToken(token string) (*model.AccessData, *model.AppError) + func (s *OpenTracingLayerOAuthStore) GetAccessDataByUserForApp(userId string, clientId string) ([]*model.AccessData, *model.AppError) + func (s *OpenTracingLayerOAuthStore) GetApp(id string) (*model.OAuthApp, *model.AppError) + func (s *OpenTracingLayerOAuthStore) GetAppByUser(userId string, offset int, limit int) ([]*model.OAuthApp, *model.AppError) + func (s *OpenTracingLayerOAuthStore) GetApps(offset int, limit int) ([]*model.OAuthApp, *model.AppError) + func (s *OpenTracingLayerOAuthStore) GetAuthData(code string) (*model.AuthData, *model.AppError) + func (s *OpenTracingLayerOAuthStore) GetAuthorizedApps(userId string, offset int, limit int) ([]*model.OAuthApp, *model.AppError) + func (s *OpenTracingLayerOAuthStore) GetPreviousAccessData(userId string, clientId string) (*model.AccessData, *model.AppError) + func (s *OpenTracingLayerOAuthStore) PermanentDeleteAuthDataByUser(userId string) *model.AppError + func (s *OpenTracingLayerOAuthStore) RemoveAccessData(token string) *model.AppError + func (s *OpenTracingLayerOAuthStore) RemoveAllAccessData() *model.AppError + func (s *OpenTracingLayerOAuthStore) RemoveAuthData(code string) *model.AppError + func (s *OpenTracingLayerOAuthStore) SaveAccessData(accessData *model.AccessData) (*model.AccessData, *model.AppError) + func (s *OpenTracingLayerOAuthStore) SaveApp(app *model.OAuthApp) (*model.OAuthApp, *model.AppError) + func (s *OpenTracingLayerOAuthStore) SaveAuthData(authData *model.AuthData) (*model.AuthData, *model.AppError) + func (s *OpenTracingLayerOAuthStore) UpdateAccessData(accessData *model.AccessData) (*model.AccessData, *model.AppError) + func (s *OpenTracingLayerOAuthStore) UpdateApp(app *model.OAuthApp) (*model.OAuthApp, *model.AppError) + type OpenTracingLayerPreferenceStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerPreferenceStore) CleanupFlagsBatch(limit int64) (int64, *model.AppError) + func (s *OpenTracingLayerPreferenceStore) Delete(userId string, category string, name string) *model.AppError + func (s *OpenTracingLayerPreferenceStore) DeleteCategory(userId string, category string) *model.AppError + func (s *OpenTracingLayerPreferenceStore) DeleteCategoryAndName(category string, name string) *model.AppError + func (s *OpenTracingLayerPreferenceStore) Get(userId string, category string, name string) (*model.Preference, *model.AppError) + func (s *OpenTracingLayerPreferenceStore) GetAll(userId string) (model.Preferences, *model.AppError) + func (s *OpenTracingLayerPreferenceStore) GetCategory(userId string, category string) (model.Preferences, *model.AppError) + func (s *OpenTracingLayerPreferenceStore) PermanentDeleteByUser(userId string) *model.AppError + func (s *OpenTracingLayerPreferenceStore) Save(preferences *model.Preferences) *model.AppError + type OpenTracingLayerReactionStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerReactionStore) BulkGetForPosts(postIds []string) ([]*model.Reaction, *model.AppError) + func (s *OpenTracingLayerReactionStore) Delete(reaction *model.Reaction) (*model.Reaction, *model.AppError) + func (s *OpenTracingLayerReactionStore) DeleteAllWithEmojiName(emojiName string) *model.AppError + func (s *OpenTracingLayerReactionStore) GetForPost(postId string, allowFromCache bool) ([]*model.Reaction, *model.AppError) + func (s *OpenTracingLayerReactionStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, *model.AppError) + func (s *OpenTracingLayerReactionStore) Save(reaction *model.Reaction) (*model.Reaction, *model.AppError) + type OpenTracingLayerRoleStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerRoleStore) AllClassSchemeRoles() ([]*model.Role, *model.AppError) + func (s *OpenTracingLayerRoleStore) ClassHigherScopedPermissions(roleNames []string) (map[string]*model.RolePermissions, *model.AppError) + func (s *OpenTracingLayerRoleStore) ClassRolesUnderBranchRole(roleName string) ([]*model.Role, *model.AppError) + func (s *OpenTracingLayerRoleStore) Delete(roleId string) (*model.Role, *model.AppError) + func (s *OpenTracingLayerRoleStore) Get(roleId string) (*model.Role, *model.AppError) + func (s *OpenTracingLayerRoleStore) GetAll() ([]*model.Role, *model.AppError) + func (s *OpenTracingLayerRoleStore) GetByName(name string) (*model.Role, *model.AppError) + func (s *OpenTracingLayerRoleStore) GetByNames(names []string) ([]*model.Role, *model.AppError) + func (s *OpenTracingLayerRoleStore) PermanentDeleteAll() *model.AppError + func (s *OpenTracingLayerRoleStore) Save(role *model.Role) (*model.Role, *model.AppError) + type OpenTracingLayerSchemeStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerSchemeStore) CountByScope(scope string) (int64, *model.AppError) + func (s *OpenTracingLayerSchemeStore) CountWithoutPermission(scope string, permissionID string, roleScope model.RoleScope, ...) (int64, *model.AppError) + func (s *OpenTracingLayerSchemeStore) Delete(schemeId string) (*model.Scheme, *model.AppError) + func (s *OpenTracingLayerSchemeStore) Get(schemeId string) (*model.Scheme, *model.AppError) + func (s *OpenTracingLayerSchemeStore) GetAllPage(scope string, offset int, limit int) ([]*model.Scheme, *model.AppError) + func (s *OpenTracingLayerSchemeStore) GetByName(schemeName string) (*model.Scheme, *model.AppError) + func (s *OpenTracingLayerSchemeStore) PermanentDeleteAll() *model.AppError + func (s *OpenTracingLayerSchemeStore) Save(scheme *model.Scheme) (*model.Scheme, *model.AppError) + type OpenTracingLayerSessionStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerSessionStore) AnalyticsSessionCount() (int64, *model.AppError) + func (s *OpenTracingLayerSessionStore) Cleanup(expiryTime int64, batchSize int64) + func (s *OpenTracingLayerSessionStore) Get(sessionIdOrToken string) (*model.Session, *model.AppError) + func (s *OpenTracingLayerSessionStore) GetSessions(userId string) ([]*model.Session, *model.AppError) + func (s *OpenTracingLayerSessionStore) GetSessionsWithActiveDeviceIds(userId string) ([]*model.Session, *model.AppError) + func (s *OpenTracingLayerSessionStore) PermanentDeleteSessionsByUser(teamId string) *model.AppError + func (s *OpenTracingLayerSessionStore) Remove(sessionIdOrToken string) *model.AppError + func (s *OpenTracingLayerSessionStore) RemoveAllSessions() *model.AppError + func (s *OpenTracingLayerSessionStore) Save(session *model.Session) (*model.Session, *model.AppError) + func (s *OpenTracingLayerSessionStore) UpdateDeviceId(id string, deviceId string, expiresAt int64) (string, *model.AppError) + func (s *OpenTracingLayerSessionStore) UpdateLastActivityAt(sessionId string, time int64) *model.AppError + func (s *OpenTracingLayerSessionStore) UpdateProps(session *model.Session) *model.AppError + func (s *OpenTracingLayerSessionStore) UpdateRoles(userId string, roles string) (string, *model.AppError) + type OpenTracingLayerStatusStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerStatusStore) Get(userId string) (*model.Status, *model.AppError) + func (s *OpenTracingLayerStatusStore) GetByIds(userIds []string) ([]*model.Status, *model.AppError) + func (s *OpenTracingLayerStatusStore) GetTotalActiveUsersCount() (int64, *model.AppError) + func (s *OpenTracingLayerStatusStore) ResetAll() *model.AppError + func (s *OpenTracingLayerStatusStore) SaveOrUpdate(status *model.Status) *model.AppError + func (s *OpenTracingLayerStatusStore) UpdateLastActivityAt(userId string, lastActivityAt int64) *model.AppError + type OpenTracingLayerSystemStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerSystemStore) Get() (model.StringMap, *model.AppError) + func (s *OpenTracingLayerSystemStore) GetByName(name string) (*model.System, *model.AppError) + func (s *OpenTracingLayerSystemStore) PermanentDeleteByName(name string) (*model.System, *model.AppError) + func (s *OpenTracingLayerSystemStore) Save(system *model.System) *model.AppError + func (s *OpenTracingLayerSystemStore) SaveOrUpdate(system *model.System) *model.AppError + func (s *OpenTracingLayerSystemStore) Update(system *model.System) *model.AppError + type OpenTracingLayerTermsOfServiceStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerTermsOfServiceStore) Get(id string, allowFromCache bool) (*model.TermsOfService, *model.AppError) + func (s *OpenTracingLayerTermsOfServiceStore) GetLatest(allowFromCache bool) (*model.TermsOfService, *model.AppError) + func (s *OpenTracingLayerTermsOfServiceStore) Save(termsOfService *model.TermsOfService) (*model.TermsOfService, *model.AppError) + type OpenTracingLayerTokenStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerTokenStore) Cleanup() + func (s *OpenTracingLayerTokenStore) Delete(token string) *model.AppError + func (s *OpenTracingLayerTokenStore) GetByToken(token string) (*model.Token, *model.AppError) + func (s *OpenTracingLayerTokenStore) RemoveAllTokensByType(tokenType string) *model.AppError + func (s *OpenTracingLayerTokenStore) Save(recovery *model.Token) *model.AppError + type OpenTracingLayerUserAccessTokenStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerUserAccessTokenStore) Delete(tokenId string) *model.AppError + func (s *OpenTracingLayerUserAccessTokenStore) DeleteAllForUser(userId string) *model.AppError + func (s *OpenTracingLayerUserAccessTokenStore) Get(tokenId string) (*model.UserAccessToken, *model.AppError) + func (s *OpenTracingLayerUserAccessTokenStore) GetAll(offset int, limit int) ([]*model.UserAccessToken, *model.AppError) + func (s *OpenTracingLayerUserAccessTokenStore) GetByToken(tokenString string) (*model.UserAccessToken, *model.AppError) + func (s *OpenTracingLayerUserAccessTokenStore) GetByUser(userId string, page int, perPage int) ([]*model.UserAccessToken, *model.AppError) + func (s *OpenTracingLayerUserAccessTokenStore) Save(token *model.UserAccessToken) (*model.UserAccessToken, *model.AppError) + func (s *OpenTracingLayerUserAccessTokenStore) Search(term string) ([]*model.UserAccessToken, *model.AppError) + func (s *OpenTracingLayerUserAccessTokenStore) UpdateTokenDisable(tokenId string) *model.AppError + func (s *OpenTracingLayerUserAccessTokenStore) UpdateTokenEnable(tokenId string) *model.AppError + type OpenTracingLayerUserStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerUserStore) AnalyticsActiveCount(time int64, options model.UserCountOptions) (int64, *model.AppError) + func (s *OpenTracingLayerUserStore) AnalyticsGetInactiveUsersCount() (int64, *model.AppError) + func (s *OpenTracingLayerUserStore) AnalyticsGetSystemAdminCount() (int64, *model.AppError) + func (s *OpenTracingLayerUserStore) ClearAllCustomRoleAssignments() *model.AppError + func (s *OpenTracingLayerUserStore) ClearCaches() + func (s *OpenTracingLayerUserStore) Count(options model.UserCountOptions) (int64, *model.AppError) + func (s *OpenTracingLayerUserStore) Get(id string) (*model.User, *model.AppError) + func (s *OpenTracingLayerUserStore) GetAll() ([]*model.User, *model.AppError) + func (s *OpenTracingLayerUserStore) GetAllAfter(limit int, afterId string) ([]*model.User, *model.AppError) + func (s *OpenTracingLayerUserStore) GetAllProfiles(options *model.UserGetOptions) ([]*model.User, *model.AppError) + func (s *OpenTracingLayerUserStore) GetAllProfilesInClass(classId string, allowFromCache bool) (map[string]*model.User, *model.AppError) + func (s *OpenTracingLayerUserStore) GetAllUsingAuthService(authService string) ([]*model.User, *model.AppError) + func (s *OpenTracingLayerUserStore) GetByAuth(authData *string, authService string) (*model.User, *model.AppError) + func (s *OpenTracingLayerUserStore) GetByEmail(email string) (*model.User, *model.AppError) + func (s *OpenTracingLayerUserStore) GetByUsername(username string) (*model.User, *model.AppError) + func (s *OpenTracingLayerUserStore) GetEtagForAllProfiles() string + func (s *OpenTracingLayerUserStore) GetEtagForProfiles(branchId string) string + func (s *OpenTracingLayerUserStore) GetForLogin(loginId string, allowSignInWithUsername bool, allowSignInWithEmail bool) (*model.User, *model.AppError) + func (s *OpenTracingLayerUserStore) GetNewUsersForBranch(branchId string, offset int, limit int, ...) ([]*model.User, *model.AppError) + func (s *OpenTracingLayerUserStore) GetProfileByIds(userIds []string, options *UserGetByIdsOpts, allowFromCache bool) ([]*model.User, *model.AppError) + func (s *OpenTracingLayerUserStore) GetProfiles(options *model.UserGetOptions) ([]*model.User, *model.AppError) + func (s *OpenTracingLayerUserStore) GetProfilesByUsernames(usernames []string, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, *model.AppError) + func (s *OpenTracingLayerUserStore) GetProfilesInClass(classId string, offset int, limit int) ([]*model.User, *model.AppError) + func (s *OpenTracingLayerUserStore) GetProfilesInClassByStatus(classId string, offset int, limit int) ([]*model.User, *model.AppError) + func (s *OpenTracingLayerUserStore) GetProfilesNotInClass(branchId string, classId string, groupConstrained bool, offset int, limit int, ...) ([]*model.User, *model.AppError) + func (s *OpenTracingLayerUserStore) GetProfilesWithoutBranch(options *model.UserGetOptions) ([]*model.User, *model.AppError) + func (s *OpenTracingLayerUserStore) GetRecentlyActiveUsersForBranch(branchId string, offset int, limit int, ...) ([]*model.User, *model.AppError) + func (s *OpenTracingLayerUserStore) GetSystemAdminProfiles() (map[string]*model.User, *model.AppError) + func (s *OpenTracingLayerUserStore) GetUsersBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.UserForIndexing, *model.AppError) + func (s *OpenTracingLayerUserStore) InferSystemInstallDate() (int64, *model.AppError) + func (s *OpenTracingLayerUserStore) InvalidateProfileCacheForUser(userId string) + func (s *OpenTracingLayerUserStore) InvalidateProfilesInClassCache(classId string) + func (s *OpenTracingLayerUserStore) InvalidateProfilesInClassCacheByUser(userId string) + func (s *OpenTracingLayerUserStore) PermanentDelete(userId string) *model.AppError + func (s *OpenTracingLayerUserStore) ResetLastPictureUpdate(userId string) *model.AppError + func (s *OpenTracingLayerUserStore) Save(user *model.User) (*model.User, *model.AppError) + func (s *OpenTracingLayerUserStore) Update(user *model.User, allowRoleUpdate bool) (*model.UserUpdate, *model.AppError) + func (s *OpenTracingLayerUserStore) UpdateAuthData(userId string, service string, authData *string, email string, resetMfa bool) (string, *model.AppError) + func (s *OpenTracingLayerUserStore) UpdateFailedPasswordAttempts(userId string, attempts int) *model.AppError + func (s *OpenTracingLayerUserStore) UpdateLastPictureUpdate(userId string) *model.AppError + func (s *OpenTracingLayerUserStore) UpdateMfaActive(userId string, active bool) *model.AppError + func (s *OpenTracingLayerUserStore) UpdateMfaSecret(userId string, secret string) *model.AppError + func (s *OpenTracingLayerUserStore) UpdatePassword(userId string, newPassword string) *model.AppError + func (s *OpenTracingLayerUserStore) UpdateUpdateAt(userId string) (int64, *model.AppError) + func (s *OpenTracingLayerUserStore) VerifyEmail(userId string, email string) (string, *model.AppError) + type OpenTracingLayerUserTermsOfServiceStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerUserTermsOfServiceStore) Delete(userId string, termsOfServiceId string) *model.AppError + func (s *OpenTracingLayerUserTermsOfServiceStore) GetByUser(userId string) (*model.UserTermsOfService, *model.AppError) + func (s *OpenTracingLayerUserTermsOfServiceStore) Save(userTermsOfService *model.UserTermsOfService) (*model.UserTermsOfService, *model.AppError) + type OpenTracingLayerWebhookStore struct + Root *OpenTracingLayer + func (s *OpenTracingLayerWebhookStore) AnalyticsIncomingCount(teamId string) (int64, *model.AppError) + func (s *OpenTracingLayerWebhookStore) AnalyticsOutgoingCount(teamId string) (int64, *model.AppError) + func (s *OpenTracingLayerWebhookStore) ClearCaches() + func (s *OpenTracingLayerWebhookStore) DeleteIncoming(webhookId string, time int64) *model.AppError + func (s *OpenTracingLayerWebhookStore) DeleteOutgoing(webhookId string, time int64) *model.AppError + func (s *OpenTracingLayerWebhookStore) GetIncoming(id string, allowFromCache bool) (*model.IncomingWebhook, *model.AppError) + func (s *OpenTracingLayerWebhookStore) GetIncomingByChannel(channelId string) ([]*model.IncomingWebhook, *model.AppError) + func (s *OpenTracingLayerWebhookStore) GetIncomingByTeam(teamId string, offset int, limit int) ([]*model.IncomingWebhook, *model.AppError) + func (s *OpenTracingLayerWebhookStore) GetIncomingByTeamByUser(teamId string, userId string, offset int, limit int) ([]*model.IncomingWebhook, *model.AppError) + func (s *OpenTracingLayerWebhookStore) GetIncomingList(offset int, limit int) ([]*model.IncomingWebhook, *model.AppError) + func (s *OpenTracingLayerWebhookStore) GetIncomingListByUser(userId string, offset int, limit int) ([]*model.IncomingWebhook, *model.AppError) + func (s *OpenTracingLayerWebhookStore) GetOutgoing(id string) (*model.OutgoingWebhook, *model.AppError) + func (s *OpenTracingLayerWebhookStore) GetOutgoingByChannel(channelId string, offset int, limit int) ([]*model.OutgoingWebhook, *model.AppError) + func (s *OpenTracingLayerWebhookStore) GetOutgoingByChannelByUser(channelId string, userId string, offset int, limit int) ([]*model.OutgoingWebhook, *model.AppError) + func (s *OpenTracingLayerWebhookStore) GetOutgoingByTeam(teamId string, offset int, limit int) ([]*model.OutgoingWebhook, *model.AppError) + func (s *OpenTracingLayerWebhookStore) GetOutgoingByTeamByUser(teamId string, userId string, offset int, limit int) ([]*model.OutgoingWebhook, *model.AppError) + func (s *OpenTracingLayerWebhookStore) GetOutgoingList(offset int, limit int) ([]*model.OutgoingWebhook, *model.AppError) + func (s *OpenTracingLayerWebhookStore) GetOutgoingListByUser(userId string, offset int, limit int) ([]*model.OutgoingWebhook, *model.AppError) + func (s *OpenTracingLayerWebhookStore) InvalidateWebhookCache(webhook string) + func (s *OpenTracingLayerWebhookStore) PermanentDeleteIncomingByChannel(channelId string) *model.AppError + func (s *OpenTracingLayerWebhookStore) PermanentDeleteIncomingByUser(userId string) *model.AppError + func (s *OpenTracingLayerWebhookStore) PermanentDeleteOutgoingByChannel(channelId string) *model.AppError + func (s *OpenTracingLayerWebhookStore) PermanentDeleteOutgoingByUser(userId string) *model.AppError + func (s *OpenTracingLayerWebhookStore) SaveIncoming(webhook *model.IncomingWebhook) (*model.IncomingWebhook, *model.AppError) + func (s *OpenTracingLayerWebhookStore) SaveOutgoing(webhook *model.OutgoingWebhook) (*model.OutgoingWebhook, *model.AppError) + func (s *OpenTracingLayerWebhookStore) UpdateIncoming(webhook *model.IncomingWebhook) (*model.IncomingWebhook, *model.AppError) + func (s *OpenTracingLayerWebhookStore) UpdateOutgoing(hook *model.OutgoingWebhook) (*model.OutgoingWebhook, *model.AppError) + type OrphanedRecord struct + ChildId *string + ParentId *string + type PreferenceStore interface + CleanupFlagsBatch func(limit int64) (int64, *model.AppError) + Delete func(userId, category, name string) *model.AppError + DeleteCategory func(userId string, category string) *model.AppError + DeleteCategoryAndName func(category string, name string) *model.AppError + Get func(userId string, category string, name string) (*model.Preference, *model.AppError) + GetAll func(userId string) (model.Preferences, *model.AppError) + GetCategory func(userId string, category string) (model.Preferences, *model.AppError) + PermanentDeleteByUser func(userId string) *model.AppError + Save func(preferences *model.Preferences) *model.AppError + type ReactionStore interface + BulkGetForPosts func(postIds []string) ([]*model.Reaction, *model.AppError) + Delete func(reaction *model.Reaction) (*model.Reaction, *model.AppError) + DeleteAllWithEmojiName func(emojiName string) *model.AppError + GetForPost func(postId string, allowFromCache bool) ([]*model.Reaction, *model.AppError) + PermanentDeleteBatch func(endTime int64, limit int64) (int64, *model.AppError) + Save func(reaction *model.Reaction) (*model.Reaction, *model.AppError) + type RelationalIntegrityCheckData struct + ChildIdAttr string + ChildName string + ParentIdAttr string + ParentName string + Records []OrphanedRecord + type RoleStore interface + AllClassSchemeRoles func() ([]*model.Role, *model.AppError) + ClassHigherScopedPermissions func(roleNames []string) (map[string]*model.RolePermissions, *model.AppError) + ClassRolesUnderBranchRole func(roleName string) ([]*model.Role, *model.AppError) + Delete func(roleId string) (*model.Role, *model.AppError) + Get func(roleId string) (*model.Role, *model.AppError) + GetAll func() ([]*model.Role, *model.AppError) + GetByName func(name string) (*model.Role, *model.AppError) + GetByNames func(names []string) ([]*model.Role, *model.AppError) + PermanentDeleteAll func() *model.AppError + Save func(role *model.Role) (*model.Role, *model.AppError) + type SchemeStore interface + CountByScope func(scope string) (int64, *model.AppError) + CountWithoutPermission func(scope, permissionID string, roleScope model.RoleScope, roleType model.RoleType) (int64, *model.AppError) + Delete func(schemeId string) (*model.Scheme, *model.AppError) + Get func(schemeId string) (*model.Scheme, *model.AppError) + GetAllPage func(scope string, offset int, limit int) ([]*model.Scheme, *model.AppError) + GetByName func(schemeName string) (*model.Scheme, *model.AppError) + PermanentDeleteAll func() *model.AppError + Save func(scheme *model.Scheme) (*model.Scheme, *model.AppError) + type SessionStore interface + AnalyticsSessionCount func() (int64, *model.AppError) + Cleanup func(expiryTime int64, batchSize int64) + Get func(sessionIdOrToken string) (*model.Session, *model.AppError) + GetSessions func(userId string) ([]*model.Session, *model.AppError) + GetSessionsWithActiveDeviceIds func(userId string) ([]*model.Session, *model.AppError) + PermanentDeleteSessionsByUser func(teamId string) *model.AppError + Remove func(sessionIdOrToken string) *model.AppError + RemoveAllSessions func() *model.AppError + Save func(session *model.Session) (*model.Session, *model.AppError) + UpdateDeviceId func(id string, deviceId string, expiresAt int64) (string, *model.AppError) + UpdateLastActivityAt func(sessionId string, time int64) *model.AppError + UpdateProps func(session *model.Session) *model.AppError + UpdateRoles func(userId string, roles string) (string, *model.AppError) + type StatusStore interface + Get func(userId string) (*model.Status, *model.AppError) + GetByIds func(userIds []string) ([]*model.Status, *model.AppError) + GetTotalActiveUsersCount func() (int64, *model.AppError) + ResetAll func() *model.AppError + SaveOrUpdate func(status *model.Status) *model.AppError + UpdateLastActivityAt func(userId string, lastActivityAt int64) *model.AppError + type Store interface + Audit func() AuditStore + Branch func() BranchStore + CheckIntegrity func() <-chan IntegrityCheckResult + Class func() ClassStore + Close func() + ClusterDiscovery func() ClusterDiscoveryStore + Command func() CommandStore + CommandWebhook func() CommandWebhookStore + Compliance func() ComplianceStore + Context func() context.Context + DropAllTables func() + Emoji func() EmojiStore + FileInfo func() FileInfoStore + GetCurrentSchemaVersion func() string + Job func() JobStore + License func() LicenseStore + LinkMetadata func() LinkMetadataStore + LockToMaster func() + MarkSystemRanUnitTests func() + OAuth func() OAuthStore + Preference func() PreferenceStore + Reaction func() ReactionStore + Role func() RoleStore + Scheme func() SchemeStore + Session func() SessionStore + SetContext func(context context.Context) + Status func() StatusStore + System func() SystemStore + TermsOfService func() TermsOfServiceStore + Token func() TokenStore + TotalMasterDbConnections func() int + TotalReadDbConnections func() int + TotalSearchDbConnections func() int + UnlockFromMaster func() + User func() UserStore + UserAccessToken func() UserAccessTokenStore + UserTermsOfService func() UserTermsOfServiceStore + Webhook func() WebhookStore + type StoreResult struct + Data interface{} + Err *model.AppError + type SystemStore interface + Get func() (model.StringMap, *model.AppError) + GetByName func(name string) (*model.System, *model.AppError) + PermanentDeleteByName func(name string) (*model.System, *model.AppError) + Save func(system *model.System) *model.AppError + SaveOrUpdate func(system *model.System) *model.AppError + Update func(system *model.System) *model.AppError + type TermsOfServiceStore interface + Get func(id string, allowFromCache bool) (*model.TermsOfService, *model.AppError) + GetLatest func(allowFromCache bool) (*model.TermsOfService, *model.AppError) + Save func(termsOfService *model.TermsOfService) (*model.TermsOfService, *model.AppError) + type TimerLayer struct + AuditStore AuditStore + BranchStore BranchStore + ClassStore ClassStore + ClusterDiscoveryStore ClusterDiscoveryStore + CommandStore CommandStore + CommandWebhookStore CommandWebhookStore + ComplianceStore ComplianceStore + EmojiStore EmojiStore + FileInfoStore FileInfoStore + JobStore JobStore + LicenseStore LicenseStore + LinkMetadataStore LinkMetadataStore + Metrics einterfaces.MetricsInterface + OAuthStore OAuthStore + PreferenceStore PreferenceStore + ReactionStore ReactionStore + RoleStore RoleStore + SchemeStore SchemeStore + SessionStore SessionStore + StatusStore StatusStore + SystemStore SystemStore + TermsOfServiceStore TermsOfServiceStore + TokenStore TokenStore + UserAccessTokenStore UserAccessTokenStore + UserStore UserStore + UserTermsOfServiceStore UserTermsOfServiceStore + WebhookStore WebhookStore + func NewTimerLayer(childStore Store, metrics einterfaces.MetricsInterface) *TimerLayer + func (s *TimerLayer) Audit() AuditStore + func (s *TimerLayer) Branch() BranchStore + func (s *TimerLayer) Class() ClassStore + func (s *TimerLayer) Close() + func (s *TimerLayer) ClusterDiscovery() ClusterDiscoveryStore + func (s *TimerLayer) Command() CommandStore + func (s *TimerLayer) CommandWebhook() CommandWebhookStore + func (s *TimerLayer) Compliance() ComplianceStore + func (s *TimerLayer) DropAllTables() + func (s *TimerLayer) Emoji() EmojiStore + func (s *TimerLayer) FileInfo() FileInfoStore + func (s *TimerLayer) GetCurrentSchemaVersion() string + func (s *TimerLayer) Job() JobStore + func (s *TimerLayer) License() LicenseStore + func (s *TimerLayer) LinkMetadata() LinkMetadataStore + func (s *TimerLayer) LockToMaster() + func (s *TimerLayer) MarkSystemRanUnitTests() + func (s *TimerLayer) OAuth() OAuthStore + func (s *TimerLayer) Preference() PreferenceStore + func (s *TimerLayer) Reaction() ReactionStore + func (s *TimerLayer) Role() RoleStore + func (s *TimerLayer) Scheme() SchemeStore + func (s *TimerLayer) Session() SessionStore + func (s *TimerLayer) SetContext(context context.Context) + func (s *TimerLayer) Status() StatusStore + func (s *TimerLayer) System() SystemStore + func (s *TimerLayer) TermsOfService() TermsOfServiceStore + func (s *TimerLayer) Token() TokenStore + func (s *TimerLayer) TotalMasterDbConnections() int + func (s *TimerLayer) TotalReadDbConnections() int + func (s *TimerLayer) TotalSearchDbConnections() int + func (s *TimerLayer) UnlockFromMaster() + func (s *TimerLayer) User() UserStore + func (s *TimerLayer) UserAccessToken() UserAccessTokenStore + func (s *TimerLayer) UserTermsOfService() UserTermsOfServiceStore + func (s *TimerLayer) Webhook() WebhookStore + type TimerLayerAuditStore struct + Root *TimerLayer + func (s *TimerLayerAuditStore) Get(user_id string, offset int, limit int) (model.Audits, *model.AppError) + func (s *TimerLayerAuditStore) PermanentDeleteByUser(userId string) *model.AppError + func (s *TimerLayerAuditStore) Save(audit *model.Audit) *model.AppError + type TimerLayerBranchStore struct + Root *TimerLayer + func (s *TimerLayerBranchStore) AnalyticsBranchCount(includeDeleted bool) (int64, *model.AppError) + func (s *TimerLayerBranchStore) AnalyticsGetBranchCountForScheme(schemeId string) (int64, *model.AppError) + func (s *TimerLayerBranchStore) ClearAllCustomRoleAssignments() *model.AppError + func (s *TimerLayerBranchStore) ClearCaches() + func (s *TimerLayerBranchStore) Get(id string) (*model.Branch, *model.AppError) + func (s *TimerLayerBranchStore) GetActiveMemberCount(branchId string, restrictions *model.ViewUsersRestrictions) (int64, *model.AppError) + func (s *TimerLayerBranchStore) GetAll() ([]*model.Branch, *model.AppError) + func (s *TimerLayerBranchStore) GetAllForExportAfter(limit int, afterId string) ([]*model.BranchForExport, *model.AppError) + func (s *TimerLayerBranchStore) GetAllPage(offset int, limit int) ([]*model.Branch, *model.AppError) + func (s *TimerLayerBranchStore) GetBranchMembersForExport(userId string) ([]*model.BranchMemberForExport, *model.AppError) + func (s *TimerLayerBranchStore) GetBranchesByScheme(schemeId string, offset int, limit int) ([]*model.Branch, *model.AppError) + func (s *TimerLayerBranchStore) GetBranchesByUserId(userId string) ([]*model.Branch, *model.AppError) + func (s *TimerLayerBranchStore) GetBranchesForUser(userId string) ([]*model.BranchMember, *model.AppError) + func (s *TimerLayerBranchStore) GetBranchesForUserWithPagination(userId string, page int, perPage int) ([]*model.BranchMember, *model.AppError) + func (s *TimerLayerBranchStore) GetByName(name string) (*model.Branch, *model.AppError) + func (s *TimerLayerBranchStore) GetByNames(name []string) ([]*model.Branch, *model.AppError) + func (s *TimerLayerBranchStore) GetBySchoolId(schoolId string) (*model.Branch, *model.AppError) + func (s *TimerLayerBranchStore) GetMember(branchId string, userId string) (*model.BranchMember, *model.AppError) + func (s *TimerLayerBranchStore) GetMembers(branchId string, offset int, limit int, ...) ([]*model.BranchMember, *model.AppError) + func (s *TimerLayerBranchStore) GetMembersByIds(branchId string, userIds []string, restrictions *model.ViewUsersRestrictions) ([]*model.BranchMember, *model.AppError) + func (s *TimerLayerBranchStore) GetTotalMemberCount(branchId string, restrictions *model.ViewUsersRestrictions) (int64, *model.AppError) + func (s *TimerLayerBranchStore) GetUserBranchIds(userId string, allowFromCache bool) ([]string, *model.AppError) + func (s *TimerLayerBranchStore) InvalidateAllBranchIdsForUser(userId string) + func (s *TimerLayerBranchStore) MigrateBranchMembers(fromBranchId string, fromUserId string) (map[string]string, *model.AppError) + func (s *TimerLayerBranchStore) PermanentDelete(branchId string) *model.AppError + func (s *TimerLayerBranchStore) RemoveAllMembersByBranch(branchId string) *model.AppError + func (s *TimerLayerBranchStore) RemoveAllMembersByUser(userId string) *model.AppError + func (s *TimerLayerBranchStore) RemoveMember(branchId string, userId string) *model.AppError + func (s *TimerLayerBranchStore) ResetAllBranchSchemes() *model.AppError + func (s *TimerLayerBranchStore) Save(branch *model.Branch) (*model.Branch, *model.AppError) + func (s *TimerLayerBranchStore) SaveMember(member *model.BranchMember, maxUsersPerBranch int) (*model.BranchMember, *model.AppError) + func (s *TimerLayerBranchStore) Update(branch *model.Branch) (*model.Branch, *model.AppError) + func (s *TimerLayerBranchStore) UpdateLastBranchIconUpdate(branchId string, curTime int64) *model.AppError + func (s *TimerLayerBranchStore) UpdateMember(member *model.BranchMember) (*model.BranchMember, *model.AppError) + func (s *TimerLayerBranchStore) UpdateMembersRole(branchID string, userIDs []string) *model.AppError + func (s *TimerLayerBranchStore) UserBelongsToBranches(userId string, branchIds []string) (bool, *model.AppError) + type TimerLayerClassStore struct + Root *TimerLayer + func (s *TimerLayerClassStore) ClearAllCustomRoleAssignments() *model.AppError + func (s *TimerLayerClassStore) ClearCaches() + func (s *TimerLayerClassStore) CreateDirectClass(userId *model.User, otherUserId *model.User) (*model.Class, *model.AppError) + func (s *TimerLayerClassStore) Delete(classId string, time int64) *model.AppError + func (s *TimerLayerClassStore) Get(id string, allowFromCache bool) (*model.Class, *model.AppError) + func (s *TimerLayerClassStore) GetAll(branchId string) ([]*model.Class, *model.AppError) + func (s *TimerLayerClassStore) GetAllClassMembersForUser(userId string, allowFromCache bool, includeDeleted bool) (map[string]string, *model.AppError) + func (s *TimerLayerClassStore) GetAllClassMembersNotifyPropsForClass(classId string, allowFromCache bool) (map[string]model.StringMap, *model.AppError) + func (s *TimerLayerClassStore) GetAllClasses(page int, perPage int, opts ClassSearchOpts) (*model.ClassListWithBranchData, *model.AppError) + func (s *TimerLayerClassStore) GetAllClassesCount(opts ClassSearchOpts) (int64, *model.AppError) + func (s *TimerLayerClassStore) GetAllClassesForExportAfter(limit int, afterId string) ([]*model.ClassForExport, *model.AppError) + func (s *TimerLayerClassStore) GetBranchClasses(branchId string) (*model.ClassList, *model.AppError) + func (s *TimerLayerClassStore) GetByName(branch_id string, name string, allowFromCache bool) (*model.Class, *model.AppError) + func (s *TimerLayerClassStore) GetByNameIncludeDeleted(branch_id string, name string, allowFromCache bool) (*model.Class, *model.AppError) + func (s *TimerLayerClassStore) GetByNames(branch_id string, names []string, allowFromCache bool) ([]*model.Class, *model.AppError) + func (s *TimerLayerClassStore) GetClassMembersForExport(userId string, branchId string) ([]*model.ClassMemberForExport, *model.AppError) + func (s *TimerLayerClassStore) GetClassMembersTimezones(classId string) ([]model.StringMap, *model.AppError) + func (s *TimerLayerClassStore) GetClasses(branchId string, userId string, includeDeleted bool) (*model.ClassList, *model.AppError) + func (s *TimerLayerClassStore) GetClassesBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.Class, *model.AppError) + func (s *TimerLayerClassStore) GetClassesByIds(classIds []string, includeDeleted bool) ([]*model.Class, *model.AppError) + func (s *TimerLayerClassStore) GetClassesByScheme(schemeId string, offset int, limit int) (model.ClassList, *model.AppError) + func (s *TimerLayerClassStore) GetDeleted(branch_id string, offset int, limit int, userId string) (*model.ClassList, *model.AppError) + func (s *TimerLayerClassStore) GetDeletedByName(branch_id string, name string) (*model.Class, *model.AppError) + func (s *TimerLayerClassStore) GetFromMaster(id string) (*model.Class, *model.AppError) + func (s *TimerLayerClassStore) GetMember(classId string, userId string) (*model.ClassMember, *model.AppError) + func (s *TimerLayerClassStore) GetMemberCount(classId string, allowFromCache bool) (int64, *model.AppError) + func (s *TimerLayerClassStore) GetMemberCountFromCache(classId string) int64 + func (s *TimerLayerClassStore) GetMembers(classId string, offset int, limit int) (*model.ClassMembers, *model.AppError) + func (s *TimerLayerClassStore) GetMembersByIds(classId string, userIds []string) (*model.ClassMembers, *model.AppError) + func (s *TimerLayerClassStore) GetMembersForUser(branchId string, userId string) (*model.ClassMembers, *model.AppError) + func (s *TimerLayerClassStore) GetMembersForUserWithPagination(branchId string, userId string, page int, perPage int) (*model.ClassMembers, *model.AppError) + func (s *TimerLayerClassStore) GetMoreClasses(branchId string, userId string, offset int, limit int) (*model.ClassList, *model.AppError) + func (s *TimerLayerClassStore) InvalidateAllClassMembersForUser(userId string) + func (s *TimerLayerClassStore) InvalidateCacheForClassMembersNotifyProps(classId string) + func (s *TimerLayerClassStore) InvalidateClass(id string) + func (s *TimerLayerClassStore) InvalidateClassByName(branchId string, name string) + func (s *TimerLayerClassStore) InvalidateMemberCount(classId string) + func (s *TimerLayerClassStore) IsUserInClassUseCache(userId string, classId string) bool + func (s *TimerLayerClassStore) MigrateClassMembers(fromClassId string, fromUserId string) (map[string]string, *model.AppError) + func (s *TimerLayerClassStore) PermanentDelete(classId string) *model.AppError + func (s *TimerLayerClassStore) PermanentDeleteByBranch(branchId string) *model.AppError + func (s *TimerLayerClassStore) PermanentDeleteMembersByClass(classId string) *model.AppError + func (s *TimerLayerClassStore) PermanentDeleteMembersByUser(userId string) *model.AppError + func (s *TimerLayerClassStore) RemoveAllDeactivatedMembers(classId string) *model.AppError + func (s *TimerLayerClassStore) RemoveMember(classId string, userId string) *model.AppError + func (s *TimerLayerClassStore) ResetAllClassSchemes() *model.AppError + func (s *TimerLayerClassStore) Restore(classId string, time int64) *model.AppError + func (s *TimerLayerClassStore) Save(class *model.Class, maxClassesPerBranch int64) (*model.Class, *model.AppError) + func (s *TimerLayerClassStore) SaveDirectClass(class *model.Class, member1 *model.ClassMember, member2 *model.ClassMember) (*model.Class, *model.AppError) + func (s *TimerLayerClassStore) SaveMember(member *model.ClassMember) (*model.ClassMember, *model.AppError) + func (s *TimerLayerClassStore) SetDeleteAt(classId string, deleteAt int64, updateAt int64) *model.AppError + func (s *TimerLayerClassStore) Update(class *model.Class) (*model.Class, *model.AppError) + func (s *TimerLayerClassStore) UpdateMember(member *model.ClassMember) (*model.ClassMember, *model.AppError) + func (s *TimerLayerClassStore) UpdateMembersRole(classID string, userIDs []string) *model.AppError + func (s *TimerLayerClassStore) UserBelongsToClasses(userId string, classIds []string) (bool, *model.AppError) + type TimerLayerClusterDiscoveryStore struct + Root *TimerLayer + func (s *TimerLayerClusterDiscoveryStore) Cleanup() *model.AppError + func (s *TimerLayerClusterDiscoveryStore) Delete(discovery *model.ClusterDiscovery) (bool, *model.AppError) + func (s *TimerLayerClusterDiscoveryStore) Exists(discovery *model.ClusterDiscovery) (bool, *model.AppError) + func (s *TimerLayerClusterDiscoveryStore) GetAll(discoveryType string, clusterName string) ([]*model.ClusterDiscovery, *model.AppError) + func (s *TimerLayerClusterDiscoveryStore) Save(discovery *model.ClusterDiscovery) *model.AppError + func (s *TimerLayerClusterDiscoveryStore) SetLastPingAt(discovery *model.ClusterDiscovery) *model.AppError + type TimerLayerCommandStore struct + Root *TimerLayer + func (s *TimerLayerCommandStore) AnalyticsCommandCount(teamId string) (int64, *model.AppError) + func (s *TimerLayerCommandStore) Delete(commandId string, time int64) *model.AppError + func (s *TimerLayerCommandStore) Get(id string) (*model.Command, *model.AppError) + func (s *TimerLayerCommandStore) GetByTeam(teamId string) ([]*model.Command, *model.AppError) + func (s *TimerLayerCommandStore) GetByTrigger(teamId string, trigger string) (*model.Command, *model.AppError) + func (s *TimerLayerCommandStore) PermanentDeleteByTeam(teamId string) *model.AppError + func (s *TimerLayerCommandStore) PermanentDeleteByUser(userId string) *model.AppError + func (s *TimerLayerCommandStore) Save(webhook *model.Command) (*model.Command, *model.AppError) + func (s *TimerLayerCommandStore) Update(hook *model.Command) (*model.Command, *model.AppError) + type TimerLayerCommandWebhookStore struct + Root *TimerLayer + func (s *TimerLayerCommandWebhookStore) Cleanup() + func (s *TimerLayerCommandWebhookStore) Get(id string) (*model.CommandWebhook, *model.AppError) + func (s *TimerLayerCommandWebhookStore) Save(webhook *model.CommandWebhook) (*model.CommandWebhook, *model.AppError) + func (s *TimerLayerCommandWebhookStore) TryUse(id string, limit int) *model.AppError + type TimerLayerComplianceStore struct + Root *TimerLayer + func (s *TimerLayerComplianceStore) ComplianceExport(compliance *model.Compliance) ([]*model.CompliancePost, *model.AppError) + func (s *TimerLayerComplianceStore) Get(id string) (*model.Compliance, *model.AppError) + func (s *TimerLayerComplianceStore) GetAll(offset int, limit int) (model.Compliances, *model.AppError) + func (s *TimerLayerComplianceStore) MessageExport(after int64, limit int) ([]*model.MessageExport, *model.AppError) + func (s *TimerLayerComplianceStore) Save(compliance *model.Compliance) (*model.Compliance, *model.AppError) + func (s *TimerLayerComplianceStore) Update(compliance *model.Compliance) (*model.Compliance, *model.AppError) + type TimerLayerEmojiStore struct + Root *TimerLayer + func (s *TimerLayerEmojiStore) Delete(emoji *model.Emoji, time int64) *model.AppError + func (s *TimerLayerEmojiStore) Get(id string, allowFromCache bool) (*model.Emoji, *model.AppError) + func (s *TimerLayerEmojiStore) GetByName(name string, allowFromCache bool) (*model.Emoji, *model.AppError) + func (s *TimerLayerEmojiStore) GetList(offset int, limit int, sort string) ([]*model.Emoji, *model.AppError) + func (s *TimerLayerEmojiStore) GetMultipleByName(names []string) ([]*model.Emoji, *model.AppError) + func (s *TimerLayerEmojiStore) Save(emoji *model.Emoji) (*model.Emoji, *model.AppError) + func (s *TimerLayerEmojiStore) Search(name string, prefixOnly bool, limit int) ([]*model.Emoji, *model.AppError) + type TimerLayerFileInfoStore struct + Root *TimerLayer + func (s *TimerLayerFileInfoStore) AttachToPost(fileId string, postId string, creatorId string) *model.AppError + func (s *TimerLayerFileInfoStore) ClearCaches() + func (s *TimerLayerFileInfoStore) DeleteForPost(postId string) (string, *model.AppError) + func (s *TimerLayerFileInfoStore) Get(id string) (*model.FileInfo, *model.AppError) + func (s *TimerLayerFileInfoStore) GetByPath(path string) (*model.FileInfo, *model.AppError) + func (s *TimerLayerFileInfoStore) GetForPost(postId string, readFromMaster bool, includeDeleted bool, allowFromCache bool) ([]*model.FileInfo, *model.AppError) + func (s *TimerLayerFileInfoStore) GetForUser(userId string) ([]*model.FileInfo, *model.AppError) + func (s *TimerLayerFileInfoStore) GetWithOptions(page int, perPage int, opt *model.GetFileInfosOptions) ([]*model.FileInfo, *model.AppError) + func (s *TimerLayerFileInfoStore) InvalidateFileInfosForPostCache(postId string, deleted bool) + func (s *TimerLayerFileInfoStore) PermanentDelete(fileId string) *model.AppError + func (s *TimerLayerFileInfoStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, *model.AppError) + func (s *TimerLayerFileInfoStore) PermanentDeleteByUser(userId string) (int64, *model.AppError) + func (s *TimerLayerFileInfoStore) Save(info *model.FileInfo) (*model.FileInfo, *model.AppError) + type TimerLayerJobStore struct + Root *TimerLayer + func (s *TimerLayerJobStore) Delete(id string) (string, *model.AppError) + func (s *TimerLayerJobStore) Get(id string) (*model.Job, *model.AppError) + func (s *TimerLayerJobStore) GetAllByStatus(status string) ([]*model.Job, *model.AppError) + func (s *TimerLayerJobStore) GetAllByType(jobType string) ([]*model.Job, *model.AppError) + func (s *TimerLayerJobStore) GetAllByTypePage(jobType string, offset int, limit int) ([]*model.Job, *model.AppError) + func (s *TimerLayerJobStore) GetAllPage(offset int, limit int) ([]*model.Job, *model.AppError) + func (s *TimerLayerJobStore) GetCountByStatusAndType(status string, jobType string) (int64, *model.AppError) + func (s *TimerLayerJobStore) GetNewestJobByStatusAndType(status string, jobType string) (*model.Job, *model.AppError) + func (s *TimerLayerJobStore) Save(job *model.Job) (*model.Job, *model.AppError) + func (s *TimerLayerJobStore) UpdateOptimistically(job *model.Job, currentStatus string) (bool, *model.AppError) + func (s *TimerLayerJobStore) UpdateStatus(id string, status string) (*model.Job, *model.AppError) + func (s *TimerLayerJobStore) UpdateStatusOptimistically(id string, currentStatus string, newStatus string) (bool, *model.AppError) + type TimerLayerLicenseStore struct + Root *TimerLayer + func (s *TimerLayerLicenseStore) Get(id string) (*model.LicenseRecord, *model.AppError) + func (s *TimerLayerLicenseStore) Save(license *model.LicenseRecord) (*model.LicenseRecord, *model.AppError) + type TimerLayerLinkMetadataStore struct + Root *TimerLayer + func (s *TimerLayerLinkMetadataStore) Get(url string, timestamp int64) (*model.LinkMetadata, *model.AppError) + func (s *TimerLayerLinkMetadataStore) Save(linkMetadata *model.LinkMetadata) (*model.LinkMetadata, *model.AppError) + type TimerLayerOAuthStore struct + Root *TimerLayer + func (s *TimerLayerOAuthStore) DeleteApp(id string) *model.AppError + func (s *TimerLayerOAuthStore) GetAccessData(token string) (*model.AccessData, *model.AppError) + func (s *TimerLayerOAuthStore) GetAccessDataByRefreshToken(token string) (*model.AccessData, *model.AppError) + func (s *TimerLayerOAuthStore) GetAccessDataByUserForApp(userId string, clientId string) ([]*model.AccessData, *model.AppError) + func (s *TimerLayerOAuthStore) GetApp(id string) (*model.OAuthApp, *model.AppError) + func (s *TimerLayerOAuthStore) GetAppByUser(userId string, offset int, limit int) ([]*model.OAuthApp, *model.AppError) + func (s *TimerLayerOAuthStore) GetApps(offset int, limit int) ([]*model.OAuthApp, *model.AppError) + func (s *TimerLayerOAuthStore) GetAuthData(code string) (*model.AuthData, *model.AppError) + func (s *TimerLayerOAuthStore) GetAuthorizedApps(userId string, offset int, limit int) ([]*model.OAuthApp, *model.AppError) + func (s *TimerLayerOAuthStore) GetPreviousAccessData(userId string, clientId string) (*model.AccessData, *model.AppError) + func (s *TimerLayerOAuthStore) PermanentDeleteAuthDataByUser(userId string) *model.AppError + func (s *TimerLayerOAuthStore) RemoveAccessData(token string) *model.AppError + func (s *TimerLayerOAuthStore) RemoveAllAccessData() *model.AppError + func (s *TimerLayerOAuthStore) RemoveAuthData(code string) *model.AppError + func (s *TimerLayerOAuthStore) SaveAccessData(accessData *model.AccessData) (*model.AccessData, *model.AppError) + func (s *TimerLayerOAuthStore) SaveApp(app *model.OAuthApp) (*model.OAuthApp, *model.AppError) + func (s *TimerLayerOAuthStore) SaveAuthData(authData *model.AuthData) (*model.AuthData, *model.AppError) + func (s *TimerLayerOAuthStore) UpdateAccessData(accessData *model.AccessData) (*model.AccessData, *model.AppError) + func (s *TimerLayerOAuthStore) UpdateApp(app *model.OAuthApp) (*model.OAuthApp, *model.AppError) + type TimerLayerPreferenceStore struct + Root *TimerLayer + func (s *TimerLayerPreferenceStore) CleanupFlagsBatch(limit int64) (int64, *model.AppError) + func (s *TimerLayerPreferenceStore) Delete(userId string, category string, name string) *model.AppError + func (s *TimerLayerPreferenceStore) DeleteCategory(userId string, category string) *model.AppError + func (s *TimerLayerPreferenceStore) DeleteCategoryAndName(category string, name string) *model.AppError + func (s *TimerLayerPreferenceStore) Get(userId string, category string, name string) (*model.Preference, *model.AppError) + func (s *TimerLayerPreferenceStore) GetAll(userId string) (model.Preferences, *model.AppError) + func (s *TimerLayerPreferenceStore) GetCategory(userId string, category string) (model.Preferences, *model.AppError) + func (s *TimerLayerPreferenceStore) PermanentDeleteByUser(userId string) *model.AppError + func (s *TimerLayerPreferenceStore) Save(preferences *model.Preferences) *model.AppError + type TimerLayerReactionStore struct + Root *TimerLayer + func (s *TimerLayerReactionStore) BulkGetForPosts(postIds []string) ([]*model.Reaction, *model.AppError) + func (s *TimerLayerReactionStore) Delete(reaction *model.Reaction) (*model.Reaction, *model.AppError) + func (s *TimerLayerReactionStore) DeleteAllWithEmojiName(emojiName string) *model.AppError + func (s *TimerLayerReactionStore) GetForPost(postId string, allowFromCache bool) ([]*model.Reaction, *model.AppError) + func (s *TimerLayerReactionStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, *model.AppError) + func (s *TimerLayerReactionStore) Save(reaction *model.Reaction) (*model.Reaction, *model.AppError) + type TimerLayerRoleStore struct + Root *TimerLayer + func (s *TimerLayerRoleStore) AllClassSchemeRoles() ([]*model.Role, *model.AppError) + func (s *TimerLayerRoleStore) ClassHigherScopedPermissions(roleNames []string) (map[string]*model.RolePermissions, *model.AppError) + func (s *TimerLayerRoleStore) ClassRolesUnderBranchRole(roleName string) ([]*model.Role, *model.AppError) + func (s *TimerLayerRoleStore) Delete(roleId string) (*model.Role, *model.AppError) + func (s *TimerLayerRoleStore) Get(roleId string) (*model.Role, *model.AppError) + func (s *TimerLayerRoleStore) GetAll() ([]*model.Role, *model.AppError) + func (s *TimerLayerRoleStore) GetByName(name string) (*model.Role, *model.AppError) + func (s *TimerLayerRoleStore) GetByNames(names []string) ([]*model.Role, *model.AppError) + func (s *TimerLayerRoleStore) PermanentDeleteAll() *model.AppError + func (s *TimerLayerRoleStore) Save(role *model.Role) (*model.Role, *model.AppError) + type TimerLayerSchemeStore struct + Root *TimerLayer + func (s *TimerLayerSchemeStore) CountByScope(scope string) (int64, *model.AppError) + func (s *TimerLayerSchemeStore) CountWithoutPermission(scope string, permissionID string, roleScope model.RoleScope, ...) (int64, *model.AppError) + func (s *TimerLayerSchemeStore) Delete(schemeId string) (*model.Scheme, *model.AppError) + func (s *TimerLayerSchemeStore) Get(schemeId string) (*model.Scheme, *model.AppError) + func (s *TimerLayerSchemeStore) GetAllPage(scope string, offset int, limit int) ([]*model.Scheme, *model.AppError) + func (s *TimerLayerSchemeStore) GetByName(schemeName string) (*model.Scheme, *model.AppError) + func (s *TimerLayerSchemeStore) PermanentDeleteAll() *model.AppError + func (s *TimerLayerSchemeStore) Save(scheme *model.Scheme) (*model.Scheme, *model.AppError) + type TimerLayerSessionStore struct + Root *TimerLayer + func (s *TimerLayerSessionStore) AnalyticsSessionCount() (int64, *model.AppError) + func (s *TimerLayerSessionStore) Cleanup(expiryTime int64, batchSize int64) + func (s *TimerLayerSessionStore) Get(sessionIdOrToken string) (*model.Session, *model.AppError) + func (s *TimerLayerSessionStore) GetSessions(userId string) ([]*model.Session, *model.AppError) + func (s *TimerLayerSessionStore) GetSessionsWithActiveDeviceIds(userId string) ([]*model.Session, *model.AppError) + func (s *TimerLayerSessionStore) PermanentDeleteSessionsByUser(teamId string) *model.AppError + func (s *TimerLayerSessionStore) Remove(sessionIdOrToken string) *model.AppError + func (s *TimerLayerSessionStore) RemoveAllSessions() *model.AppError + func (s *TimerLayerSessionStore) Save(session *model.Session) (*model.Session, *model.AppError) + func (s *TimerLayerSessionStore) UpdateDeviceId(id string, deviceId string, expiresAt int64) (string, *model.AppError) + func (s *TimerLayerSessionStore) UpdateLastActivityAt(sessionId string, time int64) *model.AppError + func (s *TimerLayerSessionStore) UpdateProps(session *model.Session) *model.AppError + func (s *TimerLayerSessionStore) UpdateRoles(userId string, roles string) (string, *model.AppError) + type TimerLayerStatusStore struct + Root *TimerLayer + func (s *TimerLayerStatusStore) Get(userId string) (*model.Status, *model.AppError) + func (s *TimerLayerStatusStore) GetByIds(userIds []string) ([]*model.Status, *model.AppError) + func (s *TimerLayerStatusStore) GetTotalActiveUsersCount() (int64, *model.AppError) + func (s *TimerLayerStatusStore) ResetAll() *model.AppError + func (s *TimerLayerStatusStore) SaveOrUpdate(status *model.Status) *model.AppError + func (s *TimerLayerStatusStore) UpdateLastActivityAt(userId string, lastActivityAt int64) *model.AppError + type TimerLayerSystemStore struct + Root *TimerLayer + func (s *TimerLayerSystemStore) Get() (model.StringMap, *model.AppError) + func (s *TimerLayerSystemStore) GetByName(name string) (*model.System, *model.AppError) + func (s *TimerLayerSystemStore) PermanentDeleteByName(name string) (*model.System, *model.AppError) + func (s *TimerLayerSystemStore) Save(system *model.System) *model.AppError + func (s *TimerLayerSystemStore) SaveOrUpdate(system *model.System) *model.AppError + func (s *TimerLayerSystemStore) Update(system *model.System) *model.AppError + type TimerLayerTermsOfServiceStore struct + Root *TimerLayer + func (s *TimerLayerTermsOfServiceStore) Get(id string, allowFromCache bool) (*model.TermsOfService, *model.AppError) + func (s *TimerLayerTermsOfServiceStore) GetLatest(allowFromCache bool) (*model.TermsOfService, *model.AppError) + func (s *TimerLayerTermsOfServiceStore) Save(termsOfService *model.TermsOfService) (*model.TermsOfService, *model.AppError) + type TimerLayerTokenStore struct + Root *TimerLayer + func (s *TimerLayerTokenStore) Cleanup() + func (s *TimerLayerTokenStore) Delete(token string) *model.AppError + func (s *TimerLayerTokenStore) GetByToken(token string) (*model.Token, *model.AppError) + func (s *TimerLayerTokenStore) RemoveAllTokensByType(tokenType string) *model.AppError + func (s *TimerLayerTokenStore) Save(recovery *model.Token) *model.AppError + type TimerLayerUserAccessTokenStore struct + Root *TimerLayer + func (s *TimerLayerUserAccessTokenStore) Delete(tokenId string) *model.AppError + func (s *TimerLayerUserAccessTokenStore) DeleteAllForUser(userId string) *model.AppError + func (s *TimerLayerUserAccessTokenStore) Get(tokenId string) (*model.UserAccessToken, *model.AppError) + func (s *TimerLayerUserAccessTokenStore) GetAll(offset int, limit int) ([]*model.UserAccessToken, *model.AppError) + func (s *TimerLayerUserAccessTokenStore) GetByToken(tokenString string) (*model.UserAccessToken, *model.AppError) + func (s *TimerLayerUserAccessTokenStore) GetByUser(userId string, page int, perPage int) ([]*model.UserAccessToken, *model.AppError) + func (s *TimerLayerUserAccessTokenStore) Save(token *model.UserAccessToken) (*model.UserAccessToken, *model.AppError) + func (s *TimerLayerUserAccessTokenStore) Search(term string) ([]*model.UserAccessToken, *model.AppError) + func (s *TimerLayerUserAccessTokenStore) UpdateTokenDisable(tokenId string) *model.AppError + func (s *TimerLayerUserAccessTokenStore) UpdateTokenEnable(tokenId string) *model.AppError + type TimerLayerUserStore struct + Root *TimerLayer + func (s *TimerLayerUserStore) AnalyticsActiveCount(time int64, options model.UserCountOptions) (int64, *model.AppError) + func (s *TimerLayerUserStore) AnalyticsGetInactiveUsersCount() (int64, *model.AppError) + func (s *TimerLayerUserStore) AnalyticsGetSystemAdminCount() (int64, *model.AppError) + func (s *TimerLayerUserStore) ClearAllCustomRoleAssignments() *model.AppError + func (s *TimerLayerUserStore) ClearCaches() + func (s *TimerLayerUserStore) Count(options model.UserCountOptions) (int64, *model.AppError) + func (s *TimerLayerUserStore) Get(id string) (*model.User, *model.AppError) + func (s *TimerLayerUserStore) GetAll() ([]*model.User, *model.AppError) + func (s *TimerLayerUserStore) GetAllAfter(limit int, afterId string) ([]*model.User, *model.AppError) + func (s *TimerLayerUserStore) GetAllProfiles(options *model.UserGetOptions) ([]*model.User, *model.AppError) + func (s *TimerLayerUserStore) GetAllProfilesInClass(classId string, allowFromCache bool) (map[string]*model.User, *model.AppError) + func (s *TimerLayerUserStore) GetAllUsingAuthService(authService string) ([]*model.User, *model.AppError) + func (s *TimerLayerUserStore) GetByAuth(authData *string, authService string) (*model.User, *model.AppError) + func (s *TimerLayerUserStore) GetByEmail(email string) (*model.User, *model.AppError) + func (s *TimerLayerUserStore) GetByUsername(username string) (*model.User, *model.AppError) + func (s *TimerLayerUserStore) GetEtagForAllProfiles() string + func (s *TimerLayerUserStore) GetEtagForProfiles(branchId string) string + func (s *TimerLayerUserStore) GetForLogin(loginId string, allowSignInWithUsername bool, allowSignInWithEmail bool) (*model.User, *model.AppError) + func (s *TimerLayerUserStore) GetNewUsersForBranch(branchId string, offset int, limit int, ...) ([]*model.User, *model.AppError) + func (s *TimerLayerUserStore) GetProfileByIds(userIds []string, options *UserGetByIdsOpts, allowFromCache bool) ([]*model.User, *model.AppError) + func (s *TimerLayerUserStore) GetProfiles(options *model.UserGetOptions) ([]*model.User, *model.AppError) + func (s *TimerLayerUserStore) GetProfilesByUsernames(usernames []string, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, *model.AppError) + func (s *TimerLayerUserStore) GetProfilesInClass(classId string, offset int, limit int) ([]*model.User, *model.AppError) + func (s *TimerLayerUserStore) GetProfilesInClassByStatus(classId string, offset int, limit int) ([]*model.User, *model.AppError) + func (s *TimerLayerUserStore) GetProfilesNotInClass(branchId string, classId string, groupConstrained bool, offset int, limit int, ...) ([]*model.User, *model.AppError) + func (s *TimerLayerUserStore) GetProfilesWithoutBranch(options *model.UserGetOptions) ([]*model.User, *model.AppError) + func (s *TimerLayerUserStore) GetRecentlyActiveUsersForBranch(branchId string, offset int, limit int, ...) ([]*model.User, *model.AppError) + func (s *TimerLayerUserStore) GetSystemAdminProfiles() (map[string]*model.User, *model.AppError) + func (s *TimerLayerUserStore) GetUsersBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.UserForIndexing, *model.AppError) + func (s *TimerLayerUserStore) InferSystemInstallDate() (int64, *model.AppError) + func (s *TimerLayerUserStore) InvalidateProfileCacheForUser(userId string) + func (s *TimerLayerUserStore) InvalidateProfilesInClassCache(classId string) + func (s *TimerLayerUserStore) InvalidateProfilesInClassCacheByUser(userId string) + func (s *TimerLayerUserStore) PermanentDelete(userId string) *model.AppError + func (s *TimerLayerUserStore) ResetLastPictureUpdate(userId string) *model.AppError + func (s *TimerLayerUserStore) Save(user *model.User) (*model.User, *model.AppError) + func (s *TimerLayerUserStore) Update(user *model.User, allowRoleUpdate bool) (*model.UserUpdate, *model.AppError) + func (s *TimerLayerUserStore) UpdateAuthData(userId string, service string, authData *string, email string, resetMfa bool) (string, *model.AppError) + func (s *TimerLayerUserStore) UpdateFailedPasswordAttempts(userId string, attempts int) *model.AppError + func (s *TimerLayerUserStore) UpdateLastPictureUpdate(userId string) *model.AppError + func (s *TimerLayerUserStore) UpdateMfaActive(userId string, active bool) *model.AppError + func (s *TimerLayerUserStore) UpdateMfaSecret(userId string, secret string) *model.AppError + func (s *TimerLayerUserStore) UpdatePassword(userId string, newPassword string) *model.AppError + func (s *TimerLayerUserStore) UpdateUpdateAt(userId string) (int64, *model.AppError) + func (s *TimerLayerUserStore) VerifyEmail(userId string, email string) (string, *model.AppError) + type TimerLayerUserTermsOfServiceStore struct + Root *TimerLayer + func (s *TimerLayerUserTermsOfServiceStore) Delete(userId string, termsOfServiceId string) *model.AppError + func (s *TimerLayerUserTermsOfServiceStore) GetByUser(userId string) (*model.UserTermsOfService, *model.AppError) + func (s *TimerLayerUserTermsOfServiceStore) Save(userTermsOfService *model.UserTermsOfService) (*model.UserTermsOfService, *model.AppError) + type TimerLayerWebhookStore struct + Root *TimerLayer + func (s *TimerLayerWebhookStore) AnalyticsIncomingCount(teamId string) (int64, *model.AppError) + func (s *TimerLayerWebhookStore) AnalyticsOutgoingCount(teamId string) (int64, *model.AppError) + func (s *TimerLayerWebhookStore) ClearCaches() + func (s *TimerLayerWebhookStore) DeleteIncoming(webhookId string, time int64) *model.AppError + func (s *TimerLayerWebhookStore) DeleteOutgoing(webhookId string, time int64) *model.AppError + func (s *TimerLayerWebhookStore) GetIncoming(id string, allowFromCache bool) (*model.IncomingWebhook, *model.AppError) + func (s *TimerLayerWebhookStore) GetIncomingByChannel(channelId string) ([]*model.IncomingWebhook, *model.AppError) + func (s *TimerLayerWebhookStore) GetIncomingByTeam(teamId string, offset int, limit int) ([]*model.IncomingWebhook, *model.AppError) + func (s *TimerLayerWebhookStore) GetIncomingByTeamByUser(teamId string, userId string, offset int, limit int) ([]*model.IncomingWebhook, *model.AppError) + func (s *TimerLayerWebhookStore) GetIncomingList(offset int, limit int) ([]*model.IncomingWebhook, *model.AppError) + func (s *TimerLayerWebhookStore) GetIncomingListByUser(userId string, offset int, limit int) ([]*model.IncomingWebhook, *model.AppError) + func (s *TimerLayerWebhookStore) GetOutgoing(id string) (*model.OutgoingWebhook, *model.AppError) + func (s *TimerLayerWebhookStore) GetOutgoingByChannel(channelId string, offset int, limit int) ([]*model.OutgoingWebhook, *model.AppError) + func (s *TimerLayerWebhookStore) GetOutgoingByChannelByUser(channelId string, userId string, offset int, limit int) ([]*model.OutgoingWebhook, *model.AppError) + func (s *TimerLayerWebhookStore) GetOutgoingByTeam(teamId string, offset int, limit int) ([]*model.OutgoingWebhook, *model.AppError) + func (s *TimerLayerWebhookStore) GetOutgoingByTeamByUser(teamId string, userId string, offset int, limit int) ([]*model.OutgoingWebhook, *model.AppError) + func (s *TimerLayerWebhookStore) GetOutgoingList(offset int, limit int) ([]*model.OutgoingWebhook, *model.AppError) + func (s *TimerLayerWebhookStore) GetOutgoingListByUser(userId string, offset int, limit int) ([]*model.OutgoingWebhook, *model.AppError) + func (s *TimerLayerWebhookStore) InvalidateWebhookCache(webhook string) + func (s *TimerLayerWebhookStore) PermanentDeleteIncomingByChannel(channelId string) *model.AppError + func (s *TimerLayerWebhookStore) PermanentDeleteIncomingByUser(userId string) *model.AppError + func (s *TimerLayerWebhookStore) PermanentDeleteOutgoingByChannel(channelId string) *model.AppError + func (s *TimerLayerWebhookStore) PermanentDeleteOutgoingByUser(userId string) *model.AppError + func (s *TimerLayerWebhookStore) SaveIncoming(webhook *model.IncomingWebhook) (*model.IncomingWebhook, *model.AppError) + func (s *TimerLayerWebhookStore) SaveOutgoing(webhook *model.OutgoingWebhook) (*model.OutgoingWebhook, *model.AppError) + func (s *TimerLayerWebhookStore) UpdateIncoming(webhook *model.IncomingWebhook) (*model.IncomingWebhook, *model.AppError) + func (s *TimerLayerWebhookStore) UpdateOutgoing(hook *model.OutgoingWebhook) (*model.OutgoingWebhook, *model.AppError) + type TokenStore interface + Cleanup func() + Delete func(token string) *model.AppError + GetByToken func(token string) (*model.Token, *model.AppError) + RemoveAllTokensByType func(tokenType string) *model.AppError + Save func(recovery *model.Token) *model.AppError + type UserAccessTokenStore interface + Delete func(tokenId string) *model.AppError + DeleteAllForUser func(userId string) *model.AppError + Get func(tokenId string) (*model.UserAccessToken, *model.AppError) + GetAll func(offset int, limit int) ([]*model.UserAccessToken, *model.AppError) + GetByToken func(tokenString string) (*model.UserAccessToken, *model.AppError) + GetByUser func(userId string, page, perPage int) ([]*model.UserAccessToken, *model.AppError) + Save func(token *model.UserAccessToken) (*model.UserAccessToken, *model.AppError) + Search func(term string) ([]*model.UserAccessToken, *model.AppError) + UpdateTokenDisable func(tokenId string) *model.AppError + UpdateTokenEnable func(tokenId string) *model.AppError + type UserGetByIdsOpts struct + IsAdmin bool + Since int64 + ViewRestrictions *model.ViewUsersRestrictions + type UserStore interface + AnalyticsActiveCount func(time int64, options model.UserCountOptions) (int64, *model.AppError) + AnalyticsGetInactiveUsersCount func() (int64, *model.AppError) + AnalyticsGetSystemAdminCount func() (int64, *model.AppError) + ClearAllCustomRoleAssignments func() *model.AppError + ClearCaches func() + Count func(options model.UserCountOptions) (int64, *model.AppError) + Get func(id string) (*model.User, *model.AppError) + GetAll func() ([]*model.User, *model.AppError) + GetAllAfter func(limit int, afterId string) ([]*model.User, *model.AppError) + GetAllProfiles func(options *model.UserGetOptions) ([]*model.User, *model.AppError) + GetAllProfilesInClass func(classId string, allowFromCache bool) (map[string]*model.User, *model.AppError) + GetAllUsingAuthService func(authService string) ([]*model.User, *model.AppError) + GetByAuth func(authData *string, authService string) (*model.User, *model.AppError) + GetByEmail func(email string) (*model.User, *model.AppError) + GetByUsername func(username string) (*model.User, *model.AppError) + GetEtagForAllProfiles func() string + GetEtagForProfiles func(branchId string) string + GetForLogin func(loginId string, allowSignInWithUsername, allowSignInWithEmail bool) (*model.User, *model.AppError) + GetNewUsersForBranch func(branchId string, offset, limit int, ...) ([]*model.User, *model.AppError) + GetProfileByIds func(userIds []string, options *UserGetByIdsOpts, allowFromCache bool) ([]*model.User, *model.AppError) + GetProfiles func(options *model.UserGetOptions) ([]*model.User, *model.AppError) + GetProfilesByUsernames func(usernames []string, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, *model.AppError) + GetProfilesInClass func(classId string, offset int, limit int) ([]*model.User, *model.AppError) + GetProfilesInClassByStatus func(classId string, offset int, limit int) ([]*model.User, *model.AppError) + GetProfilesNotInClass func(branchId string, classId string, groupConstrained bool, offset int, limit int, ...) ([]*model.User, *model.AppError) + GetProfilesWithoutBranch func(options *model.UserGetOptions) ([]*model.User, *model.AppError) + GetRecentlyActiveUsersForBranch func(branchId string, offset, limit int, ...) ([]*model.User, *model.AppError) + GetSystemAdminProfiles func() (map[string]*model.User, *model.AppError) + GetUsersBatchForIndexing func(startTime, endTime int64, limit int) ([]*model.UserForIndexing, *model.AppError) + InferSystemInstallDate func() (int64, *model.AppError) + InvalidateProfileCacheForUser func(userId string) + InvalidateProfilesInClassCache func(classId string) + InvalidateProfilesInClassCacheByUser func(userId string) + PermanentDelete func(userId string) *model.AppError + ResetLastPictureUpdate func(userId string) *model.AppError + Save func(user *model.User) (*model.User, *model.AppError) + Update func(user *model.User, allowRoleUpdate bool) (*model.UserUpdate, *model.AppError) + UpdateAuthData func(userId string, service string, authData *string, email string, resetMfa bool) (string, *model.AppError) + UpdateFailedPasswordAttempts func(userId string, attempts int) *model.AppError + UpdateLastPictureUpdate func(userId string) *model.AppError + UpdateMfaActive func(userId string, active bool) *model.AppError + UpdateMfaSecret func(userId, secret string) *model.AppError + UpdatePassword func(userId, newPassword string) *model.AppError + UpdateUpdateAt func(userId string) (int64, *model.AppError) + VerifyEmail func(userId, email string) (string, *model.AppError) + type UserTermsOfServiceStore interface + Delete func(userId, termsOfServiceId string) *model.AppError + GetByUser func(userId string) (*model.UserTermsOfService, *model.AppError) + Save func(userTermsOfService *model.UserTermsOfService) (*model.UserTermsOfService, *model.AppError) + type WebhookStore interface + AnalyticsIncomingCount func(teamId string) (int64, *model.AppError) + AnalyticsOutgoingCount func(teamId string) (int64, *model.AppError) + ClearCaches func() + DeleteIncoming func(webhookId string, time int64) *model.AppError + DeleteOutgoing func(webhookId string, time int64) *model.AppError + GetIncoming func(id string, allowFromCache bool) (*model.IncomingWebhook, *model.AppError) + GetIncomingByChannel func(channelId string) ([]*model.IncomingWebhook, *model.AppError) + GetIncomingByTeam func(teamId string, offset, limit int) ([]*model.IncomingWebhook, *model.AppError) + GetIncomingByTeamByUser func(teamId string, userId string, offset, limit int) ([]*model.IncomingWebhook, *model.AppError) + GetIncomingList func(offset, limit int) ([]*model.IncomingWebhook, *model.AppError) + GetIncomingListByUser func(userId string, offset, limit int) ([]*model.IncomingWebhook, *model.AppError) + GetOutgoing func(id string) (*model.OutgoingWebhook, *model.AppError) + GetOutgoingByChannel func(channelId string, offset, limit int) ([]*model.OutgoingWebhook, *model.AppError) + GetOutgoingByChannelByUser func(channelId string, userId string, offset, limit int) ([]*model.OutgoingWebhook, *model.AppError) + GetOutgoingByTeam func(teamId string, offset, limit int) ([]*model.OutgoingWebhook, *model.AppError) + GetOutgoingByTeamByUser func(teamId string, userId string, offset, limit int) ([]*model.OutgoingWebhook, *model.AppError) + GetOutgoingList func(offset, limit int) ([]*model.OutgoingWebhook, *model.AppError) + GetOutgoingListByUser func(userId string, offset, limit int) ([]*model.OutgoingWebhook, *model.AppError) + InvalidateWebhookCache func(webhook string) + PermanentDeleteIncomingByChannel func(channelId string) *model.AppError + PermanentDeleteIncomingByUser func(userId string) *model.AppError + PermanentDeleteOutgoingByChannel func(channelId string) *model.AppError + PermanentDeleteOutgoingByUser func(userId string) *model.AppError + SaveIncoming func(webhook *model.IncomingWebhook) (*model.IncomingWebhook, *model.AppError) + SaveOutgoing func(webhook *model.OutgoingWebhook) (*model.OutgoingWebhook, *model.AppError) + UpdateIncoming func(webhook *model.IncomingWebhook) (*model.IncomingWebhook, *model.AppError) + UpdateOutgoing func(hook *model.OutgoingWebhook) (*model.OutgoingWebhook, *model.AppError) Other modules containing this package github.com/vnforks/kid