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