com.liferay.portal.kernel.model.RecentLayoutSetBranchWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.portal.kernel Show documentation
Show all versions of com.liferay.portal.kernel Show documentation
Contains interfaces for the portal services. Interfaces are only loaded by the global class loader and are shared by all plugins.
/**
* 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.HashMap;
import java.util.Map;
/**
*
* This class is a wrapper for {@link RecentLayoutSetBranch}.
*
*
* @author Brian Wing Shun Chan
* @see RecentLayoutSetBranch
* @generated
*/
@ProviderType
public class RecentLayoutSetBranchWrapper implements RecentLayoutSetBranch,
ModelWrapper {
public RecentLayoutSetBranchWrapper(
RecentLayoutSetBranch recentLayoutSetBranch) {
_recentLayoutSetBranch = recentLayoutSetBranch;
}
@Override
public Class> getModelClass() {
return RecentLayoutSetBranch.class;
}
@Override
public String getModelClassName() {
return RecentLayoutSetBranch.class.getName();
}
@Override
public Map getModelAttributes() {
Map attributes = new HashMap();
attributes.put("mvccVersion", getMvccVersion());
attributes.put("recentLayoutSetBranchId", getRecentLayoutSetBranchId());
attributes.put("groupId", getGroupId());
attributes.put("companyId", getCompanyId());
attributes.put("userId", getUserId());
attributes.put("layoutSetBranchId", getLayoutSetBranchId());
attributes.put("layoutSetId", getLayoutSetId());
return attributes;
}
@Override
public void setModelAttributes(Map attributes) {
Long mvccVersion = (Long)attributes.get("mvccVersion");
if (mvccVersion != null) {
setMvccVersion(mvccVersion);
}
Long recentLayoutSetBranchId = (Long)attributes.get(
"recentLayoutSetBranchId");
if (recentLayoutSetBranchId != null) {
setRecentLayoutSetBranchId(recentLayoutSetBranchId);
}
Long groupId = (Long)attributes.get("groupId");
if (groupId != null) {
setGroupId(groupId);
}
Long companyId = (Long)attributes.get("companyId");
if (companyId != null) {
setCompanyId(companyId);
}
Long userId = (Long)attributes.get("userId");
if (userId != null) {
setUserId(userId);
}
Long layoutSetBranchId = (Long)attributes.get("layoutSetBranchId");
if (layoutSetBranchId != null) {
setLayoutSetBranchId(layoutSetBranchId);
}
Long layoutSetId = (Long)attributes.get("layoutSetId");
if (layoutSetId != null) {
setLayoutSetId(layoutSetId);
}
}
@Override
public java.lang.Object clone() {
return new RecentLayoutSetBranchWrapper((RecentLayoutSetBranch)_recentLayoutSetBranch.clone());
}
@Override
public int compareTo(
com.liferay.portal.kernel.model.RecentLayoutSetBranch recentLayoutSetBranch) {
return _recentLayoutSetBranch.compareTo(recentLayoutSetBranch);
}
/**
* Returns the company ID of this recent layout set branch.
*
* @return the company ID of this recent layout set branch
*/
@Override
public long getCompanyId() {
return _recentLayoutSetBranch.getCompanyId();
}
@Override
public ExpandoBridge getExpandoBridge() {
return _recentLayoutSetBranch.getExpandoBridge();
}
/**
* Returns the group ID of this recent layout set branch.
*
* @return the group ID of this recent layout set branch
*/
@Override
public long getGroupId() {
return _recentLayoutSetBranch.getGroupId();
}
/**
* Returns the layout set branch ID of this recent layout set branch.
*
* @return the layout set branch ID of this recent layout set branch
*/
@Override
public long getLayoutSetBranchId() {
return _recentLayoutSetBranch.getLayoutSetBranchId();
}
/**
* Returns the layout set ID of this recent layout set branch.
*
* @return the layout set ID of this recent layout set branch
*/
@Override
public long getLayoutSetId() {
return _recentLayoutSetBranch.getLayoutSetId();
}
/**
* Returns the mvcc version of this recent layout set branch.
*
* @return the mvcc version of this recent layout set branch
*/
@Override
public long getMvccVersion() {
return _recentLayoutSetBranch.getMvccVersion();
}
/**
* Returns the primary key of this recent layout set branch.
*
* @return the primary key of this recent layout set branch
*/
@Override
public long getPrimaryKey() {
return _recentLayoutSetBranch.getPrimaryKey();
}
@Override
public Serializable getPrimaryKeyObj() {
return _recentLayoutSetBranch.getPrimaryKeyObj();
}
/**
* Returns the recent layout set branch ID of this recent layout set branch.
*
* @return the recent layout set branch ID of this recent layout set branch
*/
@Override
public long getRecentLayoutSetBranchId() {
return _recentLayoutSetBranch.getRecentLayoutSetBranchId();
}
/**
* Returns the user ID of this recent layout set branch.
*
* @return the user ID of this recent layout set branch
*/
@Override
public long getUserId() {
return _recentLayoutSetBranch.getUserId();
}
/**
* Returns the user uuid of this recent layout set branch.
*
* @return the user uuid of this recent layout set branch
*/
@Override
public java.lang.String getUserUuid() {
return _recentLayoutSetBranch.getUserUuid();
}
@Override
public int hashCode() {
return _recentLayoutSetBranch.hashCode();
}
@Override
public boolean isCachedModel() {
return _recentLayoutSetBranch.isCachedModel();
}
@Override
public boolean isEscapedModel() {
return _recentLayoutSetBranch.isEscapedModel();
}
@Override
public boolean isNew() {
return _recentLayoutSetBranch.isNew();
}
@Override
public void persist() {
_recentLayoutSetBranch.persist();
}
@Override
public void setCachedModel(boolean cachedModel) {
_recentLayoutSetBranch.setCachedModel(cachedModel);
}
/**
* Sets the company ID of this recent layout set branch.
*
* @param companyId the company ID of this recent layout set branch
*/
@Override
public void setCompanyId(long companyId) {
_recentLayoutSetBranch.setCompanyId(companyId);
}
@Override
public void setExpandoBridgeAttributes(BaseModel> baseModel) {
_recentLayoutSetBranch.setExpandoBridgeAttributes(baseModel);
}
@Override
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge) {
_recentLayoutSetBranch.setExpandoBridgeAttributes(expandoBridge);
}
@Override
public void setExpandoBridgeAttributes(ServiceContext serviceContext) {
_recentLayoutSetBranch.setExpandoBridgeAttributes(serviceContext);
}
/**
* Sets the group ID of this recent layout set branch.
*
* @param groupId the group ID of this recent layout set branch
*/
@Override
public void setGroupId(long groupId) {
_recentLayoutSetBranch.setGroupId(groupId);
}
/**
* Sets the layout set branch ID of this recent layout set branch.
*
* @param layoutSetBranchId the layout set branch ID of this recent layout set branch
*/
@Override
public void setLayoutSetBranchId(long layoutSetBranchId) {
_recentLayoutSetBranch.setLayoutSetBranchId(layoutSetBranchId);
}
/**
* Sets the layout set ID of this recent layout set branch.
*
* @param layoutSetId the layout set ID of this recent layout set branch
*/
@Override
public void setLayoutSetId(long layoutSetId) {
_recentLayoutSetBranch.setLayoutSetId(layoutSetId);
}
/**
* Sets the mvcc version of this recent layout set branch.
*
* @param mvccVersion the mvcc version of this recent layout set branch
*/
@Override
public void setMvccVersion(long mvccVersion) {
_recentLayoutSetBranch.setMvccVersion(mvccVersion);
}
@Override
public void setNew(boolean n) {
_recentLayoutSetBranch.setNew(n);
}
/**
* Sets the primary key of this recent layout set branch.
*
* @param primaryKey the primary key of this recent layout set branch
*/
@Override
public void setPrimaryKey(long primaryKey) {
_recentLayoutSetBranch.setPrimaryKey(primaryKey);
}
@Override
public void setPrimaryKeyObj(Serializable primaryKeyObj) {
_recentLayoutSetBranch.setPrimaryKeyObj(primaryKeyObj);
}
/**
* Sets the recent layout set branch ID of this recent layout set branch.
*
* @param recentLayoutSetBranchId the recent layout set branch ID of this recent layout set branch
*/
@Override
public void setRecentLayoutSetBranchId(long recentLayoutSetBranchId) {
_recentLayoutSetBranch.setRecentLayoutSetBranchId(recentLayoutSetBranchId);
}
/**
* Sets the user ID of this recent layout set branch.
*
* @param userId the user ID of this recent layout set branch
*/
@Override
public void setUserId(long userId) {
_recentLayoutSetBranch.setUserId(userId);
}
/**
* Sets the user uuid of this recent layout set branch.
*
* @param userUuid the user uuid of this recent layout set branch
*/
@Override
public void setUserUuid(java.lang.String userUuid) {
_recentLayoutSetBranch.setUserUuid(userUuid);
}
@Override
public CacheModel toCacheModel() {
return _recentLayoutSetBranch.toCacheModel();
}
@Override
public com.liferay.portal.kernel.model.RecentLayoutSetBranch toEscapedModel() {
return new RecentLayoutSetBranchWrapper(_recentLayoutSetBranch.toEscapedModel());
}
@Override
public java.lang.String toString() {
return _recentLayoutSetBranch.toString();
}
@Override
public com.liferay.portal.kernel.model.RecentLayoutSetBranch toUnescapedModel() {
return new RecentLayoutSetBranchWrapper(_recentLayoutSetBranch.toUnescapedModel());
}
@Override
public java.lang.String toXmlString() {
return _recentLayoutSetBranch.toXmlString();
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof RecentLayoutSetBranchWrapper)) {
return false;
}
RecentLayoutSetBranchWrapper recentLayoutSetBranchWrapper = (RecentLayoutSetBranchWrapper)obj;
if (Validator.equals(_recentLayoutSetBranch,
recentLayoutSetBranchWrapper._recentLayoutSetBranch)) {
return true;
}
return false;
}
@Override
public RecentLayoutSetBranch getWrappedModel() {
return _recentLayoutSetBranch;
}
@Override
public boolean isEntityCacheEnabled() {
return _recentLayoutSetBranch.isEntityCacheEnabled();
}
@Override
public boolean isFinderCacheEnabled() {
return _recentLayoutSetBranch.isFinderCacheEnabled();
}
@Override
public void resetOriginalValues() {
_recentLayoutSetBranch.resetOriginalValues();
}
private final RecentLayoutSetBranch _recentLayoutSetBranch;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy