C# 클래스 HBS.Data.Entities.SchedulingTimeTracking.Models.TimeTrackingManager

파일 보기 프로젝트 열기: heartbeatservice/HeartbeatServiceSolution

공개 메소드들

메소드 설명
DeleteTimeTrackRecord ( int timeTrackId, string loggedInUserName ) : bool
GetClockInOutTime ( string userName, System.DateTime startDate, System.DateTime endDate ) : WeeklyTimeTrackWeekListViewModel
GetCurrentDayClockInOutTime ( string userName ) : DailyTimeTrack
GetCurrentWeekClockInOutTime ( string userName ) : WeeklyTimeTrackWeekListViewModel
GetDailyClockInOutTimeByDate ( int userId, System.DateTime startDate, System.DateTime endDate ) : DailyTimeTrack
GetTimeTrackFromUserTimeTrackHistory ( UserTimeTrackHistory userTimeTrackHistory ) : TimeTrack
GetUserTimeTrackHistoryForSpecifiedPeriod ( string userName, System.DateTime startDate, System.DateTime endDate ) : CustomTimeTrack
GetUserTimeTrackHistoryForSpecifiedPeriod ( int companyId, int userId, System.DateTime startDate, System.DateTime endDate ) : TimeTrackReportViewModel
GetWeeklyClockInOutTimeByDate ( string userName, System.DateTime startDate, System.DateTime endDate ) : WeeklyTimeTrack
SetDefaultClockoutTimeStampToForgottenStamps ( string userName ) : void
TrackClockInOutTime ( int userId, string userName ) : void
UpdateClockInOutTime ( int timeTrackId, string stampDate, string selectedUser, string clockInTime, string clockOutTime, string updatedBy ) : TimeTrackErrorViewModel

비공개 메소드들

메소드 설명
GetTimeTrackList ( IEnumerable userTimeTrackHistories, System.DateTime givenDate ) : IEnumerable

메소드 상세

DeleteTimeTrackRecord() 공개 정적인 메소드

public static DeleteTimeTrackRecord ( int timeTrackId, string loggedInUserName ) : bool
timeTrackId int
loggedInUserName string
리턴 bool

GetClockInOutTime() 공개 정적인 메소드

public static GetClockInOutTime ( string userName, System.DateTime startDate, System.DateTime endDate ) : WeeklyTimeTrackWeekListViewModel
userName string
startDate System.DateTime
endDate System.DateTime
리턴 HBS.Data.Entities.SchedulingTimeTracking.ViewModels.WeeklyTimeTrackWeekListViewModel

GetCurrentDayClockInOutTime() 공개 정적인 메소드

public static GetCurrentDayClockInOutTime ( string userName ) : DailyTimeTrack
userName string
리턴 DailyTimeTrack

GetCurrentWeekClockInOutTime() 공개 정적인 메소드

public static GetCurrentWeekClockInOutTime ( string userName ) : WeeklyTimeTrackWeekListViewModel
userName string
리턴 HBS.Data.Entities.SchedulingTimeTracking.ViewModels.WeeklyTimeTrackWeekListViewModel

GetDailyClockInOutTimeByDate() 공개 정적인 메소드

public static GetDailyClockInOutTimeByDate ( int userId, System.DateTime startDate, System.DateTime endDate ) : DailyTimeTrack
userId int
startDate System.DateTime
endDate System.DateTime
리턴 DailyTimeTrack

GetTimeTrackFromUserTimeTrackHistory() 공개 정적인 메소드

public static GetTimeTrackFromUserTimeTrackHistory ( UserTimeTrackHistory userTimeTrackHistory ) : TimeTrack
userTimeTrackHistory HBS.Data.Entities.SchedulingTimeTracking.EF.UserTimeTrackHistory
리턴 TimeTrack

GetUserTimeTrackHistoryForSpecifiedPeriod() 공개 정적인 메소드

public static GetUserTimeTrackHistoryForSpecifiedPeriod ( string userName, System.DateTime startDate, System.DateTime endDate ) : CustomTimeTrack
userName string
startDate System.DateTime
endDate System.DateTime
리턴 CustomTimeTrack

GetUserTimeTrackHistoryForSpecifiedPeriod() 공개 정적인 메소드

public static GetUserTimeTrackHistoryForSpecifiedPeriod ( int companyId, int userId, System.DateTime startDate, System.DateTime endDate ) : TimeTrackReportViewModel
companyId int
userId int
startDate System.DateTime
endDate System.DateTime
리턴 HBS.Data.Entities.SchedulingTimeTracking.ViewModels.TimeTrackReportViewModel

GetWeeklyClockInOutTimeByDate() 공개 정적인 메소드

public static GetWeeklyClockInOutTimeByDate ( string userName, System.DateTime startDate, System.DateTime endDate ) : WeeklyTimeTrack
userName string
startDate System.DateTime
endDate System.DateTime
리턴 WeeklyTimeTrack

SetDefaultClockoutTimeStampToForgottenStamps() 공개 정적인 메소드

public static SetDefaultClockoutTimeStampToForgottenStamps ( string userName ) : void
userName string
리턴 void

TrackClockInOutTime() 공개 정적인 메소드

public static TrackClockInOutTime ( int userId, string userName ) : void
userId int
userName string
리턴 void

UpdateClockInOutTime() 공개 정적인 메소드

public static UpdateClockInOutTime ( int timeTrackId, string stampDate, string selectedUser, string clockInTime, string clockOutTime, string updatedBy ) : TimeTrackErrorViewModel
timeTrackId int
stampDate string
selectedUser string
clockInTime string
clockOutTime string
updatedBy string
리턴 HBS.Data.Entities.SchedulingTimeTracking.ViewModels.TimeTrackErrorViewModel