1
22
23 package com.liferay.portlet.communities.messaging;
24
25 import java.util.Date;
26 import java.util.Map;
27
28
35 public class LayoutsLocalPublisherRequest {
36
37 public static final String COMMAND_ALL_PAGES = "ALL_PAGES";
38
39 public static final String COMMAND_SELECTED_PAGES = "SELECTED_PAGES";
40
41 public LayoutsLocalPublisherRequest() {
42 }
43
44 public LayoutsLocalPublisherRequest(
45 String command, long userId, long sourceGroupId, long targetGroupId,
46 boolean privateLayout, Map<Long, Boolean> layoutIdMap,
47 Map<String, String[]> parameterMap, Date startDate, Date endDate) {
48
49 _command = command;
50 _userId = userId;
51 _sourceGroupId = sourceGroupId;
52 _targetGroupId = targetGroupId;
53 _privateLayout = privateLayout;
54 _layoutIdMap = layoutIdMap;
55 _parameterMap = parameterMap;
56 _startDate = startDate;
57 _endDate = endDate;
58 }
59
60 public String getCommand() {
61 return _command;
62 }
63
64 public void setCommand(String command) {
65 _command = command;
66 }
67
68 public String getCronText() {
69 return _cronText;
70 }
71
72 public void setCronText(String cronText) {
73 _cronText = cronText;
74 }
75
76 public long getUserId() {
77 return _userId;
78 }
79
80 public void setUserId(long userId) {
81 _userId = userId;
82 }
83
84 public long getSourceGroupId() {
85 return _sourceGroupId;
86 }
87
88 public void setSourceGroupId(long sourceGroupId) {
89 _sourceGroupId = sourceGroupId;
90 }
91
92 public long getTargetGroupId() {
93 return _targetGroupId;
94 }
95
96 public void setTargetGroupId(long targetGroupId) {
97 _targetGroupId = targetGroupId;
98 }
99
100 public boolean isPrivateLayout() {
101 return _privateLayout;
102 }
103
104 public void setPrivateLayout(boolean privateLayout) {
105 _privateLayout = privateLayout;
106 }
107
108 public Map<Long, Boolean> getLayoutIdMap() {
109 return _layoutIdMap;
110 }
111
112 public void setLayoutIdMap(Map<Long, Boolean> layoutIdMap) {
113 _layoutIdMap = layoutIdMap;
114 }
115
116 public Map<String, String[]> getParameterMap() {
117 return _parameterMap;
118 }
119
120 public void setParameterMap(Map<String, String[]> parameterMap) {
121 _parameterMap = parameterMap;
122 }
123
124 public Date getStartDate() {
125 return _startDate;
126 }
127
128 public void setStartDate(Date startDate) {
129 _startDate = startDate;
130 }
131
132 public Date getEndDate() {
133 return _endDate;
134 }
135
136 public void setEndDate(Date endDate) {
137 _endDate = endDate;
138 }
139
140 public Date getScheduledFireTime() {
141 return _scheduledFireTime;
142 }
143
144 public void setScheduledFireTime(Date scheduledFireTime) {
145 _scheduledFireTime = scheduledFireTime;
146 }
147
148 private String _command;
149 private String _cronText;
150 private long _userId;
151 private long _sourceGroupId;
152 private long _targetGroupId;
153 private boolean _privateLayout;
154 private Map<Long, Boolean> _layoutIdMap;
155 private Map<String, String[]> _parameterMap;
156 private Date _startDate;
157 private Date _endDate;
158 private Date _scheduledFireTime;
159
160 }