com.liferay.sharing.model.SharingEntryModel Maven / Gradle / Ivy
/**
* 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.sharing.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.GroupedModel;
import com.liferay.portal.kernel.model.ShardedModel;
import com.liferay.portal.kernel.model.StagedAuditedModel;
import java.util.Date;
import org.osgi.annotation.versioning.ProviderType;
/**
* The base model interface for the SharingEntry service. Represents a row in the "SharingEntry" database table, with each column mapped to a property of this class.
*
*
* This interface and its corresponding implementation com.liferay.sharing.model.impl.SharingEntryModelImpl
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.sharing.model.impl.SharingEntryImpl
.
*
*
* @author Brian Wing Shun Chan
* @see SharingEntry
* @generated
*/
@ProviderType
public interface SharingEntryModel
extends AttachedModel, BaseModel, GroupedModel, ShardedModel,
StagedAuditedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. All methods that expect a sharing entry model instance should use the {@link SharingEntry} interface instead.
*/
/**
* Returns the primary key of this sharing entry.
*
* @return the primary key of this sharing entry
*/
public long getPrimaryKey();
/**
* Sets the primary key of this sharing entry.
*
* @param primaryKey the primary key of this sharing entry
*/
public void setPrimaryKey(long primaryKey);
/**
* Returns the uuid of this sharing entry.
*
* @return the uuid of this sharing entry
*/
@AutoEscape
@Override
public String getUuid();
/**
* Sets the uuid of this sharing entry.
*
* @param uuid the uuid of this sharing entry
*/
@Override
public void setUuid(String uuid);
/**
* Returns the sharing entry ID of this sharing entry.
*
* @return the sharing entry ID of this sharing entry
*/
public long getSharingEntryId();
/**
* Sets the sharing entry ID of this sharing entry.
*
* @param sharingEntryId the sharing entry ID of this sharing entry
*/
public void setSharingEntryId(long sharingEntryId);
/**
* Returns the group ID of this sharing entry.
*
* @return the group ID of this sharing entry
*/
@Override
public long getGroupId();
/**
* Sets the group ID of this sharing entry.
*
* @param groupId the group ID of this sharing entry
*/
@Override
public void setGroupId(long groupId);
/**
* Returns the company ID of this sharing entry.
*
* @return the company ID of this sharing entry
*/
@Override
public long getCompanyId();
/**
* Sets the company ID of this sharing entry.
*
* @param companyId the company ID of this sharing entry
*/
@Override
public void setCompanyId(long companyId);
/**
* Returns the user ID of this sharing entry.
*
* @return the user ID of this sharing entry
*/
@Override
public long getUserId();
/**
* Sets the user ID of this sharing entry.
*
* @param userId the user ID of this sharing entry
*/
@Override
public void setUserId(long userId);
/**
* Returns the user uuid of this sharing entry.
*
* @return the user uuid of this sharing entry
*/
@Override
public String getUserUuid();
/**
* Sets the user uuid of this sharing entry.
*
* @param userUuid the user uuid of this sharing entry
*/
@Override
public void setUserUuid(String userUuid);
/**
* Returns the user name of this sharing entry.
*
* @return the user name of this sharing entry
*/
@AutoEscape
@Override
public String getUserName();
/**
* Sets the user name of this sharing entry.
*
* @param userName the user name of this sharing entry
*/
@Override
public void setUserName(String userName);
/**
* Returns the create date of this sharing entry.
*
* @return the create date of this sharing entry
*/
@Override
public Date getCreateDate();
/**
* Sets the create date of this sharing entry.
*
* @param createDate the create date of this sharing entry
*/
@Override
public void setCreateDate(Date createDate);
/**
* Returns the modified date of this sharing entry.
*
* @return the modified date of this sharing entry
*/
@Override
public Date getModifiedDate();
/**
* Sets the modified date of this sharing entry.
*
* @param modifiedDate the modified date of this sharing entry
*/
@Override
public void setModifiedDate(Date modifiedDate);
/**
* Returns the to user ID of this sharing entry.
*
* @return the to user ID of this sharing entry
*/
public long getToUserId();
/**
* Sets the to user ID of this sharing entry.
*
* @param toUserId the to user ID of this sharing entry
*/
public void setToUserId(long toUserId);
/**
* Returns the to user uuid of this sharing entry.
*
* @return the to user uuid of this sharing entry
*/
public String getToUserUuid();
/**
* Sets the to user uuid of this sharing entry.
*
* @param toUserUuid the to user uuid of this sharing entry
*/
public void setToUserUuid(String toUserUuid);
/**
* Returns the fully qualified class name of this sharing entry.
*
* @return the fully qualified class name of this sharing entry
*/
@Override
public String getClassName();
public void setClassName(String className);
/**
* Returns the class name ID of this sharing entry.
*
* @return the class name ID of this sharing entry
*/
@Override
public long getClassNameId();
/**
* Sets the class name ID of this sharing entry.
*
* @param classNameId the class name ID of this sharing entry
*/
@Override
public void setClassNameId(long classNameId);
/**
* Returns the class pk of this sharing entry.
*
* @return the class pk of this sharing entry
*/
@Override
public long getClassPK();
/**
* Sets the class pk of this sharing entry.
*
* @param classPK the class pk of this sharing entry
*/
@Override
public void setClassPK(long classPK);
/**
* Returns the shareable of this sharing entry.
*
* @return the shareable of this sharing entry
*/
public boolean getShareable();
/**
* Returns true
if this sharing entry is shareable.
*
* @return true
if this sharing entry is shareable; false
otherwise
*/
public boolean isShareable();
/**
* Sets whether this sharing entry is shareable.
*
* @param shareable the shareable of this sharing entry
*/
public void setShareable(boolean shareable);
/**
* Returns the action IDs of this sharing entry.
*
* @return the action IDs of this sharing entry
*/
public long getActionIds();
/**
* Sets the action IDs of this sharing entry.
*
* @param actionIds the action IDs of this sharing entry
*/
public void setActionIds(long actionIds);
/**
* Returns the expiration date of this sharing entry.
*
* @return the expiration date of this sharing entry
*/
public Date getExpirationDate();
/**
* Sets the expiration date of this sharing entry.
*
* @param expirationDate the expiration date of this sharing entry
*/
public void setExpirationDate(Date expirationDate);
@Override
public SharingEntry cloneWithOriginalValues();
public default String toXmlString() {
return null;
}
}