001
014
015 package com.liferay.portal.messaging;
016
017 import java.util.Date;
018 import java.util.Map;
019
020
023 public class LayoutsRemotePublisherRequest
024 extends LayoutsLocalPublisherRequest {
025
026 public LayoutsRemotePublisherRequest() {
027 }
028
029 public LayoutsRemotePublisherRequest(
030 long userId, long sourceGroupId, boolean privateLayout,
031 Map<Long, Boolean> layoutIdMap, Map<String, String[]> parameterMap,
032 String remoteAddress, int remotePort, String remotePathContext,
033 boolean secureConnection, long remoteGroupId,
034 boolean remotePrivateLayout, Date startDate, Date endDate) {
035
036 _userId = userId;
037 _sourceGroupId = sourceGroupId;
038 _privateLayout = privateLayout;
039 _layoutIdMap = layoutIdMap;
040 _parameterMap = parameterMap;
041 _remoteAddress = remoteAddress;
042 _remotePort = remotePort;
043 _remotePathContext = remotePathContext;
044 _secureConnection = secureConnection;
045 _remoteGroupId = remoteGroupId;
046 _remotePrivateLayout = remotePrivateLayout;
047 _startDate = startDate;
048 _endDate = endDate;
049 }
050
051 @Override
052 public String getCronText() {
053 return _cronText;
054 }
055
056 @Override
057 public Date getEndDate() {
058 return _endDate;
059 }
060
061 @Override
062 public Map<Long, Boolean> getLayoutIdMap() {
063 return _layoutIdMap;
064 }
065
066 @Override
067 public Map<String, String[]> getParameterMap() {
068 return _parameterMap;
069 }
070
071 public String getRemoteAddress() {
072 return _remoteAddress;
073 }
074
075 public long getRemoteGroupId() {
076 return _remoteGroupId;
077 }
078
079 public String getRemotePathContext() {
080 return _remotePathContext;
081 }
082
083 public int getRemotePort() {
084 return _remotePort;
085 }
086
087 @Override
088 public Date getScheduledFireTime() {
089 return _scheduledFireTime;
090 }
091
092 @Override
093 public long getSourceGroupId() {
094 return _sourceGroupId;
095 }
096
097 @Override
098 public Date getStartDate() {
099 return _startDate;
100 }
101
102 @Override
103 public long getUserId() {
104 return _userId;
105 }
106
107 @Override
108 public boolean isPrivateLayout() {
109 return _privateLayout;
110 }
111
112 public boolean isRemotePrivateLayout() {
113 return _remotePrivateLayout;
114 }
115
116 public boolean isSecureConnection() {
117 return _secureConnection;
118 }
119
120 @Override
121 public void setCronText(String cronText) {
122 _cronText = cronText;
123 }
124
125 @Override
126 public void setEndDate(Date endDate) {
127 _endDate = endDate;
128 }
129
130 @Override
131 public void setLayoutIdMap(Map<Long, Boolean> layoutIdMap) {
132 _layoutIdMap = layoutIdMap;
133 }
134
135 @Override
136 public void setParameterMap(Map<String, String[]> parameterMap) {
137 _parameterMap = parameterMap;
138 }
139
140 @Override
141 public void setPrivateLayout(boolean privateLayout) {
142 _privateLayout = privateLayout;
143 }
144
145 public void setRemoteAddress(String remoteAddress) {
146 _remoteAddress = remoteAddress;
147 }
148
149 public void setRemoteGroupId(long remoteGroupId) {
150 _remoteGroupId = remoteGroupId;
151 }
152
153 public void setRemotePathContext(String remotePathContext) {
154 _remotePathContext = remotePathContext;
155 }
156
157 public void setRemotePort(int remotePort) {
158 _remotePort = remotePort;
159 }
160
161 public void setRemotePrivateLayout(boolean remotePrivateLayout) {
162 _remotePrivateLayout = remotePrivateLayout;
163 }
164
165 @Override
166 public void setScheduledFireTime(Date scheduledFireTime) {
167 _scheduledFireTime = scheduledFireTime;
168 }
169
170 public void setSecureConnection(boolean secureConnection) {
171 _secureConnection = secureConnection;
172 }
173
174 @Override
175 public void setSourceGroupId(long sourceGroupId) {
176 _sourceGroupId = sourceGroupId;
177 }
178
179 @Override
180 public void setStartDate(Date startDate) {
181 _startDate = startDate;
182 }
183
184 @Override
185 public void setUserId(long userId) {
186 _userId = userId;
187 }
188
189 private static final long serialVersionUID = -8270092763766057207L;
190
191 private String _cronText;
192 private Date _endDate;
193 private Map<Long, Boolean> _layoutIdMap;
194 private Map<String, String[]> _parameterMap;
195 private boolean _privateLayout;
196 private String _remoteAddress;
197 private long _remoteGroupId;
198 private String _remotePathContext;
199 private int _remotePort;
200 private boolean _remotePrivateLayout;
201 private Date _scheduledFireTime;
202 private boolean _secureConnection;
203 private long _sourceGroupId;
204 private Date _startDate;
205 private long _userId;
206
207 }