001
014
015 package com.liferay.portal.model;
016
017
026 public class LayoutPrototypeWrapper implements LayoutPrototype {
027 public LayoutPrototypeWrapper(LayoutPrototype layoutPrototype) {
028 _layoutPrototype = layoutPrototype;
029 }
030
031 public Class<?> getModelClass() {
032 return LayoutPrototype.class;
033 }
034
035 public String getModelClassName() {
036 return LayoutPrototype.class.getName();
037 }
038
039
044 public long getPrimaryKey() {
045 return _layoutPrototype.getPrimaryKey();
046 }
047
048
053 public void setPrimaryKey(long primaryKey) {
054 _layoutPrototype.setPrimaryKey(primaryKey);
055 }
056
057
062 public long getLayoutPrototypeId() {
063 return _layoutPrototype.getLayoutPrototypeId();
064 }
065
066
071 public void setLayoutPrototypeId(long layoutPrototypeId) {
072 _layoutPrototype.setLayoutPrototypeId(layoutPrototypeId);
073 }
074
075
080 public long getCompanyId() {
081 return _layoutPrototype.getCompanyId();
082 }
083
084
089 public void setCompanyId(long companyId) {
090 _layoutPrototype.setCompanyId(companyId);
091 }
092
093
098 public java.lang.String getName() {
099 return _layoutPrototype.getName();
100 }
101
102
108 public java.lang.String getName(java.util.Locale locale) {
109 return _layoutPrototype.getName(locale);
110 }
111
112
119 public java.lang.String getName(java.util.Locale locale, boolean useDefault) {
120 return _layoutPrototype.getName(locale, useDefault);
121 }
122
123
129 public java.lang.String getName(java.lang.String languageId) {
130 return _layoutPrototype.getName(languageId);
131 }
132
133
140 public java.lang.String getName(java.lang.String languageId,
141 boolean useDefault) {
142 return _layoutPrototype.getName(languageId, useDefault);
143 }
144
145
150 public java.util.Map<java.util.Locale, java.lang.String> getNameMap() {
151 return _layoutPrototype.getNameMap();
152 }
153
154
159 public void setName(java.lang.String name) {
160 _layoutPrototype.setName(name);
161 }
162
163
169 public void setName(java.util.Locale locale, java.lang.String name) {
170 _layoutPrototype.setName(locale, name);
171 }
172
173
178 public void setNameMap(
179 java.util.Map<java.util.Locale, java.lang.String> nameMap) {
180 _layoutPrototype.setNameMap(nameMap);
181 }
182
183
188 public java.lang.String getDescription() {
189 return _layoutPrototype.getDescription();
190 }
191
192
197 public void setDescription(java.lang.String description) {
198 _layoutPrototype.setDescription(description);
199 }
200
201
206 public java.lang.String getSettings() {
207 return _layoutPrototype.getSettings();
208 }
209
210
215 public void setSettings(java.lang.String settings) {
216 _layoutPrototype.setSettings(settings);
217 }
218
219
224 public boolean getActive() {
225 return _layoutPrototype.getActive();
226 }
227
228
233 public boolean isActive() {
234 return _layoutPrototype.isActive();
235 }
236
237
242 public void setActive(boolean active) {
243 _layoutPrototype.setActive(active);
244 }
245
246 public boolean isNew() {
247 return _layoutPrototype.isNew();
248 }
249
250 public void setNew(boolean n) {
251 _layoutPrototype.setNew(n);
252 }
253
254 public boolean isCachedModel() {
255 return _layoutPrototype.isCachedModel();
256 }
257
258 public void setCachedModel(boolean cachedModel) {
259 _layoutPrototype.setCachedModel(cachedModel);
260 }
261
262 public boolean isEscapedModel() {
263 return _layoutPrototype.isEscapedModel();
264 }
265
266 public void setEscapedModel(boolean escapedModel) {
267 _layoutPrototype.setEscapedModel(escapedModel);
268 }
269
270 public java.io.Serializable getPrimaryKeyObj() {
271 return _layoutPrototype.getPrimaryKeyObj();
272 }
273
274 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
275 _layoutPrototype.setPrimaryKeyObj(primaryKeyObj);
276 }
277
278 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
279 return _layoutPrototype.getExpandoBridge();
280 }
281
282 public void setExpandoBridgeAttributes(
283 com.liferay.portal.service.ServiceContext serviceContext) {
284 _layoutPrototype.setExpandoBridgeAttributes(serviceContext);
285 }
286
287 @Override
288 public java.lang.Object clone() {
289 return new LayoutPrototypeWrapper((LayoutPrototype)_layoutPrototype.clone());
290 }
291
292 public int compareTo(
293 com.liferay.portal.model.LayoutPrototype layoutPrototype) {
294 return _layoutPrototype.compareTo(layoutPrototype);
295 }
296
297 @Override
298 public int hashCode() {
299 return _layoutPrototype.hashCode();
300 }
301
302 public com.liferay.portal.model.CacheModel<com.liferay.portal.model.LayoutPrototype> toCacheModel() {
303 return _layoutPrototype.toCacheModel();
304 }
305
306 public com.liferay.portal.model.LayoutPrototype toEscapedModel() {
307 return new LayoutPrototypeWrapper(_layoutPrototype.toEscapedModel());
308 }
309
310 @Override
311 public java.lang.String toString() {
312 return _layoutPrototype.toString();
313 }
314
315 public java.lang.String toXmlString() {
316 return _layoutPrototype.toXmlString();
317 }
318
319 public void persist()
320 throws com.liferay.portal.kernel.exception.SystemException {
321 _layoutPrototype.persist();
322 }
323
324 public com.liferay.portal.model.Group getGroup()
325 throws com.liferay.portal.kernel.exception.PortalException,
326 com.liferay.portal.kernel.exception.SystemException {
327 return _layoutPrototype.getGroup();
328 }
329
330 public com.liferay.portal.model.Layout getLayout()
331 throws com.liferay.portal.kernel.exception.PortalException,
332 com.liferay.portal.kernel.exception.SystemException {
333 return _layoutPrototype.getLayout();
334 }
335
336 public LayoutPrototype getWrappedLayoutPrototype() {
337 return _layoutPrototype;
338 }
339
340 public void resetOriginalValues() {
341 _layoutPrototype.resetOriginalValues();
342 }
343
344 private LayoutPrototype _layoutPrototype;
345 }