C# Class AJH.CMS.Core.Data.PublishManager

显示文件 Open project: ajhCMS/AJH.CMS.WEB.UI

Public Methods

Method Description
Add ( Publish publish ) : int
Delete ( int ID ) : void
DeleteByObjectIDAndModuleId ( int objectID, int moduleID ) : void
GetPublish ( int ID ) : Publish
GetPublishs ( ) : List
GetPublishs ( int ModuleID, int PortalID, int LanguageID ) : List

Update ( Publish publish ) : void

Method Details

Add() public static method

public static Add ( Publish publish ) : int
publish AJH.CMS.Core.Entities.Publish
return int

Delete() public static method

public static Delete ( int ID ) : void
ID int
return void

DeleteByObjectIDAndModuleId() public static method

public static DeleteByObjectIDAndModuleId ( int objectID, int moduleID ) : void
objectID int
moduleID int
return void

GetPublish() public static method

public static GetPublish ( int ID ) : Publish
ID int
return AJH.CMS.Core.Entities.Publish

GetPublishs() public static method

public static GetPublishs ( ) : List
return List

GetPublishs() public static method

public static GetPublishs ( int ModuleID, int PortalID, int LanguageID ) : List
ModuleID int By default: -1
PortalID int
LanguageID int By default: -1
return List

Update() public static method

public static Update ( Publish publish ) : void
publish AJH.CMS.Core.Entities.Publish
return void