001
014
015 package com.liferay.portal.model;
016
017
026 public class RepositoryEntryWrapper implements RepositoryEntry,
027 ModelWrapper<RepositoryEntry> {
028 public RepositoryEntryWrapper(RepositoryEntry repositoryEntry) {
029 _repositoryEntry = repositoryEntry;
030 }
031
032 public Class<?> getModelClass() {
033 return RepositoryEntry.class;
034 }
035
036 public String getModelClassName() {
037 return RepositoryEntry.class.getName();
038 }
039
040
045 public long getPrimaryKey() {
046 return _repositoryEntry.getPrimaryKey();
047 }
048
049
054 public void setPrimaryKey(long primaryKey) {
055 _repositoryEntry.setPrimaryKey(primaryKey);
056 }
057
058
063 public java.lang.String getUuid() {
064 return _repositoryEntry.getUuid();
065 }
066
067
072 public void setUuid(java.lang.String uuid) {
073 _repositoryEntry.setUuid(uuid);
074 }
075
076
081 public long getRepositoryEntryId() {
082 return _repositoryEntry.getRepositoryEntryId();
083 }
084
085
090 public void setRepositoryEntryId(long repositoryEntryId) {
091 _repositoryEntry.setRepositoryEntryId(repositoryEntryId);
092 }
093
094
099 public long getGroupId() {
100 return _repositoryEntry.getGroupId();
101 }
102
103
108 public void setGroupId(long groupId) {
109 _repositoryEntry.setGroupId(groupId);
110 }
111
112
117 public long getRepositoryId() {
118 return _repositoryEntry.getRepositoryId();
119 }
120
121
126 public void setRepositoryId(long repositoryId) {
127 _repositoryEntry.setRepositoryId(repositoryId);
128 }
129
130
135 public java.lang.String getMappedId() {
136 return _repositoryEntry.getMappedId();
137 }
138
139
144 public void setMappedId(java.lang.String mappedId) {
145 _repositoryEntry.setMappedId(mappedId);
146 }
147
148 public boolean isNew() {
149 return _repositoryEntry.isNew();
150 }
151
152 public void setNew(boolean n) {
153 _repositoryEntry.setNew(n);
154 }
155
156 public boolean isCachedModel() {
157 return _repositoryEntry.isCachedModel();
158 }
159
160 public void setCachedModel(boolean cachedModel) {
161 _repositoryEntry.setCachedModel(cachedModel);
162 }
163
164 public boolean isEscapedModel() {
165 return _repositoryEntry.isEscapedModel();
166 }
167
168 public java.io.Serializable getPrimaryKeyObj() {
169 return _repositoryEntry.getPrimaryKeyObj();
170 }
171
172 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
173 _repositoryEntry.setPrimaryKeyObj(primaryKeyObj);
174 }
175
176 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
177 return _repositoryEntry.getExpandoBridge();
178 }
179
180 public void setExpandoBridgeAttributes(
181 com.liferay.portal.service.ServiceContext serviceContext) {
182 _repositoryEntry.setExpandoBridgeAttributes(serviceContext);
183 }
184
185 @Override
186 public java.lang.Object clone() {
187 return new RepositoryEntryWrapper((RepositoryEntry)_repositoryEntry.clone());
188 }
189
190 public int compareTo(
191 com.liferay.portal.model.RepositoryEntry repositoryEntry) {
192 return _repositoryEntry.compareTo(repositoryEntry);
193 }
194
195 @Override
196 public int hashCode() {
197 return _repositoryEntry.hashCode();
198 }
199
200 public com.liferay.portal.model.CacheModel<com.liferay.portal.model.RepositoryEntry> toCacheModel() {
201 return _repositoryEntry.toCacheModel();
202 }
203
204 public com.liferay.portal.model.RepositoryEntry toEscapedModel() {
205 return new RepositoryEntryWrapper(_repositoryEntry.toEscapedModel());
206 }
207
208 @Override
209 public java.lang.String toString() {
210 return _repositoryEntry.toString();
211 }
212
213 public java.lang.String toXmlString() {
214 return _repositoryEntry.toXmlString();
215 }
216
217 public void persist()
218 throws com.liferay.portal.kernel.exception.SystemException {
219 _repositoryEntry.persist();
220 }
221
222
225 public RepositoryEntry getWrappedRepositoryEntry() {
226 return _repositoryEntry;
227 }
228
229 public RepositoryEntry getWrappedModel() {
230 return _repositoryEntry;
231 }
232
233 public void resetOriginalValues() {
234 _repositoryEntry.resetOriginalValues();
235 }
236
237 private RepositoryEntry _repositoryEntry;
238 }