Documentation ¶
Index ¶
- type TimerLayer
- func (s *TimerLayer) Audit() store.AuditStore
- func (s *TimerLayer) Bot() store.BotStore
- func (s *TimerLayer) Channel() store.ChannelStore
- func (s *TimerLayer) ChannelMemberHistory() store.ChannelMemberHistoryStore
- func (s *TimerLayer) Close()
- func (s *TimerLayer) ClusterDiscovery() store.ClusterDiscoveryStore
- func (s *TimerLayer) Command() store.CommandStore
- func (s *TimerLayer) CommandWebhook() store.CommandWebhookStore
- func (s *TimerLayer) Compliance() store.ComplianceStore
- func (s *TimerLayer) DropAllTables()
- func (s *TimerLayer) Emoji() store.EmojiStore
- func (s *TimerLayer) FileInfo() store.FileInfoStore
- func (s *TimerLayer) GetCurrentSchemaVersion() string
- func (s *TimerLayer) Group() store.GroupStore
- func (s *TimerLayer) Job() store.JobStore
- func (s *TimerLayer) License() store.LicenseStore
- func (s *TimerLayer) LinkMetadata() store.LinkMetadataStore
- func (s *TimerLayer) LockToMaster()
- func (s *TimerLayer) MarkSystemRanUnitTests()
- func (s *TimerLayer) OAuth() store.OAuthStore
- func (s *TimerLayer) Plugin() store.PluginStore
- func (s *TimerLayer) Post() store.PostStore
- func (s *TimerLayer) Preference() store.PreferenceStore
- func (s *TimerLayer) ProductNotices() store.ProductNoticesStore
- func (s *TimerLayer) Reaction() store.ReactionStore
- func (s *TimerLayer) Role() store.RoleStore
- func (s *TimerLayer) Scheme() store.SchemeStore
- func (s *TimerLayer) Session() store.SessionStore
- func (s *TimerLayer) SetContext(context context.Context)
- func (s *TimerLayer) Status() store.StatusStore
- func (s *TimerLayer) System() store.SystemStore
- func (s *TimerLayer) Team() store.TeamStore
- func (s *TimerLayer) TermsOfService() store.TermsOfServiceStore
- func (s *TimerLayer) Thread() store.ThreadStore
- func (s *TimerLayer) Token() store.TokenStore
- func (s *TimerLayer) TotalMasterDbConnections() int
- func (s *TimerLayer) TotalReadDbConnections() int
- func (s *TimerLayer) TotalSearchDbConnections() int
- func (s *TimerLayer) UnlockFromMaster()
- func (s *TimerLayer) UploadSession() store.UploadSessionStore
- func (s *TimerLayer) User() store.UserStore
- func (s *TimerLayer) UserAccessToken() store.UserAccessTokenStore
- func (s *TimerLayer) UserTermsOfService() store.UserTermsOfServiceStore
- func (s *TimerLayer) Webhook() store.WebhookStore
- type TimerLayerAuditStore
- type TimerLayerBotStore
- func (s *TimerLayerBotStore) Get(userId string, includeDeleted bool) (*model.Bot, error)
- func (s *TimerLayerBotStore) GetAll(options *model.BotGetOptions) ([]*model.Bot, error)
- func (s *TimerLayerBotStore) PermanentDelete(userId string) error
- func (s *TimerLayerBotStore) Save(bot *model.Bot) (*model.Bot, error)
- func (s *TimerLayerBotStore) Update(bot *model.Bot) (*model.Bot, error)
- type TimerLayerChannelMemberHistoryStore
- func (s *TimerLayerChannelMemberHistoryStore) GetUsersInChannelDuring(startTime int64, endTime int64, channelId string) ([]*model.ChannelMemberHistoryResult, error)
- func (s *TimerLayerChannelMemberHistoryStore) LogJoinEvent(userId string, channelId string, joinTime int64) error
- func (s *TimerLayerChannelMemberHistoryStore) LogLeaveEvent(userId string, channelId string, leaveTime int64) error
- func (s *TimerLayerChannelMemberHistoryStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, error)
- type TimerLayerChannelStore
- func (s *TimerLayerChannelStore) AnalyticsDeletedTypeCount(teamId string, channelType string) (int64, *model.AppError)
- func (s *TimerLayerChannelStore) AnalyticsTypeCount(teamId string, channelType string) (int64, error)
- func (s *TimerLayerChannelStore) AutocompleteInTeam(teamId string, term string, includeDeleted bool) (*model.ChannelList, *model.AppError)
- func (s *TimerLayerChannelStore) AutocompleteInTeamForSearch(teamId string, userId string, term string, includeDeleted bool) (*model.ChannelList, *model.AppError)
- func (s *TimerLayerChannelStore) ClearAllCustomRoleAssignments() *model.AppError
- func (s *TimerLayerChannelStore) ClearCaches()
- func (s *TimerLayerChannelStore) ClearSidebarOnTeamLeave(userId string, teamId string) error
- func (s *TimerLayerChannelStore) CountPostsAfter(channelId string, timestamp int64, userId string) (int, error)
- func (s *TimerLayerChannelStore) CreateDirectChannel(userId *model.User, otherUserId *model.User) (*model.Channel, error)
- func (s *TimerLayerChannelStore) CreateInitialSidebarCategories(userId string, teamId string) error
- func (s *TimerLayerChannelStore) CreateSidebarCategory(userId string, teamId string, newCategory *model.SidebarCategoryWithChannels) (*model.SidebarCategoryWithChannels, *model.AppError)
- func (s *TimerLayerChannelStore) Delete(channelId string, time int64) error
- func (s *TimerLayerChannelStore) DeleteSidebarCategory(categoryId string) *model.AppError
- func (s *TimerLayerChannelStore) DeleteSidebarChannelsByPreferences(preferences *model.Preferences) error
- func (s *TimerLayerChannelStore) Get(id string, allowFromCache bool) (*model.Channel, error)
- func (s *TimerLayerChannelStore) GetAll(teamId string) ([]*model.Channel, error)
- func (s *TimerLayerChannelStore) GetAllChannelMembersForUser(userId string, allowFromCache bool, includeDeleted bool) (map[string]string, error)
- func (s *TimerLayerChannelStore) GetAllChannelMembersNotifyPropsForChannel(channelId string, allowFromCache bool) (map[string]model.StringMap, error)
- func (s *TimerLayerChannelStore) GetAllChannels(page int, perPage int, opts store.ChannelSearchOpts) (*model.ChannelListWithTeamData, error)
- func (s *TimerLayerChannelStore) GetAllChannelsCount(opts store.ChannelSearchOpts) (int64, error)
- func (s *TimerLayerChannelStore) GetAllChannelsForExportAfter(limit int, afterId string) ([]*model.ChannelForExport, *model.AppError)
- func (s *TimerLayerChannelStore) GetAllDirectChannelsForExportAfter(limit int, afterId string) ([]*model.DirectChannelForExport, *model.AppError)
- func (s *TimerLayerChannelStore) GetByName(team_id string, name string, allowFromCache bool) (*model.Channel, error)
- func (s *TimerLayerChannelStore) GetByNameIncludeDeleted(team_id string, name string, allowFromCache bool) (*model.Channel, error)
- func (s *TimerLayerChannelStore) GetByNames(team_id string, names []string, allowFromCache bool) ([]*model.Channel, error)
- func (s *TimerLayerChannelStore) GetChannelCounts(teamId string, userId string) (*model.ChannelCounts, error)
- func (s *TimerLayerChannelStore) GetChannelMembersForExport(userId string, teamId string) ([]*model.ChannelMemberForExport, *model.AppError)
- func (s *TimerLayerChannelStore) GetChannelMembersTimezones(channelId string) ([]model.StringMap, error)
- func (s *TimerLayerChannelStore) GetChannelUnread(channelId string, userId string) (*model.ChannelUnread, *model.AppError)
- func (s *TimerLayerChannelStore) GetChannels(teamId string, userId string, includeDeleted bool, lastDeleteAt int) (*model.ChannelList, error)
- func (s *TimerLayerChannelStore) GetChannelsBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.Channel, *model.AppError)
- func (s *TimerLayerChannelStore) GetChannelsByIds(channelIds []string, includeDeleted bool) ([]*model.Channel, error)
- func (s *TimerLayerChannelStore) GetChannelsByScheme(schemeId string, offset int, limit int) (model.ChannelList, *model.AppError)
- func (s *TimerLayerChannelStore) GetDeleted(team_id string, offset int, limit int, userId string) (*model.ChannelList, error)
- func (s *TimerLayerChannelStore) GetDeletedByName(team_id string, name string) (*model.Channel, error)
- func (s *TimerLayerChannelStore) GetForPost(postId string) (*model.Channel, error)
- func (s *TimerLayerChannelStore) GetFromMaster(id string) (*model.Channel, error)
- func (s *TimerLayerChannelStore) GetGuestCount(channelId string, allowFromCache bool) (int64, error)
- func (s *TimerLayerChannelStore) GetMember(channelId string, userId string) (*model.ChannelMember, error)
- func (s *TimerLayerChannelStore) GetMemberCount(channelId string, allowFromCache bool) (int64, error)
- func (s *TimerLayerChannelStore) GetMemberCountFromCache(channelId string) int64
- func (s *TimerLayerChannelStore) GetMemberCountsByGroup(channelID string, includeTimezones bool) ([]*model.ChannelMemberCountByGroup, error)
- func (s *TimerLayerChannelStore) GetMemberForPost(postId string, userId string) (*model.ChannelMember, error)
- func (s *TimerLayerChannelStore) GetMembers(channelId string, offset int, limit int) (*model.ChannelMembers, error)
- func (s *TimerLayerChannelStore) GetMembersByIds(channelId string, userIds []string) (*model.ChannelMembers, *model.AppError)
- func (s *TimerLayerChannelStore) GetMembersForUser(teamId string, userId string) (*model.ChannelMembers, error)
- func (s *TimerLayerChannelStore) GetMembersForUserWithPagination(teamId string, userId string, page int, perPage int) (*model.ChannelMembers, error)
- func (s *TimerLayerChannelStore) GetMoreChannels(teamId string, userId string, offset int, limit int) (*model.ChannelList, error)
- func (s *TimerLayerChannelStore) GetPinnedPostCount(channelId string, allowFromCache bool) (int64, error)
- func (s *TimerLayerChannelStore) GetPinnedPosts(channelId string) (*model.PostList, error)
- func (s *TimerLayerChannelStore) GetPrivateChannelsForTeam(teamId string, offset int, limit int) (*model.ChannelList, error)
- func (s *TimerLayerChannelStore) GetPublicChannelsByIdsForTeam(teamId string, channelIds []string) (*model.ChannelList, error)
- func (s *TimerLayerChannelStore) GetPublicChannelsForTeam(teamId string, offset int, limit int) (*model.ChannelList, error)
- func (s *TimerLayerChannelStore) GetSidebarCategories(userId string, teamId string) (*model.OrderedSidebarCategories, *model.AppError)
- func (s *TimerLayerChannelStore) GetSidebarCategory(categoryId string) (*model.SidebarCategoryWithChannels, *model.AppError)
- func (s *TimerLayerChannelStore) GetSidebarCategoryOrder(userId string, teamId string) ([]string, *model.AppError)
- func (s *TimerLayerChannelStore) GetTeamChannels(teamId string) (*model.ChannelList, error)
- func (s *TimerLayerChannelStore) GroupSyncedChannelCount() (int64, *model.AppError)
- func (s *TimerLayerChannelStore) IncrementMentionCount(channelId string, userId string, updateThreads bool) error
- func (s *TimerLayerChannelStore) InvalidateAllChannelMembersForUser(userId string)
- func (s *TimerLayerChannelStore) InvalidateCacheForChannelMembersNotifyProps(channelId string)
- func (s *TimerLayerChannelStore) InvalidateChannel(id string)
- func (s *TimerLayerChannelStore) InvalidateChannelByName(teamId string, name string)
- func (s *TimerLayerChannelStore) InvalidateGuestCount(channelId string)
- func (s *TimerLayerChannelStore) InvalidateMemberCount(channelId string)
- func (s *TimerLayerChannelStore) InvalidatePinnedPostCount(channelId string)
- func (s *TimerLayerChannelStore) IsUserInChannelUseCache(userId string, channelId string) bool
- func (s *TimerLayerChannelStore) MigrateChannelMembers(fromChannelId string, fromUserId string) (map[string]string, *model.AppError)
- func (s *TimerLayerChannelStore) MigratePublicChannels() error
- func (s *TimerLayerChannelStore) PermanentDelete(channelId string) error
- func (s *TimerLayerChannelStore) PermanentDeleteByTeam(teamId string) error
- func (s *TimerLayerChannelStore) PermanentDeleteMembersByChannel(channelId string) error
- func (s *TimerLayerChannelStore) PermanentDeleteMembersByUser(userId string) error
- func (s *TimerLayerChannelStore) RemoveAllDeactivatedMembers(channelId string) *model.AppError
- func (s *TimerLayerChannelStore) RemoveMember(channelId string, userId string) error
- func (s *TimerLayerChannelStore) RemoveMembers(channelId string, userIds []string) error
- func (s *TimerLayerChannelStore) ResetAllChannelSchemes() *model.AppError
- func (s *TimerLayerChannelStore) Restore(channelId string, time int64) error
- func (s *TimerLayerChannelStore) Save(channel *model.Channel, maxChannelsPerTeam int64) (*model.Channel, error)
- func (s *TimerLayerChannelStore) SaveDirectChannel(channel *model.Channel, member1 *model.ChannelMember, ...) (*model.Channel, error)
- func (s *TimerLayerChannelStore) SaveMember(member *model.ChannelMember) (*model.ChannelMember, error)
- func (s *TimerLayerChannelStore) SaveMultipleMembers(members []*model.ChannelMember) ([]*model.ChannelMember, error)
- func (s *TimerLayerChannelStore) SearchAllChannels(term string, opts store.ChannelSearchOpts) (*model.ChannelListWithTeamData, int64, *model.AppError)
- func (s *TimerLayerChannelStore) SearchArchivedInTeam(teamId string, term string, userId string) (*model.ChannelList, *model.AppError)
- func (s *TimerLayerChannelStore) SearchForUserInTeam(userId string, teamId string, term string, includeDeleted bool) (*model.ChannelList, *model.AppError)
- func (s *TimerLayerChannelStore) SearchGroupChannels(userId string, term string) (*model.ChannelList, *model.AppError)
- func (s *TimerLayerChannelStore) SearchInTeam(teamId string, term string, includeDeleted bool) (*model.ChannelList, *model.AppError)
- func (s *TimerLayerChannelStore) SearchMore(userId string, teamId string, term string) (*model.ChannelList, *model.AppError)
- func (s *TimerLayerChannelStore) SetDeleteAt(channelId string, deleteAt int64, updateAt int64) error
- func (s *TimerLayerChannelStore) Update(channel *model.Channel) (*model.Channel, error)
- func (s *TimerLayerChannelStore) UpdateLastViewedAt(channelIds []string, userId string, updateThreads bool) (map[string]int64, error)
- func (s *TimerLayerChannelStore) UpdateLastViewedAtPost(unreadPost *model.Post, userID string, mentionCount int, updateThreads bool) (*model.ChannelUnreadAt, error)
- func (s *TimerLayerChannelStore) UpdateMember(member *model.ChannelMember) (*model.ChannelMember, error)
- func (s *TimerLayerChannelStore) UpdateMembersRole(channelID string, userIDs []string) *model.AppError
- func (s *TimerLayerChannelStore) UpdateMultipleMembers(members []*model.ChannelMember) ([]*model.ChannelMember, error)
- func (s *TimerLayerChannelStore) UpdateSidebarCategories(userId string, teamId string, categories []*model.SidebarCategoryWithChannels) ([]*model.SidebarCategoryWithChannels, *model.AppError)
- func (s *TimerLayerChannelStore) UpdateSidebarCategoryOrder(userId string, teamId string, categoryOrder []string) *model.AppError
- func (s *TimerLayerChannelStore) UpdateSidebarChannelCategoryOnMove(channel *model.Channel, newTeamId string) error
- func (s *TimerLayerChannelStore) UpdateSidebarChannelsByPreferences(preferences *model.Preferences) error
- func (s *TimerLayerChannelStore) UserBelongsToChannels(userId string, channelIds []string) (bool, *model.AppError)
- type TimerLayerClusterDiscoveryStore
- func (s *TimerLayerClusterDiscoveryStore) Cleanup() error
- func (s *TimerLayerClusterDiscoveryStore) Delete(discovery *model.ClusterDiscovery) (bool, error)
- func (s *TimerLayerClusterDiscoveryStore) Exists(discovery *model.ClusterDiscovery) (bool, error)
- func (s *TimerLayerClusterDiscoveryStore) GetAll(discoveryType string, clusterName string) ([]*model.ClusterDiscovery, error)
- func (s *TimerLayerClusterDiscoveryStore) Save(discovery *model.ClusterDiscovery) error
- func (s *TimerLayerClusterDiscoveryStore) SetLastPingAt(discovery *model.ClusterDiscovery) error
- type TimerLayerCommandStore
- func (s *TimerLayerCommandStore) AnalyticsCommandCount(teamId string) (int64, error)
- func (s *TimerLayerCommandStore) Delete(commandId string, time int64) error
- func (s *TimerLayerCommandStore) Get(id string) (*model.Command, error)
- func (s *TimerLayerCommandStore) GetByTeam(teamId string) ([]*model.Command, error)
- func (s *TimerLayerCommandStore) GetByTrigger(teamId string, trigger string) (*model.Command, error)
- func (s *TimerLayerCommandStore) PermanentDeleteByTeam(teamId string) error
- func (s *TimerLayerCommandStore) PermanentDeleteByUser(userId string) error
- func (s *TimerLayerCommandStore) Save(webhook *model.Command) (*model.Command, error)
- func (s *TimerLayerCommandStore) Update(hook *model.Command) (*model.Command, error)
- type TimerLayerCommandWebhookStore
- func (s *TimerLayerCommandWebhookStore) Cleanup()
- func (s *TimerLayerCommandWebhookStore) Get(id string) (*model.CommandWebhook, error)
- func (s *TimerLayerCommandWebhookStore) Save(webhook *model.CommandWebhook) (*model.CommandWebhook, error)
- func (s *TimerLayerCommandWebhookStore) TryUse(id string, limit int) error
- type TimerLayerComplianceStore
- func (s *TimerLayerComplianceStore) ComplianceExport(compliance *model.Compliance) ([]*model.CompliancePost, error)
- func (s *TimerLayerComplianceStore) Get(id string) (*model.Compliance, error)
- func (s *TimerLayerComplianceStore) GetAll(offset int, limit int) (model.Compliances, error)
- func (s *TimerLayerComplianceStore) MessageExport(after int64, limit int) ([]*model.MessageExport, error)
- func (s *TimerLayerComplianceStore) Save(compliance *model.Compliance) (*model.Compliance, error)
- func (s *TimerLayerComplianceStore) Update(compliance *model.Compliance) (*model.Compliance, error)
- type TimerLayerEmojiStore
- func (s *TimerLayerEmojiStore) Delete(emoji *model.Emoji, time int64) error
- func (s *TimerLayerEmojiStore) Get(id string, allowFromCache bool) (*model.Emoji, error)
- func (s *TimerLayerEmojiStore) GetByName(name string, allowFromCache bool) (*model.Emoji, error)
- func (s *TimerLayerEmojiStore) GetList(offset int, limit int, sort string) ([]*model.Emoji, error)
- func (s *TimerLayerEmojiStore) GetMultipleByName(names []string) ([]*model.Emoji, error)
- func (s *TimerLayerEmojiStore) Save(emoji *model.Emoji) (*model.Emoji, error)
- func (s *TimerLayerEmojiStore) Search(name string, prefixOnly bool, limit int) ([]*model.Emoji, error)
- type TimerLayerFileInfoStore
- func (s *TimerLayerFileInfoStore) AttachToPost(fileId string, postId string, creatorId string) error
- func (s *TimerLayerFileInfoStore) ClearCaches()
- func (s *TimerLayerFileInfoStore) DeleteForPost(postId string) (string, error)
- func (s *TimerLayerFileInfoStore) Get(id string) (*model.FileInfo, error)
- func (s *TimerLayerFileInfoStore) GetByPath(path string) (*model.FileInfo, error)
- func (s *TimerLayerFileInfoStore) GetForPost(postId string, readFromMaster bool, includeDeleted bool, allowFromCache bool) ([]*model.FileInfo, error)
- func (s *TimerLayerFileInfoStore) GetForUser(userId string) ([]*model.FileInfo, error)
- func (s *TimerLayerFileInfoStore) GetWithOptions(page int, perPage int, opt *model.GetFileInfosOptions) ([]*model.FileInfo, error)
- func (s *TimerLayerFileInfoStore) InvalidateFileInfosForPostCache(postId string, deleted bool)
- func (s *TimerLayerFileInfoStore) PermanentDelete(fileId string) error
- func (s *TimerLayerFileInfoStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, error)
- func (s *TimerLayerFileInfoStore) PermanentDeleteByUser(userId string) (int64, error)
- func (s *TimerLayerFileInfoStore) Save(info *model.FileInfo) (*model.FileInfo, error)
- type TimerLayerGroupStore
- func (s *TimerLayerGroupStore) AdminRoleGroupsForSyncableMember(userID string, syncableID string, syncableType model.GroupSyncableType) ([]string, *model.AppError)
- func (s *TimerLayerGroupStore) ChannelMembersMinusGroupMembers(channelID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, *model.AppError)
- func (s *TimerLayerGroupStore) ChannelMembersToAdd(since int64, channelID *string) ([]*model.UserChannelIDPair, *model.AppError)
- func (s *TimerLayerGroupStore) ChannelMembersToRemove(channelID *string) ([]*model.ChannelMember, *model.AppError)
- func (s *TimerLayerGroupStore) CountChannelMembersMinusGroupMembers(channelID string, groupIDs []string) (int64, *model.AppError)
- func (s *TimerLayerGroupStore) CountGroupsByChannel(channelId string, opts model.GroupSearchOpts) (int64, *model.AppError)
- func (s *TimerLayerGroupStore) CountGroupsByTeam(teamId string, opts model.GroupSearchOpts) (int64, *model.AppError)
- func (s *TimerLayerGroupStore) CountTeamMembersMinusGroupMembers(teamID string, groupIDs []string) (int64, *model.AppError)
- func (s *TimerLayerGroupStore) Create(group *model.Group) (*model.Group, *model.AppError)
- func (s *TimerLayerGroupStore) CreateGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, *model.AppError)
- func (s *TimerLayerGroupStore) Delete(groupID string) (*model.Group, *model.AppError)
- func (s *TimerLayerGroupStore) DeleteGroupSyncable(groupID string, syncableID string, syncableType model.GroupSyncableType) (*model.GroupSyncable, *model.AppError)
- func (s *TimerLayerGroupStore) DeleteMember(groupID string, userID string) (*model.GroupMember, *model.AppError)
- func (s *TimerLayerGroupStore) DistinctGroupMemberCount() (int64, *model.AppError)
- func (s *TimerLayerGroupStore) Get(groupID string) (*model.Group, *model.AppError)
- func (s *TimerLayerGroupStore) GetAllBySource(groupSource model.GroupSource) ([]*model.Group, *model.AppError)
- func (s *TimerLayerGroupStore) GetAllGroupSyncablesByGroupId(groupID string, syncableType model.GroupSyncableType) ([]*model.GroupSyncable, *model.AppError)
- func (s *TimerLayerGroupStore) GetByIDs(groupIDs []string) ([]*model.Group, *model.AppError)
- func (s *TimerLayerGroupStore) GetByName(name string, opts model.GroupSearchOpts) (*model.Group, *model.AppError)
- func (s *TimerLayerGroupStore) GetByRemoteID(remoteID string, groupSource model.GroupSource) (*model.Group, *model.AppError)
- func (s *TimerLayerGroupStore) GetByUser(userId string) ([]*model.Group, *model.AppError)
- func (s *TimerLayerGroupStore) GetGroupSyncable(groupID string, syncableID string, syncableType model.GroupSyncableType) (*model.GroupSyncable, *model.AppError)
- func (s *TimerLayerGroupStore) GetGroups(page int, perPage int, opts model.GroupSearchOpts) ([]*model.Group, *model.AppError)
- func (s *TimerLayerGroupStore) GetGroupsAssociatedToChannelsByTeam(teamId string, opts model.GroupSearchOpts) (map[string][]*model.GroupWithSchemeAdmin, *model.AppError)
- func (s *TimerLayerGroupStore) GetGroupsByChannel(channelId string, opts model.GroupSearchOpts) ([]*model.GroupWithSchemeAdmin, *model.AppError)
- func (s *TimerLayerGroupStore) GetGroupsByTeam(teamId string, opts model.GroupSearchOpts) ([]*model.GroupWithSchemeAdmin, *model.AppError)
- func (s *TimerLayerGroupStore) GetMemberCount(groupID string) (int64, *model.AppError)
- func (s *TimerLayerGroupStore) GetMemberUsers(groupID string) ([]*model.User, *model.AppError)
- func (s *TimerLayerGroupStore) GetMemberUsersInTeam(groupID string, teamID string) ([]*model.User, *model.AppError)
- func (s *TimerLayerGroupStore) GetMemberUsersNotInChannel(groupID string, channelID string) ([]*model.User, *model.AppError)
- func (s *TimerLayerGroupStore) GetMemberUsersPage(groupID string, page int, perPage int) ([]*model.User, *model.AppError)
- func (s *TimerLayerGroupStore) GroupChannelCount() (int64, *model.AppError)
- func (s *TimerLayerGroupStore) GroupCount() (int64, *model.AppError)
- func (s *TimerLayerGroupStore) GroupCountWithAllowReference() (int64, *model.AppError)
- func (s *TimerLayerGroupStore) GroupMemberCount() (int64, *model.AppError)
- func (s *TimerLayerGroupStore) GroupTeamCount() (int64, *model.AppError)
- func (s *TimerLayerGroupStore) PermanentDeleteMembersByUser(userId string) *model.AppError
- func (s *TimerLayerGroupStore) PermittedSyncableAdmins(syncableID string, syncableType model.GroupSyncableType) ([]string, *model.AppError)
- func (s *TimerLayerGroupStore) TeamMembersMinusGroupMembers(teamID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, *model.AppError)
- func (s *TimerLayerGroupStore) TeamMembersToAdd(since int64, teamID *string) ([]*model.UserTeamIDPair, *model.AppError)
- func (s *TimerLayerGroupStore) TeamMembersToRemove(teamID *string) ([]*model.TeamMember, *model.AppError)
- func (s *TimerLayerGroupStore) Update(group *model.Group) (*model.Group, *model.AppError)
- func (s *TimerLayerGroupStore) UpdateGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, *model.AppError)
- func (s *TimerLayerGroupStore) UpsertMember(groupID string, userID string) (*model.GroupMember, *model.AppError)
- type TimerLayerJobStore
- func (s *TimerLayerJobStore) Delete(id string) (string, error)
- func (s *TimerLayerJobStore) Get(id string) (*model.Job, error)
- func (s *TimerLayerJobStore) GetAllByStatus(status string) ([]*model.Job, error)
- func (s *TimerLayerJobStore) GetAllByType(jobType string) ([]*model.Job, error)
- func (s *TimerLayerJobStore) GetAllByTypePage(jobType string, offset int, limit int) ([]*model.Job, error)
- func (s *TimerLayerJobStore) GetAllPage(offset int, limit int) ([]*model.Job, error)
- func (s *TimerLayerJobStore) GetCountByStatusAndType(status string, jobType string) (int64, error)
- func (s *TimerLayerJobStore) GetNewestJobByStatusAndType(status string, jobType string) (*model.Job, error)
- func (s *TimerLayerJobStore) GetNewestJobByStatusesAndType(statuses []string, jobType string) (*model.Job, error)
- func (s *TimerLayerJobStore) Save(job *model.Job) (*model.Job, error)
- func (s *TimerLayerJobStore) UpdateOptimistically(job *model.Job, currentStatus string) (bool, error)
- func (s *TimerLayerJobStore) UpdateStatus(id string, status string) (*model.Job, error)
- func (s *TimerLayerJobStore) UpdateStatusOptimistically(id string, currentStatus string, newStatus string) (bool, error)
- type TimerLayerLicenseStore
- type TimerLayerLinkMetadataStore
- type TimerLayerOAuthStore
- func (s *TimerLayerOAuthStore) DeleteApp(id string) error
- func (s *TimerLayerOAuthStore) GetAccessData(token string) (*model.AccessData, error)
- func (s *TimerLayerOAuthStore) GetAccessDataByRefreshToken(token string) (*model.AccessData, error)
- func (s *TimerLayerOAuthStore) GetAccessDataByUserForApp(userId string, clientId string) ([]*model.AccessData, error)
- func (s *TimerLayerOAuthStore) GetApp(id string) (*model.OAuthApp, error)
- func (s *TimerLayerOAuthStore) GetAppByUser(userId string, offset int, limit int) ([]*model.OAuthApp, error)
- func (s *TimerLayerOAuthStore) GetApps(offset int, limit int) ([]*model.OAuthApp, error)
- func (s *TimerLayerOAuthStore) GetAuthData(code string) (*model.AuthData, error)
- func (s *TimerLayerOAuthStore) GetAuthorizedApps(userId string, offset int, limit int) ([]*model.OAuthApp, error)
- func (s *TimerLayerOAuthStore) GetPreviousAccessData(userId string, clientId string) (*model.AccessData, error)
- func (s *TimerLayerOAuthStore) PermanentDeleteAuthDataByUser(userId string) error
- func (s *TimerLayerOAuthStore) RemoveAccessData(token string) error
- func (s *TimerLayerOAuthStore) RemoveAllAccessData() error
- func (s *TimerLayerOAuthStore) RemoveAuthData(code string) error
- func (s *TimerLayerOAuthStore) SaveAccessData(accessData *model.AccessData) (*model.AccessData, error)
- func (s *TimerLayerOAuthStore) SaveApp(app *model.OAuthApp) (*model.OAuthApp, error)
- func (s *TimerLayerOAuthStore) SaveAuthData(authData *model.AuthData) (*model.AuthData, error)
- func (s *TimerLayerOAuthStore) UpdateAccessData(accessData *model.AccessData) (*model.AccessData, error)
- func (s *TimerLayerOAuthStore) UpdateApp(app *model.OAuthApp) (*model.OAuthApp, error)
- type TimerLayerPluginStore
- func (s *TimerLayerPluginStore) CompareAndDelete(keyVal *model.PluginKeyValue, oldValue []byte) (bool, error)
- func (s *TimerLayerPluginStore) CompareAndSet(keyVal *model.PluginKeyValue, oldValue []byte) (bool, error)
- func (s *TimerLayerPluginStore) Delete(pluginId string, key string) error
- func (s *TimerLayerPluginStore) DeleteAllExpired() error
- func (s *TimerLayerPluginStore) DeleteAllForPlugin(PluginId string) error
- func (s *TimerLayerPluginStore) Get(pluginId string, key string) (*model.PluginKeyValue, error)
- func (s *TimerLayerPluginStore) List(pluginId string, page int, perPage int) ([]string, error)
- func (s *TimerLayerPluginStore) SaveOrUpdate(keyVal *model.PluginKeyValue) (*model.PluginKeyValue, error)
- func (s *TimerLayerPluginStore) SetWithOptions(pluginId string, key string, value []byte, options model.PluginKVSetOptions) (bool, error)
- type TimerLayerPostStore
- func (s *TimerLayerPostStore) AnalyticsPostCount(teamId string, mustHaveFile bool, mustHaveHashtag bool) (int64, *model.AppError)
- func (s *TimerLayerPostStore) AnalyticsPostCountsByDay(options *model.AnalyticsPostCountsOptions) (model.AnalyticsRows, *model.AppError)
- func (s *TimerLayerPostStore) AnalyticsUserCountsWithPostsByDay(teamId string) (model.AnalyticsRows, *model.AppError)
- func (s *TimerLayerPostStore) ClearCaches()
- func (s *TimerLayerPostStore) Delete(postId string, time int64, deleteByID string) error
- func (s *TimerLayerPostStore) Get(id string, skipFetchThreads bool) (*model.PostList, error)
- func (s *TimerLayerPostStore) GetDirectPostParentsForExportAfter(limit int, afterId string) ([]*model.DirectPostForExport, *model.AppError)
- func (s *TimerLayerPostStore) GetEtag(channelId string, allowFromCache bool) string
- func (s *TimerLayerPostStore) GetFlaggedPosts(userId string, offset int, limit int) (*model.PostList, error)
- func (s *TimerLayerPostStore) GetFlaggedPostsForChannel(userId string, channelId string, offset int, limit int) (*model.PostList, error)
- func (s *TimerLayerPostStore) GetFlaggedPostsForTeam(userId string, teamId string, offset int, limit int) (*model.PostList, error)
- func (s *TimerLayerPostStore) GetMaxPostSize() int
- func (s *TimerLayerPostStore) GetOldest() (*model.Post, *model.AppError)
- func (s *TimerLayerPostStore) GetOldestEntityCreationTime() (int64, *model.AppError)
- func (s *TimerLayerPostStore) GetParentsForExportAfter(limit int, afterId string) ([]*model.PostForExport, *model.AppError)
- func (s *TimerLayerPostStore) GetPostAfterTime(channelId string, time int64) (*model.Post, error)
- func (s *TimerLayerPostStore) GetPostIdAfterTime(channelId string, time int64) (string, error)
- func (s *TimerLayerPostStore) GetPostIdBeforeTime(channelId string, time int64) (string, error)
- func (s *TimerLayerPostStore) GetPosts(options model.GetPostsOptions, allowFromCache bool) (*model.PostList, *model.AppError)
- func (s *TimerLayerPostStore) GetPostsAfter(options model.GetPostsOptions) (*model.PostList, error)
- func (s *TimerLayerPostStore) GetPostsBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.PostForIndexing, *model.AppError)
- func (s *TimerLayerPostStore) GetPostsBefore(options model.GetPostsOptions) (*model.PostList, error)
- func (s *TimerLayerPostStore) GetPostsByIds(postIds []string) ([]*model.Post, *model.AppError)
- func (s *TimerLayerPostStore) GetPostsCreatedAt(channelId string, time int64) ([]*model.Post, *model.AppError)
- func (s *TimerLayerPostStore) GetPostsSince(options model.GetPostsSinceOptions, allowFromCache bool) (*model.PostList, error)
- func (s *TimerLayerPostStore) GetRepliesForExport(parentId string) ([]*model.ReplyForExport, *model.AppError)
- func (s *TimerLayerPostStore) GetSingle(id string) (*model.Post, error)
- func (s *TimerLayerPostStore) InvalidateLastPostTimeCache(channelId string)
- func (s *TimerLayerPostStore) Overwrite(post *model.Post) (*model.Post, *model.AppError)
- func (s *TimerLayerPostStore) OverwriteMultiple(posts []*model.Post) ([]*model.Post, int, *model.AppError)
- func (s *TimerLayerPostStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, *model.AppError)
- func (s *TimerLayerPostStore) PermanentDeleteByChannel(channelId string) error
- func (s *TimerLayerPostStore) PermanentDeleteByUser(userId string) error
- func (s *TimerLayerPostStore) Save(post *model.Post) (*model.Post, error)
- func (s *TimerLayerPostStore) SaveMultiple(posts []*model.Post) ([]*model.Post, int, error)
- func (s *TimerLayerPostStore) Search(teamId string, userId string, params *model.SearchParams) (*model.PostList, *model.AppError)
- func (s *TimerLayerPostStore) SearchPostsInTeamForUser(paramsList []*model.SearchParams, userId string, teamId string, page int, ...) (*model.PostSearchResults, *model.AppError)
- func (s *TimerLayerPostStore) Update(newPost *model.Post, oldPost *model.Post) (*model.Post, error)
- type TimerLayerPreferenceStore
- func (s *TimerLayerPreferenceStore) CleanupFlagsBatch(limit int64) (int64, error)
- func (s *TimerLayerPreferenceStore) Delete(userId string, category string, name string) error
- func (s *TimerLayerPreferenceStore) DeleteCategory(userId string, category string) error
- func (s *TimerLayerPreferenceStore) DeleteCategoryAndName(category string, name string) error
- func (s *TimerLayerPreferenceStore) Get(userId string, category string, name string) (*model.Preference, error)
- func (s *TimerLayerPreferenceStore) GetAll(userId string) (model.Preferences, error)
- func (s *TimerLayerPreferenceStore) GetCategory(userId string, category string) (model.Preferences, error)
- func (s *TimerLayerPreferenceStore) PermanentDeleteByUser(userId string) error
- func (s *TimerLayerPreferenceStore) Save(preferences *model.Preferences) error
- type TimerLayerProductNoticesStore
- func (s *TimerLayerProductNoticesStore) Clear(notices []string) error
- func (s *TimerLayerProductNoticesStore) ClearOldNotices(currentNotices *model.ProductNotices) error
- func (s *TimerLayerProductNoticesStore) GetViews(userId string) ([]model.ProductNoticeViewState, error)
- func (s *TimerLayerProductNoticesStore) View(userId string, notices []string) error
- type TimerLayerReactionStore
- func (s *TimerLayerReactionStore) BulkGetForPosts(postIds []string) ([]*model.Reaction, error)
- func (s *TimerLayerReactionStore) Delete(reaction *model.Reaction) (*model.Reaction, error)
- func (s *TimerLayerReactionStore) DeleteAllWithEmojiName(emojiName string) error
- func (s *TimerLayerReactionStore) GetForPost(postId string, allowFromCache bool) ([]*model.Reaction, error)
- func (s *TimerLayerReactionStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, error)
- func (s *TimerLayerReactionStore) Save(reaction *model.Reaction) (*model.Reaction, error)
- type TimerLayerRoleStore
- func (s *TimerLayerRoleStore) AllChannelSchemeRoles() ([]*model.Role, error)
- func (s *TimerLayerRoleStore) ChannelHigherScopedPermissions(roleNames []string) (map[string]*model.RolePermissions, error)
- func (s *TimerLayerRoleStore) ChannelRolesUnderTeamRole(roleName string) ([]*model.Role, error)
- func (s *TimerLayerRoleStore) Delete(roleId string) (*model.Role, error)
- func (s *TimerLayerRoleStore) Get(roleId string) (*model.Role, error)
- func (s *TimerLayerRoleStore) GetAll() ([]*model.Role, error)
- func (s *TimerLayerRoleStore) GetByName(name string) (*model.Role, error)
- func (s *TimerLayerRoleStore) GetByNames(names []string) ([]*model.Role, error)
- func (s *TimerLayerRoleStore) PermanentDeleteAll() error
- func (s *TimerLayerRoleStore) Save(role *model.Role) (*model.Role, error)
- type TimerLayerSchemeStore
- func (s *TimerLayerSchemeStore) CountByScope(scope string) (int64, error)
- func (s *TimerLayerSchemeStore) CountWithoutPermission(scope string, permissionID string, roleScope model.RoleScope, ...) (int64, error)
- func (s *TimerLayerSchemeStore) Delete(schemeId string) (*model.Scheme, error)
- func (s *TimerLayerSchemeStore) Get(schemeId string) (*model.Scheme, error)
- func (s *TimerLayerSchemeStore) GetAllPage(scope string, offset int, limit int) ([]*model.Scheme, error)
- func (s *TimerLayerSchemeStore) GetByName(schemeName string) (*model.Scheme, error)
- func (s *TimerLayerSchemeStore) PermanentDeleteAll() error
- func (s *TimerLayerSchemeStore) Save(scheme *model.Scheme) (*model.Scheme, error)
- type TimerLayerSessionStore
- func (s *TimerLayerSessionStore) AnalyticsSessionCount() (int64, error)
- func (s *TimerLayerSessionStore) Cleanup(expiryTime int64, batchSize int64)
- func (s *TimerLayerSessionStore) Get(sessionIdOrToken string) (*model.Session, error)
- func (s *TimerLayerSessionStore) GetSessions(userId string) ([]*model.Session, error)
- func (s *TimerLayerSessionStore) GetSessionsExpired(thresholdMillis int64, mobileOnly bool, unnotifiedOnly bool) ([]*model.Session, error)
- func (s *TimerLayerSessionStore) GetSessionsWithActiveDeviceIds(userId string) ([]*model.Session, error)
- func (s *TimerLayerSessionStore) PermanentDeleteSessionsByUser(teamId string) error
- func (s *TimerLayerSessionStore) Remove(sessionIdOrToken string) error
- func (s *TimerLayerSessionStore) RemoveAllSessions() error
- func (s *TimerLayerSessionStore) Save(session *model.Session) (*model.Session, error)
- func (s *TimerLayerSessionStore) UpdateDeviceId(id string, deviceId string, expiresAt int64) (string, error)
- func (s *TimerLayerSessionStore) UpdateExpiredNotify(sessionid string, notified bool) error
- func (s *TimerLayerSessionStore) UpdateExpiresAt(sessionId string, time int64) error
- func (s *TimerLayerSessionStore) UpdateLastActivityAt(sessionId string, time int64) error
- func (s *TimerLayerSessionStore) UpdateProps(session *model.Session) error
- func (s *TimerLayerSessionStore) UpdateRoles(userId string, roles string) (string, error)
- type TimerLayerStatusStore
- func (s *TimerLayerStatusStore) Get(userId string) (*model.Status, error)
- func (s *TimerLayerStatusStore) GetByIds(userIds []string) ([]*model.Status, error)
- func (s *TimerLayerStatusStore) GetTotalActiveUsersCount() (int64, error)
- func (s *TimerLayerStatusStore) ResetAll() error
- func (s *TimerLayerStatusStore) SaveOrUpdate(status *model.Status) error
- func (s *TimerLayerStatusStore) UpdateLastActivityAt(userId string, lastActivityAt int64) error
- type TimerLayerSystemStore
- func (s *TimerLayerSystemStore) Get() (model.StringMap, error)
- func (s *TimerLayerSystemStore) GetByName(name string) (*model.System, error)
- func (s *TimerLayerSystemStore) InsertIfExists(system *model.System) (*model.System, error)
- func (s *TimerLayerSystemStore) PermanentDeleteByName(name string) (*model.System, error)
- func (s *TimerLayerSystemStore) Save(system *model.System) error
- func (s *TimerLayerSystemStore) SaveOrUpdate(system *model.System) error
- func (s *TimerLayerSystemStore) SaveOrUpdateWithWarnMetricHandling(system *model.System) error
- func (s *TimerLayerSystemStore) Update(system *model.System) error
- type TimerLayerTeamStore
- func (s *TimerLayerTeamStore) AnalyticsGetTeamCountForScheme(schemeId string) (int64, error)
- func (s *TimerLayerTeamStore) AnalyticsPrivateTeamCount() (int64, error)
- func (s *TimerLayerTeamStore) AnalyticsPublicTeamCount() (int64, error)
- func (s *TimerLayerTeamStore) AnalyticsTeamCount(includeDeleted bool) (int64, error)
- func (s *TimerLayerTeamStore) ClearAllCustomRoleAssignments() error
- func (s *TimerLayerTeamStore) ClearCaches()
- func (s *TimerLayerTeamStore) Get(id string) (*model.Team, error)
- func (s *TimerLayerTeamStore) GetActiveMemberCount(teamId string, restrictions *model.ViewUsersRestrictions) (int64, error)
- func (s *TimerLayerTeamStore) GetAll() ([]*model.Team, error)
- func (s *TimerLayerTeamStore) GetAllForExportAfter(limit int, afterId string) ([]*model.TeamForExport, error)
- func (s *TimerLayerTeamStore) GetAllPage(offset int, limit int) ([]*model.Team, error)
- func (s *TimerLayerTeamStore) GetAllPrivateTeamListing() ([]*model.Team, error)
- func (s *TimerLayerTeamStore) GetAllPrivateTeamPageListing(offset int, limit int) ([]*model.Team, error)
- func (s *TimerLayerTeamStore) GetAllPublicTeamPageListing(offset int, limit int) ([]*model.Team, error)
- func (s *TimerLayerTeamStore) GetAllTeamListing() ([]*model.Team, error)
- func (s *TimerLayerTeamStore) GetAllTeamPageListing(offset int, limit int) ([]*model.Team, error)
- func (s *TimerLayerTeamStore) GetByInviteId(inviteId string) (*model.Team, error)
- func (s *TimerLayerTeamStore) GetByName(name string) (*model.Team, error)
- func (s *TimerLayerTeamStore) GetByNames(name []string) ([]*model.Team, error)
- func (s *TimerLayerTeamStore) GetChannelUnreadsForAllTeams(excludeTeamId string, userId string) ([]*model.ChannelUnread, error)
- func (s *TimerLayerTeamStore) GetChannelUnreadsForTeam(teamId string, userId string) ([]*model.ChannelUnread, error)
- func (s *TimerLayerTeamStore) GetMember(teamId string, userId string) (*model.TeamMember, error)
- func (s *TimerLayerTeamStore) GetMembers(teamId string, offset int, limit int, ...) ([]*model.TeamMember, error)
- func (s *TimerLayerTeamStore) GetMembersByIds(teamId string, userIds []string, restrictions *model.ViewUsersRestrictions) ([]*model.TeamMember, error)
- func (s *TimerLayerTeamStore) GetTeamMembersForExport(userId string) ([]*model.TeamMemberForExport, error)
- func (s *TimerLayerTeamStore) GetTeamsByScheme(schemeId string, offset int, limit int) ([]*model.Team, error)
- func (s *TimerLayerTeamStore) GetTeamsByUserId(userId string) ([]*model.Team, error)
- func (s *TimerLayerTeamStore) GetTeamsForUser(userId string) ([]*model.TeamMember, error)
- func (s *TimerLayerTeamStore) GetTeamsForUserWithPagination(userId string, page int, perPage int) ([]*model.TeamMember, error)
- func (s *TimerLayerTeamStore) GetTotalMemberCount(teamId string, restrictions *model.ViewUsersRestrictions) (int64, error)
- func (s *TimerLayerTeamStore) GetUserTeamIds(userId string, allowFromCache bool) ([]string, error)
- func (s *TimerLayerTeamStore) GroupSyncedTeamCount() (int64, error)
- func (s *TimerLayerTeamStore) InvalidateAllTeamIdsForUser(userId string)
- func (s *TimerLayerTeamStore) MigrateTeamMembers(fromTeamId string, fromUserId string) (map[string]string, error)
- func (s *TimerLayerTeamStore) PermanentDelete(teamId string) error
- func (s *TimerLayerTeamStore) RemoveAllMembersByTeam(teamId string) error
- func (s *TimerLayerTeamStore) RemoveAllMembersByUser(userId string) error
- func (s *TimerLayerTeamStore) RemoveMember(teamId string, userId string) error
- func (s *TimerLayerTeamStore) RemoveMembers(teamId string, userIds []string) error
- func (s *TimerLayerTeamStore) ResetAllTeamSchemes() error
- func (s *TimerLayerTeamStore) Save(team *model.Team) (*model.Team, error)
- func (s *TimerLayerTeamStore) SaveMember(member *model.TeamMember, maxUsersPerTeam int) (*model.TeamMember, error)
- func (s *TimerLayerTeamStore) SaveMultipleMembers(members []*model.TeamMember, maxUsersPerTeam int) ([]*model.TeamMember, error)
- func (s *TimerLayerTeamStore) SearchAll(term string, opts *model.TeamSearch) ([]*model.Team, error)
- func (s *TimerLayerTeamStore) SearchAllPaged(term string, opts *model.TeamSearch) ([]*model.Team, int64, error)
- func (s *TimerLayerTeamStore) SearchOpen(term string) ([]*model.Team, error)
- func (s *TimerLayerTeamStore) SearchPrivate(term string) ([]*model.Team, error)
- func (s *TimerLayerTeamStore) Update(team *model.Team) (*model.Team, error)
- func (s *TimerLayerTeamStore) UpdateLastTeamIconUpdate(teamId string, curTime int64) error
- func (s *TimerLayerTeamStore) UpdateMember(member *model.TeamMember) (*model.TeamMember, error)
- func (s *TimerLayerTeamStore) UpdateMembersRole(teamID string, userIDs []string) error
- func (s *TimerLayerTeamStore) UpdateMultipleMembers(members []*model.TeamMember) ([]*model.TeamMember, error)
- func (s *TimerLayerTeamStore) UserBelongsToTeams(userId string, teamIds []string) (bool, error)
- type TimerLayerTermsOfServiceStore
- func (s *TimerLayerTermsOfServiceStore) Get(id string, allowFromCache bool) (*model.TermsOfService, error)
- func (s *TimerLayerTermsOfServiceStore) GetLatest(allowFromCache bool) (*model.TermsOfService, error)
- func (s *TimerLayerTermsOfServiceStore) Save(termsOfService *model.TermsOfService) (*model.TermsOfService, error)
- type TimerLayerThreadStore
- func (s *TimerLayerThreadStore) CollectThreadsWithNewerReplies(userId string, channelIds []string, timestamp int64) ([]string, error)
- func (s *TimerLayerThreadStore) CreateMembershipIfNeeded(userId string, postId string) error
- func (s *TimerLayerThreadStore) Delete(postId string) error
- func (s *TimerLayerThreadStore) DeleteMembershipForUser(userId string, postId string) error
- func (s *TimerLayerThreadStore) Get(id string) (*model.Thread, error)
- func (s *TimerLayerThreadStore) GetMembershipForUser(userId string, postId string) (*model.ThreadMembership, error)
- func (s *TimerLayerThreadStore) GetMembershipsForUser(userId string) ([]*model.ThreadMembership, error)
- func (s *TimerLayerThreadStore) Save(thread *model.Thread) (*model.Thread, error)
- func (s *TimerLayerThreadStore) SaveMembership(membership *model.ThreadMembership) (*model.ThreadMembership, error)
- func (s *TimerLayerThreadStore) SaveMultiple(thread []*model.Thread) ([]*model.Thread, int, error)
- func (s *TimerLayerThreadStore) Update(thread *model.Thread) (*model.Thread, error)
- func (s *TimerLayerThreadStore) UpdateMembership(membership *model.ThreadMembership) (*model.ThreadMembership, error)
- func (s *TimerLayerThreadStore) UpdateUnreadsByChannel(userId string, changedThreads []string, timestamp int64) error
- type TimerLayerTokenStore
- func (s *TimerLayerTokenStore) Cleanup()
- func (s *TimerLayerTokenStore) Delete(token string) error
- func (s *TimerLayerTokenStore) GetByToken(token string) (*model.Token, error)
- func (s *TimerLayerTokenStore) RemoveAllTokensByType(tokenType string) error
- func (s *TimerLayerTokenStore) Save(recovery *model.Token) error
- type TimerLayerUploadSessionStore
- func (s *TimerLayerUploadSessionStore) Delete(id string) error
- func (s *TimerLayerUploadSessionStore) Get(id string) (*model.UploadSession, error)
- func (s *TimerLayerUploadSessionStore) GetForUser(userId string) ([]*model.UploadSession, error)
- func (s *TimerLayerUploadSessionStore) Save(session *model.UploadSession) (*model.UploadSession, error)
- func (s *TimerLayerUploadSessionStore) Update(session *model.UploadSession) error
- type TimerLayerUserAccessTokenStore
- func (s *TimerLayerUserAccessTokenStore) Delete(tokenId string) error
- func (s *TimerLayerUserAccessTokenStore) DeleteAllForUser(userId string) error
- func (s *TimerLayerUserAccessTokenStore) Get(tokenId string) (*model.UserAccessToken, error)
- func (s *TimerLayerUserAccessTokenStore) GetAll(offset int, limit int) ([]*model.UserAccessToken, error)
- func (s *TimerLayerUserAccessTokenStore) GetByToken(tokenString string) (*model.UserAccessToken, error)
- func (s *TimerLayerUserAccessTokenStore) GetByUser(userId string, page int, perPage int) ([]*model.UserAccessToken, error)
- func (s *TimerLayerUserAccessTokenStore) Save(token *model.UserAccessToken) (*model.UserAccessToken, error)
- func (s *TimerLayerUserAccessTokenStore) Search(term string) ([]*model.UserAccessToken, error)
- func (s *TimerLayerUserAccessTokenStore) UpdateTokenDisable(tokenId string) error
- func (s *TimerLayerUserAccessTokenStore) UpdateTokenEnable(tokenId string) error
- type TimerLayerUserStore
- func (s *TimerLayerUserStore) AnalyticsActiveCount(time int64, options model.UserCountOptions) (int64, *model.AppError)
- func (s *TimerLayerUserStore) AnalyticsGetExternalUsers(hostDomain string) (bool, *model.AppError)
- func (s *TimerLayerUserStore) AnalyticsGetGuestCount() (int64, *model.AppError)
- func (s *TimerLayerUserStore) AnalyticsGetInactiveUsersCount() (int64, *model.AppError)
- func (s *TimerLayerUserStore) AnalyticsGetSystemAdminCount() (int64, *model.AppError)
- func (s *TimerLayerUserStore) AutocompleteUsersInChannel(teamId string, channelId string, term string, options *model.UserSearchOptions) (*model.UserAutocompleteInChannel, *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) DeactivateGuests() ([]string, *model.AppError)
- func (s *TimerLayerUserStore) DemoteUserToGuest(userID string) *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) GetAllNotInAuthService(authServices []string) ([]*model.User, *model.AppError)
- func (s *TimerLayerUserStore) GetAllProfiles(options *model.UserGetOptions) ([]*model.User, *model.AppError)
- func (s *TimerLayerUserStore) GetAllProfilesInChannel(channelId string, allowFromCache bool) (map[string]*model.User, *model.AppError)
- func (s *TimerLayerUserStore) GetAllUsingAuthService(authService string) ([]*model.User, *model.AppError)
- func (s *TimerLayerUserStore) GetAnyUnreadPostCountForChannel(userId string, channelId string) (int64, *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) GetChannelGroupUsers(channelID string) ([]*model.User, *model.AppError)
- func (s *TimerLayerUserStore) GetEtagForAllProfiles() string
- func (s *TimerLayerUserStore) GetEtagForProfiles(teamId string) string
- func (s *TimerLayerUserStore) GetEtagForProfilesNotInTeam(teamId string) string
- func (s *TimerLayerUserStore) GetForLogin(loginId string, allowSignInWithUsername bool, allowSignInWithEmail bool) (*model.User, *model.AppError)
- func (s *TimerLayerUserStore) GetKnownUsers(userID string) ([]string, *model.AppError)
- func (s *TimerLayerUserStore) GetNewUsersForTeam(teamId string, offset int, limit int, ...) ([]*model.User, *model.AppError)
- func (s *TimerLayerUserStore) GetProfileByGroupChannelIdsForUser(userId string, channelIds []string) (map[string][]*model.User, *model.AppError)
- func (s *TimerLayerUserStore) GetProfileByIds(userIds []string, options *store.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) GetProfilesInChannel(options *model.UserGetOptions) ([]*model.User, *model.AppError)
- func (s *TimerLayerUserStore) GetProfilesInChannelByStatus(options *model.UserGetOptions) ([]*model.User, *model.AppError)
- func (s *TimerLayerUserStore) GetProfilesNotInChannel(teamId string, channelId string, groupConstrained bool, offset int, limit int, ...) ([]*model.User, *model.AppError)
- func (s *TimerLayerUserStore) GetProfilesNotInTeam(teamId string, groupConstrained bool, offset int, limit int, ...) ([]*model.User, *model.AppError)
- func (s *TimerLayerUserStore) GetProfilesWithoutTeam(options *model.UserGetOptions) ([]*model.User, *model.AppError)
- func (s *TimerLayerUserStore) GetRecentlyActiveUsersForTeam(teamId string, offset int, limit int, ...) ([]*model.User, *model.AppError)
- func (s *TimerLayerUserStore) GetSystemAdminProfiles() (map[string]*model.User, *model.AppError)
- func (s *TimerLayerUserStore) GetTeamGroupUsers(teamID string) ([]*model.User, *model.AppError)
- func (s *TimerLayerUserStore) GetUnreadCount(userId string) (int64, *model.AppError)
- func (s *TimerLayerUserStore) GetUnreadCountForChannel(userId string, channelId string) (int64, *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) InvalidateProfilesInChannelCache(channelId string)
- func (s *TimerLayerUserStore) InvalidateProfilesInChannelCacheByUser(userId string)
- func (s *TimerLayerUserStore) PermanentDelete(userId string) *model.AppError
- func (s *TimerLayerUserStore) PromoteGuestToUser(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) Search(teamId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
- func (s *TimerLayerUserStore) SearchInChannel(channelId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
- func (s *TimerLayerUserStore) SearchInGroup(groupID string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
- func (s *TimerLayerUserStore) SearchNotInChannel(teamId string, channelId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
- func (s *TimerLayerUserStore) SearchNotInTeam(notInTeamId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
- func (s *TimerLayerUserStore) SearchWithoutTeam(term string, options *model.UserSearchOptions) ([]*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
- func (s *TimerLayerUserTermsOfServiceStore) Delete(userId string, termsOfServiceId string) error
- func (s *TimerLayerUserTermsOfServiceStore) GetByUser(userId string) (*model.UserTermsOfService, error)
- func (s *TimerLayerUserTermsOfServiceStore) Save(userTermsOfService *model.UserTermsOfService) (*model.UserTermsOfService, error)
- type TimerLayerWebhookStore
- func (s *TimerLayerWebhookStore) AnalyticsIncomingCount(teamId string) (int64, error)
- func (s *TimerLayerWebhookStore) AnalyticsOutgoingCount(teamId string) (int64, error)
- func (s *TimerLayerWebhookStore) ClearCaches()
- func (s *TimerLayerWebhookStore) DeleteIncoming(webhookId string, time int64) error
- func (s *TimerLayerWebhookStore) DeleteOutgoing(webhookId string, time int64) error
- func (s *TimerLayerWebhookStore) GetIncoming(id string, allowFromCache bool) (*model.IncomingWebhook, error)
- func (s *TimerLayerWebhookStore) GetIncomingByChannel(channelId string) ([]*model.IncomingWebhook, error)
- func (s *TimerLayerWebhookStore) GetIncomingByTeam(teamId string, offset int, limit int) ([]*model.IncomingWebhook, error)
- func (s *TimerLayerWebhookStore) GetIncomingByTeamByUser(teamId string, userId string, offset int, limit int) ([]*model.IncomingWebhook, error)
- func (s *TimerLayerWebhookStore) GetIncomingList(offset int, limit int) ([]*model.IncomingWebhook, error)
- func (s *TimerLayerWebhookStore) GetIncomingListByUser(userId string, offset int, limit int) ([]*model.IncomingWebhook, error)
- func (s *TimerLayerWebhookStore) GetOutgoing(id string) (*model.OutgoingWebhook, error)
- func (s *TimerLayerWebhookStore) GetOutgoingByChannel(channelId string, offset int, limit int) ([]*model.OutgoingWebhook, error)
- func (s *TimerLayerWebhookStore) GetOutgoingByChannelByUser(channelId string, userId string, offset int, limit int) ([]*model.OutgoingWebhook, error)
- func (s *TimerLayerWebhookStore) GetOutgoingByTeam(teamId string, offset int, limit int) ([]*model.OutgoingWebhook, error)
- func (s *TimerLayerWebhookStore) GetOutgoingByTeamByUser(teamId string, userId string, offset int, limit int) ([]*model.OutgoingWebhook, error)
- func (s *TimerLayerWebhookStore) GetOutgoingList(offset int, limit int) ([]*model.OutgoingWebhook, error)
- func (s *TimerLayerWebhookStore) GetOutgoingListByUser(userId string, offset int, limit int) ([]*model.OutgoingWebhook, error)
- func (s *TimerLayerWebhookStore) InvalidateWebhookCache(webhook string)
- func (s *TimerLayerWebhookStore) PermanentDeleteIncomingByChannel(channelId string) error
- func (s *TimerLayerWebhookStore) PermanentDeleteIncomingByUser(userId string) error
- func (s *TimerLayerWebhookStore) PermanentDeleteOutgoingByChannel(channelId string) error
- func (s *TimerLayerWebhookStore) PermanentDeleteOutgoingByUser(userId string) error
- func (s *TimerLayerWebhookStore) SaveIncoming(webhook *model.IncomingWebhook) (*model.IncomingWebhook, error)
- func (s *TimerLayerWebhookStore) SaveOutgoing(webhook *model.OutgoingWebhook) (*model.OutgoingWebhook, error)
- func (s *TimerLayerWebhookStore) UpdateIncoming(webhook *model.IncomingWebhook) (*model.IncomingWebhook, error)
- func (s *TimerLayerWebhookStore) UpdateOutgoing(hook *model.OutgoingWebhook) (*model.OutgoingWebhook, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TimerLayer ¶
type TimerLayer struct { store.Store Metrics einterfaces.MetricsInterface AuditStore store.AuditStore BotStore store.BotStore ChannelStore store.ChannelStore ChannelMemberHistoryStore store.ChannelMemberHistoryStore ClusterDiscoveryStore store.ClusterDiscoveryStore CommandStore store.CommandStore CommandWebhookStore store.CommandWebhookStore ComplianceStore store.ComplianceStore EmojiStore store.EmojiStore FileInfoStore store.FileInfoStore GroupStore store.GroupStore JobStore store.JobStore LicenseStore store.LicenseStore LinkMetadataStore store.LinkMetadataStore OAuthStore store.OAuthStore PluginStore store.PluginStore PostStore store.PostStore PreferenceStore store.PreferenceStore ProductNoticesStore store.ProductNoticesStore ReactionStore store.ReactionStore RoleStore store.RoleStore SchemeStore store.SchemeStore SessionStore store.SessionStore StatusStore store.StatusStore SystemStore store.SystemStore TeamStore store.TeamStore TermsOfServiceStore store.TermsOfServiceStore ThreadStore store.ThreadStore TokenStore store.TokenStore UploadSessionStore store.UploadSessionStore UserStore store.UserStore UserAccessTokenStore store.UserAccessTokenStore UserTermsOfServiceStore store.UserTermsOfServiceStore WebhookStore store.WebhookStore }
func New ¶
func New(childStore store.Store, metrics einterfaces.MetricsInterface) *TimerLayer
func (*TimerLayer) Audit ¶
func (s *TimerLayer) Audit() store.AuditStore
func (*TimerLayer) Bot ¶
func (s *TimerLayer) Bot() store.BotStore
func (*TimerLayer) Channel ¶
func (s *TimerLayer) Channel() store.ChannelStore
func (*TimerLayer) ChannelMemberHistory ¶
func (s *TimerLayer) ChannelMemberHistory() store.ChannelMemberHistoryStore
func (*TimerLayer) Close ¶
func (s *TimerLayer) Close()
func (*TimerLayer) ClusterDiscovery ¶
func (s *TimerLayer) ClusterDiscovery() store.ClusterDiscoveryStore
func (*TimerLayer) Command ¶
func (s *TimerLayer) Command() store.CommandStore
func (*TimerLayer) CommandWebhook ¶
func (s *TimerLayer) CommandWebhook() store.CommandWebhookStore
func (*TimerLayer) Compliance ¶
func (s *TimerLayer) Compliance() store.ComplianceStore
func (*TimerLayer) DropAllTables ¶
func (s *TimerLayer) DropAllTables()
func (*TimerLayer) Emoji ¶
func (s *TimerLayer) Emoji() store.EmojiStore
func (*TimerLayer) FileInfo ¶
func (s *TimerLayer) FileInfo() store.FileInfoStore
func (*TimerLayer) GetCurrentSchemaVersion ¶
func (s *TimerLayer) GetCurrentSchemaVersion() string
func (*TimerLayer) Group ¶
func (s *TimerLayer) Group() store.GroupStore
func (*TimerLayer) Job ¶
func (s *TimerLayer) Job() store.JobStore
func (*TimerLayer) License ¶
func (s *TimerLayer) License() store.LicenseStore
func (*TimerLayer) LinkMetadata ¶
func (s *TimerLayer) LinkMetadata() store.LinkMetadataStore
func (*TimerLayer) LockToMaster ¶
func (s *TimerLayer) LockToMaster()
func (*TimerLayer) MarkSystemRanUnitTests ¶
func (s *TimerLayer) MarkSystemRanUnitTests()
func (*TimerLayer) OAuth ¶
func (s *TimerLayer) OAuth() store.OAuthStore
func (*TimerLayer) Plugin ¶
func (s *TimerLayer) Plugin() store.PluginStore
func (*TimerLayer) Post ¶
func (s *TimerLayer) Post() store.PostStore
func (*TimerLayer) Preference ¶
func (s *TimerLayer) Preference() store.PreferenceStore
func (*TimerLayer) ProductNotices ¶
func (s *TimerLayer) ProductNotices() store.ProductNoticesStore
func (*TimerLayer) Reaction ¶
func (s *TimerLayer) Reaction() store.ReactionStore
func (*TimerLayer) Role ¶
func (s *TimerLayer) Role() store.RoleStore
func (*TimerLayer) Scheme ¶
func (s *TimerLayer) Scheme() store.SchemeStore
func (*TimerLayer) Session ¶
func (s *TimerLayer) Session() store.SessionStore
func (*TimerLayer) SetContext ¶
func (s *TimerLayer) SetContext(context context.Context)
func (*TimerLayer) Status ¶
func (s *TimerLayer) Status() store.StatusStore
func (*TimerLayer) System ¶
func (s *TimerLayer) System() store.SystemStore
func (*TimerLayer) Team ¶
func (s *TimerLayer) Team() store.TeamStore
func (*TimerLayer) TermsOfService ¶
func (s *TimerLayer) TermsOfService() store.TermsOfServiceStore
func (*TimerLayer) Thread ¶ added in v5.29.0
func (s *TimerLayer) Thread() store.ThreadStore
func (*TimerLayer) Token ¶
func (s *TimerLayer) Token() store.TokenStore
func (*TimerLayer) TotalMasterDbConnections ¶
func (s *TimerLayer) TotalMasterDbConnections() int
func (*TimerLayer) TotalReadDbConnections ¶
func (s *TimerLayer) TotalReadDbConnections() int
func (*TimerLayer) TotalSearchDbConnections ¶
func (s *TimerLayer) TotalSearchDbConnections() int
func (*TimerLayer) UnlockFromMaster ¶
func (s *TimerLayer) UnlockFromMaster()
func (*TimerLayer) UploadSession ¶
func (s *TimerLayer) UploadSession() store.UploadSessionStore
func (*TimerLayer) User ¶
func (s *TimerLayer) User() store.UserStore
func (*TimerLayer) UserAccessToken ¶
func (s *TimerLayer) UserAccessToken() store.UserAccessTokenStore
func (*TimerLayer) UserTermsOfService ¶
func (s *TimerLayer) UserTermsOfService() store.UserTermsOfServiceStore
func (*TimerLayer) Webhook ¶
func (s *TimerLayer) Webhook() store.WebhookStore
type TimerLayerAuditStore ¶
type TimerLayerAuditStore struct { store.AuditStore Root *TimerLayer }
func (*TimerLayerAuditStore) PermanentDeleteByUser ¶
func (s *TimerLayerAuditStore) PermanentDeleteByUser(userId string) error
type TimerLayerBotStore ¶
type TimerLayerBotStore struct { store.BotStore Root *TimerLayer }
func (*TimerLayerBotStore) GetAll ¶
func (s *TimerLayerBotStore) GetAll(options *model.BotGetOptions) ([]*model.Bot, error)
func (*TimerLayerBotStore) PermanentDelete ¶
func (s *TimerLayerBotStore) PermanentDelete(userId string) error
type TimerLayerChannelMemberHistoryStore ¶
type TimerLayerChannelMemberHistoryStore struct { store.ChannelMemberHistoryStore Root *TimerLayer }
func (*TimerLayerChannelMemberHistoryStore) GetUsersInChannelDuring ¶
func (s *TimerLayerChannelMemberHistoryStore) GetUsersInChannelDuring(startTime int64, endTime int64, channelId string) ([]*model.ChannelMemberHistoryResult, error)
func (*TimerLayerChannelMemberHistoryStore) LogJoinEvent ¶
func (s *TimerLayerChannelMemberHistoryStore) LogJoinEvent(userId string, channelId string, joinTime int64) error
func (*TimerLayerChannelMemberHistoryStore) LogLeaveEvent ¶
func (s *TimerLayerChannelMemberHistoryStore) LogLeaveEvent(userId string, channelId string, leaveTime int64) error
func (*TimerLayerChannelMemberHistoryStore) PermanentDeleteBatch ¶
func (s *TimerLayerChannelMemberHistoryStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, error)
type TimerLayerChannelStore ¶
type TimerLayerChannelStore struct { store.ChannelStore Root *TimerLayer }
func (*TimerLayerChannelStore) AnalyticsDeletedTypeCount ¶
func (*TimerLayerChannelStore) AnalyticsTypeCount ¶
func (s *TimerLayerChannelStore) AnalyticsTypeCount(teamId string, channelType string) (int64, error)
func (*TimerLayerChannelStore) AutocompleteInTeam ¶
func (s *TimerLayerChannelStore) AutocompleteInTeam(teamId string, term string, includeDeleted bool) (*model.ChannelList, *model.AppError)
func (*TimerLayerChannelStore) AutocompleteInTeamForSearch ¶
func (s *TimerLayerChannelStore) AutocompleteInTeamForSearch(teamId string, userId string, term string, includeDeleted bool) (*model.ChannelList, *model.AppError)
func (*TimerLayerChannelStore) ClearAllCustomRoleAssignments ¶
func (s *TimerLayerChannelStore) ClearAllCustomRoleAssignments() *model.AppError
func (*TimerLayerChannelStore) ClearCaches ¶
func (s *TimerLayerChannelStore) ClearCaches()
func (*TimerLayerChannelStore) ClearSidebarOnTeamLeave ¶
func (s *TimerLayerChannelStore) ClearSidebarOnTeamLeave(userId string, teamId string) error
func (*TimerLayerChannelStore) CountPostsAfter ¶
func (*TimerLayerChannelStore) CreateDirectChannel ¶
func (*TimerLayerChannelStore) CreateInitialSidebarCategories ¶
func (s *TimerLayerChannelStore) CreateInitialSidebarCategories(userId string, teamId string) error
func (*TimerLayerChannelStore) CreateSidebarCategory ¶
func (s *TimerLayerChannelStore) CreateSidebarCategory(userId string, teamId string, newCategory *model.SidebarCategoryWithChannels) (*model.SidebarCategoryWithChannels, *model.AppError)
func (*TimerLayerChannelStore) Delete ¶
func (s *TimerLayerChannelStore) Delete(channelId string, time int64) error
func (*TimerLayerChannelStore) DeleteSidebarCategory ¶
func (s *TimerLayerChannelStore) DeleteSidebarCategory(categoryId string) *model.AppError
func (*TimerLayerChannelStore) DeleteSidebarChannelsByPreferences ¶
func (s *TimerLayerChannelStore) DeleteSidebarChannelsByPreferences(preferences *model.Preferences) error
func (*TimerLayerChannelStore) GetAll ¶
func (s *TimerLayerChannelStore) GetAll(teamId string) ([]*model.Channel, error)
func (*TimerLayerChannelStore) GetAllChannelMembersForUser ¶
func (*TimerLayerChannelStore) GetAllChannelMembersNotifyPropsForChannel ¶
func (*TimerLayerChannelStore) GetAllChannels ¶
func (s *TimerLayerChannelStore) GetAllChannels(page int, perPage int, opts store.ChannelSearchOpts) (*model.ChannelListWithTeamData, error)
func (*TimerLayerChannelStore) GetAllChannelsCount ¶
func (s *TimerLayerChannelStore) GetAllChannelsCount(opts store.ChannelSearchOpts) (int64, error)
func (*TimerLayerChannelStore) GetAllChannelsForExportAfter ¶
func (s *TimerLayerChannelStore) GetAllChannelsForExportAfter(limit int, afterId string) ([]*model.ChannelForExport, *model.AppError)
func (*TimerLayerChannelStore) GetAllDirectChannelsForExportAfter ¶
func (s *TimerLayerChannelStore) GetAllDirectChannelsForExportAfter(limit int, afterId string) ([]*model.DirectChannelForExport, *model.AppError)
func (*TimerLayerChannelStore) GetByNameIncludeDeleted ¶
func (*TimerLayerChannelStore) GetByNames ¶
func (*TimerLayerChannelStore) GetChannelCounts ¶
func (s *TimerLayerChannelStore) GetChannelCounts(teamId string, userId string) (*model.ChannelCounts, error)
func (*TimerLayerChannelStore) GetChannelMembersForExport ¶
func (s *TimerLayerChannelStore) GetChannelMembersForExport(userId string, teamId string) ([]*model.ChannelMemberForExport, *model.AppError)
func (*TimerLayerChannelStore) GetChannelMembersTimezones ¶
func (s *TimerLayerChannelStore) GetChannelMembersTimezones(channelId string) ([]model.StringMap, error)
func (*TimerLayerChannelStore) GetChannelUnread ¶
func (s *TimerLayerChannelStore) GetChannelUnread(channelId string, userId string) (*model.ChannelUnread, *model.AppError)
func (*TimerLayerChannelStore) GetChannels ¶
func (s *TimerLayerChannelStore) GetChannels(teamId string, userId string, includeDeleted bool, lastDeleteAt int) (*model.ChannelList, error)
func (*TimerLayerChannelStore) GetChannelsBatchForIndexing ¶
func (*TimerLayerChannelStore) GetChannelsByIds ¶
func (*TimerLayerChannelStore) GetChannelsByScheme ¶
func (s *TimerLayerChannelStore) GetChannelsByScheme(schemeId string, offset int, limit int) (model.ChannelList, *model.AppError)
func (*TimerLayerChannelStore) GetDeleted ¶
func (s *TimerLayerChannelStore) GetDeleted(team_id string, offset int, limit int, userId string) (*model.ChannelList, error)
func (*TimerLayerChannelStore) GetDeletedByName ¶
func (*TimerLayerChannelStore) GetForPost ¶
func (s *TimerLayerChannelStore) GetForPost(postId string) (*model.Channel, error)
func (*TimerLayerChannelStore) GetFromMaster ¶
func (s *TimerLayerChannelStore) GetFromMaster(id string) (*model.Channel, error)
func (*TimerLayerChannelStore) GetGuestCount ¶
func (s *TimerLayerChannelStore) GetGuestCount(channelId string, allowFromCache bool) (int64, error)
func (*TimerLayerChannelStore) GetMember ¶
func (s *TimerLayerChannelStore) GetMember(channelId string, userId string) (*model.ChannelMember, error)
func (*TimerLayerChannelStore) GetMemberCount ¶
func (s *TimerLayerChannelStore) GetMemberCount(channelId string, allowFromCache bool) (int64, error)
func (*TimerLayerChannelStore) GetMemberCountFromCache ¶
func (s *TimerLayerChannelStore) GetMemberCountFromCache(channelId string) int64
func (*TimerLayerChannelStore) GetMemberCountsByGroup ¶
func (s *TimerLayerChannelStore) GetMemberCountsByGroup(channelID string, includeTimezones bool) ([]*model.ChannelMemberCountByGroup, error)
func (*TimerLayerChannelStore) GetMemberForPost ¶
func (s *TimerLayerChannelStore) GetMemberForPost(postId string, userId string) (*model.ChannelMember, error)
func (*TimerLayerChannelStore) GetMembers ¶
func (s *TimerLayerChannelStore) GetMembers(channelId string, offset int, limit int) (*model.ChannelMembers, error)
func (*TimerLayerChannelStore) GetMembersByIds ¶
func (s *TimerLayerChannelStore) GetMembersByIds(channelId string, userIds []string) (*model.ChannelMembers, *model.AppError)
func (*TimerLayerChannelStore) GetMembersForUser ¶
func (s *TimerLayerChannelStore) GetMembersForUser(teamId string, userId string) (*model.ChannelMembers, error)
func (*TimerLayerChannelStore) GetMembersForUserWithPagination ¶
func (s *TimerLayerChannelStore) GetMembersForUserWithPagination(teamId string, userId string, page int, perPage int) (*model.ChannelMembers, error)
func (*TimerLayerChannelStore) GetMoreChannels ¶
func (s *TimerLayerChannelStore) GetMoreChannels(teamId string, userId string, offset int, limit int) (*model.ChannelList, error)
func (*TimerLayerChannelStore) GetPinnedPostCount ¶
func (s *TimerLayerChannelStore) GetPinnedPostCount(channelId string, allowFromCache bool) (int64, error)
func (*TimerLayerChannelStore) GetPinnedPosts ¶
func (s *TimerLayerChannelStore) GetPinnedPosts(channelId string) (*model.PostList, error)
func (*TimerLayerChannelStore) GetPrivateChannelsForTeam ¶
func (s *TimerLayerChannelStore) GetPrivateChannelsForTeam(teamId string, offset int, limit int) (*model.ChannelList, error)
func (*TimerLayerChannelStore) GetPublicChannelsByIdsForTeam ¶
func (s *TimerLayerChannelStore) GetPublicChannelsByIdsForTeam(teamId string, channelIds []string) (*model.ChannelList, error)
func (*TimerLayerChannelStore) GetPublicChannelsForTeam ¶
func (s *TimerLayerChannelStore) GetPublicChannelsForTeam(teamId string, offset int, limit int) (*model.ChannelList, error)
func (*TimerLayerChannelStore) GetSidebarCategories ¶
func (s *TimerLayerChannelStore) GetSidebarCategories(userId string, teamId string) (*model.OrderedSidebarCategories, *model.AppError)
func (*TimerLayerChannelStore) GetSidebarCategory ¶
func (s *TimerLayerChannelStore) GetSidebarCategory(categoryId string) (*model.SidebarCategoryWithChannels, *model.AppError)
func (*TimerLayerChannelStore) GetSidebarCategoryOrder ¶
func (*TimerLayerChannelStore) GetTeamChannels ¶
func (s *TimerLayerChannelStore) GetTeamChannels(teamId string) (*model.ChannelList, error)
func (*TimerLayerChannelStore) GroupSyncedChannelCount ¶
func (s *TimerLayerChannelStore) GroupSyncedChannelCount() (int64, *model.AppError)
func (*TimerLayerChannelStore) IncrementMentionCount ¶
func (s *TimerLayerChannelStore) IncrementMentionCount(channelId string, userId string, updateThreads bool) error
func (*TimerLayerChannelStore) InvalidateAllChannelMembersForUser ¶
func (s *TimerLayerChannelStore) InvalidateAllChannelMembersForUser(userId string)
func (*TimerLayerChannelStore) InvalidateCacheForChannelMembersNotifyProps ¶
func (s *TimerLayerChannelStore) InvalidateCacheForChannelMembersNotifyProps(channelId string)
func (*TimerLayerChannelStore) InvalidateChannel ¶
func (s *TimerLayerChannelStore) InvalidateChannel(id string)
func (*TimerLayerChannelStore) InvalidateChannelByName ¶
func (s *TimerLayerChannelStore) InvalidateChannelByName(teamId string, name string)
func (*TimerLayerChannelStore) InvalidateGuestCount ¶
func (s *TimerLayerChannelStore) InvalidateGuestCount(channelId string)
func (*TimerLayerChannelStore) InvalidateMemberCount ¶
func (s *TimerLayerChannelStore) InvalidateMemberCount(channelId string)
func (*TimerLayerChannelStore) InvalidatePinnedPostCount ¶
func (s *TimerLayerChannelStore) InvalidatePinnedPostCount(channelId string)
func (*TimerLayerChannelStore) IsUserInChannelUseCache ¶
func (s *TimerLayerChannelStore) IsUserInChannelUseCache(userId string, channelId string) bool
func (*TimerLayerChannelStore) MigrateChannelMembers ¶
func (*TimerLayerChannelStore) MigratePublicChannels ¶
func (s *TimerLayerChannelStore) MigratePublicChannels() error
func (*TimerLayerChannelStore) PermanentDelete ¶
func (s *TimerLayerChannelStore) PermanentDelete(channelId string) error
func (*TimerLayerChannelStore) PermanentDeleteByTeam ¶
func (s *TimerLayerChannelStore) PermanentDeleteByTeam(teamId string) error
func (*TimerLayerChannelStore) PermanentDeleteMembersByChannel ¶
func (s *TimerLayerChannelStore) PermanentDeleteMembersByChannel(channelId string) error
func (*TimerLayerChannelStore) PermanentDeleteMembersByUser ¶
func (s *TimerLayerChannelStore) PermanentDeleteMembersByUser(userId string) error
func (*TimerLayerChannelStore) RemoveAllDeactivatedMembers ¶
func (s *TimerLayerChannelStore) RemoveAllDeactivatedMembers(channelId string) *model.AppError
func (*TimerLayerChannelStore) RemoveMember ¶
func (s *TimerLayerChannelStore) RemoveMember(channelId string, userId string) error
func (*TimerLayerChannelStore) RemoveMembers ¶
func (s *TimerLayerChannelStore) RemoveMembers(channelId string, userIds []string) error
func (*TimerLayerChannelStore) ResetAllChannelSchemes ¶
func (s *TimerLayerChannelStore) ResetAllChannelSchemes() *model.AppError
func (*TimerLayerChannelStore) Restore ¶
func (s *TimerLayerChannelStore) Restore(channelId string, time int64) error
func (*TimerLayerChannelStore) SaveDirectChannel ¶
func (s *TimerLayerChannelStore) SaveDirectChannel(channel *model.Channel, member1 *model.ChannelMember, member2 *model.ChannelMember) (*model.Channel, error)
func (*TimerLayerChannelStore) SaveMember ¶
func (s *TimerLayerChannelStore) SaveMember(member *model.ChannelMember) (*model.ChannelMember, error)
func (*TimerLayerChannelStore) SaveMultipleMembers ¶
func (s *TimerLayerChannelStore) SaveMultipleMembers(members []*model.ChannelMember) ([]*model.ChannelMember, error)
func (*TimerLayerChannelStore) SearchAllChannels ¶
func (s *TimerLayerChannelStore) SearchAllChannels(term string, opts store.ChannelSearchOpts) (*model.ChannelListWithTeamData, int64, *model.AppError)
func (*TimerLayerChannelStore) SearchArchivedInTeam ¶
func (s *TimerLayerChannelStore) SearchArchivedInTeam(teamId string, term string, userId string) (*model.ChannelList, *model.AppError)
func (*TimerLayerChannelStore) SearchForUserInTeam ¶
func (s *TimerLayerChannelStore) SearchForUserInTeam(userId string, teamId string, term string, includeDeleted bool) (*model.ChannelList, *model.AppError)
func (*TimerLayerChannelStore) SearchGroupChannels ¶
func (s *TimerLayerChannelStore) SearchGroupChannels(userId string, term string) (*model.ChannelList, *model.AppError)
func (*TimerLayerChannelStore) SearchInTeam ¶
func (s *TimerLayerChannelStore) SearchInTeam(teamId string, term string, includeDeleted bool) (*model.ChannelList, *model.AppError)
func (*TimerLayerChannelStore) SearchMore ¶
func (s *TimerLayerChannelStore) SearchMore(userId string, teamId string, term string) (*model.ChannelList, *model.AppError)
func (*TimerLayerChannelStore) SetDeleteAt ¶
func (s *TimerLayerChannelStore) SetDeleteAt(channelId string, deleteAt int64, updateAt int64) error
func (*TimerLayerChannelStore) UpdateLastViewedAt ¶
func (*TimerLayerChannelStore) UpdateLastViewedAtPost ¶
func (s *TimerLayerChannelStore) UpdateLastViewedAtPost(unreadPost *model.Post, userID string, mentionCount int, updateThreads bool) (*model.ChannelUnreadAt, error)
func (*TimerLayerChannelStore) UpdateMember ¶
func (s *TimerLayerChannelStore) UpdateMember(member *model.ChannelMember) (*model.ChannelMember, error)
func (*TimerLayerChannelStore) UpdateMembersRole ¶
func (s *TimerLayerChannelStore) UpdateMembersRole(channelID string, userIDs []string) *model.AppError
func (*TimerLayerChannelStore) UpdateMultipleMembers ¶
func (s *TimerLayerChannelStore) UpdateMultipleMembers(members []*model.ChannelMember) ([]*model.ChannelMember, error)
func (*TimerLayerChannelStore) UpdateSidebarCategories ¶
func (s *TimerLayerChannelStore) UpdateSidebarCategories(userId string, teamId string, categories []*model.SidebarCategoryWithChannels) ([]*model.SidebarCategoryWithChannels, *model.AppError)
func (*TimerLayerChannelStore) UpdateSidebarCategoryOrder ¶
func (*TimerLayerChannelStore) UpdateSidebarChannelCategoryOnMove ¶
func (s *TimerLayerChannelStore) UpdateSidebarChannelCategoryOnMove(channel *model.Channel, newTeamId string) error
func (*TimerLayerChannelStore) UpdateSidebarChannelsByPreferences ¶
func (s *TimerLayerChannelStore) UpdateSidebarChannelsByPreferences(preferences *model.Preferences) error
func (*TimerLayerChannelStore) UserBelongsToChannels ¶
type TimerLayerClusterDiscoveryStore ¶
type TimerLayerClusterDiscoveryStore struct { store.ClusterDiscoveryStore Root *TimerLayer }
func (*TimerLayerClusterDiscoveryStore) Cleanup ¶
func (s *TimerLayerClusterDiscoveryStore) Cleanup() error
func (*TimerLayerClusterDiscoveryStore) Delete ¶
func (s *TimerLayerClusterDiscoveryStore) Delete(discovery *model.ClusterDiscovery) (bool, error)
func (*TimerLayerClusterDiscoveryStore) Exists ¶
func (s *TimerLayerClusterDiscoveryStore) Exists(discovery *model.ClusterDiscovery) (bool, error)
func (*TimerLayerClusterDiscoveryStore) GetAll ¶
func (s *TimerLayerClusterDiscoveryStore) GetAll(discoveryType string, clusterName string) ([]*model.ClusterDiscovery, error)
func (*TimerLayerClusterDiscoveryStore) Save ¶
func (s *TimerLayerClusterDiscoveryStore) Save(discovery *model.ClusterDiscovery) error
func (*TimerLayerClusterDiscoveryStore) SetLastPingAt ¶
func (s *TimerLayerClusterDiscoveryStore) SetLastPingAt(discovery *model.ClusterDiscovery) error
type TimerLayerCommandStore ¶
type TimerLayerCommandStore struct { store.CommandStore Root *TimerLayer }
func (*TimerLayerCommandStore) AnalyticsCommandCount ¶
func (s *TimerLayerCommandStore) AnalyticsCommandCount(teamId string) (int64, error)
func (*TimerLayerCommandStore) Delete ¶
func (s *TimerLayerCommandStore) Delete(commandId string, time int64) error
func (*TimerLayerCommandStore) Get ¶
func (s *TimerLayerCommandStore) Get(id string) (*model.Command, error)
func (*TimerLayerCommandStore) GetByTeam ¶
func (s *TimerLayerCommandStore) GetByTeam(teamId string) ([]*model.Command, error)
func (*TimerLayerCommandStore) GetByTrigger ¶
func (*TimerLayerCommandStore) PermanentDeleteByTeam ¶
func (s *TimerLayerCommandStore) PermanentDeleteByTeam(teamId string) error
func (*TimerLayerCommandStore) PermanentDeleteByUser ¶
func (s *TimerLayerCommandStore) PermanentDeleteByUser(userId string) error
type TimerLayerCommandWebhookStore ¶
type TimerLayerCommandWebhookStore struct { store.CommandWebhookStore Root *TimerLayer }
func (*TimerLayerCommandWebhookStore) Cleanup ¶
func (s *TimerLayerCommandWebhookStore) Cleanup()
func (*TimerLayerCommandWebhookStore) Get ¶
func (s *TimerLayerCommandWebhookStore) Get(id string) (*model.CommandWebhook, error)
func (*TimerLayerCommandWebhookStore) Save ¶
func (s *TimerLayerCommandWebhookStore) Save(webhook *model.CommandWebhook) (*model.CommandWebhook, error)
type TimerLayerComplianceStore ¶
type TimerLayerComplianceStore struct { store.ComplianceStore Root *TimerLayer }
func (*TimerLayerComplianceStore) ComplianceExport ¶
func (s *TimerLayerComplianceStore) ComplianceExport(compliance *model.Compliance) ([]*model.CompliancePost, error)
func (*TimerLayerComplianceStore) Get ¶
func (s *TimerLayerComplianceStore) Get(id string) (*model.Compliance, error)
func (*TimerLayerComplianceStore) GetAll ¶
func (s *TimerLayerComplianceStore) GetAll(offset int, limit int) (model.Compliances, error)
func (*TimerLayerComplianceStore) MessageExport ¶
func (s *TimerLayerComplianceStore) MessageExport(after int64, limit int) ([]*model.MessageExport, error)
func (*TimerLayerComplianceStore) Save ¶
func (s *TimerLayerComplianceStore) Save(compliance *model.Compliance) (*model.Compliance, error)
func (*TimerLayerComplianceStore) Update ¶
func (s *TimerLayerComplianceStore) Update(compliance *model.Compliance) (*model.Compliance, error)
type TimerLayerEmojiStore ¶
type TimerLayerEmojiStore struct { store.EmojiStore Root *TimerLayer }
func (*TimerLayerEmojiStore) Delete ¶
func (s *TimerLayerEmojiStore) Delete(emoji *model.Emoji, time int64) error
func (*TimerLayerEmojiStore) GetMultipleByName ¶
func (s *TimerLayerEmojiStore) GetMultipleByName(names []string) ([]*model.Emoji, error)
type TimerLayerFileInfoStore ¶
type TimerLayerFileInfoStore struct { store.FileInfoStore Root *TimerLayer }
func (*TimerLayerFileInfoStore) AttachToPost ¶
func (s *TimerLayerFileInfoStore) AttachToPost(fileId string, postId string, creatorId string) error
func (*TimerLayerFileInfoStore) ClearCaches ¶
func (s *TimerLayerFileInfoStore) ClearCaches()
func (*TimerLayerFileInfoStore) DeleteForPost ¶
func (s *TimerLayerFileInfoStore) DeleteForPost(postId string) (string, error)
func (*TimerLayerFileInfoStore) Get ¶
func (s *TimerLayerFileInfoStore) Get(id string) (*model.FileInfo, error)
func (*TimerLayerFileInfoStore) GetByPath ¶
func (s *TimerLayerFileInfoStore) GetByPath(path string) (*model.FileInfo, error)
func (*TimerLayerFileInfoStore) GetForPost ¶
func (*TimerLayerFileInfoStore) GetForUser ¶
func (s *TimerLayerFileInfoStore) GetForUser(userId string) ([]*model.FileInfo, error)
func (*TimerLayerFileInfoStore) GetWithOptions ¶
func (s *TimerLayerFileInfoStore) GetWithOptions(page int, perPage int, opt *model.GetFileInfosOptions) ([]*model.FileInfo, error)
func (*TimerLayerFileInfoStore) InvalidateFileInfosForPostCache ¶
func (s *TimerLayerFileInfoStore) InvalidateFileInfosForPostCache(postId string, deleted bool)
func (*TimerLayerFileInfoStore) PermanentDelete ¶
func (s *TimerLayerFileInfoStore) PermanentDelete(fileId string) error
func (*TimerLayerFileInfoStore) PermanentDeleteBatch ¶
func (s *TimerLayerFileInfoStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, error)
func (*TimerLayerFileInfoStore) PermanentDeleteByUser ¶
func (s *TimerLayerFileInfoStore) PermanentDeleteByUser(userId string) (int64, error)
type TimerLayerGroupStore ¶
type TimerLayerGroupStore struct { store.GroupStore Root *TimerLayer }
func (*TimerLayerGroupStore) AdminRoleGroupsForSyncableMember ¶
func (s *TimerLayerGroupStore) AdminRoleGroupsForSyncableMember(userID string, syncableID string, syncableType model.GroupSyncableType) ([]string, *model.AppError)
func (*TimerLayerGroupStore) ChannelMembersMinusGroupMembers ¶
func (s *TimerLayerGroupStore) ChannelMembersMinusGroupMembers(channelID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, *model.AppError)
func (*TimerLayerGroupStore) ChannelMembersToAdd ¶
func (s *TimerLayerGroupStore) ChannelMembersToAdd(since int64, channelID *string) ([]*model.UserChannelIDPair, *model.AppError)
func (*TimerLayerGroupStore) ChannelMembersToRemove ¶
func (s *TimerLayerGroupStore) ChannelMembersToRemove(channelID *string) ([]*model.ChannelMember, *model.AppError)
func (*TimerLayerGroupStore) CountChannelMembersMinusGroupMembers ¶
func (*TimerLayerGroupStore) CountGroupsByChannel ¶
func (s *TimerLayerGroupStore) CountGroupsByChannel(channelId string, opts model.GroupSearchOpts) (int64, *model.AppError)
func (*TimerLayerGroupStore) CountGroupsByTeam ¶
func (s *TimerLayerGroupStore) CountGroupsByTeam(teamId string, opts model.GroupSearchOpts) (int64, *model.AppError)
func (*TimerLayerGroupStore) CountTeamMembersMinusGroupMembers ¶
func (*TimerLayerGroupStore) CreateGroupSyncable ¶
func (s *TimerLayerGroupStore) CreateGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, *model.AppError)
func (*TimerLayerGroupStore) DeleteGroupSyncable ¶
func (s *TimerLayerGroupStore) DeleteGroupSyncable(groupID string, syncableID string, syncableType model.GroupSyncableType) (*model.GroupSyncable, *model.AppError)
func (*TimerLayerGroupStore) DeleteMember ¶
func (s *TimerLayerGroupStore) DeleteMember(groupID string, userID string) (*model.GroupMember, *model.AppError)
func (*TimerLayerGroupStore) DistinctGroupMemberCount ¶
func (s *TimerLayerGroupStore) DistinctGroupMemberCount() (int64, *model.AppError)
func (*TimerLayerGroupStore) GetAllBySource ¶
func (s *TimerLayerGroupStore) GetAllBySource(groupSource model.GroupSource) ([]*model.Group, *model.AppError)
func (*TimerLayerGroupStore) GetAllGroupSyncablesByGroupId ¶
func (s *TimerLayerGroupStore) GetAllGroupSyncablesByGroupId(groupID string, syncableType model.GroupSyncableType) ([]*model.GroupSyncable, *model.AppError)
func (*TimerLayerGroupStore) GetByName ¶
func (s *TimerLayerGroupStore) GetByName(name string, opts model.GroupSearchOpts) (*model.Group, *model.AppError)
func (*TimerLayerGroupStore) GetByRemoteID ¶
func (s *TimerLayerGroupStore) GetByRemoteID(remoteID string, groupSource model.GroupSource) (*model.Group, *model.AppError)
func (*TimerLayerGroupStore) GetGroupSyncable ¶
func (s *TimerLayerGroupStore) GetGroupSyncable(groupID string, syncableID string, syncableType model.GroupSyncableType) (*model.GroupSyncable, *model.AppError)
func (*TimerLayerGroupStore) GetGroups ¶
func (s *TimerLayerGroupStore) GetGroups(page int, perPage int, opts model.GroupSearchOpts) ([]*model.Group, *model.AppError)
func (*TimerLayerGroupStore) GetGroupsAssociatedToChannelsByTeam ¶
func (s *TimerLayerGroupStore) GetGroupsAssociatedToChannelsByTeam(teamId string, opts model.GroupSearchOpts) (map[string][]*model.GroupWithSchemeAdmin, *model.AppError)
func (*TimerLayerGroupStore) GetGroupsByChannel ¶
func (s *TimerLayerGroupStore) GetGroupsByChannel(channelId string, opts model.GroupSearchOpts) ([]*model.GroupWithSchemeAdmin, *model.AppError)
func (*TimerLayerGroupStore) GetGroupsByTeam ¶
func (s *TimerLayerGroupStore) GetGroupsByTeam(teamId string, opts model.GroupSearchOpts) ([]*model.GroupWithSchemeAdmin, *model.AppError)
func (*TimerLayerGroupStore) GetMemberCount ¶
func (s *TimerLayerGroupStore) GetMemberCount(groupID string) (int64, *model.AppError)
func (*TimerLayerGroupStore) GetMemberUsers ¶
func (*TimerLayerGroupStore) GetMemberUsersInTeam ¶
func (*TimerLayerGroupStore) GetMemberUsersNotInChannel ¶
func (*TimerLayerGroupStore) GetMemberUsersPage ¶
func (*TimerLayerGroupStore) GroupChannelCount ¶
func (s *TimerLayerGroupStore) GroupChannelCount() (int64, *model.AppError)
func (*TimerLayerGroupStore) GroupCount ¶
func (s *TimerLayerGroupStore) GroupCount() (int64, *model.AppError)
func (*TimerLayerGroupStore) GroupCountWithAllowReference ¶
func (s *TimerLayerGroupStore) GroupCountWithAllowReference() (int64, *model.AppError)
func (*TimerLayerGroupStore) GroupMemberCount ¶
func (s *TimerLayerGroupStore) GroupMemberCount() (int64, *model.AppError)
func (*TimerLayerGroupStore) GroupTeamCount ¶
func (s *TimerLayerGroupStore) GroupTeamCount() (int64, *model.AppError)
func (*TimerLayerGroupStore) PermanentDeleteMembersByUser ¶
func (s *TimerLayerGroupStore) PermanentDeleteMembersByUser(userId string) *model.AppError
func (*TimerLayerGroupStore) PermittedSyncableAdmins ¶
func (s *TimerLayerGroupStore) PermittedSyncableAdmins(syncableID string, syncableType model.GroupSyncableType) ([]string, *model.AppError)
func (*TimerLayerGroupStore) TeamMembersMinusGroupMembers ¶
func (s *TimerLayerGroupStore) TeamMembersMinusGroupMembers(teamID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, *model.AppError)
func (*TimerLayerGroupStore) TeamMembersToAdd ¶
func (s *TimerLayerGroupStore) TeamMembersToAdd(since int64, teamID *string) ([]*model.UserTeamIDPair, *model.AppError)
func (*TimerLayerGroupStore) TeamMembersToRemove ¶
func (s *TimerLayerGroupStore) TeamMembersToRemove(teamID *string) ([]*model.TeamMember, *model.AppError)
func (*TimerLayerGroupStore) UpdateGroupSyncable ¶
func (s *TimerLayerGroupStore) UpdateGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, *model.AppError)
func (*TimerLayerGroupStore) UpsertMember ¶
func (s *TimerLayerGroupStore) UpsertMember(groupID string, userID string) (*model.GroupMember, *model.AppError)
type TimerLayerJobStore ¶
type TimerLayerJobStore struct { store.JobStore Root *TimerLayer }
func (*TimerLayerJobStore) GetAllByStatus ¶
func (s *TimerLayerJobStore) GetAllByStatus(status string) ([]*model.Job, error)
func (*TimerLayerJobStore) GetAllByType ¶
func (s *TimerLayerJobStore) GetAllByType(jobType string) ([]*model.Job, error)
func (*TimerLayerJobStore) GetAllByTypePage ¶
func (*TimerLayerJobStore) GetAllPage ¶
func (*TimerLayerJobStore) GetCountByStatusAndType ¶
func (s *TimerLayerJobStore) GetCountByStatusAndType(status string, jobType string) (int64, error)
func (*TimerLayerJobStore) GetNewestJobByStatusAndType ¶
func (*TimerLayerJobStore) GetNewestJobByStatusesAndType ¶
func (*TimerLayerJobStore) UpdateOptimistically ¶
func (*TimerLayerJobStore) UpdateStatus ¶
func (*TimerLayerJobStore) UpdateStatusOptimistically ¶
type TimerLayerLicenseStore ¶
type TimerLayerLicenseStore struct { store.LicenseStore Root *TimerLayer }
func (*TimerLayerLicenseStore) Get ¶
func (s *TimerLayerLicenseStore) Get(id string) (*model.LicenseRecord, error)
func (*TimerLayerLicenseStore) Save ¶
func (s *TimerLayerLicenseStore) Save(license *model.LicenseRecord) (*model.LicenseRecord, error)
type TimerLayerLinkMetadataStore ¶
type TimerLayerLinkMetadataStore struct { store.LinkMetadataStore Root *TimerLayer }
func (*TimerLayerLinkMetadataStore) Get ¶
func (s *TimerLayerLinkMetadataStore) Get(url string, timestamp int64) (*model.LinkMetadata, error)
func (*TimerLayerLinkMetadataStore) Save ¶
func (s *TimerLayerLinkMetadataStore) Save(linkMetadata *model.LinkMetadata) (*model.LinkMetadata, error)
type TimerLayerOAuthStore ¶
type TimerLayerOAuthStore struct { store.OAuthStore Root *TimerLayer }
func (*TimerLayerOAuthStore) DeleteApp ¶
func (s *TimerLayerOAuthStore) DeleteApp(id string) error
func (*TimerLayerOAuthStore) GetAccessData ¶
func (s *TimerLayerOAuthStore) GetAccessData(token string) (*model.AccessData, error)
func (*TimerLayerOAuthStore) GetAccessDataByRefreshToken ¶
func (s *TimerLayerOAuthStore) GetAccessDataByRefreshToken(token string) (*model.AccessData, error)
func (*TimerLayerOAuthStore) GetAccessDataByUserForApp ¶
func (s *TimerLayerOAuthStore) GetAccessDataByUserForApp(userId string, clientId string) ([]*model.AccessData, error)
func (*TimerLayerOAuthStore) GetApp ¶
func (s *TimerLayerOAuthStore) GetApp(id string) (*model.OAuthApp, error)
func (*TimerLayerOAuthStore) GetAppByUser ¶
func (*TimerLayerOAuthStore) GetAuthData ¶
func (s *TimerLayerOAuthStore) GetAuthData(code string) (*model.AuthData, error)
func (*TimerLayerOAuthStore) GetAuthorizedApps ¶
func (*TimerLayerOAuthStore) GetPreviousAccessData ¶
func (s *TimerLayerOAuthStore) GetPreviousAccessData(userId string, clientId string) (*model.AccessData, error)
func (*TimerLayerOAuthStore) PermanentDeleteAuthDataByUser ¶
func (s *TimerLayerOAuthStore) PermanentDeleteAuthDataByUser(userId string) error
func (*TimerLayerOAuthStore) RemoveAccessData ¶
func (s *TimerLayerOAuthStore) RemoveAccessData(token string) error
func (*TimerLayerOAuthStore) RemoveAllAccessData ¶
func (s *TimerLayerOAuthStore) RemoveAllAccessData() error
func (*TimerLayerOAuthStore) RemoveAuthData ¶
func (s *TimerLayerOAuthStore) RemoveAuthData(code string) error
func (*TimerLayerOAuthStore) SaveAccessData ¶
func (s *TimerLayerOAuthStore) SaveAccessData(accessData *model.AccessData) (*model.AccessData, error)
func (*TimerLayerOAuthStore) SaveAuthData ¶
func (*TimerLayerOAuthStore) UpdateAccessData ¶
func (s *TimerLayerOAuthStore) UpdateAccessData(accessData *model.AccessData) (*model.AccessData, error)
type TimerLayerPluginStore ¶
type TimerLayerPluginStore struct { store.PluginStore Root *TimerLayer }
func (*TimerLayerPluginStore) CompareAndDelete ¶
func (s *TimerLayerPluginStore) CompareAndDelete(keyVal *model.PluginKeyValue, oldValue []byte) (bool, error)
func (*TimerLayerPluginStore) CompareAndSet ¶
func (s *TimerLayerPluginStore) CompareAndSet(keyVal *model.PluginKeyValue, oldValue []byte) (bool, error)
func (*TimerLayerPluginStore) Delete ¶
func (s *TimerLayerPluginStore) Delete(pluginId string, key string) error
func (*TimerLayerPluginStore) DeleteAllExpired ¶
func (s *TimerLayerPluginStore) DeleteAllExpired() error
func (*TimerLayerPluginStore) DeleteAllForPlugin ¶
func (s *TimerLayerPluginStore) DeleteAllForPlugin(PluginId string) error
func (*TimerLayerPluginStore) Get ¶
func (s *TimerLayerPluginStore) Get(pluginId string, key string) (*model.PluginKeyValue, error)
func (*TimerLayerPluginStore) SaveOrUpdate ¶
func (s *TimerLayerPluginStore) SaveOrUpdate(keyVal *model.PluginKeyValue) (*model.PluginKeyValue, error)
func (*TimerLayerPluginStore) SetWithOptions ¶
func (s *TimerLayerPluginStore) SetWithOptions(pluginId string, key string, value []byte, options model.PluginKVSetOptions) (bool, error)
type TimerLayerPostStore ¶
type TimerLayerPostStore struct { store.PostStore Root *TimerLayer }
func (*TimerLayerPostStore) AnalyticsPostCount ¶
func (*TimerLayerPostStore) AnalyticsPostCountsByDay ¶
func (s *TimerLayerPostStore) AnalyticsPostCountsByDay(options *model.AnalyticsPostCountsOptions) (model.AnalyticsRows, *model.AppError)
func (*TimerLayerPostStore) AnalyticsUserCountsWithPostsByDay ¶
func (s *TimerLayerPostStore) AnalyticsUserCountsWithPostsByDay(teamId string) (model.AnalyticsRows, *model.AppError)
func (*TimerLayerPostStore) ClearCaches ¶
func (s *TimerLayerPostStore) ClearCaches()
func (*TimerLayerPostStore) Delete ¶
func (s *TimerLayerPostStore) Delete(postId string, time int64, deleteByID string) error
func (*TimerLayerPostStore) GetDirectPostParentsForExportAfter ¶
func (s *TimerLayerPostStore) GetDirectPostParentsForExportAfter(limit int, afterId string) ([]*model.DirectPostForExport, *model.AppError)
func (*TimerLayerPostStore) GetEtag ¶
func (s *TimerLayerPostStore) GetEtag(channelId string, allowFromCache bool) string
func (*TimerLayerPostStore) GetFlaggedPosts ¶
func (*TimerLayerPostStore) GetFlaggedPostsForChannel ¶
func (*TimerLayerPostStore) GetFlaggedPostsForTeam ¶
func (*TimerLayerPostStore) GetMaxPostSize ¶
func (s *TimerLayerPostStore) GetMaxPostSize() int
func (*TimerLayerPostStore) GetOldest ¶
func (s *TimerLayerPostStore) GetOldest() (*model.Post, *model.AppError)
func (*TimerLayerPostStore) GetOldestEntityCreationTime ¶
func (s *TimerLayerPostStore) GetOldestEntityCreationTime() (int64, *model.AppError)
func (*TimerLayerPostStore) GetParentsForExportAfter ¶
func (s *TimerLayerPostStore) GetParentsForExportAfter(limit int, afterId string) ([]*model.PostForExport, *model.AppError)
func (*TimerLayerPostStore) GetPostAfterTime ¶
func (*TimerLayerPostStore) GetPostIdAfterTime ¶
func (s *TimerLayerPostStore) GetPostIdAfterTime(channelId string, time int64) (string, error)
func (*TimerLayerPostStore) GetPostIdBeforeTime ¶
func (s *TimerLayerPostStore) GetPostIdBeforeTime(channelId string, time int64) (string, error)
func (*TimerLayerPostStore) GetPosts ¶
func (s *TimerLayerPostStore) GetPosts(options model.GetPostsOptions, allowFromCache bool) (*model.PostList, *model.AppError)
func (*TimerLayerPostStore) GetPostsAfter ¶
func (s *TimerLayerPostStore) GetPostsAfter(options model.GetPostsOptions) (*model.PostList, error)
func (*TimerLayerPostStore) GetPostsBatchForIndexing ¶
func (s *TimerLayerPostStore) GetPostsBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.PostForIndexing, *model.AppError)
func (*TimerLayerPostStore) GetPostsBefore ¶
func (s *TimerLayerPostStore) GetPostsBefore(options model.GetPostsOptions) (*model.PostList, error)
func (*TimerLayerPostStore) GetPostsByIds ¶
func (*TimerLayerPostStore) GetPostsCreatedAt ¶
func (*TimerLayerPostStore) GetPostsSince ¶
func (s *TimerLayerPostStore) GetPostsSince(options model.GetPostsSinceOptions, allowFromCache bool) (*model.PostList, error)
func (*TimerLayerPostStore) GetRepliesForExport ¶
func (s *TimerLayerPostStore) GetRepliesForExport(parentId string) ([]*model.ReplyForExport, *model.AppError)
func (*TimerLayerPostStore) GetSingle ¶
func (s *TimerLayerPostStore) GetSingle(id string) (*model.Post, error)
func (*TimerLayerPostStore) InvalidateLastPostTimeCache ¶
func (s *TimerLayerPostStore) InvalidateLastPostTimeCache(channelId string)
func (*TimerLayerPostStore) OverwriteMultiple ¶
func (*TimerLayerPostStore) PermanentDeleteBatch ¶
func (*TimerLayerPostStore) PermanentDeleteByChannel ¶
func (s *TimerLayerPostStore) PermanentDeleteByChannel(channelId string) error
func (*TimerLayerPostStore) PermanentDeleteByUser ¶
func (s *TimerLayerPostStore) PermanentDeleteByUser(userId string) error
func (*TimerLayerPostStore) SaveMultiple ¶
func (*TimerLayerPostStore) Search ¶
func (s *TimerLayerPostStore) Search(teamId string, userId string, params *model.SearchParams) (*model.PostList, *model.AppError)
func (*TimerLayerPostStore) SearchPostsInTeamForUser ¶
func (s *TimerLayerPostStore) SearchPostsInTeamForUser(paramsList []*model.SearchParams, userId string, teamId string, page int, perPage int) (*model.PostSearchResults, *model.AppError)
type TimerLayerPreferenceStore ¶
type TimerLayerPreferenceStore struct { store.PreferenceStore Root *TimerLayer }
func (*TimerLayerPreferenceStore) CleanupFlagsBatch ¶
func (s *TimerLayerPreferenceStore) CleanupFlagsBatch(limit int64) (int64, error)
func (*TimerLayerPreferenceStore) Delete ¶
func (s *TimerLayerPreferenceStore) Delete(userId string, category string, name string) error
func (*TimerLayerPreferenceStore) DeleteCategory ¶
func (s *TimerLayerPreferenceStore) DeleteCategory(userId string, category string) error
func (*TimerLayerPreferenceStore) DeleteCategoryAndName ¶
func (s *TimerLayerPreferenceStore) DeleteCategoryAndName(category string, name string) error
func (*TimerLayerPreferenceStore) Get ¶
func (s *TimerLayerPreferenceStore) Get(userId string, category string, name string) (*model.Preference, error)
func (*TimerLayerPreferenceStore) GetAll ¶
func (s *TimerLayerPreferenceStore) GetAll(userId string) (model.Preferences, error)
func (*TimerLayerPreferenceStore) GetCategory ¶
func (s *TimerLayerPreferenceStore) GetCategory(userId string, category string) (model.Preferences, error)
func (*TimerLayerPreferenceStore) PermanentDeleteByUser ¶
func (s *TimerLayerPreferenceStore) PermanentDeleteByUser(userId string) error
func (*TimerLayerPreferenceStore) Save ¶
func (s *TimerLayerPreferenceStore) Save(preferences *model.Preferences) error
type TimerLayerProductNoticesStore ¶
type TimerLayerProductNoticesStore struct { store.ProductNoticesStore Root *TimerLayer }
func (*TimerLayerProductNoticesStore) Clear ¶
func (s *TimerLayerProductNoticesStore) Clear(notices []string) error
func (*TimerLayerProductNoticesStore) ClearOldNotices ¶
func (s *TimerLayerProductNoticesStore) ClearOldNotices(currentNotices *model.ProductNotices) error
func (*TimerLayerProductNoticesStore) GetViews ¶
func (s *TimerLayerProductNoticesStore) GetViews(userId string) ([]model.ProductNoticeViewState, error)
type TimerLayerReactionStore ¶
type TimerLayerReactionStore struct { store.ReactionStore Root *TimerLayer }
func (*TimerLayerReactionStore) BulkGetForPosts ¶
func (s *TimerLayerReactionStore) BulkGetForPosts(postIds []string) ([]*model.Reaction, error)
func (*TimerLayerReactionStore) DeleteAllWithEmojiName ¶
func (s *TimerLayerReactionStore) DeleteAllWithEmojiName(emojiName string) error
func (*TimerLayerReactionStore) GetForPost ¶
func (*TimerLayerReactionStore) PermanentDeleteBatch ¶
func (s *TimerLayerReactionStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, error)
type TimerLayerRoleStore ¶
type TimerLayerRoleStore struct { store.RoleStore Root *TimerLayer }
func (*TimerLayerRoleStore) AllChannelSchemeRoles ¶
func (s *TimerLayerRoleStore) AllChannelSchemeRoles() ([]*model.Role, error)
func (*TimerLayerRoleStore) ChannelHigherScopedPermissions ¶
func (s *TimerLayerRoleStore) ChannelHigherScopedPermissions(roleNames []string) (map[string]*model.RolePermissions, error)
func (*TimerLayerRoleStore) ChannelRolesUnderTeamRole ¶
func (s *TimerLayerRoleStore) ChannelRolesUnderTeamRole(roleName string) ([]*model.Role, error)
func (*TimerLayerRoleStore) Delete ¶
func (s *TimerLayerRoleStore) Delete(roleId string) (*model.Role, error)
func (*TimerLayerRoleStore) Get ¶
func (s *TimerLayerRoleStore) Get(roleId string) (*model.Role, error)
func (*TimerLayerRoleStore) GetByName ¶
func (s *TimerLayerRoleStore) GetByName(name string) (*model.Role, error)
func (*TimerLayerRoleStore) GetByNames ¶
func (s *TimerLayerRoleStore) GetByNames(names []string) ([]*model.Role, error)
func (*TimerLayerRoleStore) PermanentDeleteAll ¶
func (s *TimerLayerRoleStore) PermanentDeleteAll() error
type TimerLayerSchemeStore ¶
type TimerLayerSchemeStore struct { store.SchemeStore Root *TimerLayer }
func (*TimerLayerSchemeStore) CountByScope ¶
func (s *TimerLayerSchemeStore) CountByScope(scope string) (int64, error)
func (*TimerLayerSchemeStore) CountWithoutPermission ¶
func (*TimerLayerSchemeStore) Delete ¶
func (s *TimerLayerSchemeStore) Delete(schemeId string) (*model.Scheme, error)
func (*TimerLayerSchemeStore) Get ¶
func (s *TimerLayerSchemeStore) Get(schemeId string) (*model.Scheme, error)
func (*TimerLayerSchemeStore) GetAllPage ¶
func (*TimerLayerSchemeStore) GetByName ¶
func (s *TimerLayerSchemeStore) GetByName(schemeName string) (*model.Scheme, error)
func (*TimerLayerSchemeStore) PermanentDeleteAll ¶
func (s *TimerLayerSchemeStore) PermanentDeleteAll() error
type TimerLayerSessionStore ¶
type TimerLayerSessionStore struct { store.SessionStore Root *TimerLayer }
func (*TimerLayerSessionStore) AnalyticsSessionCount ¶
func (s *TimerLayerSessionStore) AnalyticsSessionCount() (int64, error)
func (*TimerLayerSessionStore) Cleanup ¶
func (s *TimerLayerSessionStore) Cleanup(expiryTime int64, batchSize int64)
func (*TimerLayerSessionStore) Get ¶
func (s *TimerLayerSessionStore) Get(sessionIdOrToken string) (*model.Session, error)
func (*TimerLayerSessionStore) GetSessions ¶
func (s *TimerLayerSessionStore) GetSessions(userId string) ([]*model.Session, error)
func (*TimerLayerSessionStore) GetSessionsExpired ¶
func (*TimerLayerSessionStore) GetSessionsWithActiveDeviceIds ¶
func (s *TimerLayerSessionStore) GetSessionsWithActiveDeviceIds(userId string) ([]*model.Session, error)
func (*TimerLayerSessionStore) PermanentDeleteSessionsByUser ¶
func (s *TimerLayerSessionStore) PermanentDeleteSessionsByUser(teamId string) error
func (*TimerLayerSessionStore) Remove ¶
func (s *TimerLayerSessionStore) Remove(sessionIdOrToken string) error
func (*TimerLayerSessionStore) RemoveAllSessions ¶
func (s *TimerLayerSessionStore) RemoveAllSessions() error
func (*TimerLayerSessionStore) UpdateDeviceId ¶
func (*TimerLayerSessionStore) UpdateExpiredNotify ¶
func (s *TimerLayerSessionStore) UpdateExpiredNotify(sessionid string, notified bool) error
func (*TimerLayerSessionStore) UpdateExpiresAt ¶
func (s *TimerLayerSessionStore) UpdateExpiresAt(sessionId string, time int64) error
func (*TimerLayerSessionStore) UpdateLastActivityAt ¶
func (s *TimerLayerSessionStore) UpdateLastActivityAt(sessionId string, time int64) error
func (*TimerLayerSessionStore) UpdateProps ¶
func (s *TimerLayerSessionStore) UpdateProps(session *model.Session) error
func (*TimerLayerSessionStore) UpdateRoles ¶
func (s *TimerLayerSessionStore) UpdateRoles(userId string, roles string) (string, error)
type TimerLayerStatusStore ¶
type TimerLayerStatusStore struct { store.StatusStore Root *TimerLayer }
func (*TimerLayerStatusStore) Get ¶
func (s *TimerLayerStatusStore) Get(userId string) (*model.Status, error)
func (*TimerLayerStatusStore) GetByIds ¶
func (s *TimerLayerStatusStore) GetByIds(userIds []string) ([]*model.Status, error)
func (*TimerLayerStatusStore) GetTotalActiveUsersCount ¶
func (s *TimerLayerStatusStore) GetTotalActiveUsersCount() (int64, error)
func (*TimerLayerStatusStore) ResetAll ¶
func (s *TimerLayerStatusStore) ResetAll() error
func (*TimerLayerStatusStore) SaveOrUpdate ¶
func (s *TimerLayerStatusStore) SaveOrUpdate(status *model.Status) error
func (*TimerLayerStatusStore) UpdateLastActivityAt ¶
func (s *TimerLayerStatusStore) UpdateLastActivityAt(userId string, lastActivityAt int64) error
type TimerLayerSystemStore ¶
type TimerLayerSystemStore struct { store.SystemStore Root *TimerLayer }
func (*TimerLayerSystemStore) GetByName ¶
func (s *TimerLayerSystemStore) GetByName(name string) (*model.System, error)
func (*TimerLayerSystemStore) InsertIfExists ¶
func (*TimerLayerSystemStore) PermanentDeleteByName ¶
func (s *TimerLayerSystemStore) PermanentDeleteByName(name string) (*model.System, error)
func (*TimerLayerSystemStore) Save ¶
func (s *TimerLayerSystemStore) Save(system *model.System) error
func (*TimerLayerSystemStore) SaveOrUpdate ¶
func (s *TimerLayerSystemStore) SaveOrUpdate(system *model.System) error
func (*TimerLayerSystemStore) SaveOrUpdateWithWarnMetricHandling ¶
func (s *TimerLayerSystemStore) SaveOrUpdateWithWarnMetricHandling(system *model.System) error
type TimerLayerTeamStore ¶
type TimerLayerTeamStore struct { store.TeamStore Root *TimerLayer }
func (*TimerLayerTeamStore) AnalyticsGetTeamCountForScheme ¶
func (s *TimerLayerTeamStore) AnalyticsGetTeamCountForScheme(schemeId string) (int64, error)
func (*TimerLayerTeamStore) AnalyticsPrivateTeamCount ¶
func (s *TimerLayerTeamStore) AnalyticsPrivateTeamCount() (int64, error)
func (*TimerLayerTeamStore) AnalyticsPublicTeamCount ¶
func (s *TimerLayerTeamStore) AnalyticsPublicTeamCount() (int64, error)
func (*TimerLayerTeamStore) AnalyticsTeamCount ¶
func (s *TimerLayerTeamStore) AnalyticsTeamCount(includeDeleted bool) (int64, error)
func (*TimerLayerTeamStore) ClearAllCustomRoleAssignments ¶
func (s *TimerLayerTeamStore) ClearAllCustomRoleAssignments() error
func (*TimerLayerTeamStore) ClearCaches ¶
func (s *TimerLayerTeamStore) ClearCaches()
func (*TimerLayerTeamStore) GetActiveMemberCount ¶
func (s *TimerLayerTeamStore) GetActiveMemberCount(teamId string, restrictions *model.ViewUsersRestrictions) (int64, error)
func (*TimerLayerTeamStore) GetAllForExportAfter ¶
func (s *TimerLayerTeamStore) GetAllForExportAfter(limit int, afterId string) ([]*model.TeamForExport, error)
func (*TimerLayerTeamStore) GetAllPage ¶
func (*TimerLayerTeamStore) GetAllPrivateTeamListing ¶
func (s *TimerLayerTeamStore) GetAllPrivateTeamListing() ([]*model.Team, error)
func (*TimerLayerTeamStore) GetAllPrivateTeamPageListing ¶
func (*TimerLayerTeamStore) GetAllPublicTeamPageListing ¶
func (*TimerLayerTeamStore) GetAllTeamListing ¶
func (s *TimerLayerTeamStore) GetAllTeamListing() ([]*model.Team, error)
func (*TimerLayerTeamStore) GetAllTeamPageListing ¶
func (*TimerLayerTeamStore) GetByInviteId ¶
func (s *TimerLayerTeamStore) GetByInviteId(inviteId string) (*model.Team, error)
func (*TimerLayerTeamStore) GetByName ¶
func (s *TimerLayerTeamStore) GetByName(name string) (*model.Team, error)
func (*TimerLayerTeamStore) GetByNames ¶
func (s *TimerLayerTeamStore) GetByNames(name []string) ([]*model.Team, error)
func (*TimerLayerTeamStore) GetChannelUnreadsForAllTeams ¶
func (s *TimerLayerTeamStore) GetChannelUnreadsForAllTeams(excludeTeamId string, userId string) ([]*model.ChannelUnread, error)
func (*TimerLayerTeamStore) GetChannelUnreadsForTeam ¶
func (s *TimerLayerTeamStore) GetChannelUnreadsForTeam(teamId string, userId string) ([]*model.ChannelUnread, error)
func (*TimerLayerTeamStore) GetMember ¶
func (s *TimerLayerTeamStore) GetMember(teamId string, userId string) (*model.TeamMember, error)
func (*TimerLayerTeamStore) GetMembers ¶
func (s *TimerLayerTeamStore) GetMembers(teamId string, offset int, limit int, teamMembersGetOptions *model.TeamMembersGetOptions) ([]*model.TeamMember, error)
func (*TimerLayerTeamStore) GetMembersByIds ¶
func (s *TimerLayerTeamStore) GetMembersByIds(teamId string, userIds []string, restrictions *model.ViewUsersRestrictions) ([]*model.TeamMember, error)
func (*TimerLayerTeamStore) GetTeamMembersForExport ¶
func (s *TimerLayerTeamStore) GetTeamMembersForExport(userId string) ([]*model.TeamMemberForExport, error)
func (*TimerLayerTeamStore) GetTeamsByScheme ¶
func (*TimerLayerTeamStore) GetTeamsByUserId ¶
func (s *TimerLayerTeamStore) GetTeamsByUserId(userId string) ([]*model.Team, error)
func (*TimerLayerTeamStore) GetTeamsForUser ¶
func (s *TimerLayerTeamStore) GetTeamsForUser(userId string) ([]*model.TeamMember, error)
func (*TimerLayerTeamStore) GetTeamsForUserWithPagination ¶
func (s *TimerLayerTeamStore) GetTeamsForUserWithPagination(userId string, page int, perPage int) ([]*model.TeamMember, error)
func (*TimerLayerTeamStore) GetTotalMemberCount ¶
func (s *TimerLayerTeamStore) GetTotalMemberCount(teamId string, restrictions *model.ViewUsersRestrictions) (int64, error)
func (*TimerLayerTeamStore) GetUserTeamIds ¶
func (s *TimerLayerTeamStore) GetUserTeamIds(userId string, allowFromCache bool) ([]string, error)
func (*TimerLayerTeamStore) GroupSyncedTeamCount ¶
func (s *TimerLayerTeamStore) GroupSyncedTeamCount() (int64, error)
func (*TimerLayerTeamStore) InvalidateAllTeamIdsForUser ¶
func (s *TimerLayerTeamStore) InvalidateAllTeamIdsForUser(userId string)
func (*TimerLayerTeamStore) MigrateTeamMembers ¶
func (*TimerLayerTeamStore) PermanentDelete ¶
func (s *TimerLayerTeamStore) PermanentDelete(teamId string) error
func (*TimerLayerTeamStore) RemoveAllMembersByTeam ¶
func (s *TimerLayerTeamStore) RemoveAllMembersByTeam(teamId string) error
func (*TimerLayerTeamStore) RemoveAllMembersByUser ¶
func (s *TimerLayerTeamStore) RemoveAllMembersByUser(userId string) error
func (*TimerLayerTeamStore) RemoveMember ¶
func (s *TimerLayerTeamStore) RemoveMember(teamId string, userId string) error
func (*TimerLayerTeamStore) RemoveMembers ¶
func (s *TimerLayerTeamStore) RemoveMembers(teamId string, userIds []string) error
func (*TimerLayerTeamStore) ResetAllTeamSchemes ¶
func (s *TimerLayerTeamStore) ResetAllTeamSchemes() error
func (*TimerLayerTeamStore) SaveMember ¶
func (s *TimerLayerTeamStore) SaveMember(member *model.TeamMember, maxUsersPerTeam int) (*model.TeamMember, error)
func (*TimerLayerTeamStore) SaveMultipleMembers ¶
func (s *TimerLayerTeamStore) SaveMultipleMembers(members []*model.TeamMember, maxUsersPerTeam int) ([]*model.TeamMember, error)
func (*TimerLayerTeamStore) SearchAll ¶
func (s *TimerLayerTeamStore) SearchAll(term string, opts *model.TeamSearch) ([]*model.Team, error)
func (*TimerLayerTeamStore) SearchAllPaged ¶
func (s *TimerLayerTeamStore) SearchAllPaged(term string, opts *model.TeamSearch) ([]*model.Team, int64, error)
func (*TimerLayerTeamStore) SearchOpen ¶
func (s *TimerLayerTeamStore) SearchOpen(term string) ([]*model.Team, error)
func (*TimerLayerTeamStore) SearchPrivate ¶
func (s *TimerLayerTeamStore) SearchPrivate(term string) ([]*model.Team, error)
func (*TimerLayerTeamStore) UpdateLastTeamIconUpdate ¶
func (s *TimerLayerTeamStore) UpdateLastTeamIconUpdate(teamId string, curTime int64) error
func (*TimerLayerTeamStore) UpdateMember ¶
func (s *TimerLayerTeamStore) UpdateMember(member *model.TeamMember) (*model.TeamMember, error)
func (*TimerLayerTeamStore) UpdateMembersRole ¶
func (s *TimerLayerTeamStore) UpdateMembersRole(teamID string, userIDs []string) error
func (*TimerLayerTeamStore) UpdateMultipleMembers ¶
func (s *TimerLayerTeamStore) UpdateMultipleMembers(members []*model.TeamMember) ([]*model.TeamMember, error)
func (*TimerLayerTeamStore) UserBelongsToTeams ¶
func (s *TimerLayerTeamStore) UserBelongsToTeams(userId string, teamIds []string) (bool, error)
type TimerLayerTermsOfServiceStore ¶
type TimerLayerTermsOfServiceStore struct { store.TermsOfServiceStore Root *TimerLayer }
func (*TimerLayerTermsOfServiceStore) Get ¶
func (s *TimerLayerTermsOfServiceStore) Get(id string, allowFromCache bool) (*model.TermsOfService, error)
func (*TimerLayerTermsOfServiceStore) GetLatest ¶
func (s *TimerLayerTermsOfServiceStore) GetLatest(allowFromCache bool) (*model.TermsOfService, error)
func (*TimerLayerTermsOfServiceStore) Save ¶
func (s *TimerLayerTermsOfServiceStore) Save(termsOfService *model.TermsOfService) (*model.TermsOfService, error)
type TimerLayerThreadStore ¶ added in v5.29.0
type TimerLayerThreadStore struct { store.ThreadStore Root *TimerLayer }
func (*TimerLayerThreadStore) CollectThreadsWithNewerReplies ¶ added in v5.29.0
func (*TimerLayerThreadStore) CreateMembershipIfNeeded ¶ added in v5.29.0
func (s *TimerLayerThreadStore) CreateMembershipIfNeeded(userId string, postId string) error
func (*TimerLayerThreadStore) Delete ¶ added in v5.29.0
func (s *TimerLayerThreadStore) Delete(postId string) error
func (*TimerLayerThreadStore) DeleteMembershipForUser ¶ added in v5.29.0
func (s *TimerLayerThreadStore) DeleteMembershipForUser(userId string, postId string) error
func (*TimerLayerThreadStore) Get ¶ added in v5.29.0
func (s *TimerLayerThreadStore) Get(id string) (*model.Thread, error)
func (*TimerLayerThreadStore) GetMembershipForUser ¶ added in v5.29.0
func (s *TimerLayerThreadStore) GetMembershipForUser(userId string, postId string) (*model.ThreadMembership, error)
func (*TimerLayerThreadStore) GetMembershipsForUser ¶ added in v5.29.0
func (s *TimerLayerThreadStore) GetMembershipsForUser(userId string) ([]*model.ThreadMembership, error)
func (*TimerLayerThreadStore) SaveMembership ¶ added in v5.29.0
func (s *TimerLayerThreadStore) SaveMembership(membership *model.ThreadMembership) (*model.ThreadMembership, error)
func (*TimerLayerThreadStore) SaveMultiple ¶ added in v5.29.0
func (*TimerLayerThreadStore) UpdateMembership ¶ added in v5.29.0
func (s *TimerLayerThreadStore) UpdateMembership(membership *model.ThreadMembership) (*model.ThreadMembership, error)
func (*TimerLayerThreadStore) UpdateUnreadsByChannel ¶ added in v5.29.0
func (s *TimerLayerThreadStore) UpdateUnreadsByChannel(userId string, changedThreads []string, timestamp int64) error
type TimerLayerTokenStore ¶
type TimerLayerTokenStore struct { store.TokenStore Root *TimerLayer }
func (*TimerLayerTokenStore) Cleanup ¶
func (s *TimerLayerTokenStore) Cleanup()
func (*TimerLayerTokenStore) Delete ¶
func (s *TimerLayerTokenStore) Delete(token string) error
func (*TimerLayerTokenStore) GetByToken ¶
func (s *TimerLayerTokenStore) GetByToken(token string) (*model.Token, error)
func (*TimerLayerTokenStore) RemoveAllTokensByType ¶
func (s *TimerLayerTokenStore) RemoveAllTokensByType(tokenType string) error
type TimerLayerUploadSessionStore ¶
type TimerLayerUploadSessionStore struct { store.UploadSessionStore Root *TimerLayer }
func (*TimerLayerUploadSessionStore) Delete ¶
func (s *TimerLayerUploadSessionStore) Delete(id string) error
func (*TimerLayerUploadSessionStore) Get ¶
func (s *TimerLayerUploadSessionStore) Get(id string) (*model.UploadSession, error)
func (*TimerLayerUploadSessionStore) GetForUser ¶
func (s *TimerLayerUploadSessionStore) GetForUser(userId string) ([]*model.UploadSession, error)
func (*TimerLayerUploadSessionStore) Save ¶
func (s *TimerLayerUploadSessionStore) Save(session *model.UploadSession) (*model.UploadSession, error)
func (*TimerLayerUploadSessionStore) Update ¶
func (s *TimerLayerUploadSessionStore) Update(session *model.UploadSession) error
type TimerLayerUserAccessTokenStore ¶
type TimerLayerUserAccessTokenStore struct { store.UserAccessTokenStore Root *TimerLayer }
func (*TimerLayerUserAccessTokenStore) Delete ¶
func (s *TimerLayerUserAccessTokenStore) Delete(tokenId string) error
func (*TimerLayerUserAccessTokenStore) DeleteAllForUser ¶
func (s *TimerLayerUserAccessTokenStore) DeleteAllForUser(userId string) error
func (*TimerLayerUserAccessTokenStore) Get ¶
func (s *TimerLayerUserAccessTokenStore) Get(tokenId string) (*model.UserAccessToken, error)
func (*TimerLayerUserAccessTokenStore) GetAll ¶
func (s *TimerLayerUserAccessTokenStore) GetAll(offset int, limit int) ([]*model.UserAccessToken, error)
func (*TimerLayerUserAccessTokenStore) GetByToken ¶
func (s *TimerLayerUserAccessTokenStore) GetByToken(tokenString string) (*model.UserAccessToken, error)
func (*TimerLayerUserAccessTokenStore) GetByUser ¶
func (s *TimerLayerUserAccessTokenStore) GetByUser(userId string, page int, perPage int) ([]*model.UserAccessToken, error)
func (*TimerLayerUserAccessTokenStore) Save ¶
func (s *TimerLayerUserAccessTokenStore) Save(token *model.UserAccessToken) (*model.UserAccessToken, error)
func (*TimerLayerUserAccessTokenStore) Search ¶
func (s *TimerLayerUserAccessTokenStore) Search(term string) ([]*model.UserAccessToken, error)
func (*TimerLayerUserAccessTokenStore) UpdateTokenDisable ¶
func (s *TimerLayerUserAccessTokenStore) UpdateTokenDisable(tokenId string) error
func (*TimerLayerUserAccessTokenStore) UpdateTokenEnable ¶
func (s *TimerLayerUserAccessTokenStore) UpdateTokenEnable(tokenId string) error
type TimerLayerUserStore ¶
type TimerLayerUserStore struct { store.UserStore Root *TimerLayer }
func (*TimerLayerUserStore) AnalyticsActiveCount ¶
func (s *TimerLayerUserStore) AnalyticsActiveCount(time int64, options model.UserCountOptions) (int64, *model.AppError)
func (*TimerLayerUserStore) AnalyticsGetExternalUsers ¶
func (s *TimerLayerUserStore) AnalyticsGetExternalUsers(hostDomain string) (bool, *model.AppError)
func (*TimerLayerUserStore) AnalyticsGetGuestCount ¶
func (s *TimerLayerUserStore) AnalyticsGetGuestCount() (int64, *model.AppError)
func (*TimerLayerUserStore) AnalyticsGetInactiveUsersCount ¶
func (s *TimerLayerUserStore) AnalyticsGetInactiveUsersCount() (int64, *model.AppError)
func (*TimerLayerUserStore) AnalyticsGetSystemAdminCount ¶
func (s *TimerLayerUserStore) AnalyticsGetSystemAdminCount() (int64, *model.AppError)
func (*TimerLayerUserStore) AutocompleteUsersInChannel ¶
func (s *TimerLayerUserStore) AutocompleteUsersInChannel(teamId string, channelId string, term string, options *model.UserSearchOptions) (*model.UserAutocompleteInChannel, *model.AppError)
func (*TimerLayerUserStore) ClearAllCustomRoleAssignments ¶
func (s *TimerLayerUserStore) ClearAllCustomRoleAssignments() *model.AppError
func (*TimerLayerUserStore) ClearCaches ¶
func (s *TimerLayerUserStore) ClearCaches()
func (*TimerLayerUserStore) Count ¶
func (s *TimerLayerUserStore) Count(options model.UserCountOptions) (int64, *model.AppError)
func (*TimerLayerUserStore) DeactivateGuests ¶
func (s *TimerLayerUserStore) DeactivateGuests() ([]string, *model.AppError)
func (*TimerLayerUserStore) DemoteUserToGuest ¶
func (s *TimerLayerUserStore) DemoteUserToGuest(userID string) *model.AppError
func (*TimerLayerUserStore) GetAll ¶
func (s *TimerLayerUserStore) GetAll() ([]*model.User, *model.AppError)
func (*TimerLayerUserStore) GetAllAfter ¶
func (*TimerLayerUserStore) GetAllNotInAuthService ¶
func (*TimerLayerUserStore) GetAllProfiles ¶
func (s *TimerLayerUserStore) GetAllProfiles(options *model.UserGetOptions) ([]*model.User, *model.AppError)
func (*TimerLayerUserStore) GetAllProfilesInChannel ¶
func (*TimerLayerUserStore) GetAllUsingAuthService ¶
func (*TimerLayerUserStore) GetAnyUnreadPostCountForChannel ¶
func (*TimerLayerUserStore) GetByEmail ¶
func (*TimerLayerUserStore) GetByUsername ¶
func (*TimerLayerUserStore) GetChannelGroupUsers ¶
func (*TimerLayerUserStore) GetEtagForAllProfiles ¶
func (s *TimerLayerUserStore) GetEtagForAllProfiles() string
func (*TimerLayerUserStore) GetEtagForProfiles ¶
func (s *TimerLayerUserStore) GetEtagForProfiles(teamId string) string
func (*TimerLayerUserStore) GetEtagForProfilesNotInTeam ¶
func (s *TimerLayerUserStore) GetEtagForProfilesNotInTeam(teamId string) string
func (*TimerLayerUserStore) GetForLogin ¶
func (*TimerLayerUserStore) GetKnownUsers ¶
func (s *TimerLayerUserStore) GetKnownUsers(userID string) ([]string, *model.AppError)
func (*TimerLayerUserStore) GetNewUsersForTeam ¶
func (s *TimerLayerUserStore) GetNewUsersForTeam(teamId string, offset int, limit int, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, *model.AppError)
func (*TimerLayerUserStore) GetProfileByGroupChannelIdsForUser ¶
func (*TimerLayerUserStore) GetProfileByIds ¶
func (s *TimerLayerUserStore) GetProfileByIds(userIds []string, options *store.UserGetByIdsOpts, allowFromCache bool) ([]*model.User, *model.AppError)
func (*TimerLayerUserStore) GetProfiles ¶
func (s *TimerLayerUserStore) GetProfiles(options *model.UserGetOptions) ([]*model.User, *model.AppError)
func (*TimerLayerUserStore) GetProfilesByUsernames ¶
func (s *TimerLayerUserStore) GetProfilesByUsernames(usernames []string, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, *model.AppError)
func (*TimerLayerUserStore) GetProfilesInChannel ¶
func (s *TimerLayerUserStore) GetProfilesInChannel(options *model.UserGetOptions) ([]*model.User, *model.AppError)
func (*TimerLayerUserStore) GetProfilesInChannelByStatus ¶
func (s *TimerLayerUserStore) GetProfilesInChannelByStatus(options *model.UserGetOptions) ([]*model.User, *model.AppError)
func (*TimerLayerUserStore) GetProfilesNotInChannel ¶
func (*TimerLayerUserStore) GetProfilesNotInTeam ¶
func (*TimerLayerUserStore) GetProfilesWithoutTeam ¶
func (s *TimerLayerUserStore) GetProfilesWithoutTeam(options *model.UserGetOptions) ([]*model.User, *model.AppError)
func (*TimerLayerUserStore) GetRecentlyActiveUsersForTeam ¶
func (s *TimerLayerUserStore) GetRecentlyActiveUsersForTeam(teamId string, offset int, limit int, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, *model.AppError)
func (*TimerLayerUserStore) GetSystemAdminProfiles ¶
func (*TimerLayerUserStore) GetTeamGroupUsers ¶
func (*TimerLayerUserStore) GetUnreadCount ¶
func (s *TimerLayerUserStore) GetUnreadCount(userId string) (int64, *model.AppError)
func (*TimerLayerUserStore) GetUnreadCountForChannel ¶
func (*TimerLayerUserStore) GetUsersBatchForIndexing ¶
func (s *TimerLayerUserStore) GetUsersBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.UserForIndexing, *model.AppError)
func (*TimerLayerUserStore) InferSystemInstallDate ¶
func (s *TimerLayerUserStore) InferSystemInstallDate() (int64, *model.AppError)
func (*TimerLayerUserStore) InvalidateProfileCacheForUser ¶
func (s *TimerLayerUserStore) InvalidateProfileCacheForUser(userId string)
func (*TimerLayerUserStore) InvalidateProfilesInChannelCache ¶
func (s *TimerLayerUserStore) InvalidateProfilesInChannelCache(channelId string)
func (*TimerLayerUserStore) InvalidateProfilesInChannelCacheByUser ¶
func (s *TimerLayerUserStore) InvalidateProfilesInChannelCacheByUser(userId string)
func (*TimerLayerUserStore) PermanentDelete ¶
func (s *TimerLayerUserStore) PermanentDelete(userId string) *model.AppError
func (*TimerLayerUserStore) PromoteGuestToUser ¶
func (s *TimerLayerUserStore) PromoteGuestToUser(userID string) *model.AppError
func (*TimerLayerUserStore) ResetLastPictureUpdate ¶
func (s *TimerLayerUserStore) ResetLastPictureUpdate(userId string) *model.AppError
func (*TimerLayerUserStore) Search ¶
func (s *TimerLayerUserStore) Search(teamId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
func (*TimerLayerUserStore) SearchInChannel ¶
func (s *TimerLayerUserStore) SearchInChannel(channelId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
func (*TimerLayerUserStore) SearchInGroup ¶
func (s *TimerLayerUserStore) SearchInGroup(groupID string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
func (*TimerLayerUserStore) SearchNotInChannel ¶
func (s *TimerLayerUserStore) SearchNotInChannel(teamId string, channelId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
func (*TimerLayerUserStore) SearchNotInTeam ¶
func (s *TimerLayerUserStore) SearchNotInTeam(notInTeamId string, term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
func (*TimerLayerUserStore) SearchWithoutTeam ¶
func (s *TimerLayerUserStore) SearchWithoutTeam(term string, options *model.UserSearchOptions) ([]*model.User, *model.AppError)
func (*TimerLayerUserStore) Update ¶
func (s *TimerLayerUserStore) Update(user *model.User, allowRoleUpdate bool) (*model.UserUpdate, *model.AppError)
func (*TimerLayerUserStore) UpdateAuthData ¶
func (*TimerLayerUserStore) UpdateFailedPasswordAttempts ¶
func (s *TimerLayerUserStore) UpdateFailedPasswordAttempts(userId string, attempts int) *model.AppError
func (*TimerLayerUserStore) UpdateLastPictureUpdate ¶
func (s *TimerLayerUserStore) UpdateLastPictureUpdate(userId string) *model.AppError
func (*TimerLayerUserStore) UpdateMfaActive ¶
func (s *TimerLayerUserStore) UpdateMfaActive(userId string, active bool) *model.AppError
func (*TimerLayerUserStore) UpdateMfaSecret ¶
func (s *TimerLayerUserStore) UpdateMfaSecret(userId string, secret string) *model.AppError
func (*TimerLayerUserStore) UpdatePassword ¶
func (s *TimerLayerUserStore) UpdatePassword(userId string, newPassword string) *model.AppError
func (*TimerLayerUserStore) UpdateUpdateAt ¶
func (s *TimerLayerUserStore) UpdateUpdateAt(userId string) (int64, *model.AppError)
func (*TimerLayerUserStore) VerifyEmail ¶
type TimerLayerUserTermsOfServiceStore ¶
type TimerLayerUserTermsOfServiceStore struct { store.UserTermsOfServiceStore Root *TimerLayer }
func (*TimerLayerUserTermsOfServiceStore) Delete ¶
func (s *TimerLayerUserTermsOfServiceStore) Delete(userId string, termsOfServiceId string) error
func (*TimerLayerUserTermsOfServiceStore) GetByUser ¶
func (s *TimerLayerUserTermsOfServiceStore) GetByUser(userId string) (*model.UserTermsOfService, error)
func (*TimerLayerUserTermsOfServiceStore) Save ¶
func (s *TimerLayerUserTermsOfServiceStore) Save(userTermsOfService *model.UserTermsOfService) (*model.UserTermsOfService, error)
type TimerLayerWebhookStore ¶
type TimerLayerWebhookStore struct { store.WebhookStore Root *TimerLayer }
func (*TimerLayerWebhookStore) AnalyticsIncomingCount ¶
func (s *TimerLayerWebhookStore) AnalyticsIncomingCount(teamId string) (int64, error)
func (*TimerLayerWebhookStore) AnalyticsOutgoingCount ¶
func (s *TimerLayerWebhookStore) AnalyticsOutgoingCount(teamId string) (int64, error)
func (*TimerLayerWebhookStore) ClearCaches ¶
func (s *TimerLayerWebhookStore) ClearCaches()
func (*TimerLayerWebhookStore) DeleteIncoming ¶
func (s *TimerLayerWebhookStore) DeleteIncoming(webhookId string, time int64) error
func (*TimerLayerWebhookStore) DeleteOutgoing ¶
func (s *TimerLayerWebhookStore) DeleteOutgoing(webhookId string, time int64) error
func (*TimerLayerWebhookStore) GetIncoming ¶
func (s *TimerLayerWebhookStore) GetIncoming(id string, allowFromCache bool) (*model.IncomingWebhook, error)
func (*TimerLayerWebhookStore) GetIncomingByChannel ¶
func (s *TimerLayerWebhookStore) GetIncomingByChannel(channelId string) ([]*model.IncomingWebhook, error)
func (*TimerLayerWebhookStore) GetIncomingByTeam ¶
func (s *TimerLayerWebhookStore) GetIncomingByTeam(teamId string, offset int, limit int) ([]*model.IncomingWebhook, error)
func (*TimerLayerWebhookStore) GetIncomingByTeamByUser ¶
func (s *TimerLayerWebhookStore) GetIncomingByTeamByUser(teamId string, userId string, offset int, limit int) ([]*model.IncomingWebhook, error)
func (*TimerLayerWebhookStore) GetIncomingList ¶
func (s *TimerLayerWebhookStore) GetIncomingList(offset int, limit int) ([]*model.IncomingWebhook, error)
func (*TimerLayerWebhookStore) GetIncomingListByUser ¶
func (s *TimerLayerWebhookStore) GetIncomingListByUser(userId string, offset int, limit int) ([]*model.IncomingWebhook, error)
func (*TimerLayerWebhookStore) GetOutgoing ¶
func (s *TimerLayerWebhookStore) GetOutgoing(id string) (*model.OutgoingWebhook, error)
func (*TimerLayerWebhookStore) GetOutgoingByChannel ¶
func (s *TimerLayerWebhookStore) GetOutgoingByChannel(channelId string, offset int, limit int) ([]*model.OutgoingWebhook, error)
func (*TimerLayerWebhookStore) GetOutgoingByChannelByUser ¶
func (s *TimerLayerWebhookStore) GetOutgoingByChannelByUser(channelId string, userId string, offset int, limit int) ([]*model.OutgoingWebhook, error)
func (*TimerLayerWebhookStore) GetOutgoingByTeam ¶
func (s *TimerLayerWebhookStore) GetOutgoingByTeam(teamId string, offset int, limit int) ([]*model.OutgoingWebhook, error)
func (*TimerLayerWebhookStore) GetOutgoingByTeamByUser ¶
func (s *TimerLayerWebhookStore) GetOutgoingByTeamByUser(teamId string, userId string, offset int, limit int) ([]*model.OutgoingWebhook, error)
func (*TimerLayerWebhookStore) GetOutgoingList ¶
func (s *TimerLayerWebhookStore) GetOutgoingList(offset int, limit int) ([]*model.OutgoingWebhook, error)
func (*TimerLayerWebhookStore) GetOutgoingListByUser ¶
func (s *TimerLayerWebhookStore) GetOutgoingListByUser(userId string, offset int, limit int) ([]*model.OutgoingWebhook, error)
func (*TimerLayerWebhookStore) InvalidateWebhookCache ¶
func (s *TimerLayerWebhookStore) InvalidateWebhookCache(webhook string)
func (*TimerLayerWebhookStore) PermanentDeleteIncomingByChannel ¶
func (s *TimerLayerWebhookStore) PermanentDeleteIncomingByChannel(channelId string) error
func (*TimerLayerWebhookStore) PermanentDeleteIncomingByUser ¶
func (s *TimerLayerWebhookStore) PermanentDeleteIncomingByUser(userId string) error
func (*TimerLayerWebhookStore) PermanentDeleteOutgoingByChannel ¶
func (s *TimerLayerWebhookStore) PermanentDeleteOutgoingByChannel(channelId string) error
func (*TimerLayerWebhookStore) PermanentDeleteOutgoingByUser ¶
func (s *TimerLayerWebhookStore) PermanentDeleteOutgoingByUser(userId string) error
func (*TimerLayerWebhookStore) SaveIncoming ¶
func (s *TimerLayerWebhookStore) SaveIncoming(webhook *model.IncomingWebhook) (*model.IncomingWebhook, error)
func (*TimerLayerWebhookStore) SaveOutgoing ¶
func (s *TimerLayerWebhookStore) SaveOutgoing(webhook *model.OutgoingWebhook) (*model.OutgoingWebhook, error)
func (*TimerLayerWebhookStore) UpdateIncoming ¶
func (s *TimerLayerWebhookStore) UpdateIncoming(webhook *model.IncomingWebhook) (*model.IncomingWebhook, error)
func (*TimerLayerWebhookStore) UpdateOutgoing ¶
func (s *TimerLayerWebhookStore) UpdateOutgoing(hook *model.OutgoingWebhook) (*model.OutgoingWebhook, error)
Click to show internal directories.
Click to hide internal directories.