C# Класс Chaos.Portal.Core.Data.PortalRepository

Наследование: IPortalRepository
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
PortalRepository System

Открытые методы

Метод Описание
ClientSettingsGet ( System.Guid guid ) : ClientSettings
ClientSettingsSet ( System.Guid guid, string name, string settings ) : uint
GroupAddUser ( System.Guid guid, System.Guid userGuid, uint systemPermission, System.Guid requestUserGuid ) : uint
GroupCreate ( System.Guid guid, string name, System.Guid requestedUserGuid, uint systemPermission ) : Model.Group
GroupDelete ( System.Guid guid, System.Guid userGuid ) : uint
GroupGet ( System.Guid guid, string name, System.Guid requestingUserGuid, System.Guid userGuid ) : IEnumerable
GroupRemoveUser ( System.Guid guid, System.Guid userGuid, System.Guid requestUserGuid ) : uint
GroupUpdate ( System.Guid guid, System.Guid userGuid, string newName, uint newSystemPermission ) : uint
GroupUpdateUserPermissions ( System.Guid guid, System.Guid userGuid, uint permissions, System.Guid requestingUserGuid ) : uint
LogCreate ( string name, System.Guid sessionGuid, string level, double duration, string message ) : uint
ModuleGet ( string name ) : Module
SessionCreate ( System.Guid userGuid ) : Model.Session
SessionDelete ( System.Guid guid, System.Guid userGuid ) : uint
SessionGet ( System.Guid guid, System.Guid userGuid ) : IEnumerable
SessionUpdate ( System.Guid guid, System.Guid userGuid ) : Model.Session
SubscriptionCreate ( System.Guid guid, string name, System.Guid requestingUserGuid ) : SubscriptionInfo
SubscriptionDelete ( System.Guid guid, System.Guid requestingUserGuid ) : uint
SubscriptionGet ( System.Guid guid, System.Guid requestingUserGuid ) : IEnumerable
SubscriptionUpdate ( System.Guid guid, string newName, System.Guid requestingUserGuid ) : uint
UserCreate ( System.Guid guid, string email ) : uint
UserDelete ( System.Guid guid ) : uint
UserInfoGet ( System.Guid userGuid, System.Guid sessionGuid, string email, System.Guid groupGuid ) : IEnumerable
UserInfoGet ( string email ) : UserInfo
UserInfoGetWithGroupPermission ( System.Guid userGuid ) : IEnumerable
UserSet ( System.Guid guid, string email ) : uint
UserSettingsDelete ( System.Guid guid, System.Guid userGuid ) : uint
UserSettingsGet ( System.Guid clientGuid, System.Guid userGuid ) : UserSettings
UserSettingsSet ( System.Guid guid, System.Guid userGuid, string settings ) : uint
UserUpdate ( System.Guid guid, string email, uint systemPermission ) : uint
WithConfiguration ( string connectionString ) : IPortalRepository

Приватные методы

Метод Описание
PortalRepository ( ) : System

Описание методов

ClientSettingsGet() публичный Метод

public ClientSettingsGet ( System.Guid guid ) : ClientSettings
guid System.Guid
Результат ClientSettings

ClientSettingsSet() публичный Метод

public ClientSettingsSet ( System.Guid guid, string name, string settings ) : uint
guid System.Guid
name string
settings string
Результат uint

GroupAddUser() публичный Метод

public GroupAddUser ( System.Guid guid, System.Guid userGuid, uint systemPermission, System.Guid requestUserGuid ) : uint
guid System.Guid
userGuid System.Guid
systemPermission uint
requestUserGuid System.Guid
Результат uint

GroupCreate() публичный Метод

public GroupCreate ( System.Guid guid, string name, System.Guid requestedUserGuid, uint systemPermission ) : Model.Group
guid System.Guid
name string
requestedUserGuid System.Guid
systemPermission uint
Результат Model.Group

GroupDelete() публичный Метод

public GroupDelete ( System.Guid guid, System.Guid userGuid ) : uint
guid System.Guid
userGuid System.Guid
Результат uint

GroupGet() публичный Метод

public GroupGet ( System.Guid guid, string name, System.Guid requestingUserGuid, System.Guid userGuid ) : IEnumerable
guid System.Guid
name string
requestingUserGuid System.Guid
userGuid System.Guid
Результат IEnumerable

GroupRemoveUser() публичный Метод

public GroupRemoveUser ( System.Guid guid, System.Guid userGuid, System.Guid requestUserGuid ) : uint
guid System.Guid
userGuid System.Guid
requestUserGuid System.Guid
Результат uint

GroupUpdate() публичный Метод

public GroupUpdate ( System.Guid guid, System.Guid userGuid, string newName, uint newSystemPermission ) : uint
guid System.Guid
userGuid System.Guid
newName string
newSystemPermission uint
Результат uint

GroupUpdateUserPermissions() публичный Метод

public GroupUpdateUserPermissions ( System.Guid guid, System.Guid userGuid, uint permissions, System.Guid requestingUserGuid ) : uint
guid System.Guid
userGuid System.Guid
permissions uint
requestingUserGuid System.Guid
Результат uint

LogCreate() публичный Метод

public LogCreate ( string name, System.Guid sessionGuid, string level, double duration, string message ) : uint
name string
sessionGuid System.Guid
level string
duration double
message string
Результат uint

ModuleGet() публичный Метод

public ModuleGet ( string name ) : Module
name string
Результат Module

SessionCreate() публичный Метод

public SessionCreate ( System.Guid userGuid ) : Model.Session
userGuid System.Guid
Результат Model.Session

SessionDelete() публичный Метод

public SessionDelete ( System.Guid guid, System.Guid userGuid ) : uint
guid System.Guid
userGuid System.Guid
Результат uint

SessionGet() публичный Метод

public SessionGet ( System.Guid guid, System.Guid userGuid ) : IEnumerable
guid System.Guid
userGuid System.Guid
Результат IEnumerable

SessionUpdate() публичный Метод

public SessionUpdate ( System.Guid guid, System.Guid userGuid ) : Model.Session
guid System.Guid
userGuid System.Guid
Результат Model.Session

SubscriptionCreate() публичный Метод

public SubscriptionCreate ( System.Guid guid, string name, System.Guid requestingUserGuid ) : SubscriptionInfo
guid System.Guid
name string
requestingUserGuid System.Guid
Результат SubscriptionInfo

SubscriptionDelete() публичный Метод

public SubscriptionDelete ( System.Guid guid, System.Guid requestingUserGuid ) : uint
guid System.Guid
requestingUserGuid System.Guid
Результат uint

SubscriptionGet() публичный Метод

public SubscriptionGet ( System.Guid guid, System.Guid requestingUserGuid ) : IEnumerable
guid System.Guid
requestingUserGuid System.Guid
Результат IEnumerable

SubscriptionUpdate() публичный Метод

public SubscriptionUpdate ( System.Guid guid, string newName, System.Guid requestingUserGuid ) : uint
guid System.Guid
newName string
requestingUserGuid System.Guid
Результат uint

UserCreate() публичный Метод

public UserCreate ( System.Guid guid, string email ) : uint
guid System.Guid
email string
Результат uint

UserDelete() публичный Метод

public UserDelete ( System.Guid guid ) : uint
guid System.Guid
Результат uint

UserInfoGet() публичный Метод

public UserInfoGet ( System.Guid userGuid, System.Guid sessionGuid, string email, System.Guid groupGuid ) : IEnumerable
userGuid System.Guid
sessionGuid System.Guid
email string
groupGuid System.Guid
Результат IEnumerable

UserInfoGet() публичный Метод

public UserInfoGet ( string email ) : UserInfo
email string
Результат UserInfo

UserInfoGetWithGroupPermission() публичный Метод

public UserInfoGetWithGroupPermission ( System.Guid userGuid ) : IEnumerable
userGuid System.Guid
Результат IEnumerable

UserSet() публичный Метод

public UserSet ( System.Guid guid, string email ) : uint
guid System.Guid
email string
Результат uint

UserSettingsDelete() публичный Метод

public UserSettingsDelete ( System.Guid guid, System.Guid userGuid ) : uint
guid System.Guid
userGuid System.Guid
Результат uint

UserSettingsGet() публичный Метод

public UserSettingsGet ( System.Guid clientGuid, System.Guid userGuid ) : UserSettings
clientGuid System.Guid
userGuid System.Guid
Результат UserSettings

UserSettingsSet() публичный Метод

public UserSettingsSet ( System.Guid guid, System.Guid userGuid, string settings ) : uint
guid System.Guid
userGuid System.Guid
settings string
Результат uint

UserUpdate() публичный Метод

public UserUpdate ( System.Guid guid, string email, uint systemPermission ) : uint
guid System.Guid
email string
systemPermission uint
Результат uint

WithConfiguration() публичный Метод

public WithConfiguration ( string connectionString ) : IPortalRepository
connectionString string
Результат IPortalRepository