/**
* Stores the portlet preferences to a persistent storage. This method
* should only be invoked within <code>processAction()</code> method.
*
* @see #internalStore()
*
* @throws IllegalStateException if this method is not invoked within
* <code>processAction()</code> method.
* @throws ValidatorException if the portlet preferences are not valid.
* @throws IOException if an error occurs with the persistence mechanism.
*/
public void store() throws IOException, ValidatorException {
if (PortletRequest.RENDER_PHASE.equals(request.getAttribute(PortletRequest.LIFECYCLE_PHASE))) {
throw new IllegalStateException(
"store is not allowed during RENDER phase.");
}
internalStore();
}
PortletPreferencesImpl.java 文件源码
java
阅读 19
收藏 0
点赞 0
评论 0
项目:portals-pluto
作者:
评论列表
文章目录