C# 클래스 Rock.Model.GroupTypeService

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

공개 메소드들

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

Deletes the specified item.

GetAllAssociatedDescendents ( Guid parentGroupTypeGuid ) : IEnumerable

Returns an enumerable collection of GroupType that are descendants of a specified group type. WARNING: This will fail if their is a circular reference in the GroupTypeAssociation table.

GetAllAssociatedDescendents ( int parentGroupTypeId ) : IEnumerable

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

GetAllAssociatedDescendentsPath ( int parentGroupTypeId ) : IEnumerable

Returns an enumerable collection of GroupTypePath objects that are associated descendants of a specified group type. WARNING: This will fail if there is a circular reference in the GroupTypeAssociation table.

GetAllCheckinGroupTypePaths ( ) : IEnumerable

Gets all checkin group type paths.

GetByDefaultGroupRoleId ( int defaultGroupRoleId ) : IEnumerable

Returns an enumerable collection of Rock.Model.GroupType entities by the Id of their Rock.Model.GroupTypeRole.

GetChildGroupTypes ( Guid groupTypeGuid ) : IQueryable

Gets the child group types.

GetChildGroupTypes ( int groupTypeId ) : IQueryable

Gets the child group types.

GetGuid ( int id ) : Guid?

Gets the Guid for the GroupType that has the specified Id

GetParentGroupTypes ( int groupTypeId ) : IQueryable

Gets the parent group types.

메소드 상세

Delete() 공개 메소드

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

GetAllAssociatedDescendents() 공개 메소드

Returns an enumerable collection of GroupType that are descendants of a specified group type. WARNING: This will fail if their is a circular reference in the GroupTypeAssociation table.
public GetAllAssociatedDescendents ( Guid parentGroupTypeGuid ) : IEnumerable
parentGroupTypeGuid Guid The parent group type unique identifier.
리턴 IEnumerable

GetAllAssociatedDescendents() 공개 메소드

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

GetAllAssociatedDescendentsPath() 공개 메소드

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

GetAllCheckinGroupTypePaths() 공개 메소드

Gets all checkin group type paths.
public GetAllCheckinGroupTypePaths ( ) : IEnumerable
리턴 IEnumerable

GetByDefaultGroupRoleId() 공개 메소드

Returns an enumerable collection of Rock.Model.GroupType entities by the Id of their Rock.Model.GroupTypeRole.
public GetByDefaultGroupRoleId ( int defaultGroupRoleId ) : IEnumerable
defaultGroupRoleId int An representing the Id of the to search by.
리턴 IEnumerable

GetChildGroupTypes() 공개 메소드

Gets the child group types.
public GetChildGroupTypes ( Guid groupTypeGuid ) : IQueryable
groupTypeGuid Guid The group type unique identifier.
리턴 IQueryable

GetChildGroupTypes() 공개 메소드

Gets the child group types.
public GetChildGroupTypes ( int groupTypeId ) : IQueryable
groupTypeId int The group type identifier.
리턴 IQueryable

GetGuid() 공개 메소드

Gets the Guid for the GroupType that has the specified Id
public GetGuid ( int id ) : Guid?
id int The identifier.
리턴 Guid?

GetParentGroupTypes() 공개 메소드

Gets the parent group types.
public GetParentGroupTypes ( int groupTypeId ) : IQueryable
groupTypeId int The group type identifier.
리턴 IQueryable