Example #1
0
 /// <summary>
 /// Public contructor
 /// </summary>
 /// <param name="commerceCommander"></param>
 /// <param name="composerCommander"></param>
 /// <param name="importHelper"></param>
 public CreateOrUpdateSellableItemBlock(CommerceCommander commerceCommander, ComposerCommander composerCommander,
                                        GetManagedListCommand getManagedListCommand, DeleteRelationshipCommand deleteRelationshipCommand)
 {
     _commerceCommander         = commerceCommander;
     _deleteRelationshipCommand = deleteRelationshipCommand;
     _getManagedListCommand     = getManagedListCommand;
 }
Example #2
0
 /// <summary>
 /// c'tor
 /// </summary>
 /// <param name="createCategoryCommand">createCategoryCommand</param>
 /// <param name="associateCategoryToParentCommand">associateCategoryToParentCommand</param>
 /// <param name="getCategoryCommand">Get Category Command</param>
 /// <param name="editCategoryCommand">Edit Category Command</param>
 /// <param name="deleteRelationshipCommand">Delete Relationship Command</param>
 /// <param name="findEntitiesInListCommand">Find entities in List Command</param>
 /// <param name="associatedItemRetrievalService">associatedItemRetrievalService</param>
 public CategoryImporter(
     CreateCategoryCommand createCategoryCommand,
     AssociateCategoryToParentCommand associateCategoryToParentCommand,
     GetCategoryCommand getCategoryCommand,
     EditCategoryCommand editCategoryCommand,
     DeleteRelationshipCommand deleteRelationshipCommand,
     FindEntitiesInListCommand findEntitiesInListCommand,
     IAssociatedItemRetrievalService associatedItemRetrievalService)
 {
     _createCategoryCommand            = createCategoryCommand;
     _associateCategoryToParentCommand = associateCategoryToParentCommand;
     _getCategoryCommand             = getCategoryCommand;
     _editCategoryCommand            = editCategoryCommand;
     _deleteRelationshipCommand      = deleteRelationshipCommand;
     _findEntitiesInListCommand      = findEntitiesInListCommand;
     _associatedItemRetrievalService = associatedItemRetrievalService;
 }
Example #3
0
 public DisassociateFromNotLinkedParentBlock(DeleteRelationshipCommand deleteRelationshipCommand)
 {
     _deleteRelationshipCommand = deleteRelationshipCommand;
 }
 public DoActionDisassociateFromCategoryBlock(DeleteRelationshipCommand deleteRelationshipCommand)
 {
     this._deleteRelationshipCommand = deleteRelationshipCommand;
 }