public class OFDMainbodyHandler extends AbstractMainbodyHandler
构造器和说明 |
---|
OFDMainbodyHandler() |
限定符和类型 | 方法和说明 |
---|---|
MainbodyType |
getType()
返回当前正文组件类型,对应Content对象的contentType,如10 – html正文;20 – 表单正文。。。
|
CtpContentAllBean |
handleContentView(CtpContentAllBean content)
内容应答,包括新建、查看时的内容浏览加工处理
|
CtpContentAllBean |
handleContentView(CtpContentAllBean content,
ContentContext context)
重构
MainbodyHandler.handleContentView(CtpContentAllBean) , 取消 request和response的耦合 |
afterSaveContent, beforeSaveContent, checkRight, getCategoryEnum, handleContentSaveOrUpdate
public MainbodyType getType()
MainbodyHandler
public CtpContentAllBean handleContentView(CtpContentAllBean content, ContentContext context) throws com.seeyon.ctp.common.exceptions.BusinessException
MainbodyHandler
MainbodyHandler.handleContentView(CtpContentAllBean)
, 取消 request和response的耦合handleContentView
在接口中 MainbodyHandler
handleContentView
在类中 AbstractMainbodyHandler
com.seeyon.ctp.common.exceptions.BusinessException
public CtpContentAllBean handleContentView(CtpContentAllBean content) throws com.seeyon.ctp.common.exceptions.BusinessException
MainbodyHandler
handleContentView
在接口中 MainbodyHandler
handleContentView
在类中 AbstractMainbodyHandler
content
- 内容组件对象com.seeyon.ctp.common.exceptions.BusinessException