C# Class Rock.Transactions.GroupMemberChangeTransaction

Launches a group member change workflow. Will also recalculate group member requirements when a member is added
Inheritance: ITransaction
显示文件 Open project: NewSpring/Rock Class Usage Examples

Public Methods

Method Description
Execute ( ) : void

Execute method to check for any workflows to launch and will also recalculate group member requirements when a member is added

GroupMemberChangeTransaction ( DbEntityEntry entry ) : System

Initializes a new instance of the GroupMemberChangeTransaction class.

Private Methods

Method Description
LaunchWorkflow ( RockContext rockContext, int workflowTypeId, string name ) : void
QualifiersMatch ( RockContext rockContext, GroupMemberWorkflowTrigger workflowTrigger, GroupMemberStatus prevStatus, GroupMemberStatus status ) : bool
QualifiersMatch ( RockContext rockContext, GroupMemberWorkflowTrigger workflowTrigger, GroupMemberStatus prevStatus, GroupMemberStatus status, int prevRoleId, int roleId ) : bool
QualifiersMatch ( RockContext rockContext, GroupMemberWorkflowTrigger workflowTrigger, int prevRoleId, int roleId ) : bool

Method Details

Execute() public method

Execute method to check for any workflows to launch and will also recalculate group member requirements when a member is added
public Execute ( ) : void
return void

GroupMemberChangeTransaction() public method

Initializes a new instance of the GroupMemberChangeTransaction class.
public GroupMemberChangeTransaction ( DbEntityEntry entry ) : System
entry DbEntityEntry The entry.
return System