org.seasar.tuigwaa.plugin
クラス AbstractTgwPlugin
java.lang.Object
org.seasar.tuigwaa.plugin.AbstractPlugin
org.seasar.tuigwaa.plugin.AbstractTgwPlugin
- すべての実装インタフェース:
- Plugin
- 直系の既知のサブクラス:
- CalendarviewerPlugin, CounterPlugin, DataPlugin, EmailPlugin, ExcellinkPlugin, ExtPlugin, FormPlugin, GmapPlugin, GraphPlugin, IncludePlugin, SearchFormPlugin, TableFeedPlugin, TrackbackPlugin, ValidatorPlugin, ValuePlugin, VelocityPlugin, WebAlbumPlugin
- public abstract class AbstractTgwPlugin
- extends AbstractPlugin
メソッドの概要 |
protected void |
assertIncludePage(CmsRequest request,
String includePagepath)
|
protected void |
bindEntityId(Map params,
String entityName,
String id)
|
protected CriteriaFunction |
createBindingCriteria(CmsRequest req,
TgwEntity entity)
|
protected void |
createEntity(TgwEntity entity)
|
protected boolean |
existPage(CmsRequest request,
String pagepath)
|
protected boolean |
existPageOrFolder(CmsRequest request,
String pagepath)
|
protected Object |
getBean(CmsRequest req,
TgwEntity entity)
|
protected Object |
getBeanByUserName(CmsRequest req,
TgwEntity entity)
|
protected DataTable |
getDataTable(String siteName,
Class clazz,
CriteriaListFunction function)
|
protected DataTable |
getDataTable(String siteName,
String entityName,
CriteriaListFunction function)
|
protected TgwEntity |
getEntity(String domainName,
String entityDisplayName)
|
protected EntityDAO |
getEntityDAO(TgwEntity entity)
|
protected String |
getNoPageMessage(CmsRequest request,
String pagepath)
|
protected String |
getNoPageMessage(CmsRequest request,
String pagepath,
String entityName,
String id)
|
protected Page |
getPage(CmsRequest request,
String pagepath)
|
protected Page |
getPageData(CmsRequest request,
String pagepath)
|
protected ResultDto |
getResultDto(CmsRequest req,
TgwEntity entity,
String filter)
|
protected ResultDto |
getResultDto(CmsRequest req,
TgwEntity entity,
String filter,
int firstResult)
|
protected ResultDto |
getResultDto(CmsRequest req,
TgwEntity entity,
String filter,
int firstResult,
int max)
|
protected Object |
getService(Object key)
|
protected boolean |
isAfterAction(CmsRequest request)
|
protected TgwEntity |
requireEntity(String siteName,
Class clazz)
should not be called, if you use newer type of plugin framework where it
uses plugin name to build name of entity not class name, in that case use
AbstractPlugin#setPojoClass |
protected Map |
searchBindingFkData(CmsRequest req,
TgwEntity entity)
|
クラス org.seasar.tuigwaa.plugin.AbstractPlugin から継承したメソッド |
doAction, doHTMLView, doPDFView, doTextView, existArg, getActionPath, getConfiguration, getDao, getHiddenElements, getJavascriptTemplate, getMessage, getPageHiddenElement, getParameterName, initialize, isBlockpluginSupported, isHtmlSupported, isInlinepluginSupported, isPdfSupported, service, setConfiguration, setPluginConfig, setPojoClass, setWebAppli, toString, updateArgs |
AbstractTgwPlugin
public AbstractTgwPlugin()
getService
protected Object getService(Object key)
getEntity
protected TgwEntity getEntity(String domainName,
String entityDisplayName)
createEntity
protected void createEntity(TgwEntity entity)
throws PluginException
- 例外:
PluginException
getEntityDAO
protected EntityDAO getEntityDAO(TgwEntity entity)
bindEntityId
protected void bindEntityId(Map params,
String entityName,
String id)
searchBindingFkData
protected Map searchBindingFkData(CmsRequest req,
TgwEntity entity)
createBindingCriteria
protected CriteriaFunction createBindingCriteria(CmsRequest req,
TgwEntity entity)
getBean
protected Object getBean(CmsRequest req,
TgwEntity entity)
getBeanByUserName
protected Object getBeanByUserName(CmsRequest req,
TgwEntity entity)
assertIncludePage
protected void assertIncludePage(CmsRequest request,
String includePagepath)
throws PluginException
- 例外:
PluginException
getPage
protected Page getPage(CmsRequest request,
String pagepath)
getPageData
protected Page getPageData(CmsRequest request,
String pagepath)
existPageOrFolder
protected boolean existPageOrFolder(CmsRequest request,
String pagepath)
existPage
protected boolean existPage(CmsRequest request,
String pagepath)
getNoPageMessage
protected String getNoPageMessage(CmsRequest request,
String pagepath)
getNoPageMessage
protected String getNoPageMessage(CmsRequest request,
String pagepath,
String entityName,
String id)
getDataTable
protected DataTable getDataTable(String siteName,
Class clazz,
CriteriaListFunction function)
getDataTable
protected DataTable getDataTable(String siteName,
String entityName,
CriteriaListFunction function)
requireEntity
protected final TgwEntity requireEntity(String siteName,
Class clazz)
throws PluginException
- should not be called, if you use newer type of plugin framework where it
uses plugin name to build name of entity not class name, in that case use
AbstractPlugin#setPojoClass
- 例外:
PluginException
isAfterAction
protected final boolean isAfterAction(CmsRequest request)
getResultDto
protected ResultDto getResultDto(CmsRequest req,
TgwEntity entity,
String filter)
getResultDto
protected ResultDto getResultDto(CmsRequest req,
TgwEntity entity,
String filter,
int firstResult)
getResultDto
protected ResultDto getResultDto(CmsRequest req,
TgwEntity entity,
String filter,
int firstResult,
int max)
Copyright © 2005-2006 The Seasar Foundation and the others.. All Rights Reserved.