public class HtmlMainbodyHandler extends AbstractMainbodyHandler
Title: T1开发框架
Description: HTML正文组件接口实现
Copyright: Copyright (c) 2012
Company: seeyon.com
构造器和说明 |
---|
HtmlMainbodyHandler() |
限定符和类型 | 方法和说明 |
---|---|
MainbodyType |
getType()
返回当前正文组件类型,对应Content对象的contentType,如10 – html正文;20 – 表单正文。。。
|
CtpContentAllBean |
handleContentView(CtpContentAllBean content)
内容应答,包括新建、查看时的内容浏览加工处理
|
CtpContentAllBean |
handleContentView(CtpContentAllBean content,
ContentContext context)
重构
MainbodyHandler.handleContentView(CtpContentAllBean) , 取消 request和response的耦合 |
java.lang.String |
replaceInlineAttachment_1(java.lang.String html) |
static java.lang.String |
replaceInlineAttachment(java.lang.String html)
替换正文编辑器插入关联中附件的v。
|
afterSaveContent, beforeSaveContent, checkRight, getCategoryEnum, handleContentSaveOrUpdate
public MainbodyType getType()
MainbodyHandler
public CtpContentAllBean handleContentView(CtpContentAllBean content) throws com.seeyon.ctp.common.exceptions.BusinessException
MainbodyHandler
handleContentView
在接口中 MainbodyHandler
handleContentView
在类中 AbstractMainbodyHandler
content
- 内容组件对象com.seeyon.ctp.common.exceptions.BusinessException
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 static java.lang.String replaceInlineAttachment(java.lang.String html)
html
- public java.lang.String replaceInlineAttachment_1(java.lang.String html)