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
036 public long getPrimaryKey() {
037 return _role.getPrimaryKey();
038 }
039
040
045 public void setPrimaryKey(long pk) {
046 _role.setPrimaryKey(pk);
047 }
048
049
054 public long getRoleId() {
055 return _role.getRoleId();
056 }
057
058
063 public void setRoleId(long roleId) {
064 _role.setRoleId(roleId);
065 }
066
067
072 public long getCompanyId() {
073 return _role.getCompanyId();
074 }
075
076
081 public void setCompanyId(long companyId) {
082 _role.setCompanyId(companyId);
083 }
084
085
090 public java.lang.String getClassName() {
091 return _role.getClassName();
092 }
093
094
099 public long getClassNameId() {
100 return _role.getClassNameId();
101 }
102
103
108 public void setClassNameId(long classNameId) {
109 _role.setClassNameId(classNameId);
110 }
111
112
117 public long getClassPK() {
118 return _role.getClassPK();
119 }
120
121
126 public void setClassPK(long classPK) {
127 _role.setClassPK(classPK);
128 }
129
130
135 public java.lang.String getName() {
136 return _role.getName();
137 }
138
139
144 public void setName(java.lang.String name) {
145 _role.setName(name);
146 }
147
148
153 public java.lang.String getTitle() {
154 return _role.getTitle();
155 }
156
157
163 public java.lang.String getTitle(java.util.Locale locale) {
164 return _role.getTitle(locale);
165 }
166
167
174 public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
175 return _role.getTitle(locale, useDefault);
176 }
177
178
184 public java.lang.String getTitle(java.lang.String languageId) {
185 return _role.getTitle(languageId);
186 }
187
188
195 public java.lang.String getTitle(java.lang.String languageId,
196 boolean useDefault) {
197 return _role.getTitle(languageId, useDefault);
198 }
199
200
205 public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
206 return _role.getTitleMap();
207 }
208
209
214 public void setTitle(java.lang.String title) {
215 _role.setTitle(title);
216 }
217
218
224 public void setTitle(java.util.Locale locale, java.lang.String title) {
225 _role.setTitle(locale, title);
226 }
227
228
233 public void setTitleMap(
234 java.util.Map<java.util.Locale, java.lang.String> titleMap) {
235 _role.setTitleMap(titleMap);
236 }
237
238
243 public java.lang.String getDescription() {
244 return _role.getDescription();
245 }
246
247
252 public void setDescription(java.lang.String description) {
253 _role.setDescription(description);
254 }
255
256
261 public int getType() {
262 return _role.getType();
263 }
264
265
270 public void setType(int type) {
271 _role.setType(type);
272 }
273
274
279 public java.lang.String getSubtype() {
280 return _role.getSubtype();
281 }
282
283
288 public void setSubtype(java.lang.String subtype) {
289 _role.setSubtype(subtype);
290 }
291
292 public boolean isNew() {
293 return _role.isNew();
294 }
295
296 public void setNew(boolean n) {
297 _role.setNew(n);
298 }
299
300 public boolean isCachedModel() {
301 return _role.isCachedModel();
302 }
303
304 public void setCachedModel(boolean cachedModel) {
305 _role.setCachedModel(cachedModel);
306 }
307
308 public boolean isEscapedModel() {
309 return _role.isEscapedModel();
310 }
311
312 public void setEscapedModel(boolean escapedModel) {
313 _role.setEscapedModel(escapedModel);
314 }
315
316 public java.io.Serializable getPrimaryKeyObj() {
317 return _role.getPrimaryKeyObj();
318 }
319
320 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
321 return _role.getExpandoBridge();
322 }
323
324 public void setExpandoBridgeAttributes(
325 com.liferay.portal.service.ServiceContext serviceContext) {
326 _role.setExpandoBridgeAttributes(serviceContext);
327 }
328
329 public java.lang.Object clone() {
330 return _role.clone();
331 }
332
333 public int compareTo(com.liferay.portal.model.Role role) {
334 return _role.compareTo(role);
335 }
336
337 public int hashCode() {
338 return _role.hashCode();
339 }
340
341 public com.liferay.portal.model.Role toEscapedModel() {
342 return _role.toEscapedModel();
343 }
344
345 public java.lang.String toString() {
346 return _role.toString();
347 }
348
349 public java.lang.String toXmlString() {
350 return _role.toXmlString();
351 }
352
353 public java.lang.String getDescriptiveName()
354 throws com.liferay.portal.kernel.exception.PortalException,
355 com.liferay.portal.kernel.exception.SystemException {
356 return _role.getDescriptiveName();
357 }
358
359 public java.lang.String getTypeLabel() {
360 return _role.getTypeLabel();
361 }
362
363 public boolean isTeam() {
364 return _role.isTeam();
365 }
366
367 public Role getWrappedRole() {
368 return _role;
369 }
370
371 private Role _role;
372 }