C# 클래스 Cydin.Models.UserModel

상속: IDisposable
파일 보기 프로젝트 열기: slluis/cydin 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ApproveRelease void
CheckIsAdmin void
CheckIsSiteAdmin void
CreateAppRelease void
DeleteProject void
GetAdmin UserModel
GetBaseUrl string
GetBuildLogUrl string
GetProjectUrl string
GetUsersToNotify IEnumerable
GetUsersToNotify IEnumerable
ReadAddinInfo AddinInfo
RejectRelease void
ResetProjectFlags void
SaveFile void
SetProjectFlags void
SetSourceStatus void
SetSourceStatus void
UpdateAppRelease void
UpdateAppReleaseFile void
UpdateAppReleaseFileFromUrl void
UpdateProjectFlags void
UploadRelease SourceTag
UserModel MySql.Data.MySqlClient

공개 메소드들

메소드 설명
AddProjectOwner ( int projectId, int userId ) : void
BindDownloadInfo ( Cydin.Models.Release rel ) : void
CanManageProject ( Cydin.Models.Project pr ) : bool
CanManageProject ( int projectId ) : bool
CleanSources ( int sourceTagId ) : void
CreateProject ( Cydin.Models.Project p ) : void
CreateRelease ( Cydin.Models.Release rel ) : void
CreateSource ( Cydin.Models.VcsSource source ) : void
CreateSourceTag ( SourceTag stag ) : void
DeleteAppRelease ( int id ) : void
DeleteRelease ( Cydin.Models.Release rel ) : void
DeleteSource ( int id ) : void
DeleteSourceTag ( SourceTag stag ) : void
Dispose ( ) : void
GetAppRelease ( int id ) : AppRelease
GetAppReleaseByVersion ( string version ) : AppRelease
GetAppReleases ( ) : IEnumerable
GetApplication ( int id ) : Application
GetApplicationAdministrators ( ) : IEnumerable
GetApplicationNotifications ( ) : List
GetApplications ( ) : IEnumerable
GetCurrent ( ) : UserModel
GetCurrentAppName ( ) : string
GetDevStatusItems ( DevStatus current ) : List
GetForUser ( string login, string password, int appId ) : UserModel
GetPendingReleases ( string status ) : IEnumerable
GetProject ( int id ) : Cydin.Models.Project
GetProjectByName ( string name ) : Cydin.Models.Project
GetProjectNotifications ( int projectId ) : List
GetProjectOwners ( Cydin.Models.Project p ) : IEnumerable
GetProjectReleases ( int projectId ) : IEnumerable
GetProjectSourceTags ( int projectId ) : IEnumerable
GetProjectSources ( int projectId ) : IEnumerable
GetProjects ( ) : IEnumerable
GetPublishedRelease ( SourceTag st ) : Cydin.Models.Release
GetRecentReleases ( ) : IEnumerable
GetRelease ( int releaseId ) : Cydin.Models.Release
GetReleases ( ) : IEnumerable
GetSettings ( ) : Cydin.Properties.Settings
GetSource ( int sourceId ) : Cydin.Models.VcsSource
GetSourceTag ( int sourceTagId ) : SourceTag
GetSourceTags ( ) : IEnumerable
GetSources ( int projectId ) : IEnumerable
GetUser ( int id ) : Cydin.Models.User
GetUserProjects ( ) : IEnumerable
GetVcsSource ( int id ) : Cydin.Models.VcsSource
GetVcsSourceTags ( int sourceId ) : IEnumerable
PublishRelease ( int sourceId ) : Cydin.Models.Release
RemoveProjectOwner ( int projectId, int userId ) : void
ResetUserPermission ( ApplicationPermission perm ) : void
SendMail ( string subject, string body, ApplicationNotification notif ) : void
SendMail ( string subject, string body, ProjectNotification notif, int projectId ) : void
SendMail ( string subject, string body, int projectId ) : void
SetApplicationNotification ( ApplicationNotification notif, bool enable ) : void
SetApplicationNotification ( ProjectNotification notif, bool enable ) : void
SetProjectNotification ( ProjectNotification notif, int projectId, bool enable ) : void
SetPublished ( Cydin.Models.Release rel ) : void
SetSiteNotification ( SiteNotification notif, bool enable ) : void
SetSourceTagStatus ( SourceTag stag, string status ) : void
SetUserApplicationPermission ( int userId, ApplicationPermission perms, bool enable ) : void
SetUserPermission ( ApplicationPermission perm ) : void
UpdateProject ( Cydin.Models.Project p ) : void
UpdateSettings ( Cydin.Properties.Settings s ) : void
UpdateSource ( Cydin.Models.VcsSource s, bool rebuild ) : void
UpdateSourceTag ( SourceTag stag ) : void
UpdateUser ( Cydin.Models.User user ) : void
UploadRelease ( int projectId, System.Web.HttpPostedFileBase file, string appVersion, string platforms ) : SourceTag
UploadRelease ( int projectId, byte fileData, string appVersion, string platforms ) : SourceTag
ValidateProject ( int projectId ) : void

비공개 메소드들

메소드 설명
ApproveRelease ( int id ) : void
CheckIsAdmin ( ) : void
CheckIsSiteAdmin ( ) : void
CreateAppRelease ( AppRelease release, System.Web.HttpPostedFileBase file ) : void
DeleteProject ( int id ) : void
GetAdmin ( int applicationId ) : UserModel
GetBaseUrl ( ) : string
GetBuildLogUrl ( int stagId ) : string
GetProjectUrl ( int projectId ) : string
GetUsersToNotify ( ApplicationNotification notif ) : IEnumerable
GetUsersToNotify ( int projectId, ProjectNotification notif ) : IEnumerable
ReadAddinInfo ( string file ) : AddinInfo
RejectRelease ( int id ) : void
ResetProjectFlags ( int id, ProjectFlag flags ) : void
SaveFile ( Stream inStream, string path ) : void
SetProjectFlags ( int id, ProjectFlag flags ) : void
SetSourceStatus ( int id, string status ) : void
SetSourceStatus ( int id, string status, string message ) : void
UpdateAppRelease ( AppRelease release, System.Web.HttpPostedFileBase file ) : void
UpdateAppReleaseFile ( AppRelease release, System.Web.HttpPostedFileBase file ) : void
UpdateAppReleaseFileFromUrl ( AppRelease release, string url ) : void
UpdateProjectFlags ( int id, ProjectFlag flags ) : void
UploadRelease ( int projectId, System.Web.HttpPostedFileBase file, byte fileData, string appVersion, string platforms ) : SourceTag
UserModel ( ) : MySql.Data.MySqlClient

메소드 상세

AddProjectOwner() 공개 메소드

public AddProjectOwner ( int projectId, int userId ) : void
projectId int
userId int
리턴 void

BindDownloadInfo() 공개 메소드

public BindDownloadInfo ( Cydin.Models.Release rel ) : void
rel Cydin.Models.Release
리턴 void

CanManageProject() 공개 메소드

public CanManageProject ( Cydin.Models.Project pr ) : bool
pr Cydin.Models.Project
리턴 bool

CanManageProject() 공개 메소드

public CanManageProject ( int projectId ) : bool
projectId int
리턴 bool

CleanSources() 공개 메소드

public CleanSources ( int sourceTagId ) : void
sourceTagId int
리턴 void

CreateProject() 공개 메소드

public CreateProject ( Cydin.Models.Project p ) : void
p Cydin.Models.Project
리턴 void

CreateRelease() 공개 메소드

public CreateRelease ( Cydin.Models.Release rel ) : void
rel Cydin.Models.Release
리턴 void

CreateSource() 공개 메소드

public CreateSource ( Cydin.Models.VcsSource source ) : void
source Cydin.Models.VcsSource
리턴 void

CreateSourceTag() 공개 메소드

public CreateSourceTag ( SourceTag stag ) : void
stag SourceTag
리턴 void

DeleteAppRelease() 공개 메소드

public DeleteAppRelease ( int id ) : void
id int
리턴 void

DeleteRelease() 공개 메소드

public DeleteRelease ( Cydin.Models.Release rel ) : void
rel Cydin.Models.Release
리턴 void

DeleteSource() 공개 메소드

public DeleteSource ( int id ) : void
id int
리턴 void

DeleteSourceTag() 공개 메소드

public DeleteSourceTag ( SourceTag stag ) : void
stag SourceTag
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetAppRelease() 공개 메소드

public GetAppRelease ( int id ) : AppRelease
id int
리턴 AppRelease

GetAppReleaseByVersion() 공개 메소드

public GetAppReleaseByVersion ( string version ) : AppRelease
version string
리턴 AppRelease

GetAppReleases() 공개 메소드

public GetAppReleases ( ) : IEnumerable
리턴 IEnumerable

GetApplication() 공개 메소드

public GetApplication ( int id ) : Application
id int
리턴 Application

GetApplicationAdministrators() 공개 메소드

public GetApplicationAdministrators ( ) : IEnumerable
리턴 IEnumerable

GetApplicationNotifications() 공개 메소드

public GetApplicationNotifications ( ) : List
리턴 List

GetApplications() 공개 메소드

public GetApplications ( ) : IEnumerable
리턴 IEnumerable

GetCurrent() 공개 정적인 메소드

public static GetCurrent ( ) : UserModel
리턴 UserModel

GetCurrentAppName() 공개 정적인 메소드

public static GetCurrentAppName ( ) : string
리턴 string

GetDevStatusItems() 공개 메소드

public GetDevStatusItems ( DevStatus current ) : List
current DevStatus
리턴 List

GetForUser() 공개 정적인 메소드

public static GetForUser ( string login, string password, int appId ) : UserModel
login string
password string
appId int
리턴 UserModel

GetPendingReleases() 공개 메소드

public GetPendingReleases ( string status ) : IEnumerable
status string
리턴 IEnumerable

GetProject() 공개 메소드

public GetProject ( int id ) : Cydin.Models.Project
id int
리턴 Cydin.Models.Project

GetProjectByName() 공개 메소드

public GetProjectByName ( string name ) : Cydin.Models.Project
name string
리턴 Cydin.Models.Project

GetProjectNotifications() 공개 메소드

public GetProjectNotifications ( int projectId ) : List
projectId int
리턴 List

GetProjectOwners() 공개 메소드

public GetProjectOwners ( Cydin.Models.Project p ) : IEnumerable
p Cydin.Models.Project
리턴 IEnumerable

GetProjectReleases() 공개 메소드

public GetProjectReleases ( int projectId ) : IEnumerable
projectId int
리턴 IEnumerable

GetProjectSourceTags() 공개 메소드

public GetProjectSourceTags ( int projectId ) : IEnumerable
projectId int
리턴 IEnumerable

GetProjectSources() 공개 메소드

public GetProjectSources ( int projectId ) : IEnumerable
projectId int
리턴 IEnumerable

GetProjects() 공개 메소드

public GetProjects ( ) : IEnumerable
리턴 IEnumerable

GetPublishedRelease() 공개 메소드

public GetPublishedRelease ( SourceTag st ) : Cydin.Models.Release
st SourceTag
리턴 Cydin.Models.Release

GetRecentReleases() 공개 메소드

public GetRecentReleases ( ) : IEnumerable
리턴 IEnumerable

GetRelease() 공개 메소드

public GetRelease ( int releaseId ) : Cydin.Models.Release
releaseId int
리턴 Cydin.Models.Release

GetReleases() 공개 메소드

public GetReleases ( ) : IEnumerable
리턴 IEnumerable

GetSettings() 공개 정적인 메소드

public static GetSettings ( ) : Cydin.Properties.Settings
리턴 Cydin.Properties.Settings

GetSource() 공개 메소드

public GetSource ( int sourceId ) : Cydin.Models.VcsSource
sourceId int
리턴 Cydin.Models.VcsSource

GetSourceTag() 공개 메소드

public GetSourceTag ( int sourceTagId ) : SourceTag
sourceTagId int
리턴 SourceTag

GetSourceTags() 공개 메소드

public GetSourceTags ( ) : IEnumerable
리턴 IEnumerable

GetSources() 공개 메소드

public GetSources ( int projectId ) : IEnumerable
projectId int
리턴 IEnumerable

GetUser() 공개 메소드

public GetUser ( int id ) : Cydin.Models.User
id int
리턴 Cydin.Models.User

GetUserProjects() 공개 메소드

public GetUserProjects ( ) : IEnumerable
리턴 IEnumerable

GetVcsSource() 공개 메소드

public GetVcsSource ( int id ) : Cydin.Models.VcsSource
id int
리턴 Cydin.Models.VcsSource

GetVcsSourceTags() 공개 메소드

public GetVcsSourceTags ( int sourceId ) : IEnumerable
sourceId int
리턴 IEnumerable

PublishRelease() 공개 메소드

public PublishRelease ( int sourceId ) : Cydin.Models.Release
sourceId int
리턴 Cydin.Models.Release

RemoveProjectOwner() 공개 메소드

public RemoveProjectOwner ( int projectId, int userId ) : void
projectId int
userId int
리턴 void

ResetUserPermission() 공개 메소드

public ResetUserPermission ( ApplicationPermission perm ) : void
perm ApplicationPermission
리턴 void

SendMail() 공개 메소드

public SendMail ( string subject, string body, ApplicationNotification notif ) : void
subject string
body string
notif ApplicationNotification
리턴 void

SendMail() 공개 메소드

public SendMail ( string subject, string body, ProjectNotification notif, int projectId ) : void
subject string
body string
notif ProjectNotification
projectId int
리턴 void

SendMail() 공개 메소드

public SendMail ( string subject, string body, int projectId ) : void
subject string
body string
projectId int
리턴 void

SetApplicationNotification() 공개 메소드

public SetApplicationNotification ( ApplicationNotification notif, bool enable ) : void
notif ApplicationNotification
enable bool
리턴 void

SetApplicationNotification() 공개 메소드

public SetApplicationNotification ( ProjectNotification notif, bool enable ) : void
notif ProjectNotification
enable bool
리턴 void

SetProjectNotification() 공개 메소드

public SetProjectNotification ( ProjectNotification notif, int projectId, bool enable ) : void
notif ProjectNotification
projectId int
enable bool
리턴 void

SetPublished() 공개 메소드

public SetPublished ( Cydin.Models.Release rel ) : void
rel Cydin.Models.Release
리턴 void

SetSiteNotification() 공개 메소드

public SetSiteNotification ( SiteNotification notif, bool enable ) : void
notif SiteNotification
enable bool
리턴 void

SetSourceTagStatus() 공개 메소드

public SetSourceTagStatus ( SourceTag stag, string status ) : void
stag SourceTag
status string
리턴 void

SetUserApplicationPermission() 공개 메소드

public SetUserApplicationPermission ( int userId, ApplicationPermission perms, bool enable ) : void
userId int
perms ApplicationPermission
enable bool
리턴 void

SetUserPermission() 공개 메소드

public SetUserPermission ( ApplicationPermission perm ) : void
perm ApplicationPermission
리턴 void

UpdateProject() 공개 메소드

public UpdateProject ( Cydin.Models.Project p ) : void
p Cydin.Models.Project
리턴 void

UpdateSettings() 공개 메소드

public UpdateSettings ( Cydin.Properties.Settings s ) : void
s Cydin.Properties.Settings
리턴 void

UpdateSource() 공개 메소드

public UpdateSource ( Cydin.Models.VcsSource s, bool rebuild ) : void
s Cydin.Models.VcsSource
rebuild bool
리턴 void

UpdateSourceTag() 공개 메소드

public UpdateSourceTag ( SourceTag stag ) : void
stag SourceTag
리턴 void

UpdateUser() 공개 메소드

public UpdateUser ( Cydin.Models.User user ) : void
user Cydin.Models.User
리턴 void

UploadRelease() 공개 메소드

public UploadRelease ( int projectId, System.Web.HttpPostedFileBase file, string appVersion, string platforms ) : SourceTag
projectId int
file System.Web.HttpPostedFileBase
appVersion string
platforms string
리턴 SourceTag

UploadRelease() 공개 메소드

public UploadRelease ( int projectId, byte fileData, string appVersion, string platforms ) : SourceTag
projectId int
fileData byte
appVersion string
platforms string
리턴 SourceTag

ValidateProject() 공개 메소드

public ValidateProject ( int projectId ) : void
projectId int
리턴 void