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 long getPrimaryKey() {
032 return _role.getPrimaryKey();
033 }
034
035 public void setPrimaryKey(long pk) {
036 _role.setPrimaryKey(pk);
037 }
038
039 public long getRoleId() {
040 return _role.getRoleId();
041 }
042
043 public void setRoleId(long roleId) {
044 _role.setRoleId(roleId);
045 }
046
047 public long getCompanyId() {
048 return _role.getCompanyId();
049 }
050
051 public void setCompanyId(long companyId) {
052 _role.setCompanyId(companyId);
053 }
054
055 public java.lang.String getClassName() {
056 return _role.getClassName();
057 }
058
059 public long getClassNameId() {
060 return _role.getClassNameId();
061 }
062
063 public void setClassNameId(long classNameId) {
064 _role.setClassNameId(classNameId);
065 }
066
067 public long getClassPK() {
068 return _role.getClassPK();
069 }
070
071 public void setClassPK(long classPK) {
072 _role.setClassPK(classPK);
073 }
074
075 public java.lang.String getName() {
076 return _role.getName();
077 }
078
079 public void setName(java.lang.String name) {
080 _role.setName(name);
081 }
082
083 public java.lang.String getTitle() {
084 return _role.getTitle();
085 }
086
087 public java.lang.String getTitle(java.util.Locale locale) {
088 return _role.getTitle(locale);
089 }
090
091 public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
092 return _role.getTitle(locale, useDefault);
093 }
094
095 public java.lang.String getTitle(java.lang.String languageId) {
096 return _role.getTitle(languageId);
097 }
098
099 public java.lang.String getTitle(java.lang.String languageId,
100 boolean useDefault) {
101 return _role.getTitle(languageId, useDefault);
102 }
103
104 public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
105 return _role.getTitleMap();
106 }
107
108 public void setTitle(java.lang.String title) {
109 _role.setTitle(title);
110 }
111
112 public void setTitle(java.util.Locale locale, java.lang.String title) {
113 _role.setTitle(locale, title);
114 }
115
116 public void setTitleMap(
117 java.util.Map<java.util.Locale, java.lang.String> titleMap) {
118 _role.setTitleMap(titleMap);
119 }
120
121 public java.lang.String getDescription() {
122 return _role.getDescription();
123 }
124
125 public void setDescription(java.lang.String description) {
126 _role.setDescription(description);
127 }
128
129 public int getType() {
130 return _role.getType();
131 }
132
133 public void setType(int type) {
134 _role.setType(type);
135 }
136
137 public java.lang.String getSubtype() {
138 return _role.getSubtype();
139 }
140
141 public void setSubtype(java.lang.String subtype) {
142 _role.setSubtype(subtype);
143 }
144
145 public com.liferay.portal.model.Role toEscapedModel() {
146 return _role.toEscapedModel();
147 }
148
149 public boolean isNew() {
150 return _role.isNew();
151 }
152
153 public void setNew(boolean n) {
154 _role.setNew(n);
155 }
156
157 public boolean isCachedModel() {
158 return _role.isCachedModel();
159 }
160
161 public void setCachedModel(boolean cachedModel) {
162 _role.setCachedModel(cachedModel);
163 }
164
165 public boolean isEscapedModel() {
166 return _role.isEscapedModel();
167 }
168
169 public void setEscapedModel(boolean escapedModel) {
170 _role.setEscapedModel(escapedModel);
171 }
172
173 public java.io.Serializable getPrimaryKeyObj() {
174 return _role.getPrimaryKeyObj();
175 }
176
177 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
178 return _role.getExpandoBridge();
179 }
180
181 public void setExpandoBridgeAttributes(
182 com.liferay.portal.service.ServiceContext serviceContext) {
183 _role.setExpandoBridgeAttributes(serviceContext);
184 }
185
186 public java.lang.Object clone() {
187 return _role.clone();
188 }
189
190 public int compareTo(com.liferay.portal.model.Role role) {
191 return _role.compareTo(role);
192 }
193
194 public int hashCode() {
195 return _role.hashCode();
196 }
197
198 public java.lang.String toString() {
199 return _role.toString();
200 }
201
202 public java.lang.String toXmlString() {
203 return _role.toXmlString();
204 }
205
206 public java.lang.String getDescriptiveName()
207 throws com.liferay.portal.kernel.exception.PortalException,
208 com.liferay.portal.kernel.exception.SystemException {
209 return _role.getDescriptiveName();
210 }
211
212 public java.lang.String getTypeLabel() {
213 return _role.getTypeLabel();
214 }
215
216 public boolean isTeam() {
217 return _role.isTeam();
218 }
219
220 public Role getWrappedRole() {
221 return _role;
222 }
223
224 private Role _role;
225 }