@Override
public PriceSetCopyActionResponse execute(PriceSetCopyAction action) throws Exception {
PriceSetDto originalPriceSet = clientFacade.getPriceSet(action.getPriceSetID());
PriceSetDto newPriceSet = clientFacade.createPriceSet(action.getPriceSetName());
Long attachedCharacterID = null;
CharacterNameDto attachedCharacterName = originalPriceSet.getAttachedCharacterName();
if (attachedCharacterName != null) {
attachedCharacterID = attachedCharacterName.getId();
}
clientFacade.savePriceSet(newPriceSet.getId(), originalPriceSet.getItems(), originalPriceSet.getSharingLevel(), attachedCharacterID);
PriceSetDto priceSet = clientFacade.getPriceSet(newPriceSet.getId());
List<PriceSetNameDto> priceSetNames = clientFacade.getPriceSetNames();