C# 클래스 Engage.Dnn.Publish.Category

상속: Item
파일 보기 프로젝트 열기: EngageSoftware/Engage-Publish 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CreateCategory Category
GetCategoryArticles List

공개 메소드들

메소드 설명
AddCategoryVersion ( IDbTransaction trans, int itemVersionId, int itemId, int sortOrder, int childDisplayTabId ) : void
AddCategoryVersion ( int itemVersionId, int itemId, int sortOrder, int childDisplayTabId ) : void
CascadeChildDisplayTab ( int revisingUser ) : int

Updates the Item.DisplayTabId and ChildDisplayTabId settings of all children of this Category (and their children's children, etc.)

Category ( ) : System
Create ( int portalId ) : Category

Creates an empty Category object

Create ( string name, string description, int authorUserId, int moduleId, int portalId, int displayTabId ) : Category

Creates a Category object that you can continue to modify or save back into the database.,

GetAllChildCategories ( int parentItemId, int portalId ) : DataTable
GetCategories ( int portalId ) : DataTable
GetCategoriesByModuleId ( int moduleId ) : DataTable
GetCategoriesByPortalId ( int portalId ) : DataTable
GetCategoriesHierarchy ( int portalId ) : DataTable
GetCategory ( int itemId ) : Category
GetCategory ( int itemId, bool loadRelationships, bool loadTags ) : Category
GetCategory ( int itemId, bool loadRelationships, bool loadTags, bool loadItemVersionSettings ) : Category
GetCategory ( int itemId, int portalId ) : Category
GetCategory ( int itemId, int portalId, bool ignoreCache ) : Category
GetCategory ( int itemId, int portalId, bool loadRelationships, bool loadTags, bool loadItemVersionSettings ) : Category
GetCategory ( int itemId, int portalId, bool loadRelationships, bool loadTags, bool loadItemVersionSettings, bool ignoreCache ) : Category
GetCategory ( string categoryName, int portalId ) : Category
GetCategoryListing ( int parentItemId, int portalId ) : IDataReader
GetCategoryVersion ( int itemVersionId, int portalId ) : Category
GetCategoryVersion ( int itemVersionId, int portalId, bool ignoreCache ) : Category
GetChildCategories ( int parentItemId, int portalId ) : DataTable
GetChildCategories ( int parentItemId, int portalId, int itemTypeId ) : DataTable
GetChildrenInCategoryPaging ( int categoryId, int childTypeId, int maxItems, int portalId, bool customSort, bool customSortDirection, string sortOrder, int index, int pageSize ) : DataTable
GetOldCategoryId ( int itemId ) : int
GetParentCategory ( int childItemId, int portalId ) : int
GetTopLevelCategories ( int portalId ) : DataSet

Returns a dataset of the top level categories available for a specific portal

Import ( int currentModuleId, int portalId ) : void

This method is invoked by the Import mechanism and has to take this instance of a Category and resolve all the id's using the names supplied in the export. hk

Save ( int authorId ) : void
UpdateApprovalStatus ( ) : void

보호된 메소드들

메소드 설명
ResolveIds ( int currentModuleId ) : void

비공개 메소드들

메소드 설명
CreateCategory ( string name, string description, int authorUserId, int moduleId, int portalId, int displayTabId ) : Category
GetCategoryArticles ( int itemId, int portalId ) : List

메소드 상세

AddCategoryVersion() 공개 정적인 메소드

public static AddCategoryVersion ( IDbTransaction trans, int itemVersionId, int itemId, int sortOrder, int childDisplayTabId ) : void
trans IDbTransaction
itemVersionId int
itemId int
sortOrder int
childDisplayTabId int
리턴 void

AddCategoryVersion() 공개 정적인 메소드

public static AddCategoryVersion ( int itemVersionId, int itemId, int sortOrder, int childDisplayTabId ) : void
itemVersionId int
itemId int
sortOrder int
childDisplayTabId int
리턴 void

CascadeChildDisplayTab() 공개 메소드

Updates the Item.DisplayTabId and ChildDisplayTabId settings of all children of this Category (and their children's children, etc.)
public CascadeChildDisplayTab ( int revisingUser ) : int
revisingUser int The revising user.
리턴 int

Category() 공개 메소드

public Category ( ) : System
리턴 System

Create() 공개 정적인 메소드

Creates an empty Category object
public static Create ( int portalId ) : Category
portalId int The Portal ID of the portal this category belongs to.
리턴 Category

Create() 공개 정적인 메소드

Creates a Category object that you can continue to modify or save back into the database.,
public static Create ( string name, string description, int authorUserId, int moduleId, int portalId, int displayTabId ) : Category
name string Name of the Category to be created.
description string The description/abstract of the category to be created.
authorUserId int The ID of the author of this category.
moduleId int The moduleid for where this category will most likely be displayed.
portalId int The Portal ID of the portal this category belongs to.
displayTabId int The Tab ID of the page this Category should be displayed on.
리턴 Category

GetAllChildCategories() 공개 정적인 메소드

public static GetAllChildCategories ( int parentItemId, int portalId ) : DataTable
parentItemId int
portalId int
리턴 System.Data.DataTable

GetCategories() 공개 정적인 메소드

public static GetCategories ( int portalId ) : DataTable
portalId int
리턴 System.Data.DataTable

GetCategoriesByModuleId() 공개 정적인 메소드

public static GetCategoriesByModuleId ( int moduleId ) : DataTable
moduleId int
리턴 System.Data.DataTable

GetCategoriesByPortalId() 공개 정적인 메소드

public static GetCategoriesByPortalId ( int portalId ) : DataTable
portalId int
리턴 System.Data.DataTable

GetCategoriesHierarchy() 공개 정적인 메소드

public static GetCategoriesHierarchy ( int portalId ) : DataTable
portalId int
리턴 System.Data.DataTable

GetCategory() 공개 정적인 메소드

public static GetCategory ( int itemId ) : Category
itemId int
리턴 Category

GetCategory() 공개 정적인 메소드

public static GetCategory ( int itemId, bool loadRelationships, bool loadTags ) : Category
itemId int
loadRelationships bool
loadTags bool
리턴 Category

GetCategory() 공개 정적인 메소드

public static GetCategory ( int itemId, bool loadRelationships, bool loadTags, bool loadItemVersionSettings ) : Category
itemId int
loadRelationships bool
loadTags bool
loadItemVersionSettings bool
리턴 Category

GetCategory() 공개 정적인 메소드

public static GetCategory ( int itemId, int portalId ) : Category
itemId int
portalId int
리턴 Category

GetCategory() 공개 정적인 메소드

public static GetCategory ( int itemId, int portalId, bool ignoreCache ) : Category
itemId int
portalId int
ignoreCache bool
리턴 Category

GetCategory() 공개 정적인 메소드

public static GetCategory ( int itemId, int portalId, bool loadRelationships, bool loadTags, bool loadItemVersionSettings ) : Category
itemId int
portalId int
loadRelationships bool
loadTags bool
loadItemVersionSettings bool
리턴 Category

GetCategory() 공개 정적인 메소드

public static GetCategory ( int itemId, int portalId, bool loadRelationships, bool loadTags, bool loadItemVersionSettings, bool ignoreCache ) : Category
itemId int
portalId int
loadRelationships bool
loadTags bool
loadItemVersionSettings bool
ignoreCache bool
리턴 Category

GetCategory() 공개 정적인 메소드

public static GetCategory ( string categoryName, int portalId ) : Category
categoryName string
portalId int
리턴 Category

GetCategoryListing() 공개 정적인 메소드

public static GetCategoryListing ( int parentItemId, int portalId ) : IDataReader
parentItemId int
portalId int
리턴 IDataReader

GetCategoryVersion() 공개 정적인 메소드

public static GetCategoryVersion ( int itemVersionId, int portalId ) : Category
itemVersionId int
portalId int
리턴 Category

GetCategoryVersion() 공개 정적인 메소드

public static GetCategoryVersion ( int itemVersionId, int portalId, bool ignoreCache ) : Category
itemVersionId int
portalId int
ignoreCache bool
리턴 Category

GetChildCategories() 공개 정적인 메소드

public static GetChildCategories ( int parentItemId, int portalId ) : DataTable
parentItemId int
portalId int
리턴 System.Data.DataTable

GetChildCategories() 공개 정적인 메소드

public static GetChildCategories ( int parentItemId, int portalId, int itemTypeId ) : DataTable
parentItemId int
portalId int
itemTypeId int
리턴 System.Data.DataTable

GetChildrenInCategoryPaging() 공개 정적인 메소드

public static GetChildrenInCategoryPaging ( int categoryId, int childTypeId, int maxItems, int portalId, bool customSort, bool customSortDirection, string sortOrder, int index, int pageSize ) : DataTable
categoryId int
childTypeId int
maxItems int
portalId int
customSort bool
customSortDirection bool
sortOrder string
index int
pageSize int
리턴 System.Data.DataTable

GetOldCategoryId() 공개 정적인 메소드

public static GetOldCategoryId ( int itemId ) : int
itemId int
리턴 int

GetParentCategory() 공개 정적인 메소드

public static GetParentCategory ( int childItemId, int portalId ) : int
childItemId int
portalId int
리턴 int

GetTopLevelCategories() 공개 정적인 메소드

Returns a dataset of the top level categories available for a specific portal
public static GetTopLevelCategories ( int portalId ) : DataSet
portalId int The Portal ID that we want to return data for.
리턴 System.Data.DataSet

Import() 공개 메소드

This method is invoked by the Import mechanism and has to take this instance of a Category and resolve all the id's using the names supplied in the export. hk
public Import ( int currentModuleId, int portalId ) : void
currentModuleId int
portalId int
리턴 void

ResolveIds() 보호된 메소드

protected ResolveIds ( int currentModuleId ) : void
currentModuleId int
리턴 void

Save() 공개 메소드

public Save ( int authorId ) : void
authorId int
리턴 void

UpdateApprovalStatus() 공개 메소드

public UpdateApprovalStatus ( ) : void
리턴 void