public ModelExport execute(AppData data, Connection conn)
throws ConfigurationException, SQLException, IOException
{
WindowState state = data.renderRequest.getWindowState();
if (!state.equals(WindowState.MINIMIZED))
{
PortletMode mode = data.renderRequest.getPortletMode();
if (PortletMode.VIEW.equals(mode))
{
return this.view;
}
else if (PortletMode.EDIT.equals(mode))
{
return this.edit;
}
else if (PortletMode.HELP.equals(mode))
{
return this.help;
}
else
{
log.error("Unknown portlet mode: " + mode + ".");
}
}
return null;
}
RenderExecute.java 文件源码
java
阅读 18
收藏 0
点赞 0
评论 0
项目:eterna
作者:
评论列表
文章目录