C# 클래스 Rock.Model.ContentChannelService

Data access/service class for Rock.Model.ContentChannel objects.
파일 보기 프로젝트 열기: NewSpring/Rock 1 사용 예제들

공개 메소드들

메소드 설명
Delete ( ContentChannel item ) : bool

Deletes the specified item.

GetAllAssociatedDescendents ( System.Guid parentContentChannelGuid ) : IEnumerable

Returns an enumerable collection of ContentChannel that are descendants of a specified content channel type. WARNING: This will fail if their is a circular reference in the ContentChannelAssociation table.

GetAllAssociatedDescendents ( int parentContentChannelId ) : IEnumerable

Returns an enumerable collection of ContentChannel that are descendants of a specified content channel type. WARNING: This will fail (max recursion) if there is a circular reference in the ContentChannelAssociation table.

GetAllAssociatedDescendentsPath ( int parentContentChannelId ) : IEnumerable

Returns an enumerable collection of ContentChannelPath objects that are associated descendants of a specified content channel type. WARNING: This will fail if there is a circular reference in the ContentChannelAssociation table.

GetChildContentChannels ( System.Guid contentChannelGuid ) : IQueryable

Gets the child content channel types.

GetChildContentChannels ( int contentChannelId ) : IQueryable

Gets the child content channel types.

GetParentContentChannels ( int contentChannelId ) : IQueryable

Gets the parent content channel types.

메소드 상세

Delete() 공개 메소드

Deletes the specified item.
public Delete ( ContentChannel item ) : bool
item ContentChannel The item.
리턴 bool

GetAllAssociatedDescendents() 공개 메소드

Returns an enumerable collection of ContentChannel that are descendants of a specified content channel type. WARNING: This will fail if their is a circular reference in the ContentChannelAssociation table.
public GetAllAssociatedDescendents ( System.Guid parentContentChannelGuid ) : IEnumerable
parentContentChannelGuid System.Guid The parent content channel type unique identifier.
리턴 IEnumerable

GetAllAssociatedDescendents() 공개 메소드

Returns an enumerable collection of ContentChannel that are descendants of a specified content channel type. WARNING: This will fail (max recursion) if there is a circular reference in the ContentChannelAssociation table.
public GetAllAssociatedDescendents ( int parentContentChannelId ) : IEnumerable
parentContentChannelId int The parent content channel type identifier.
리턴 IEnumerable

GetAllAssociatedDescendentsPath() 공개 메소드

Returns an enumerable collection of ContentChannelPath objects that are associated descendants of a specified content channel type. WARNING: This will fail if there is a circular reference in the ContentChannelAssociation table.
public GetAllAssociatedDescendentsPath ( int parentContentChannelId ) : IEnumerable
parentContentChannelId int The parent content channel type identifier.
리턴 IEnumerable

GetChildContentChannels() 공개 메소드

Gets the child content channel types.
public GetChildContentChannels ( System.Guid contentChannelGuid ) : IQueryable
contentChannelGuid System.Guid The content channel type unique identifier.
리턴 IQueryable

GetChildContentChannels() 공개 메소드

Gets the child content channel types.
public GetChildContentChannels ( int contentChannelId ) : IQueryable
contentChannelId int The content channel type identifier.
리턴 IQueryable

GetParentContentChannels() 공개 메소드

Gets the parent content channel types.
public GetParentContentChannels ( int contentChannelId ) : IQueryable
contentChannelId int The content channel type identifier.
리턴 IQueryable