Package com.liferay.layout.manager
Interface LayoutLockManager
public interface LayoutLockManager
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getLock
(com.liferay.portal.kernel.model.Layout layout, long userId) void
getLock
(javax.portlet.ActionRequest actionRequest) getLockedLayouts
(long companyId, long groupId, Locale locale) getLockedLayoutURL
(javax.portlet.ActionRequest actionRequest) getLockedLayoutURL
(javax.servlet.http.HttpServletRequest httpServletRequest) getUnlockDraftLayoutURL
(com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse, com.liferay.portal.kernel.portlet.url.builder.PortletURLBuilder.UnsafeSupplier<Object, Exception> redirectUnsafeSupplier) void
unlock
(com.liferay.portal.kernel.model.Layout layout, long userId) void
unlockLayouts
(long companyId, long autosaveMinutes) void
unlockLayoutsByUserId
(long companyId, long userId)
-
Method Details
-
getLock
void getLock(javax.portlet.ActionRequest actionRequest) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLock
void getLock(com.liferay.portal.kernel.model.Layout layout, long userId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLockedLayouts
-
getLockedLayoutURL
-
getLockedLayoutURL
-
getUnlockDraftLayoutURL
String getUnlockDraftLayoutURL(com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse, com.liferay.portal.kernel.portlet.url.builder.PortletURLBuilder.UnsafeSupplier<Object, Exception> redirectUnsafeSupplier) throws Exception- Throws:
Exception
-
unlock
void unlock(com.liferay.portal.kernel.model.Layout layout, long userId) -
unlockLayouts
void unlockLayouts(long companyId, long autosaveMinutes) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unlockLayoutsByUserId
void unlockLayoutsByUserId(long companyId, long userId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-