001
014
015 package com.liferay.portal.theme;
016
017 import javax.servlet.http.HttpServletRequest;
018
019
022 public class RequestVars {
023
024 public RequestVars(
025 HttpServletRequest request, ThemeDisplay themeDisplay,
026 long ancestorPlid, long ancestorLayoutId) {
027
028 _request = request;
029 _themeDisplay = themeDisplay;
030 _ancestorPlid = ancestorPlid;
031 _ancestorLayoutId = ancestorLayoutId;
032 }
033
034 public long getAncestorLayoutId() {
035 return _ancestorLayoutId;
036 }
037
038 public long getAncestorPlid() {
039 return _ancestorPlid;
040 }
041
042 public HttpServletRequest getRequest() {
043 return _request;
044 }
045
046 public ThemeDisplay getThemeDisplay() {
047 return _themeDisplay;
048 }
049
050 private long _ancestorLayoutId;
051 private long _ancestorPlid;
052 private HttpServletRequest _request;
053 private ThemeDisplay _themeDisplay;
054
055 }