public UnitInfo GetRootUnit(decimal empId, int type) { return(CBO.FillObject <UnitInfo>(DataProvider.Instance().GetRootUnit(empId, type))); }
public static DashboardControl GetDashboardControlByPackageId(int packageId) { return(CBO.FillObject <DashboardControl>(DataService.GetDashboardControlByPackageId(packageId))); }
public CommentInfo GetComment(int commentId) { return(CBO.FillObject <CommentInfo>(this._dataService.Journal_Comment_Get(commentId))); }
public static TopicInfo addTopic(TopicInfo topic) { return(CBO.FillObject <TopicInfo>(DataProvider.Instance().AddTopic(topic))); }
public static CommentInfo setComment(CommentInfo comment) { return(CBO.FillObject <CommentInfo>(DataProvider.Instance().SetComment(comment)));;; }
internal virtual object GetNotificationTypeCallBack(CacheItemArgs cacheItemArgs) { var notificationTypeId = (int)cacheItemArgs.ParamList[0]; return(CBO.FillObject <NotificationType>(_dataService.GetNotificationType(notificationTypeId))); }
/// ----------------------------------------------------------------------------- /// <summary> /// gets an object from the database /// </summary> /// <remarks> /// </remarks> /// <param name="moduleId">The Id of the module</param> /// <param name="ItemId">The Id of the item</param> /// <history> /// </history> /// ----------------------------------------------------------------------------- public ATI_BugReporterInfo GetATI_BugReporter(int ModuleId, int ItemId) { return(CBO.FillObject <ATI_BugReporterInfo>(DataProvider.Instance().GetATI_BugReporter(ModuleId, ItemId))); }
/// <inheritdoc/> public UserRelationshipPreference GetUserRelationshipPreference(int preferenceId) { return (CBO.FillObject <UserRelationshipPreference>(this._dataService.GetUserRelationshipPreferenceById(preferenceId))); }
public static ScheduleItem GetNextScheduledTask(string Server) { return(CBO.FillObject <ScheduleItem>(DataProvider.Instance().GetNextScheduledTask(Server))); }
/// ----------------------------------------------------------------------------- /// <summary> /// GetDesktopModulePermission gets a DesktopModule Permission from the Database /// </summary> /// <param name="DesktopModulePermissionID">The ID of the DesktopModule Permission</param> /// <history> /// [cnurse] 01/15/2008 Created /// </history> /// ----------------------------------------------------------------------------- public static DesktopModulePermissionInfo GetDesktopModulePermission(int DesktopModulePermissionID) { return(CBO.FillObject <DesktopModulePermissionInfo>(provider.GetDesktopModulePermission(DesktopModulePermissionID))); }
/// <inheritdoc/> public UserRelationship GetUserRelationship(int userRelationshipId) { return(CBO.FillObject <UserRelationship>(this._dataService.GetUserRelationship(userRelationshipId))); }
public static LanguagePackInfo GetLanguagePackByPackage(int packageID) { return(CBO.FillObject <LanguagePackInfo>(DataProvider.Instance().GetLanguagePackByPackage(packageID))); }
public FolderMappingInfo GetFolderMapping(int folderMappingID) { return(CBO.FillObject <FolderMappingInfo>(dataProvider.GetFolderMapping(folderMappingID))); }
public UnitInfo GetUnit(decimal itemId) { return(CBO.FillObject <UnitInfo>(DataProvider.Instance().GetUnit(itemId))); }
public Notification GetNotification(int notificationId) { return(CBO.FillObject <Notification>(_dataService.GetNotification(notificationId))); }
public static ScheduleItem GetSchedule(string TypeFullName, string Server) { return(CBO.FillObject <ScheduleItem>(DataProvider.Instance().GetSchedule(TypeFullName, Server))); }
internal virtual object GetNotificationTypeByNameCallBack(CacheItemArgs cacheItemArgs) { var notificationName = cacheItemArgs.ParamList[0].ToString(); return(CBO.FillObject <NotificationType>(_dataService.GetNotificationTypeByName(notificationName))); }
public static ScheduleItem GetSchedule(int ScheduleID) { return(CBO.FillObject <ScheduleItem>(DataProvider.Instance().GetSchedule(ScheduleID))); }
public static ProfilePropertyDefinition GetPropertyDefinition(int definitionId) { return(CBO.FillObject <ProfilePropertyDefinition>(_dataProvider.GetPropertyDefinition(definitionId))); }
public static DbInfo GetDbInfo() { return(CBO.FillObject <DbInfo>(DataService.GetDbInfo())); }
public static Redirect301 GetRedirect(string OldUrl) { return((Redirect301)CBO.FillObject(SqlHelper.ExecuteReader(ConfigurationManager.ConnectionStrings["SiteSqlServer"].ConnectionString, "Redirect301_GetRedirect", new object[] { OldUrl }), typeof(Redirect301))); }
public BCoefficientInfo GetBCoefficient(int itemId) { return(CBO.FillObject <BCoefficientInfo>(DataProvider.Instance().GetBCoefficient(itemId))); }
public static TopicInfo setToppic(TopicInfo topic) { return(CBO.FillObject <TopicInfo>(DataProvider.Instance().SetTopic(topic)));; }
public static SkinPackageInfo GetSkinByPackageID(int packageID) { return(CBO.FillObject <SkinPackageInfo>(DataProvider.Instance().GetSkinByPackageID(packageID))); }
public static DashboardControl GetDashboardControlByKey(string dashboardControlKey) { return(CBO.FillObject <DashboardControl>(DataService.GetDashboardControlByKey(dashboardControlKey))); }
public static SkinPackageInfo GetSkinPackage(int portalId, string skinName, string skinType) { return(CBO.FillObject <SkinPackageInfo>(DataProvider.Instance().GetSkinPackage(portalId, skinName, skinType))); }
public JournalItem GetJournalItem(int portalId, int currentUserId, int journalId, bool includeAllItems, bool isDeleted, bool securityCheck) { return(CBO.FillObject <JournalItem>(this._dataService.Journal_Get(portalId, currentUserId, journalId, includeAllItems, isDeleted, securityCheck))); }
/// ----------------------------------------------------------------------------- /// <summary> /// gets an object from the database /// </summary> /// <remarks> /// </remarks> /// <param name="moduleId">The Id of the module</param> /// <param name="ItemId">The Id of the item</param> /// <history> /// </history> /// ----------------------------------------------------------------------------- public ATI_CompareInfo GetATI_Compare(int ModuleId, int ItemId) { return(CBO.FillObject <ATI_CompareInfo>(DataProvider.Instance().GetATI_Compare(ModuleId, ItemId))); }
public JournalTypeInfo GetJournalType(string journalType) { return(CBO.FillObject <JournalTypeInfo>(this._dataService.Journal_Types_Get(journalType))); }
public hschucvuInfo GetPositionByThoiDiem(int chucvu) { return(CBO.FillObject <hschucvuInfo>(DataProvider.Instance().GetPositionByThoiDiem(chucvu))); }