summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-09-24 08:14:30 -0400
committerChristopher Speller <crspeller@gmail.com>2015-09-24 08:14:30 -0400
commit54c7dba33dc707fa7013a87040c8a8e5d7b237e9 (patch)
tree6afeaf5fc7f7876f3e7677ed19a83d3e3dce3b44 /store/store.go
parent56f76502e3edcc95f7a0e9c8fe5b3d523b33ee29 (diff)
parent00112cae5123b02eee79e8b991618ed5069e07b1 (diff)
downloadchat-54c7dba33dc707fa7013a87040c8a8e5d7b237e9.tar.gz
chat-54c7dba33dc707fa7013a87040c8a8e5d7b237e9.tar.bz2
chat-54c7dba33dc707fa7013a87040c8a8e5d7b237e9.zip
Merge pull request #765 from mattermost/PLT-349
PLT-349 adding team mgt to admin console
Diffstat (limited to 'store/store.go')
-rw-r--r--store/store.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/store/store.go b/store/store.go
index c9d40cfa5..23580f452 100644
--- a/store/store.go
+++ b/store/store.go
@@ -47,7 +47,7 @@ type TeamStore interface {
Get(id string) StoreChannel
GetByName(name string) StoreChannel
GetTeamsForEmail(domain string) StoreChannel
- GetForExport() StoreChannel
+ GetAll() StoreChannel
}
type ChannelStore interface {
@@ -103,6 +103,7 @@ type UserStore interface {
GetEtagForProfiles(teamId string) StoreChannel
UpdateFailedPasswordAttempts(userId string, attempts int) StoreChannel
GetForExport(teamId string) StoreChannel
+ GetTotalUsersCount() StoreChannel
}
type SessionStore interface {
@@ -110,6 +111,7 @@ type SessionStore interface {
Get(sessionIdOrToken string) StoreChannel
GetSessions(userId string) StoreChannel
Remove(sessionIdOrToken string) StoreChannel
+ RemoveAllSessionsForTeam(teamId string) StoreChannel
UpdateLastActivityAt(sessionId string, time int64) StoreChannel
UpdateRoles(userId string, roles string) StoreChannel
}