示例#1
0
 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)));
 }
示例#3
0
 public CommentInfo GetComment(int commentId)
 {
     return(CBO.FillObject <CommentInfo>(this._dataService.Journal_Comment_Get(commentId)));
 }
示例#4
0
 public static TopicInfo addTopic(TopicInfo topic)
 {
     return(CBO.FillObject <TopicInfo>(DataProvider.Instance().AddTopic(topic)));
 }
示例#5
0
 public static CommentInfo setComment(CommentInfo comment)
 {
     return(CBO.FillObject <CommentInfo>(DataProvider.Instance().SetComment(comment)));;;
 }
示例#6
0
        internal virtual object GetNotificationTypeCallBack(CacheItemArgs cacheItemArgs)
        {
            var notificationTypeId = (int)cacheItemArgs.ParamList[0];

            return(CBO.FillObject <NotificationType>(_dataService.GetNotificationType(notificationTypeId)));
        }
示例#7
0
 /// -----------------------------------------------------------------------------
 /// <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)));
 }
示例#12
0
 public static LanguagePackInfo GetLanguagePackByPackage(int packageID)
 {
     return(CBO.FillObject <LanguagePackInfo>(DataProvider.Instance().GetLanguagePackByPackage(packageID)));
 }
示例#13
0
 public FolderMappingInfo GetFolderMapping(int folderMappingID)
 {
     return(CBO.FillObject <FolderMappingInfo>(dataProvider.GetFolderMapping(folderMappingID)));
 }
示例#14
0
 public UnitInfo GetUnit(decimal itemId)
 {
     return(CBO.FillObject <UnitInfo>(DataProvider.Instance().GetUnit(itemId)));
 }
示例#15
0
 public Notification GetNotification(int notificationId)
 {
     return(CBO.FillObject <Notification>(_dataService.GetNotification(notificationId)));
 }
示例#16
0
 public static ScheduleItem GetSchedule(string TypeFullName, string Server)
 {
     return(CBO.FillObject <ScheduleItem>(DataProvider.Instance().GetSchedule(TypeFullName, Server)));
 }
示例#17
0
        internal virtual object GetNotificationTypeByNameCallBack(CacheItemArgs cacheItemArgs)
        {
            var notificationName = cacheItemArgs.ParamList[0].ToString();

            return(CBO.FillObject <NotificationType>(_dataService.GetNotificationTypeByName(notificationName)));
        }
示例#18
0
 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)));
 }
示例#20
0
 public static DbInfo GetDbInfo()
 {
     return(CBO.FillObject <DbInfo>(DataService.GetDbInfo()));
 }
示例#21
0
 public static Redirect301 GetRedirect(string OldUrl)
 {
     return((Redirect301)CBO.FillObject(SqlHelper.ExecuteReader(ConfigurationManager.ConnectionStrings["SiteSqlServer"].ConnectionString, "Redirect301_GetRedirect", new object[] { OldUrl }), typeof(Redirect301)));
 }
示例#22
0
 public BCoefficientInfo GetBCoefficient(int itemId)
 {
     return(CBO.FillObject <BCoefficientInfo>(DataProvider.Instance().GetBCoefficient(itemId)));
 }
示例#23
0
 public static TopicInfo setToppic(TopicInfo topic)
 {
     return(CBO.FillObject <TopicInfo>(DataProvider.Instance().SetTopic(topic)));;
 }
示例#24
0
 public static SkinPackageInfo GetSkinByPackageID(int packageID)
 {
     return(CBO.FillObject <SkinPackageInfo>(DataProvider.Instance().GetSkinByPackageID(packageID)));
 }
示例#25
0
 public static DashboardControl GetDashboardControlByKey(string dashboardControlKey)
 {
     return(CBO.FillObject <DashboardControl>(DataService.GetDashboardControlByKey(dashboardControlKey)));
 }
示例#26
0
 public static SkinPackageInfo GetSkinPackage(int portalId, string skinName, string skinType)
 {
     return(CBO.FillObject <SkinPackageInfo>(DataProvider.Instance().GetSkinPackage(portalId, skinName, skinType)));
 }
示例#27
0
 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)));
 }
示例#28
0
 /// -----------------------------------------------------------------------------
 /// <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)));
 }
示例#29
0
 public JournalTypeInfo GetJournalType(string journalType)
 {
     return(CBO.FillObject <JournalTypeInfo>(this._dataService.Journal_Types_Get(journalType)));
 }
示例#30
0
 public hschucvuInfo GetPositionByThoiDiem(int chucvu)
 {
     return(CBO.FillObject <hschucvuInfo>(DataProvider.Instance().GetPositionByThoiDiem(chucvu)));
 }