com.liferay.message.boards.kernel.model.MBMessageModel 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.AttachedModel;
import com.liferay.portal.kernel.model.BaseModel;
import com.liferay.portal.kernel.model.CacheModel;
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 MBMessage service. Represents a row in the "MBMessage" 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.MBMessageModelImpl} 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.MBMessageImpl}.
*
*
* @author Brian Wing Shun Chan
* @see MBMessage
* @see com.liferay.portlet.messageboards.model.impl.MBMessageImpl
* @see com.liferay.portlet.messageboards.model.impl.MBMessageModelImpl
* @generated
*/
@ProviderType
public interface MBMessageModel extends AttachedModel, BaseModel,
ShardedModel, StagedGroupedModel, TrashedModel, WorkflowedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. All methods that expect a message-boards message model instance should use the {@link MBMessage} interface instead.
*/
/**
* Returns the primary key of this message-boards message.
*
* @return the primary key of this message-boards message
*/
public long getPrimaryKey();
/**
* Sets the primary key of this message-boards message.
*
* @param primaryKey the primary key of this message-boards message
*/
public void setPrimaryKey(long primaryKey);
/**
* Returns the uuid of this message-boards message.
*
* @return the uuid of this message-boards message
*/
@AutoEscape
@Override
public String getUuid();
/**
* Sets the uuid of this message-boards message.
*
* @param uuid the uuid of this message-boards message
*/
@Override
public void setUuid(String uuid);
/**
* Returns the message ID of this message-boards message.
*
* @return the message ID of this message-boards message
*/
public long getMessageId();
/**
* Sets the message ID of this message-boards message.
*
* @param messageId the message ID of this message-boards message
*/
public void setMessageId(long messageId);
/**
* Returns the group ID of this message-boards message.
*
* @return the group ID of this message-boards message
*/
@Override
public long getGroupId();
/**
* Sets the group ID of this message-boards message.
*
* @param groupId the group ID of this message-boards message
*/
@Override
public void setGroupId(long groupId);
/**
* Returns the company ID of this message-boards message.
*
* @return the company ID of this message-boards message
*/
@Override
public long getCompanyId();
/**
* Sets the company ID of this message-boards message.
*
* @param companyId the company ID of this message-boards message
*/
@Override
public void setCompanyId(long companyId);
/**
* Returns the user ID of this message-boards message.
*
* @return the user ID of this message-boards message
*/
@Override
public long getUserId();
/**
* Sets the user ID of this message-boards message.
*
* @param userId the user ID of this message-boards message
*/
@Override
public void setUserId(long userId);
/**
* Returns the user uuid of this message-boards message.
*
* @return the user uuid of this message-boards message
*/
@Override
public String getUserUuid();
/**
* Sets the user uuid of this message-boards message.
*
* @param userUuid the user uuid of this message-boards message
*/
@Override
public void setUserUuid(String userUuid);
/**
* Returns the user name of this message-boards message.
*
* @return the user name of this message-boards message
*/
@AutoEscape
@Override
public String getUserName();
/**
* Sets the user name of this message-boards message.
*
* @param userName the user name of this message-boards message
*/
@Override
public void setUserName(String userName);
/**
* Returns the create date of this message-boards message.
*
* @return the create date of this message-boards message
*/
@Override
public Date getCreateDate();
/**
* Sets the create date of this message-boards message.
*
* @param createDate the create date of this message-boards message
*/
@Override
public void setCreateDate(Date createDate);
/**
* Returns the modified date of this message-boards message.
*
* @return the modified date of this message-boards message
*/
@Override
public Date getModifiedDate();
/**
* Sets the modified date of this message-boards message.
*
* @param modifiedDate the modified date of this message-boards message
*/
@Override
public void setModifiedDate(Date modifiedDate);
/**
* Returns the fully qualified class name of this message-boards message.
*
* @return the fully qualified class name of this message-boards message
*/
@Override
public String getClassName();
public void setClassName(String className);
/**
* Returns the class name ID of this message-boards message.
*
* @return the class name ID of this message-boards message
*/
@Override
public long getClassNameId();
/**
* Sets the class name ID of this message-boards message.
*
* @param classNameId the class name ID of this message-boards message
*/
@Override
public void setClassNameId(long classNameId);
/**
* Returns the class p k of this message-boards message.
*
* @return the class p k of this message-boards message
*/
@Override
public long getClassPK();
/**
* Sets the class p k of this message-boards message.
*
* @param classPK the class p k of this message-boards message
*/
@Override
public void setClassPK(long classPK);
/**
* Returns the category ID of this message-boards message.
*
* @return the category ID of this message-boards message
*/
public long getCategoryId();
/**
* Sets the category ID of this message-boards message.
*
* @param categoryId the category ID of this message-boards message
*/
public void setCategoryId(long categoryId);
/**
* Returns the thread ID of this message-boards message.
*
* @return the thread ID of this message-boards message
*/
public long getThreadId();
/**
* Sets the thread ID of this message-boards message.
*
* @param threadId the thread ID of this message-boards message
*/
public void setThreadId(long threadId);
/**
* Returns the root message ID of this message-boards message.
*
* @return the root message ID of this message-boards message
*/
public long getRootMessageId();
/**
* Sets the root message ID of this message-boards message.
*
* @param rootMessageId the root message ID of this message-boards message
*/
public void setRootMessageId(long rootMessageId);
/**
* Returns the parent message ID of this message-boards message.
*
* @return the parent message ID of this message-boards message
*/
public long getParentMessageId();
/**
* Sets the parent message ID of this message-boards message.
*
* @param parentMessageId the parent message ID of this message-boards message
*/
public void setParentMessageId(long parentMessageId);
/**
* Returns the subject of this message-boards message.
*
* @return the subject of this message-boards message
*/
@AutoEscape
public String getSubject();
/**
* Sets the subject of this message-boards message.
*
* @param subject the subject of this message-boards message
*/
public void setSubject(String subject);
/**
* Returns the body of this message-boards message.
*
* @return the body of this message-boards message
*/
@AutoEscape
public String getBody();
/**
* Sets the body of this message-boards message.
*
* @param body the body of this message-boards message
*/
public void setBody(String body);
/**
* Returns the format of this message-boards message.
*
* @return the format of this message-boards message
*/
@AutoEscape
public String getFormat();
/**
* Sets the format of this message-boards message.
*
* @param format the format of this message-boards message
*/
public void setFormat(String format);
/**
* Returns the anonymous of this message-boards message.
*
* @return the anonymous of this message-boards message
*/
public boolean getAnonymous();
/**
* Returns true
if this message-boards message is anonymous.
*
* @return true
if this message-boards message is anonymous; false
otherwise
*/
public boolean isAnonymous();
/**
* Sets whether this message-boards message is anonymous.
*
* @param anonymous the anonymous of this message-boards message
*/
public void setAnonymous(boolean anonymous);
/**
* Returns the priority of this message-boards message.
*
* @return the priority of this message-boards message
*/
public double getPriority();
/**
* Sets the priority of this message-boards message.
*
* @param priority the priority of this message-boards message
*/
public void setPriority(double priority);
/**
* Returns the allow pingbacks of this message-boards message.
*
* @return the allow pingbacks of this message-boards message
*/
public boolean getAllowPingbacks();
/**
* Returns true
if this message-boards message is allow pingbacks.
*
* @return true
if this message-boards message is allow pingbacks; false
otherwise
*/
public boolean isAllowPingbacks();
/**
* Sets whether this message-boards message is allow pingbacks.
*
* @param allowPingbacks the allow pingbacks of this message-boards message
*/
public void setAllowPingbacks(boolean allowPingbacks);
/**
* Returns the answer of this message-boards message.
*
* @return the answer of this message-boards message
*/
public boolean getAnswer();
/**
* Returns true
if this message-boards message is answer.
*
* @return true
if this message-boards message is answer; false
otherwise
*/
public boolean isAnswer();
/**
* Sets whether this message-boards message is answer.
*
* @param answer the answer of this message-boards message
*/
public void setAnswer(boolean answer);
/**
* Returns the last publish date of this message-boards message.
*
* @return the last publish date of this message-boards message
*/
@Override
public Date getLastPublishDate();
/**
* Sets the last publish date of this message-boards message.
*
* @param lastPublishDate the last publish date of this message-boards message
*/
@Override
public void setLastPublishDate(Date lastPublishDate);
/**
* Returns the status of this message-boards message.
*
* @return the status of this message-boards message
*/
@Override
public int getStatus();
/**
* Sets the status of this message-boards message.
*
* @param status the status of this message-boards message
*/
@Override
public void setStatus(int status);
/**
* Returns the status by user ID of this message-boards message.
*
* @return the status by user ID of this message-boards message
*/
@Override
public long getStatusByUserId();
/**
* Sets the status by user ID of this message-boards message.
*
* @param statusByUserId the status by user ID of this message-boards message
*/
@Override
public void setStatusByUserId(long statusByUserId);
/**
* Returns the status by user uuid of this message-boards message.
*
* @return the status by user uuid of this message-boards message
*/
@Override
public String getStatusByUserUuid();
/**
* Sets the status by user uuid of this message-boards message.
*
* @param statusByUserUuid the status by user uuid of this message-boards message
*/
@Override
public void setStatusByUserUuid(String statusByUserUuid);
/**
* Returns the status by user name of this message-boards message.
*
* @return the status by user name of this message-boards message
*/
@AutoEscape
@Override
public String getStatusByUserName();
/**
* Sets the status by user name of this message-boards message.
*
* @param statusByUserName the status by user name of this message-boards message
*/
@Override
public void setStatusByUserName(String statusByUserName);
/**
* Returns the status date of this message-boards message.
*
* @return the status date of this message-boards message
*/
@Override
public Date getStatusDate();
/**
* Sets the status date of this message-boards message.
*
* @param statusDate the status date of this message-boards message
*/
@Override
public void setStatusDate(Date statusDate);
/**
* Returns the trash entry created when this message-boards message was moved to the Recycle Bin. The trash entry may belong to one of the ancestors of this message-boards message.
*
* @return the trash entry created when this message-boards message 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 message.
*
* @return the class primary key of the trash entry for this message-boards message
*/
@Override
public long getTrashEntryClassPK();
/**
* Returns the trash handler for this message-boards message.
*
* @return the trash handler for this message-boards message
*/
@Override
public TrashHandler getTrashHandler();
/**
* Returns true
if this message-boards message is in the Recycle Bin.
*
* @return true
if this message-boards message is in the Recycle Bin; false
otherwise
*/
@Override
public boolean isInTrash();
/**
* Returns true
if the parent of this message-boards message is in the Recycle Bin.
*
* @return true
if the parent of this message-boards message 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 message is approved.
*
* @return true
if this message-boards message is approved; false
otherwise
*/
@Override
public boolean isApproved();
/**
* Returns true
if this message-boards message is denied.
*
* @return true
if this message-boards message is denied; false
otherwise
*/
@Override
public boolean isDenied();
/**
* Returns true
if this message-boards message is a draft.
*
* @return true
if this message-boards message is a draft; false
otherwise
*/
@Override
public boolean isDraft();
/**
* Returns true
if this message-boards message is expired.
*
* @return true
if this message-boards message is expired; false
otherwise
*/
@Override
public boolean isExpired();
/**
* Returns true
if this message-boards message is inactive.
*
* @return true
if this message-boards message is inactive; false
otherwise
*/
@Override
public boolean isInactive();
/**
* Returns true
if this message-boards message is incomplete.
*
* @return true
if this message-boards message is incomplete; false
otherwise
*/
@Override
public boolean isIncomplete();
/**
* Returns true
if this message-boards message is pending.
*
* @return true
if this message-boards message is pending; false
otherwise
*/
@Override
public boolean isPending();
/**
* Returns true
if this message-boards message is scheduled.
*
* @return true
if this message-boards message is scheduled; false
otherwise
*/
@Override
public boolean isScheduled();
@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.MBMessage mbMessage);
@Override
public int hashCode();
@Override
public CacheModel toCacheModel();
@Override
public com.liferay.message.boards.kernel.model.MBMessage toEscapedModel();
@Override
public com.liferay.message.boards.kernel.model.MBMessage toUnescapedModel();
@Override
public String toString();
@Override
public String toXmlString();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy