com.liferay.portal.events
Class ServicePreAction
java.lang.Object
com.liferay.portal.struts.Action
com.liferay.portal.events.ServicePreAction
- public class ServicePreAction
- extends Action
View Source
- Author:
- Brian Wing Shun Chan, Felix Ventero
Method Summary |
protected void |
addDefaultLayouts(com.liferay.portal.model.User user)
|
protected void |
deleteDefaultLayouts(com.liferay.portal.model.User user)
|
protected void |
fixState(javax.servlet.http.HttpServletRequest req,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
protected java.lang.Object[] |
getDefaultLayout(javax.servlet.http.HttpServletRequest req,
com.liferay.portal.model.User user,
boolean signedIn)
|
protected java.lang.Object[] |
getViewableLayouts(javax.servlet.http.HttpServletRequest req,
com.liferay.portal.model.User user,
com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
com.liferay.portal.model.Layout layout,
java.util.List layouts)
|
protected boolean |
isViewableCommunity(com.liferay.portal.model.User user,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker)
|
protected java.util.List |
mergeAdditionalLayouts(com.liferay.portal.model.User user,
com.liferay.portal.model.Layout layout,
java.util.List layouts,
javax.servlet.http.HttpServletRequest req)
|
protected void |
rememberVisitedGroupIds(long currentGroupId,
javax.servlet.http.HttpServletRequest req)
|
void |
run(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
protected void |
servicePre(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
Methods inherited from class com.liferay.portal.struts.Action |
run |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServicePreAction
public ServicePreAction()
run
public void run(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws ActionException
- Specified by:
run
in class Action
- Throws:
ActionException
addDefaultLayouts
protected void addDefaultLayouts(com.liferay.portal.model.User user)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteDefaultLayouts
protected void deleteDefaultLayouts(com.liferay.portal.model.User user)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
fixState
protected void fixState(javax.servlet.http.HttpServletRequest req,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getDefaultLayout
protected java.lang.Object[] getDefaultLayout(javax.servlet.http.HttpServletRequest req,
com.liferay.portal.model.User user,
boolean signedIn)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getViewableLayouts
protected java.lang.Object[] getViewableLayouts(javax.servlet.http.HttpServletRequest req,
com.liferay.portal.model.User user,
com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
com.liferay.portal.model.Layout layout,
java.util.List layouts)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
isViewableCommunity
protected boolean isViewableCommunity(com.liferay.portal.model.User user,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
mergeAdditionalLayouts
protected java.util.List mergeAdditionalLayouts(com.liferay.portal.model.User user,
com.liferay.portal.model.Layout layout,
java.util.List layouts,
javax.servlet.http.HttpServletRequest req)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
rememberVisitedGroupIds
protected void rememberVisitedGroupIds(long currentGroupId,
javax.servlet.http.HttpServletRequest req)
servicePre
protected void servicePre(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws java.lang.Exception
- Throws:
java.lang.Exception