com.liferay.social.kernel.model.SocialRequestModel 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.
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.social.kernel.model;
import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.kernel.model.AttachedModel;
import com.liferay.portal.kernel.model.BaseModel;
import com.liferay.portal.kernel.model.MVCCModel;
import com.liferay.portal.kernel.model.ShardedModel;
import com.liferay.portal.kernel.model.change.tracking.CTModel;
import org.osgi.annotation.versioning.ProviderType;
/**
* The base model interface for the SocialRequest service. Represents a row in the "SocialRequest" database table, with each column mapped to a property of this class.
*
*
* This interface and its corresponding implementation com.liferay.portlet.social.model.impl.SocialRequestModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portlet.social.model.impl.SocialRequestImpl
.
*
*
* @author Brian Wing Shun Chan
* @see SocialRequest
* @generated
*/
@ProviderType
public interface SocialRequestModel
extends AttachedModel, BaseModel, CTModel,
MVCCModel, ShardedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. All methods that expect a social request model instance should use the {@link SocialRequest} interface instead.
*/
/**
* Returns the primary key of this social request.
*
* @return the primary key of this social request
*/
@Override
public long getPrimaryKey();
/**
* Sets the primary key of this social request.
*
* @param primaryKey the primary key of this social request
*/
@Override
public void setPrimaryKey(long primaryKey);
/**
* Returns the mvcc version of this social request.
*
* @return the mvcc version of this social request
*/
@Override
public long getMvccVersion();
/**
* Sets the mvcc version of this social request.
*
* @param mvccVersion the mvcc version of this social request
*/
@Override
public void setMvccVersion(long mvccVersion);
/**
* Returns the ct collection ID of this social request.
*
* @return the ct collection ID of this social request
*/
@Override
public long getCtCollectionId();
/**
* Sets the ct collection ID of this social request.
*
* @param ctCollectionId the ct collection ID of this social request
*/
@Override
public void setCtCollectionId(long ctCollectionId);
/**
* Returns the uuid of this social request.
*
* @return the uuid of this social request
*/
@AutoEscape
public String getUuid();
/**
* Sets the uuid of this social request.
*
* @param uuid the uuid of this social request
*/
public void setUuid(String uuid);
/**
* Returns the request ID of this social request.
*
* @return the request ID of this social request
*/
public long getRequestId();
/**
* Sets the request ID of this social request.
*
* @param requestId the request ID of this social request
*/
public void setRequestId(long requestId);
/**
* Returns the group ID of this social request.
*
* @return the group ID of this social request
*/
public long getGroupId();
/**
* Sets the group ID of this social request.
*
* @param groupId the group ID of this social request
*/
public void setGroupId(long groupId);
/**
* Returns the company ID of this social request.
*
* @return the company ID of this social request
*/
@Override
public long getCompanyId();
/**
* Sets the company ID of this social request.
*
* @param companyId the company ID of this social request
*/
@Override
public void setCompanyId(long companyId);
/**
* Returns the user ID of this social request.
*
* @return the user ID of this social request
*/
public long getUserId();
/**
* Sets the user ID of this social request.
*
* @param userId the user ID of this social request
*/
public void setUserId(long userId);
/**
* Returns the user uuid of this social request.
*
* @return the user uuid of this social request
*/
public String getUserUuid();
/**
* Sets the user uuid of this social request.
*
* @param userUuid the user uuid of this social request
*/
public void setUserUuid(String userUuid);
/**
* Returns the create date of this social request.
*
* @return the create date of this social request
*/
public long getCreateDate();
/**
* Sets the create date of this social request.
*
* @param createDate the create date of this social request
*/
public void setCreateDate(long createDate);
/**
* Returns the modified date of this social request.
*
* @return the modified date of this social request
*/
public long getModifiedDate();
/**
* Sets the modified date of this social request.
*
* @param modifiedDate the modified date of this social request
*/
public void setModifiedDate(long modifiedDate);
/**
* Returns the fully qualified class name of this social request.
*
* @return the fully qualified class name of this social request
*/
@Override
public String getClassName();
public void setClassName(String className);
/**
* Returns the class name ID of this social request.
*
* @return the class name ID of this social request
*/
@Override
public long getClassNameId();
/**
* Sets the class name ID of this social request.
*
* @param classNameId the class name ID of this social request
*/
@Override
public void setClassNameId(long classNameId);
/**
* Returns the class pk of this social request.
*
* @return the class pk of this social request
*/
@Override
public long getClassPK();
/**
* Sets the class pk of this social request.
*
* @param classPK the class pk of this social request
*/
@Override
public void setClassPK(long classPK);
/**
* Returns the type of this social request.
*
* @return the type of this social request
*/
public int getType();
/**
* Sets the type of this social request.
*
* @param type the type of this social request
*/
public void setType(int type);
/**
* Returns the extra data of this social request.
*
* @return the extra data of this social request
*/
@AutoEscape
public String getExtraData();
/**
* Sets the extra data of this social request.
*
* @param extraData the extra data of this social request
*/
public void setExtraData(String extraData);
/**
* Returns the receiver user ID of this social request.
*
* @return the receiver user ID of this social request
*/
public long getReceiverUserId();
/**
* Sets the receiver user ID of this social request.
*
* @param receiverUserId the receiver user ID of this social request
*/
public void setReceiverUserId(long receiverUserId);
/**
* Returns the receiver user uuid of this social request.
*
* @return the receiver user uuid of this social request
*/
public String getReceiverUserUuid();
/**
* Sets the receiver user uuid of this social request.
*
* @param receiverUserUuid the receiver user uuid of this social request
*/
public void setReceiverUserUuid(String receiverUserUuid);
/**
* Returns the status of this social request.
*
* @return the status of this social request
*/
public int getStatus();
/**
* Sets the status of this social request.
*
* @param status the status of this social request
*/
public void setStatus(int status);
@Override
public SocialRequest cloneWithOriginalValues();
public default String toXmlString() {
return null;
}
}