com.liferay.message.boards.kernel.model.MBThreadModel 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.message.boards.kernel.model;
import aQute.bnd.annotation.ProviderType;
import com.liferay.expando.kernel.model.ExpandoBridge;
import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.model.BaseModel;
import com.liferay.portal.kernel.model.CacheModel;
import com.liferay.portal.kernel.model.ContainerModel;
import com.liferay.portal.kernel.model.ShardedModel;
import com.liferay.portal.kernel.model.StagedGroupedModel;
import com.liferay.portal.kernel.model.TrashedModel;
import com.liferay.portal.kernel.model.WorkflowedModel;
import com.liferay.portal.kernel.service.ServiceContext;
import com.liferay.portal.kernel.trash.TrashHandler;
import com.liferay.trash.kernel.model.TrashEntry;
import java.io.Serializable;
import java.util.Date;
/**
* The base model interface for the MBThread service. Represents a row in the "MBThread" database table, with each column mapped to a property of this class.
*
*
* This interface and its corresponding implementation {@link com.liferay.portlet.messageboards.model.impl.MBThreadModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portlet.messageboards.model.impl.MBThreadImpl}.
*
*
* @author Brian Wing Shun Chan
* @see MBThread
* @see com.liferay.portlet.messageboards.model.impl.MBThreadImpl
* @see com.liferay.portlet.messageboards.model.impl.MBThreadModelImpl
* @generated
*/
@ProviderType
public interface MBThreadModel extends BaseModel, ContainerModel,
ShardedModel, StagedGroupedModel, TrashedModel, WorkflowedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. All methods that expect a message boards thread model instance should use the {@link MBThread} interface instead.
*/
/**
* Returns the primary key of this message boards thread.
*
* @return the primary key of this message boards thread
*/
public long getPrimaryKey();
/**
* Sets the primary key of this message boards thread.
*
* @param primaryKey the primary key of this message boards thread
*/
public void setPrimaryKey(long primaryKey);
/**
* Returns the uuid of this message boards thread.
*
* @return the uuid of this message boards thread
*/
@AutoEscape
@Override
public String getUuid();
/**
* Sets the uuid of this message boards thread.
*
* @param uuid the uuid of this message boards thread
*/
@Override
public void setUuid(String uuid);
/**
* Returns the thread ID of this message boards thread.
*
* @return the thread ID of this message boards thread
*/
public long getThreadId();
/**
* Sets the thread ID of this message boards thread.
*
* @param threadId the thread ID of this message boards thread
*/
public void setThreadId(long threadId);
/**
* Returns the group ID of this message boards thread.
*
* @return the group ID of this message boards thread
*/
@Override
public long getGroupId();
/**
* Sets the group ID of this message boards thread.
*
* @param groupId the group ID of this message boards thread
*/
@Override
public void setGroupId(long groupId);
/**
* Returns the company ID of this message boards thread.
*
* @return the company ID of this message boards thread
*/
@Override
public long getCompanyId();
/**
* Sets the company ID of this message boards thread.
*
* @param companyId the company ID of this message boards thread
*/
@Override
public void setCompanyId(long companyId);
/**
* Returns the user ID of this message boards thread.
*
* @return the user ID of this message boards thread
*/
@Override
public long getUserId();
/**
* Sets the user ID of this message boards thread.
*
* @param userId the user ID of this message boards thread
*/
@Override
public void setUserId(long userId);
/**
* Returns the user uuid of this message boards thread.
*
* @return the user uuid of this message boards thread
*/
@Override
public String getUserUuid();
/**
* Sets the user uuid of this message boards thread.
*
* @param userUuid the user uuid of this message boards thread
*/
@Override
public void setUserUuid(String userUuid);
/**
* Returns the user name of this message boards thread.
*
* @return the user name of this message boards thread
*/
@AutoEscape
@Override
public String getUserName();
/**
* Sets the user name of this message boards thread.
*
* @param userName the user name of this message boards thread
*/
@Override
public void setUserName(String userName);
/**
* Returns the create date of this message boards thread.
*
* @return the create date of this message boards thread
*/
@Override
public Date getCreateDate();
/**
* Sets the create date of this message boards thread.
*
* @param createDate the create date of this message boards thread
*/
@Override
public void setCreateDate(Date createDate);
/**
* Returns the modified date of this message boards thread.
*
* @return the modified date of this message boards thread
*/
@Override
public Date getModifiedDate();
/**
* Sets the modified date of this message boards thread.
*
* @param modifiedDate the modified date of this message boards thread
*/
@Override
public void setModifiedDate(Date modifiedDate);
/**
* Returns the category ID of this message boards thread.
*
* @return the category ID of this message boards thread
*/
public long getCategoryId();
/**
* Sets the category ID of this message boards thread.
*
* @param categoryId the category ID of this message boards thread
*/
public void setCategoryId(long categoryId);
/**
* Returns the root message ID of this message boards thread.
*
* @return the root message ID of this message boards thread
*/
public long getRootMessageId();
/**
* Sets the root message ID of this message boards thread.
*
* @param rootMessageId the root message ID of this message boards thread
*/
public void setRootMessageId(long rootMessageId);
/**
* Returns the root message user ID of this message boards thread.
*
* @return the root message user ID of this message boards thread
*/
public long getRootMessageUserId();
/**
* Sets the root message user ID of this message boards thread.
*
* @param rootMessageUserId the root message user ID of this message boards thread
*/
public void setRootMessageUserId(long rootMessageUserId);
/**
* Returns the root message user uuid of this message boards thread.
*
* @return the root message user uuid of this message boards thread
*/
public String getRootMessageUserUuid();
/**
* Sets the root message user uuid of this message boards thread.
*
* @param rootMessageUserUuid the root message user uuid of this message boards thread
*/
public void setRootMessageUserUuid(String rootMessageUserUuid);
/**
* Returns the message count of this message boards thread.
*
* @return the message count of this message boards thread
*/
public int getMessageCount();
/**
* Sets the message count of this message boards thread.
*
* @param messageCount the message count of this message boards thread
*/
public void setMessageCount(int messageCount);
/**
* Returns the view count of this message boards thread.
*
* @return the view count of this message boards thread
*/
public int getViewCount();
/**
* Sets the view count of this message boards thread.
*
* @param viewCount the view count of this message boards thread
*/
public void setViewCount(int viewCount);
/**
* Returns the last post by user ID of this message boards thread.
*
* @return the last post by user ID of this message boards thread
*/
public long getLastPostByUserId();
/**
* Sets the last post by user ID of this message boards thread.
*
* @param lastPostByUserId the last post by user ID of this message boards thread
*/
public void setLastPostByUserId(long lastPostByUserId);
/**
* Returns the last post by user uuid of this message boards thread.
*
* @return the last post by user uuid of this message boards thread
*/
public String getLastPostByUserUuid();
/**
* Sets the last post by user uuid of this message boards thread.
*
* @param lastPostByUserUuid the last post by user uuid of this message boards thread
*/
public void setLastPostByUserUuid(String lastPostByUserUuid);
/**
* Returns the last post date of this message boards thread.
*
* @return the last post date of this message boards thread
*/
public Date getLastPostDate();
/**
* Sets the last post date of this message boards thread.
*
* @param lastPostDate the last post date of this message boards thread
*/
public void setLastPostDate(Date lastPostDate);
/**
* Returns the priority of this message boards thread.
*
* @return the priority of this message boards thread
*/
public double getPriority();
/**
* Sets the priority of this message boards thread.
*
* @param priority the priority of this message boards thread
*/
public void setPriority(double priority);
/**
* Returns the question of this message boards thread.
*
* @return the question of this message boards thread
*/
public boolean getQuestion();
/**
* Returns true
if this message boards thread is question.
*
* @return true
if this message boards thread is question; false
otherwise
*/
public boolean isQuestion();
/**
* Sets whether this message boards thread is question.
*
* @param question the question of this message boards thread
*/
public void setQuestion(boolean question);
/**
* Returns the last publish date of this message boards thread.
*
* @return the last publish date of this message boards thread
*/
@Override
public Date getLastPublishDate();
/**
* Sets the last publish date of this message boards thread.
*
* @param lastPublishDate the last publish date of this message boards thread
*/
@Override
public void setLastPublishDate(Date lastPublishDate);
/**
* Returns the status of this message boards thread.
*
* @return the status of this message boards thread
*/
@Override
public int getStatus();
/**
* Sets the status of this message boards thread.
*
* @param status the status of this message boards thread
*/
@Override
public void setStatus(int status);
/**
* Returns the status by user ID of this message boards thread.
*
* @return the status by user ID of this message boards thread
*/
@Override
public long getStatusByUserId();
/**
* Sets the status by user ID of this message boards thread.
*
* @param statusByUserId the status by user ID of this message boards thread
*/
@Override
public void setStatusByUserId(long statusByUserId);
/**
* Returns the status by user uuid of this message boards thread.
*
* @return the status by user uuid of this message boards thread
*/
@Override
public String getStatusByUserUuid();
/**
* Sets the status by user uuid of this message boards thread.
*
* @param statusByUserUuid the status by user uuid of this message boards thread
*/
@Override
public void setStatusByUserUuid(String statusByUserUuid);
/**
* Returns the status by user name of this message boards thread.
*
* @return the status by user name of this message boards thread
*/
@AutoEscape
@Override
public String getStatusByUserName();
/**
* Sets the status by user name of this message boards thread.
*
* @param statusByUserName the status by user name of this message boards thread
*/
@Override
public void setStatusByUserName(String statusByUserName);
/**
* Returns the status date of this message boards thread.
*
* @return the status date of this message boards thread
*/
@Override
public Date getStatusDate();
/**
* Sets the status date of this message boards thread.
*
* @param statusDate the status date of this message boards thread
*/
@Override
public void setStatusDate(Date statusDate);
/**
* Returns the trash entry created when this message boards thread was moved to the Recycle Bin. The trash entry may belong to one of the ancestors of this message boards thread.
*
* @return the trash entry created when this message boards thread was moved to the Recycle Bin
*/
@Override
public TrashEntry getTrashEntry() throws PortalException;
/**
* Returns the class primary key of the trash entry for this message boards thread.
*
* @return the class primary key of the trash entry for this message boards thread
*/
@Override
public long getTrashEntryClassPK();
/**
* Returns the trash handler for this message boards thread.
*
* @return the trash handler for this message boards thread
*/
@Override
public TrashHandler getTrashHandler();
/**
* Returns true
if this message boards thread is in the Recycle Bin.
*
* @return true
if this message boards thread is in the Recycle Bin; false
otherwise
*/
@Override
public boolean isInTrash();
/**
* Returns true
if the parent of this message boards thread is in the Recycle Bin.
*
* @return true
if the parent of this message boards thread is in the Recycle Bin; false
otherwise
*/
@Override
public boolean isInTrashContainer();
@Override
public boolean isInTrashExplicitly();
@Override
public boolean isInTrashImplicitly();
/**
* Returns true
if this message boards thread is approved.
*
* @return true
if this message boards thread is approved; false
otherwise
*/
@Override
public boolean isApproved();
/**
* Returns true
if this message boards thread is denied.
*
* @return true
if this message boards thread is denied; false
otherwise
*/
@Override
public boolean isDenied();
/**
* Returns true
if this message boards thread is a draft.
*
* @return true
if this message boards thread is a draft; false
otherwise
*/
@Override
public boolean isDraft();
/**
* Returns true
if this message boards thread is expired.
*
* @return true
if this message boards thread is expired; false
otherwise
*/
@Override
public boolean isExpired();
/**
* Returns true
if this message boards thread is inactive.
*
* @return true
if this message boards thread is inactive; false
otherwise
*/
@Override
public boolean isInactive();
/**
* Returns true
if this message boards thread is incomplete.
*
* @return true
if this message boards thread is incomplete; false
otherwise
*/
@Override
public boolean isIncomplete();
/**
* Returns true
if this message boards thread is pending.
*
* @return true
if this message boards thread is pending; false
otherwise
*/
@Override
public boolean isPending();
/**
* Returns true
if this message boards thread is scheduled.
*
* @return true
if this message boards thread is scheduled; false
otherwise
*/
@Override
public boolean isScheduled();
/**
* Returns the container model ID of this message boards thread.
*
* @return the container model ID of this message boards thread
*/
@Override
public long getContainerModelId();
/**
* Sets the container model ID of this message boards thread.
*
* @param containerModelId the container model ID of this message boards thread
*/
@Override
public void setContainerModelId(long containerModelId);
/**
* Returns the container name of this message boards thread.
*
* @return the container name of this message boards thread
*/
@Override
public String getContainerModelName();
/**
* Returns the parent container model ID of this message boards thread.
*
* @return the parent container model ID of this message boards thread
*/
@Override
public long getParentContainerModelId();
/**
* Sets the parent container model ID of this message boards thread.
*
* @param parentContainerModelId the parent container model ID of this message boards thread
*/
@Override
public void setParentContainerModelId(long parentContainerModelId);
@Override
public boolean isNew();
@Override
public void setNew(boolean n);
@Override
public boolean isCachedModel();
@Override
public void setCachedModel(boolean cachedModel);
@Override
public boolean isEscapedModel();
@Override
public Serializable getPrimaryKeyObj();
@Override
public void setPrimaryKeyObj(Serializable primaryKeyObj);
@Override
public ExpandoBridge getExpandoBridge();
@Override
public void setExpandoBridgeAttributes(BaseModel> baseModel);
@Override
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
@Override
public void setExpandoBridgeAttributes(ServiceContext serviceContext);
@Override
public Object clone();
@Override
public int compareTo(
com.liferay.message.boards.kernel.model.MBThread mbThread);
@Override
public int hashCode();
@Override
public CacheModel toCacheModel();
@Override
public com.liferay.message.boards.kernel.model.MBThread toEscapedModel();
@Override
public com.liferay.message.boards.kernel.model.MBThread toUnescapedModel();
@Override
public String toString();
@Override
public String toXmlString();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy