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, handleContentSaveOrUpdatepublic MainbodyType getType()
MainbodyHandlerpublic CtpContentAllBean handleContentView(CtpContentAllBean content, ContentContext context) throws com.seeyon.ctp.common.exceptions.BusinessException
MainbodyHandlerMainbodyHandler.handleContentView(CtpContentAllBean), 取消 request和response的耦合handleContentView 在接口中 MainbodyHandlerhandleContentView 在类中 AbstractMainbodyHandlercom.seeyon.ctp.common.exceptions.BusinessExceptionpublic CtpContentAllBean handleContentView(CtpContentAllBean content) throws com.seeyon.ctp.common.exceptions.BusinessException
MainbodyHandlerhandleContentView 在接口中 MainbodyHandlerhandleContentView 在类中 AbstractMainbodyHandlercontent - 内容组件对象com.seeyon.ctp.common.exceptions.BusinessException