/// <summary> /// Load saved data /// </summary> /// <param name="ModuleID"></param> /// <param name="RoleID"></param> /// <param name="UserID"></param> /// <returns></returns> public DsPanelInfo Load() { //Server.DAO.ClientFramework.ModulesAndPanels objDAO; //Need a factory here: return(DaoInstanceFactory.GetInstance().LoadDsPanelInfo()); //objDAO = new Server.DAO.ClientFramework.ModulesAndPanelsSql(); //return objDAO.Load(); }
/// <summary> /// Load saved data /// </summary> /// <param name="ModuleID">ID of module for load</param> /// <param name="RoleID">GUID of role for load</param> /// <returns></returns> public DsProfile Load(string ModuleID, string RoleID) { //Server.DAO.ClientFramework.RoleProfile objDAO; ////Need a factory here: //objDAO = new Server.DAO.ClientFramework.RoleProfileSql(); //return objDAO.Load(ModuleID, RoleID); return(DaoInstanceFactory.GetInstance().LoadRoleProfile(ModuleID, RoleID)); }
public string GetUserGuidLadpAuthentication(string LoginName, string Password, string RoleName) { string rt = string.Empty; string adPath = System.Configuration.ConfigurationManager.AppSettings["DomainPath"]; LdapAuthentication adAuth = new LdapAuthentication(adPath); string DommainName, UserName; DommainName = System.Configuration.ConfigurationManager.AppSettings["DomainName"]; UserName = LoginName; if (adAuth.IsAuthenticated(DommainName, UserName, Password)) { rt = DaoInstanceFactory.GetInstance().GetUserGuidByDmnLgnName(LoginName, RoleName); } return(rt); }
public void LogOutBySessionID(string SessionID) { DaoInstanceFactory.GetInstance().LogOutBySessionID(SessionID); }
/// <summary> /// Get roleProfile accoding to the specified profile name and roleID. /// </summary> /// <param name="name"></param> /// <param name="roleId"></param> /// <returns></returns> public string GetRoleProfileValue(string name, string roleId) { return(DaoInstanceFactory.GetInstance().GetRoleProfileValue(name, roleId)); }
public DataSet GetAllNotesInDB(string userguid, string roleName) { return(DaoInstanceFactory.GetInstance().GetAllNotesInDB(userguid, roleName)); }
public int AuditChargeRecordEvtMsg(string ActionCode, string AccessionNumber, string ObjectID, string ObjectName, string ChargeID, string ChargeDescription, string ObjectDescription, bool isSuccess) { return(DaoInstanceFactory.GetInstance().AuditChargeRecordEvtMsg(ActionCode, AccessionNumber, ObjectID, ObjectName, ChargeID, ChargeDescription, ObjectDescription, isSuccess)); }
public int AuditProcedureRecordEvtMsg(string EventTypeCode, string AccessionNumber, string RP, string ObjectID, string ObjectName, string ObjectDescription, bool isSuccess) { return(DaoInstanceFactory.GetInstance().AuditProcedureRecordEvtMsg(EventTypeCode, AccessionNumber, RP, ObjectID, ObjectName, ObjectDescription, isSuccess)); }
public int AuditOrderRecordEvtMsg(string ActionCode, string TypeCode, string UserID, string UserName, string RoleName, string NetworkIP, string ObjectID, string ObjectName, string ObjectDetail, string ObjectDescription, bool isSuccess) { return(DaoInstanceFactory.GetInstance().AuditOrderRecordEvtMsg(ActionCode, TypeCode, UserID, UserName, RoleName, NetworkIP, ObjectID, ObjectName, ObjectDetail, ObjectDescription, isSuccess)); }
public string GetRoleName(string UserGuid) { return(DaoInstanceFactory.GetInstance().GetRoleName(UserGuid)); }
public string GetUeserGuidByLgnName(string loginName, string roleName) { return(DaoInstanceFactory.GetInstance().GetUserGuidByLoginName(loginName, roleName)); }
public KeyValuePair <int, int> GetExpireDays(string LoginName) { return(DaoInstanceFactory.GetInstance().GetExpireDays(LoginName)); }
public string GetUserGuidDbAuthentication(string LoginName, string Password, string RoleName) { return(DaoInstanceFactory.GetInstance().GetUserGuid(LoginName, Password, RoleName)); }
public int IsOnLine(string szUserGuid, string szRoleName, string szIpAddress, string szUrl, string szSessionID, bool IsLogined, bool bWebUser, bool IsHijackLogin, bool IsSelfService) { return(DaoInstanceFactory.GetInstance().IsOnLine(szUserGuid, szRoleName, szIpAddress, szUrl, szSessionID, IsLogined, bWebUser, IsHijackLogin, IsSelfService)); }
public void LogOut(string UserGuid, bool bWebUser) { DaoInstanceFactory.GetInstance().LogOut(UserGuid, bWebUser); }
public int AuditUserAuthMsg(string EventTypeCode, bool bHijackLogin, bool isSuccess) { return(DaoInstanceFactory.GetInstance().AuditUserAuthMsg(EventTypeCode, bHijackLogin, isSuccess)); }
public int AuditPatientRecordEvtMsg(string ActionCode, string ObjectID, string ObjectName, string ObjectDescription, bool isSuccess) { return(DaoInstanceFactory.GetInstance().AuditPatientRecordEvtMsg(ActionCode, ObjectID, ObjectName, ObjectDescription, isSuccess)); }
public System.Data.DataSet GetOnlineClients() { return(DaoInstanceFactory.GetInstance().GetOnlineClients()); }
public int AuditEvtMsg(string EventID, string ActionCode, string TypeCode, string EventOutComeIndicator, string UserID, string UserName, string RoleName, string NetworkIP, string UserIsRequestor, string ObjectTypeCode, string ObjectTypeCodeRole, string ObjectIDTypeCode, string ObjectID, string ObjectName, string ObjectDetail, string ObjectDescription, bool isSuccess) { return(DaoInstanceFactory.GetInstance().AuditEvtMsg(EventID, ActionCode, TypeCode, EventOutComeIndicator, UserID, UserName, RoleName, NetworkIP, UserIsRequestor, ObjectTypeCode, ObjectTypeCodeRole, ObjectIDTypeCode, ObjectID, ObjectName, ObjectDetail, ObjectDescription, isSuccess)); }
/// <summary> /// Load saved data /// </summary> /// <param name="ModuleID"></param> /// <param name="RoleID"></param> /// <param name="UserID"></param> /// <returns></returns> public DsProfile Load(string ModuleID, string RoleID, String UserID) { return(DaoInstanceFactory.GetInstance().LoadUserProfile(ModuleID, RoleID, UserID)); }
public int AuditPatientCareAssignMsg(string ActionCode, string AccessionNumber, string ReportID, string ReportName, string ObjectID, string ObjectName, string ObjectDescription, bool isSuccess) { return(DaoInstanceFactory.GetInstance().AuditPatientCareAssignMsg(ActionCode, AccessionNumber, ReportID, ReportName, ObjectID, ObjectName, ObjectDescription, isSuccess)); }
/// <summary> /// Save data into storage/database /// </summary> /// <param name="Ds">Detail infomation of updated data</param> /// <param name="RoleName"></param> /// <param name="UserGUID"></param> /// <returns></returns> public int Save(DataSet Ds, string RoleName, string UserGUID) { return(DaoInstanceFactory.GetInstance().SaveUserProfile(Ds, RoleName, UserGUID)); }
public int AuditSuppilesRecordEvtMsg(string ActionCode, string strEventTypeCode, string ObjectID, string ObjectName, string SupplierID, string SupplierDescription, string ObjectDescription, bool isSuccess) { return(DaoInstanceFactory.GetInstance().AuditSuppilesRecordEvtMsg(ActionCode, strEventTypeCode, ObjectID, ObjectName, SupplierID, SupplierDescription, ObjectDescription, isSuccess)); }
public System.Data.DataSet GetFilterSite(string strUserGuid, string strRoleName, string strCurSite, string strMatchingName) { return(DaoInstanceFactory.GetInstance().GetFilterSite(strUserGuid, strRoleName, strCurSite, strMatchingName)); }
public DataSet GetBillBoardDictionaryData() { return(DaoInstanceFactory.GetInstance().GetBillBoardDictionaryData()); }
public string GetSite(string settingSite) { return(DaoInstanceFactory.GetInstance().GetSite(settingSite)); }
/// <summary> /// Load saved data /// </summary> /// <returns></returns> public DsConfigDic Load(int Type) { return(DaoInstanceFactory.GetInstance().LoadConfigDic(Type)); }
/// <summary> /// Write Config Diction value to database /// </summary> /// <param name="row">Contains updated datay</param> /// <param name="iType">Type of the data</param> /// <returns></returns> public int WriteConfigDicRow(DsConfigDic.ConfigDicRow row, int iType) { return(DaoInstanceFactory.GetInstance().WriteConfigDicRow(row, iType)); }
public System.Data.DataSet GetExamInfo(string strExamDomain, string strAccNo) { return(DaoInstanceFactory.GetInstance().GetExamInfo(strExamDomain, strAccNo)); }
public void OnlineStatusInit() { DaoInstanceFactory.GetInstance().OnlineStatusInit(); }