Ejemplo n.º 1
0
        public static void Execute(RefreshAccountGroupMembershipsParameters parameters)
        {
            PrepareParameters(parameters);

            {     // Local block to allow local naming
                UpdateAccountRootGroupMembershipParameters operationParameters = RefreshAccountGroupMembershipsImplementation.UpdateAccountRoot_GetParameters(parameters.GroupRoot, parameters.AccountID);
                UpdateAccountRootGroupMembership.Execute(operationParameters);
            }     // Local block closing

            {     // Local block to allow local naming
                UpdateAccountRootToReferencesParameters operationParameters = RefreshAccountGroupMembershipsImplementation.UpdateAccountRootReferences_GetParameters(parameters.AccountID);
                UpdateAccountRootToReferences.Execute(operationParameters);
            }     // Local block closing

            {     // Local block to allow local naming
                UpdateLoginGroupPermissionsParameters operationParameters = RefreshAccountGroupMembershipsImplementation.UpdateAccountLoginGroups_GetParameters(parameters.AccountID);
                UpdateLoginGroupPermissions.Execute(operationParameters);
            }     // Local block closing

            {     // Local block to allow local naming
                UpdateGroupContainersGroupMembershipParameters operationParameters = RefreshAccountGroupMembershipsImplementation.UpdateGroupContainers_GetParameters(parameters.GroupRoot);
                UpdateGroupContainersGroupMembership.Execute(operationParameters);
            }     // Local block closing

            {     // Local block to allow local naming
                UpdateAccountContainersGroupMembershipParameters operationParameters = RefreshAccountGroupMembershipsImplementation.UpdateAccountContainers_GetParameters(parameters.GroupRoot, parameters.AccountID);
                UpdateAccountContainersGroupMembership.Execute(operationParameters);
            }     // Local block closing
        }
Ejemplo n.º 2
0
        public static void Execute(UnlinkEmailAddressParameters parameters)
        {
            PrepareParameters(parameters);
            TBRAccountRoot AccountRootBeforeGroupRemoval = UnlinkEmailAddressImplementation.GetTarget_AccountRootBeforeGroupRemoval(parameters.AccountID);
            string         EmailAddress = UnlinkEmailAddressImplementation.GetTarget_EmailAddress(parameters.AccountContainerBeforeGroupRemoval, parameters.EmailAddressID);

            TBRGroupRoot[] GroupRoots = UnlinkEmailAddressImplementation.GetTarget_GroupRoots(AccountRootBeforeGroupRemoval, EmailAddress);
            UnlinkEmailAddressImplementation.ExecuteMethod_RemoveGroupMemberships(EmailAddress, GroupRoots);
            TBRAccountRoot AccountRootAfterGroupRemoval = UnlinkEmailAddressImplementation.GetTarget_AccountRootAfterGroupRemoval(parameters.AccountID);
            TBREmailRoot   EmailRoot = UnlinkEmailAddressImplementation.GetTarget_EmailRoot(EmailAddress);

            UnlinkEmailAddressImplementation.ExecuteMethod_RemoveEmailFromAccountRoot(AccountRootAfterGroupRemoval, EmailAddress);
            UnlinkEmailAddressImplementation.ExecuteMethod_DeleteEmailRoot(EmailRoot);
            UnlinkEmailAddressImplementation.ExecuteMethod_StoreObjects(AccountRootAfterGroupRemoval);

            {     // Local block to allow local naming
                UpdateAccountContainerFromAccountRootParameters operationParameters = UnlinkEmailAddressImplementation.UpdateAccountContainer_GetParameters(parameters.AccountID);
                UpdateAccountContainerFromAccountRoot.Execute(operationParameters);
            }     // Local block closing

            {     // Local block to allow local naming
                UpdateAccountRootToReferencesParameters operationParameters = UnlinkEmailAddressImplementation.UpdateAccountRoot_GetParameters(parameters.AccountID);
                UpdateAccountRootToReferences.Execute(operationParameters);
            }     // Local block closing
        }
Ejemplo n.º 3
0
        public static void Execute(UpdateAccountRootToReferencesParameters parameters)
        {
            PrepareParameters(parameters);
            TBRAccountRoot AccountRoot = UpdateAccountRootToReferencesImplementation.GetTarget_AccountRoot(parameters.AccountID);

            TBRLoginRoot[] AccountLogins = UpdateAccountRootToReferencesImplementation.GetTarget_AccountLogins(AccountRoot);
            TBREmailRoot[] AccountEmails = UpdateAccountRootToReferencesImplementation.GetTarget_AccountEmails(AccountRoot);
            UpdateAccountRootToReferencesImplementation.ExecuteMethod_UpdateAccountToLogins(AccountRoot, AccountLogins);
            UpdateAccountRootToReferencesImplementation.ExecuteMethod_UpdateAccountToEmails(AccountRoot, AccountEmails);
            UpdateAccountRootToReferencesImplementation.ExecuteMethod_StoreObjects(AccountLogins, AccountEmails);
        }
 private static void PrepareParameters(UpdateAccountRootToReferencesParameters parameters)
 {
 }
 public static void Execute(UpdateAccountRootToReferencesParameters parameters)
 {
     PrepareParameters(parameters);
             TBRAccountRoot AccountRoot = UpdateAccountRootToReferencesImplementation.GetTarget_AccountRoot(parameters.AccountID);
         TBRLoginRoot[] AccountLogins = UpdateAccountRootToReferencesImplementation.GetTarget_AccountLogins(AccountRoot);
         TBREmailRoot[] AccountEmails = UpdateAccountRootToReferencesImplementation.GetTarget_AccountEmails(AccountRoot);
         UpdateAccountRootToReferencesImplementation.ExecuteMethod_UpdateAccountToLogins(AccountRoot, AccountLogins);
         UpdateAccountRootToReferencesImplementation.ExecuteMethod_UpdateAccountToEmails(AccountRoot, AccountEmails);
         UpdateAccountRootToReferencesImplementation.ExecuteMethod_StoreObjects(AccountLogins, AccountEmails);
 }
Ejemplo n.º 6
0
 private static void PrepareParameters(UpdateAccountRootToReferencesParameters parameters)
 {
 }