List of usage examples for com.liferay.portal.kernel.util JavaConstants JAVAX_PORTLET_CONFIG
String JAVAX_PORTLET_CONFIG
To view the source code for com.liferay.portal.kernel.util JavaConstants JAVAX_PORTLET_CONFIG.
Click Source Link
From source file:org.oep.cmon.admin.portlet.action.AdminActionPortlet.java
License:Apache License
/** * This is function edit ? add role request * Version: 1.0//from w ww. j ava 2 s. c om * * History: * DATE AUTHOR DESCRIPTION * ------------------------------------------------- * 3-March-2013 Nam Dinh Create new * @param actionRequest * @param actionResponse * @throws Exception */ public void editOrAddChucVuVaiTroRequest(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { ChucVuVaiTroAction action = new ChucVuVaiTroAction(); action.editOrAddChucVuVaiTroRequest(actionRequest, actionResponse); PortletConfig portletConfig = (PortletConfig) actionRequest .getAttribute(JavaConstants.JAVAX_PORTLET_CONFIG); SessionMessages.add(actionRequest, portletConfig.getPortletName() + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE); }
From source file:org.oep.cmon.admin.portlet.action.AdminActionPortlet.java
License:Apache License
/** * This is function edit or add system request * Version: 1.0/*from w w w .java 2 s . c o m*/ * * History: * DATE AUTHOR DESCRIPTION * ------------------------------------------------- * 3-March-2013 Nam Dinh Create new * @param actionRequest * @param actionResponse * @throws Exception */ public void editOrAddHeThongRequest(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { HeThongAction action = new HeThongAction(); action.editOrAddHeThongRequest(actionRequest, actionResponse); PortletConfig portletConfig = (PortletConfig) actionRequest .getAttribute(JavaConstants.JAVAX_PORTLET_CONFIG); SessionMessages.add(actionRequest, portletConfig.getPortletName() + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE); }
From source file:org.oep.cmon.admin.portlet.action.AdminActionPortlet.java
License:Apache License
/** * This is function edit administrative unit request * Version: 1.0//from w ww . j a v a 2 s . com * * History: * DATE AUTHOR DESCRIPTION * ------------------------------------------------- * 3-March-2013 Nam Dinh Create new * @param actionRequest * @param actionResponse * @throws Exception */ public void editOrAddDanhMucDonViHanhChinhRequest(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { DanhMucDonViHanhChinhAction action = new DanhMucDonViHanhChinhAction(); action.editOrAddDanhMucDonViHanhChinhRequest(actionRequest, actionResponse); PortletConfig portletConfig = (PortletConfig) actionRequest .getAttribute(JavaConstants.JAVAX_PORTLET_CONFIG); SessionMessages.add(actionRequest, portletConfig.getPortletName() + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE); }
From source file:org.oep.cmon.admin.portlet.action.AdminActionPortlet.java
License:Apache License
/** * This is function edit or add minisgtry request * Version: 1.0//from www . j av a2s .c o m * * History: * DATE AUTHOR DESCRIPTION * ------------------------------------------------- * 3-March-2013 Nam Dinh Create new * @param actionRequest * @param actionResponse * @throws Exception */ public void editOrAddChucVuRequest(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { ChucVuAction action = new ChucVuAction(); action.editOrAddChucVuRequest(actionRequest, actionResponse); PortletConfig portletConfig = (PortletConfig) actionRequest .getAttribute(JavaConstants.JAVAX_PORTLET_CONFIG); SessionMessages.add(actionRequest, portletConfig.getPortletName() + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE); }
From source file:org.oep.cmon.admin.portlet.action.AdminActionPortlet.java
License:Apache License
public void addCapCoQuanQuanLy(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { CapCoQuanQuanLyAction action = new CapCoQuanQuanLyAction(); action.addCapCoQuanQuanLy(actionRequest, actionResponse); PortletConfig portletConfig = (PortletConfig) actionRequest .getAttribute(JavaConstants.JAVAX_PORTLET_CONFIG); SessionMessages.add(actionRequest,// www . j a v a 2s . c o m portletConfig.getPortletName() + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE); }
From source file:org.oep.cmon.admin.portlet.action.AdminActionPortlet.java
License:Apache License
public void updateCapCoQuanQuanLy(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { CapCoQuanQuanLyAction action = new CapCoQuanQuanLyAction(); action.updateCapCoQuanQuanLy(actionRequest, actionResponse); PortletConfig portletConfig = (PortletConfig) actionRequest .getAttribute(JavaConstants.JAVAX_PORTLET_CONFIG); SessionMessages.add(actionRequest,//from ww w .j a v a 2s . c om portletConfig.getPortletName() + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE); }
From source file:org.oep.cmon.admin.portlet.action.AdminActionPortlet.java
License:Apache License
/** * This is function add or edit user account * Version: 1.0/*from ww w .j a v a 2 s .co m*/ * * History: * DATE AUTHOR DESCRIPTION * ------------------------------------------------- * 3-March-2013 Nam Dinh Create new * @param actionRequest * @param actionResponse * @throws Exception */ public void addEditTaiKhoanNguoiDung(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { new TaiKhoanNguoiDungAction().addEditTaiKhoanNguoiDung(actionRequest, actionResponse); PortletConfig portletConfig = (PortletConfig) actionRequest .getAttribute(JavaConstants.JAVAX_PORTLET_CONFIG); SessionMessages.add(actionRequest, portletConfig.getPortletName() + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE); }
From source file:org.oep.cmon.admin.portlet.action.AdminActionPortlet.java
License:Apache License
/** * This is function add edit civil servants * Version: 1.0/*from www . j a v a 2 s . c o m*/ * * History: * DATE AUTHOR DESCRIPTION * ------------------------------------------------- * 3-March-2013 Nam Dinh Create new * @param actionRequest * @param actionResponse * @throws Exception */ public void addEditCongChuc(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { new CongChucAction().addEditCongChuc(actionRequest, actionResponse); PortletConfig portletConfig = (PortletConfig) actionRequest .getAttribute(JavaConstants.JAVAX_PORTLET_CONFIG); SessionMessages.add(actionRequest, portletConfig.getPortletName() + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE); }
From source file:org.oep.cmon.admin.portlet.action.AdminActionPortlet.java
License:Apache License
/** * This is function delete role of civil servants * Version: 1.0/*from ww w .j a va2s .co m*/ * * History: * DATE AUTHOR DESCRIPTION * ------------------------------------------------- * 3-March-2013 Nam Dinh Create new * @param actionRequest * @param actionResponse * @throws Exception */ public void deleteRoleCongChuc(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { new CongChucAction().deleteRoleCongChuc(actionRequest, actionResponse); PortletConfig portletConfig = (PortletConfig) actionRequest .getAttribute(JavaConstants.JAVAX_PORTLET_CONFIG); SessionMessages.add(actionRequest, portletConfig.getPortletName() + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE); }
From source file:org.oep.cmon.admin.portlet.action.AdminActionPortlet.java
License:Apache License
/** * This is function deleteRoleCongChucRiengChuaAdd * Version: 1.0//from w w w. j a va 2 s. c o m * * History: * DATE AUTHOR DESCRIPTION * ------------------------------------------------- * 3-March-2013 Nam Dinh Create new * @param actionRequest * @param actionResponse * @throws Exception */ public void deleteRoleCongChucRiengChuaAdd(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { new CongChucAction().deleteRoleCongChucRiengChuaAdd(actionRequest, actionResponse); PortletConfig portletConfig = (PortletConfig) actionRequest .getAttribute(JavaConstants.JAVAX_PORTLET_CONFIG); SessionMessages.add(actionRequest, portletConfig.getPortletName() + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE); }