Method | Description | |
---|---|---|
AddNewGroupAddress ( |
Adds the new group address.
|
|
AddNewGroupAddress ( |
Adds the new group address.
|
|
AddNewGroupAddress ( |
Adds the new group address.
|
|
Delete ( Group item ) : bool |
Deletes a specified group. Returns a boolean flag indicating if the deletion was successful.
|
|
GetAllAncestorIds ( int childGroupId ) : IOrderedEnumerable |
Returns an enumerable collection of the Rock.Model.Group Ids that are ancestors of a specified groupId sorted starting with the most immediate parent
|
|
GetAllDescendents ( int parentGroupId ) : IEnumerable |
Returns an enumerable collection of
|
|
GetByGroupTypeId ( int groupTypeId ) : IQueryable |
Returns an enumerable collection of Rock.Model.Group entities that by their Rock.Model.GroupType Id.
|
|
GetByGuid ( System.Guid guid ) : Group |
Returns the Rock.Model.Group containing a Guid property that matches the provided value.
|
|
GetByIsSecurityRole ( bool isSecurityRole ) : IQueryable |
Returns an enumerable collection of
|
|
GetByParentGroupId ( int parentGroupId ) : IQueryable |
Returns a collection of Rock.Model.Group">Groups by the Id of its parent |
|
GetByParentGroupIdAndName ( int parentGroupId, string name ) : IQueryable |
Returns an enumerable collection of Rock.Model.Group">Groups by the Id of their parent |
|
GetChildren ( int id, int rootGroupId, bool limitToSecurityRoleGroups, List |
Gets immediate children of a group (id) or a rootGroupId. Specify 0 for both Id and rootGroupId to get top level groups limited
|
|
GetGeofencedFamilies ( System.Guid groupGuid ) : IQueryable |
Gets the family groups that are geofenced by any of the selected group's locations
|
|
GetGeofencedFamilies ( List |
Gets the family groups that are geofenced by any of the selected geofences
|
|
GetGeofencedFamilies ( int groupId ) : IQueryable |
Gets the family groups that are geofenced by any of the selected group's locations
|
|
GetGeofencingGroups ( IQueryable |
Gets the groups of a selected type that have a geofence location that surrounds any of the selected points
|
|
GetGeofencingGroups ( IQueryable |
Gets the groups of a selected type that have a geofence location that surrounds any of the selected points
|
|
GetGeofencingGroups ( int personId, System.Guid groupTypeGuid ) : IQueryable |
Gets the groups of a particular type that geofence the selected person's mapped location(s)
|
|
GetGeofencingGroups ( int personId, int groupTypeId ) : IQueryable |
Gets the groups of a particular type that geofence the selected person's mapped location(s)
|
|
GetNavigationChildren ( int id, int rootGroupId, bool limitToSecurityRoleGroups, List |
Gets immediate navigation children of a group (id) or a rootGroupId. Specify 0 for both Id and rootGroupId to get top level groups limited
|
|
GetNearestGroup ( int personId, int groupTypeId ) : Group |
Gets the nearest group.
|
|
GroupAncestorPathName ( int groupId ) : string |
Groups the name of the ancestor path.
|
|
GroupMembersNotMeetingRequirements ( int groupId, bool includeWarnings, bool includeInactive = false ) : Dictionary |
Groups the members not meeting requirements.
|
|
SaveNewFamily ( |
Saves the new family.
|
|
SaveNewGroup ( |
Saves the new group.
|
Method | Description | |
---|---|---|
AddNewFamilyAddress ( |
||
AddNewFamilyAddress ( |
||
AddNewFamilyAddress ( |
public static AddNewGroupAddress ( |
||
rockContext | The rock context. | |
group | Group | The group. |
locationTypeGuid | string | The location type unique identifier. |
location | Location | The location. |
moveExistingToPrevious | bool | if set to |
return | void |
public static AddNewGroupAddress ( |
||
rockContext | The rock context. | |
group | Group | The group. |
locationTypeGuid | string | The location type unique identifier. |
locationId | int | The location identifier. |
moveExistingToPrevious | bool | if set to |
return | void |
public static AddNewGroupAddress ( |
||
rockContext | The rock context. | |
group | Group | The group. |
locationTypeGuid | string | The location type unique identifier. |
street1 | string | The street1. |
street2 | string | The street2. |
city | string | The city. |
state | string | The state. |
postalCode | string | The postal code. |
country | string | The country. |
moveExistingToPrevious | bool | if set to |
return | void |
public GetAllAncestorIds ( int childGroupId ) : IOrderedEnumerable |
||
childGroupId | int | The child group identifier. |
return | IOrderedEnumerable |
public GetAllDescendents ( int parentGroupId ) : IEnumerable |
||
parentGroupId | int | An |
return | IEnumerable |
public GetByGroupTypeId ( int groupTypeId ) : IQueryable |
||
groupTypeId | int | An |
return | IQueryable |
public GetByGuid ( System.Guid guid ) : Group | ||
guid | System.Guid | A |
return | Group |
public GetByIsSecurityRole ( bool isSecurityRole ) : IQueryable |
||
isSecurityRole | bool | A |
return | IQueryable |
public GetByParentGroupId ( int parentGroupId ) : IQueryable |
||
parentGroupId | int | A |
return | IQueryable |
public GetByParentGroupIdAndName ( int parentGroupId, string name ) : IQueryable |
||
parentGroupId | int | An |
name | string | A |
return | IQueryable |
public GetChildren ( int id, int rootGroupId, bool limitToSecurityRoleGroups, List |
||
id | int | The ID of the Group to get the children of (or 0 to use rootGroupId) |
rootGroupId | int | The root group ID |
limitToSecurityRoleGroups | bool | if set to |
groupTypeIncludedIds | List |
The group type included ids. |
groupTypeExcludedIds | List |
The group type excluded ids. |
includeInactiveGroups | bool | if set to |
limitToShowInNavigation | bool | if set to |
return | IQueryable |
public GetGeofencedFamilies ( System.Guid groupGuid ) : IQueryable |
||
groupGuid | System.Guid | The group unique identifier. |
return | IQueryable |
public GetGeofencedFamilies ( List |
||
geofences | List |
The geofences. |
return | IQueryable |
public GetGeofencedFamilies ( int groupId ) : IQueryable |
||
groupId | int | The group identifier. |
return | IQueryable |
public GetGeofencingGroups ( IQueryable |
||
points | IQueryable |
The points. |
groupTypeGuid | System.Guid | The group type unique identifier. |
return | IQueryable |
public GetGeofencingGroups ( IQueryable |
||
points | IQueryable |
The points. |
groupTypeId | int | The group type identifier. |
return | IQueryable |
public GetGeofencingGroups ( int personId, System.Guid groupTypeGuid ) : IQueryable |
||
personId | int | The person identifier. |
groupTypeGuid | System.Guid | The group type unique identifier. |
return | IQueryable |
public GetGeofencingGroups ( int personId, int groupTypeId ) : IQueryable |
||
personId | int | The person identifier. |
groupTypeId | int | The group type identifier. |
return | IQueryable |
public GetNavigationChildren ( int id, int rootGroupId, bool limitToSecurityRoleGroups, List |
||
id | int | The identifier. |
rootGroupId | int | The root group identifier. |
limitToSecurityRoleGroups | bool | if set to |
groupTypeIncludedIds | List |
The group type included ids. |
groupTypeExcludedIds | List |
The group type excluded ids. |
includeInactiveGroups | bool | if set to |
return | IQueryable |
public GetNearestGroup ( int personId, int groupTypeId ) : Group | ||
personId | int | The person identifier. |
groupTypeId | int | The group type identifier. |
return | Group |
public GroupAncestorPathName ( int groupId ) : string | ||
groupId | int | The group identifier. |
return | string |
public GroupMembersNotMeetingRequirements ( int groupId, bool includeWarnings, bool includeInactive = false ) : Dictionary |
||
groupId | int | The group identifier. |
includeWarnings | bool | if set to |
includeInactive | bool | if set to |
return | Dictionary |
public static SaveNewFamily ( |
||
rockContext | The rock context. | |
familyMembers | List |
The family members. |
campusId | int | The campus identifier. |
savePersonAttributes | bool | if set to |
return | Group |
public static SaveNewGroup ( |
||
rockContext | The rock context. | |
groupTypeId | int | The group type identifier. |
parentGroupGuid | System.Guid | The parent group unique identifier. |
groupName | string | Name of the group. |
groupMembers | List |
The group members. |
campusId | int | The campus identifier. |
savePersonAttributes | bool | if set to |
return | Group |