List of usage examples for com.liferay.portal.kernel.transaction Isolation PORTAL
Isolation PORTAL
To view the source code for com.liferay.portal.kernel.transaction Isolation PORTAL.
Click Source Link
From source file:com.liferay.alloy.mvc.BaseAlloyControllerImpl.java
License:Open Source License
@Transactional(isolation = Isolation.PORTAL, propagation = Propagation.REQUIRES_NEW, rollbackFor = { Exception.class }) protected void executeAction(Method method) throws Exception { if (method != null) { method.invoke(this); }//w w w . j av a 2 s .c o m actionRequest.setAttribute(CALLED_PROCESS_ACTION, Boolean.TRUE.toString()); if (Validator.isNotNull(viewPath)) { actionRequest.setAttribute(VIEW_PATH, viewPath); PortalUtil.copyRequestParameters(actionRequest, actionResponse); } else if (Validator.isNotNull(redirect)) { actionResponse.sendRedirect(redirect); } }
From source file:com.liferay.alloy.mvc.BaseAlloyControllerImpl.java
License:Open Source License
@Transactional(isolation = Isolation.PORTAL, propagation = Propagation.REQUIRES_NEW, rollbackFor = { Exception.class }) protected String processDataRequest(ActionRequest actionRequest) throws Exception { return null;// w w w . j a v a 2 s . c o m }