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