001
014
015 package com.liferay.portal.model;
016
017
026 public class RoleWrapper implements Role {
027 public RoleWrapper(Role role) {
028 _role = role;
029 }
030
031 public Class<?> getModelClass() {
032 return Role.class;
033 }
034
035 public String getModelClassName() {
036 return Role.class.getName();
037 }
038
039
044 public long getPrimaryKey() {
045 return _role.getPrimaryKey();
046 }
047
048
053 public void setPrimaryKey(long primaryKey) {
054 _role.setPrimaryKey(primaryKey);
055 }
056
057
062 public long getRoleId() {
063 return _role.getRoleId();
064 }
065
066
071 public void setRoleId(long roleId) {
072 _role.setRoleId(roleId);
073 }
074
075
080 public long getCompanyId() {
081 return _role.getCompanyId();
082 }
083
084
089 public void setCompanyId(long companyId) {
090 _role.setCompanyId(companyId);
091 }
092
093
098 public java.lang.String getClassName() {
099 return _role.getClassName();
100 }
101
102
107 public long getClassNameId() {
108 return _role.getClassNameId();
109 }
110
111
116 public void setClassNameId(long classNameId) {
117 _role.setClassNameId(classNameId);
118 }
119
120
125 public long getClassPK() {
126 return _role.getClassPK();
127 }
128
129
134 public void setClassPK(long classPK) {
135 _role.setClassPK(classPK);
136 }
137
138
143 public java.lang.String getName() {
144 return _role.getName();
145 }
146
147
152 public void setName(java.lang.String name) {
153 _role.setName(name);
154 }
155
156
161 public java.lang.String getTitle() {
162 return _role.getTitle();
163 }
164
165
171 public java.lang.String getTitle(java.util.Locale locale) {
172 return _role.getTitle(locale);
173 }
174
175
182 public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
183 return _role.getTitle(locale, useDefault);
184 }
185
186
192 public java.lang.String getTitle(java.lang.String languageId) {
193 return _role.getTitle(languageId);
194 }
195
196
203 public java.lang.String getTitle(java.lang.String languageId,
204 boolean useDefault) {
205 return _role.getTitle(languageId, useDefault);
206 }
207
208
213 public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
214 return _role.getTitleMap();
215 }
216
217
222 public void setTitle(java.lang.String title) {
223 _role.setTitle(title);
224 }
225
226
232 public void setTitle(java.util.Locale locale, java.lang.String title) {
233 _role.setTitle(locale, title);
234 }
235
236
241 public void setTitleMap(
242 java.util.Map<java.util.Locale, java.lang.String> titleMap) {
243 _role.setTitleMap(titleMap);
244 }
245
246
251 public java.lang.String getDescription() {
252 return _role.getDescription();
253 }
254
255
260 public void setDescription(java.lang.String description) {
261 _role.setDescription(description);
262 }
263
264
269 public int getType() {
270 return _role.getType();
271 }
272
273
278 public void setType(int type) {
279 _role.setType(type);
280 }
281
282
287 public java.lang.String getSubtype() {
288 return _role.getSubtype();
289 }
290
291
296 public void setSubtype(java.lang.String subtype) {
297 _role.setSubtype(subtype);
298 }
299
300 public boolean isNew() {
301 return _role.isNew();
302 }
303
304 public void setNew(boolean n) {
305 _role.setNew(n);
306 }
307
308 public boolean isCachedModel() {
309 return _role.isCachedModel();
310 }
311
312 public void setCachedModel(boolean cachedModel) {
313 _role.setCachedModel(cachedModel);
314 }
315
316 public boolean isEscapedModel() {
317 return _role.isEscapedModel();
318 }
319
320 public void setEscapedModel(boolean escapedModel) {
321 _role.setEscapedModel(escapedModel);
322 }
323
324 public java.io.Serializable getPrimaryKeyObj() {
325 return _role.getPrimaryKeyObj();
326 }
327
328 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
329 _role.setPrimaryKeyObj(primaryKeyObj);
330 }
331
332 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
333 return _role.getExpandoBridge();
334 }
335
336 public void setExpandoBridgeAttributes(
337 com.liferay.portal.service.ServiceContext serviceContext) {
338 _role.setExpandoBridgeAttributes(serviceContext);
339 }
340
341 @Override
342 public java.lang.Object clone() {
343 return new RoleWrapper((Role)_role.clone());
344 }
345
346 public int compareTo(com.liferay.portal.model.Role role) {
347 return _role.compareTo(role);
348 }
349
350 @Override
351 public int hashCode() {
352 return _role.hashCode();
353 }
354
355 public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Role> toCacheModel() {
356 return _role.toCacheModel();
357 }
358
359 public com.liferay.portal.model.Role toEscapedModel() {
360 return new RoleWrapper(_role.toEscapedModel());
361 }
362
363 @Override
364 public java.lang.String toString() {
365 return _role.toString();
366 }
367
368 public java.lang.String toXmlString() {
369 return _role.toXmlString();
370 }
371
372 public void persist()
373 throws com.liferay.portal.kernel.exception.SystemException {
374 _role.persist();
375 }
376
377 public java.lang.String getDescriptiveName()
378 throws com.liferay.portal.kernel.exception.PortalException,
379 com.liferay.portal.kernel.exception.SystemException {
380 return _role.getDescriptiveName();
381 }
382
383 public java.lang.String getTypeLabel() {
384 return _role.getTypeLabel();
385 }
386
387 public boolean isTeam() {
388 return _role.isTeam();
389 }
390
391 public Role getWrappedRole() {
392 return _role;
393 }
394
395 public void resetOriginalValues() {
396 _role.resetOriginalValues();
397 }
398
399 private Role _role;
400 }