C# Class Chaos.Portal.Core.Data.PortalRepository

Inheritance: IPortalRepository
Datei anzeigen Open project: CHAOS-Community/Portal Class Usage Examples

Private Properties

Property Type Description
PortalRepository System

Public Methods

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

Private Methods

Method Description
PortalRepository ( ) : System

Method Details

ClientSettingsGet() public method

public ClientSettingsGet ( System.Guid guid ) : ClientSettings
guid System.Guid
return ClientSettings

ClientSettingsSet() public method

public ClientSettingsSet ( System.Guid guid, string name, string settings ) : uint
guid System.Guid
name string
settings string
return uint

GroupAddUser() public method

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

GroupCreate() public method

public GroupCreate ( System.Guid guid, string name, System.Guid requestedUserGuid, uint systemPermission ) : Model.Group
guid System.Guid
name string
requestedUserGuid System.Guid
systemPermission uint
return Model.Group

GroupDelete() public method

public GroupDelete ( System.Guid guid, System.Guid userGuid ) : uint
guid System.Guid
userGuid System.Guid
return uint

GroupGet() public method

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

GroupRemoveUser() public method

public GroupRemoveUser ( System.Guid guid, System.Guid userGuid, System.Guid requestUserGuid ) : uint
guid System.Guid
userGuid System.Guid
requestUserGuid System.Guid
return uint

GroupUpdate() public method

public GroupUpdate ( System.Guid guid, System.Guid userGuid, string newName, uint newSystemPermission ) : uint
guid System.Guid
userGuid System.Guid
newName string
newSystemPermission uint
return uint

GroupUpdateUserPermissions() public method

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

LogCreate() public method

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

ModuleGet() public method

public ModuleGet ( string name ) : Module
name string
return Module

SessionCreate() public method

public SessionCreate ( System.Guid userGuid ) : Model.Session
userGuid System.Guid
return Model.Session

SessionDelete() public method

public SessionDelete ( System.Guid guid, System.Guid userGuid ) : uint
guid System.Guid
userGuid System.Guid
return uint

SessionGet() public method

public SessionGet ( System.Guid guid, System.Guid userGuid ) : IEnumerable
guid System.Guid
userGuid System.Guid
return IEnumerable

SessionUpdate() public method

public SessionUpdate ( System.Guid guid, System.Guid userGuid ) : Model.Session
guid System.Guid
userGuid System.Guid
return Model.Session

SubscriptionCreate() public method

public SubscriptionCreate ( System.Guid guid, string name, System.Guid requestingUserGuid ) : SubscriptionInfo
guid System.Guid
name string
requestingUserGuid System.Guid
return SubscriptionInfo

SubscriptionDelete() public method

public SubscriptionDelete ( System.Guid guid, System.Guid requestingUserGuid ) : uint
guid System.Guid
requestingUserGuid System.Guid
return uint

SubscriptionGet() public method

public SubscriptionGet ( System.Guid guid, System.Guid requestingUserGuid ) : IEnumerable
guid System.Guid
requestingUserGuid System.Guid
return IEnumerable

SubscriptionUpdate() public method

public SubscriptionUpdate ( System.Guid guid, string newName, System.Guid requestingUserGuid ) : uint
guid System.Guid
newName string
requestingUserGuid System.Guid
return uint

UserCreate() public method

public UserCreate ( System.Guid guid, string email ) : uint
guid System.Guid
email string
return uint

UserDelete() public method

public UserDelete ( System.Guid guid ) : uint
guid System.Guid
return uint

UserInfoGet() public method

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

UserInfoGet() public method

public UserInfoGet ( string email ) : UserInfo
email string
return UserInfo

UserInfoGetWithGroupPermission() public method

public UserInfoGetWithGroupPermission ( System.Guid userGuid ) : IEnumerable
userGuid System.Guid
return IEnumerable

UserSet() public method

public UserSet ( System.Guid guid, string email ) : uint
guid System.Guid
email string
return uint

UserSettingsDelete() public method

public UserSettingsDelete ( System.Guid guid, System.Guid userGuid ) : uint
guid System.Guid
userGuid System.Guid
return uint

UserSettingsGet() public method

public UserSettingsGet ( System.Guid clientGuid, System.Guid userGuid ) : UserSettings
clientGuid System.Guid
userGuid System.Guid
return UserSettings

UserSettingsSet() public method

public UserSettingsSet ( System.Guid guid, System.Guid userGuid, string settings ) : uint
guid System.Guid
userGuid System.Guid
settings string
return uint

UserUpdate() public method

public UserUpdate ( System.Guid guid, string email, uint systemPermission ) : uint
guid System.Guid
email string
systemPermission uint
return uint

WithConfiguration() public method

public WithConfiguration ( string connectionString ) : IPortalRepository
connectionString string
return IPortalRepository