use of com.netsteadfast.greenstep.vo.SysTemplateVO in project bamboobsc by billchen198318.
the class SystemTemplateSaveOrUpdateAction method save.
private void save() throws ControllerException, AuthorityException, ServiceException, Exception {
this.checkFields();
SysTemplateVO template = new SysTemplateVO();
this.transformFields2ValueObject(template, new String[] { "templateId", "title", "message", "description" });
DefaultResult<SysTemplateVO> result = this.systemTemplateLogicService.create(template);
this.message = result.getSystemMessage().getValue();
if (result.getValue() != null) {
this.success = IS_YES;
}
}
Aggregations