C# Class Rock.Transactions.GroupMemberChangeTransaction

Launches a group member change workflow. Will also recalculate group member requirements when a member is added
Inheritance: ITransaction
Afficher le fichier Open project: NewSpring/Rock Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

GroupMemberChangeTransaction() public méthode

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