Class IndustryStatusToggleCommandHandler
java.lang.Object
com.sankcrm.erp.industry.application.command.statustoggle.IndustryStatusToggleCommandHandler
- All Implemented Interfaces:
com.sankcrm.erp.bus.CommandHandler<Industry,IndustryStatusToggleCommand>
@Component
@Transactional(rollbackFor=java.lang.Exception.class,
timeout=300)
public class IndustryStatusToggleCommandHandler
extends Object
implements com.sankcrm.erp.bus.CommandHandler<Industry,IndustryStatusToggleCommand>
创建角色
- Since:
- 1.0.0
- Author:
- zhsxin
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IndustryStatusToggleCommandHandler
public IndustryStatusToggleCommandHandler()
-
-
Method Details
-
handle
public Industry handle(IndustryStatusToggleCommand command) throws com.sankcrm.erp.common.exception.CoreException - Specified by:
handlein interfacecom.sankcrm.erp.bus.CommandHandler<Industry,IndustryStatusToggleCommand> - Throws:
com.sankcrm.erp.common.exception.CoreException
-