All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.portal.kernel.model.UserTrackerPathWrapper Maven / Gradle / Ivy

Go to download

Contains interfaces for the portal services. Interfaces are only loaded by the global class loader and are shared by all plugins.

There is a newer version: 156.0.0
Show newest version
/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.liferay.portal.kernel.model;

import aQute.bnd.annotation.ProviderType;

import com.liferay.expando.kernel.model.ExpandoBridge;

import com.liferay.portal.kernel.service.ServiceContext;
import com.liferay.portal.kernel.util.Validator;

import java.io.Serializable;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * 

* This class is a wrapper for {@link UserTrackerPath}. *

* * @author Brian Wing Shun Chan * @see UserTrackerPath * @generated */ @ProviderType public class UserTrackerPathWrapper implements UserTrackerPath, ModelWrapper { public UserTrackerPathWrapper(UserTrackerPath userTrackerPath) { _userTrackerPath = userTrackerPath; } @Override public Class getModelClass() { return UserTrackerPath.class; } @Override public String getModelClassName() { return UserTrackerPath.class.getName(); } @Override public Map getModelAttributes() { Map attributes = new HashMap(); attributes.put("mvccVersion", getMvccVersion()); attributes.put("userTrackerPathId", getUserTrackerPathId()); attributes.put("companyId", getCompanyId()); attributes.put("userTrackerId", getUserTrackerId()); attributes.put("path", getPath()); attributes.put("pathDate", getPathDate()); return attributes; } @Override public void setModelAttributes(Map attributes) { Long mvccVersion = (Long)attributes.get("mvccVersion"); if (mvccVersion != null) { setMvccVersion(mvccVersion); } Long userTrackerPathId = (Long)attributes.get("userTrackerPathId"); if (userTrackerPathId != null) { setUserTrackerPathId(userTrackerPathId); } Long companyId = (Long)attributes.get("companyId"); if (companyId != null) { setCompanyId(companyId); } Long userTrackerId = (Long)attributes.get("userTrackerId"); if (userTrackerId != null) { setUserTrackerId(userTrackerId); } String path = (String)attributes.get("path"); if (path != null) { setPath(path); } Date pathDate = (Date)attributes.get("pathDate"); if (pathDate != null) { setPathDate(pathDate); } } @Override public java.lang.Object clone() { return new UserTrackerPathWrapper((UserTrackerPath)_userTrackerPath.clone()); } @Override public int compareTo( com.liferay.portal.kernel.model.UserTrackerPath userTrackerPath) { return _userTrackerPath.compareTo(userTrackerPath); } /** * Returns the company ID of this user tracker path. * * @return the company ID of this user tracker path */ @Override public long getCompanyId() { return _userTrackerPath.getCompanyId(); } @Override public ExpandoBridge getExpandoBridge() { return _userTrackerPath.getExpandoBridge(); } /** * Returns the mvcc version of this user tracker path. * * @return the mvcc version of this user tracker path */ @Override public long getMvccVersion() { return _userTrackerPath.getMvccVersion(); } /** * Returns the path of this user tracker path. * * @return the path of this user tracker path */ @Override public java.lang.String getPath() { return _userTrackerPath.getPath(); } /** * Returns the path date of this user tracker path. * * @return the path date of this user tracker path */ @Override public Date getPathDate() { return _userTrackerPath.getPathDate(); } /** * Returns the primary key of this user tracker path. * * @return the primary key of this user tracker path */ @Override public long getPrimaryKey() { return _userTrackerPath.getPrimaryKey(); } @Override public Serializable getPrimaryKeyObj() { return _userTrackerPath.getPrimaryKeyObj(); } /** * Returns the user tracker ID of this user tracker path. * * @return the user tracker ID of this user tracker path */ @Override public long getUserTrackerId() { return _userTrackerPath.getUserTrackerId(); } /** * Returns the user tracker path ID of this user tracker path. * * @return the user tracker path ID of this user tracker path */ @Override public long getUserTrackerPathId() { return _userTrackerPath.getUserTrackerPathId(); } @Override public int hashCode() { return _userTrackerPath.hashCode(); } @Override public boolean isCachedModel() { return _userTrackerPath.isCachedModel(); } @Override public boolean isEscapedModel() { return _userTrackerPath.isEscapedModel(); } @Override public boolean isNew() { return _userTrackerPath.isNew(); } @Override public void persist() { _userTrackerPath.persist(); } @Override public void setCachedModel(boolean cachedModel) { _userTrackerPath.setCachedModel(cachedModel); } /** * Sets the company ID of this user tracker path. * * @param companyId the company ID of this user tracker path */ @Override public void setCompanyId(long companyId) { _userTrackerPath.setCompanyId(companyId); } @Override public void setExpandoBridgeAttributes(BaseModel baseModel) { _userTrackerPath.setExpandoBridgeAttributes(baseModel); } @Override public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge) { _userTrackerPath.setExpandoBridgeAttributes(expandoBridge); } @Override public void setExpandoBridgeAttributes(ServiceContext serviceContext) { _userTrackerPath.setExpandoBridgeAttributes(serviceContext); } /** * Sets the mvcc version of this user tracker path. * * @param mvccVersion the mvcc version of this user tracker path */ @Override public void setMvccVersion(long mvccVersion) { _userTrackerPath.setMvccVersion(mvccVersion); } @Override public void setNew(boolean n) { _userTrackerPath.setNew(n); } /** * Sets the path of this user tracker path. * * @param path the path of this user tracker path */ @Override public void setPath(java.lang.String path) { _userTrackerPath.setPath(path); } /** * Sets the path date of this user tracker path. * * @param pathDate the path date of this user tracker path */ @Override public void setPathDate(Date pathDate) { _userTrackerPath.setPathDate(pathDate); } /** * Sets the primary key of this user tracker path. * * @param primaryKey the primary key of this user tracker path */ @Override public void setPrimaryKey(long primaryKey) { _userTrackerPath.setPrimaryKey(primaryKey); } @Override public void setPrimaryKeyObj(Serializable primaryKeyObj) { _userTrackerPath.setPrimaryKeyObj(primaryKeyObj); } /** * Sets the user tracker ID of this user tracker path. * * @param userTrackerId the user tracker ID of this user tracker path */ @Override public void setUserTrackerId(long userTrackerId) { _userTrackerPath.setUserTrackerId(userTrackerId); } /** * Sets the user tracker path ID of this user tracker path. * * @param userTrackerPathId the user tracker path ID of this user tracker path */ @Override public void setUserTrackerPathId(long userTrackerPathId) { _userTrackerPath.setUserTrackerPathId(userTrackerPathId); } @Override public CacheModel toCacheModel() { return _userTrackerPath.toCacheModel(); } @Override public com.liferay.portal.kernel.model.UserTrackerPath toEscapedModel() { return new UserTrackerPathWrapper(_userTrackerPath.toEscapedModel()); } @Override public java.lang.String toString() { return _userTrackerPath.toString(); } @Override public com.liferay.portal.kernel.model.UserTrackerPath toUnescapedModel() { return new UserTrackerPathWrapper(_userTrackerPath.toUnescapedModel()); } @Override public java.lang.String toXmlString() { return _userTrackerPath.toXmlString(); } @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof UserTrackerPathWrapper)) { return false; } UserTrackerPathWrapper userTrackerPathWrapper = (UserTrackerPathWrapper)obj; if (Validator.equals(_userTrackerPath, userTrackerPathWrapper._userTrackerPath)) { return true; } return false; } @Override public UserTrackerPath getWrappedModel() { return _userTrackerPath; } @Override public boolean isEntityCacheEnabled() { return _userTrackerPath.isEntityCacheEnabled(); } @Override public boolean isFinderCacheEnabled() { return _userTrackerPath.isFinderCacheEnabled(); } @Override public void resetOriginalValues() { _userTrackerPath.resetOriginalValues(); } private final UserTrackerPath _userTrackerPath; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy