com.liferay.knowledge.base.model.KBFolderModel 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.knowledge.base.model;
import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.kernel.model.BaseModel;
import com.liferay.portal.kernel.model.ContainerModel;
import com.liferay.portal.kernel.model.ExternalReferenceCodeModel;
import com.liferay.portal.kernel.model.MVCCModel;
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.model.change.tracking.CTModel;
import java.util.Date;
import org.osgi.annotation.versioning.ProviderType;
/**
* The base model interface for the KBFolder service. Represents a row in the "KBFolder" database table, with each column mapped to a property of this class.
*
*
* This interface and its corresponding implementation com.liferay.knowledge.base.model.impl.KBFolderModelImpl
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.knowledge.base.model.impl.KBFolderImpl
.
*
*
* @author Brian Wing Shun Chan
* @see KBFolder
* @generated
*/
@ProviderType
public interface KBFolderModel
extends BaseModel, ContainerModel, CTModel,
ExternalReferenceCodeModel, MVCCModel, ShardedModel,
StagedGroupedModel, TrashedModel, WorkflowedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. All methods that expect a kb folder model instance should use the {@link KBFolder} interface instead.
*/
/**
* Returns the primary key of this kb folder.
*
* @return the primary key of this kb folder
*/
@Override
public long getPrimaryKey();
/**
* Sets the primary key of this kb folder.
*
* @param primaryKey the primary key of this kb folder
*/
@Override
public void setPrimaryKey(long primaryKey);
/**
* Returns the mvcc version of this kb folder.
*
* @return the mvcc version of this kb folder
*/
@Override
public long getMvccVersion();
/**
* Sets the mvcc version of this kb folder.
*
* @param mvccVersion the mvcc version of this kb folder
*/
@Override
public void setMvccVersion(long mvccVersion);
/**
* Returns the ct collection ID of this kb folder.
*
* @return the ct collection ID of this kb folder
*/
@Override
public long getCtCollectionId();
/**
* Sets the ct collection ID of this kb folder.
*
* @param ctCollectionId the ct collection ID of this kb folder
*/
@Override
public void setCtCollectionId(long ctCollectionId);
/**
* Returns the uuid of this kb folder.
*
* @return the uuid of this kb folder
*/
@AutoEscape
@Override
public String getUuid();
/**
* Sets the uuid of this kb folder.
*
* @param uuid the uuid of this kb folder
*/
@Override
public void setUuid(String uuid);
/**
* Returns the external reference code of this kb folder.
*
* @return the external reference code of this kb folder
*/
@AutoEscape
@Override
public String getExternalReferenceCode();
/**
* Sets the external reference code of this kb folder.
*
* @param externalReferenceCode the external reference code of this kb folder
*/
@Override
public void setExternalReferenceCode(String externalReferenceCode);
/**
* Returns the kb folder ID of this kb folder.
*
* @return the kb folder ID of this kb folder
*/
public long getKbFolderId();
/**
* Sets the kb folder ID of this kb folder.
*
* @param kbFolderId the kb folder ID of this kb folder
*/
public void setKbFolderId(long kbFolderId);
/**
* Returns the group ID of this kb folder.
*
* @return the group ID of this kb folder
*/
@Override
public long getGroupId();
/**
* Sets the group ID of this kb folder.
*
* @param groupId the group ID of this kb folder
*/
@Override
public void setGroupId(long groupId);
/**
* Returns the company ID of this kb folder.
*
* @return the company ID of this kb folder
*/
@Override
public long getCompanyId();
/**
* Sets the company ID of this kb folder.
*
* @param companyId the company ID of this kb folder
*/
@Override
public void setCompanyId(long companyId);
/**
* Returns the user ID of this kb folder.
*
* @return the user ID of this kb folder
*/
@Override
public long getUserId();
/**
* Sets the user ID of this kb folder.
*
* @param userId the user ID of this kb folder
*/
@Override
public void setUserId(long userId);
/**
* Returns the user uuid of this kb folder.
*
* @return the user uuid of this kb folder
*/
@Override
public String getUserUuid();
/**
* Sets the user uuid of this kb folder.
*
* @param userUuid the user uuid of this kb folder
*/
@Override
public void setUserUuid(String userUuid);
/**
* Returns the user name of this kb folder.
*
* @return the user name of this kb folder
*/
@AutoEscape
@Override
public String getUserName();
/**
* Sets the user name of this kb folder.
*
* @param userName the user name of this kb folder
*/
@Override
public void setUserName(String userName);
/**
* Returns the create date of this kb folder.
*
* @return the create date of this kb folder
*/
@Override
public Date getCreateDate();
/**
* Sets the create date of this kb folder.
*
* @param createDate the create date of this kb folder
*/
@Override
public void setCreateDate(Date createDate);
/**
* Returns the modified date of this kb folder.
*
* @return the modified date of this kb folder
*/
@Override
public Date getModifiedDate();
/**
* Sets the modified date of this kb folder.
*
* @param modifiedDate the modified date of this kb folder
*/
@Override
public void setModifiedDate(Date modifiedDate);
/**
* Returns the parent kb folder ID of this kb folder.
*
* @return the parent kb folder ID of this kb folder
*/
public long getParentKBFolderId();
/**
* Sets the parent kb folder ID of this kb folder.
*
* @param parentKBFolderId the parent kb folder ID of this kb folder
*/
public void setParentKBFolderId(long parentKBFolderId);
/**
* Returns the name of this kb folder.
*
* @return the name of this kb folder
*/
@AutoEscape
public String getName();
/**
* Sets the name of this kb folder.
*
* @param name the name of this kb folder
*/
public void setName(String name);
/**
* Returns the url title of this kb folder.
*
* @return the url title of this kb folder
*/
@AutoEscape
public String getUrlTitle();
/**
* Sets the url title of this kb folder.
*
* @param urlTitle the url title of this kb folder
*/
public void setUrlTitle(String urlTitle);
/**
* Returns the description of this kb folder.
*
* @return the description of this kb folder
*/
@AutoEscape
public String getDescription();
/**
* Sets the description of this kb folder.
*
* @param description the description of this kb folder
*/
public void setDescription(String description);
/**
* Returns the last publish date of this kb folder.
*
* @return the last publish date of this kb folder
*/
@Override
public Date getLastPublishDate();
/**
* Sets the last publish date of this kb folder.
*
* @param lastPublishDate the last publish date of this kb folder
*/
@Override
public void setLastPublishDate(Date lastPublishDate);
/**
* Returns the status of this kb folder.
*
* @return the status of this kb folder
*/
@Override
public int getStatus();
/**
* Sets the status of this kb folder.
*
* @param status the status of this kb folder
*/
@Override
public void setStatus(int status);
/**
* Returns the status by user ID of this kb folder.
*
* @return the status by user ID of this kb folder
*/
@Override
public long getStatusByUserId();
/**
* Sets the status by user ID of this kb folder.
*
* @param statusByUserId the status by user ID of this kb folder
*/
@Override
public void setStatusByUserId(long statusByUserId);
/**
* Returns the status by user uuid of this kb folder.
*
* @return the status by user uuid of this kb folder
*/
@Override
public String getStatusByUserUuid();
/**
* Sets the status by user uuid of this kb folder.
*
* @param statusByUserUuid the status by user uuid of this kb folder
*/
@Override
public void setStatusByUserUuid(String statusByUserUuid);
/**
* Returns the status by user name of this kb folder.
*
* @return the status by user name of this kb folder
*/
@AutoEscape
@Override
public String getStatusByUserName();
/**
* Sets the status by user name of this kb folder.
*
* @param statusByUserName the status by user name of this kb folder
*/
@Override
public void setStatusByUserName(String statusByUserName);
/**
* Returns the status date of this kb folder.
*
* @return the status date of this kb folder
*/
@Override
public Date getStatusDate();
/**
* Sets the status date of this kb folder.
*
* @param statusDate the status date of this kb folder
*/
@Override
public void setStatusDate(Date statusDate);
/**
* Returns the class primary key of the trash entry for this kb folder.
*
* @return the class primary key of the trash entry for this kb folder
*/
@Override
public long getTrashEntryClassPK();
/**
* Returns true
if this kb folder is in the Recycle Bin.
*
* @return true
if this kb folder is in the Recycle Bin; false
otherwise
*/
@Override
public boolean isInTrash();
/**
* Returns true
if this kb folder is approved.
*
* @return true
if this kb folder is approved; false
otherwise
*/
@Override
public boolean isApproved();
/**
* Returns true
if this kb folder is denied.
*
* @return true
if this kb folder is denied; false
otherwise
*/
@Override
public boolean isDenied();
/**
* Returns true
if this kb folder is a draft.
*
* @return true
if this kb folder is a draft; false
otherwise
*/
@Override
public boolean isDraft();
/**
* Returns true
if this kb folder is expired.
*
* @return true
if this kb folder is expired; false
otherwise
*/
@Override
public boolean isExpired();
/**
* Returns true
if this kb folder is inactive.
*
* @return true
if this kb folder is inactive; false
otherwise
*/
@Override
public boolean isInactive();
/**
* Returns true
if this kb folder is incomplete.
*
* @return true
if this kb folder is incomplete; false
otherwise
*/
@Override
public boolean isIncomplete();
/**
* Returns true
if this kb folder is pending.
*
* @return true
if this kb folder is pending; false
otherwise
*/
@Override
public boolean isPending();
/**
* Returns true
if this kb folder is scheduled.
*
* @return true
if this kb folder is scheduled; false
otherwise
*/
@Override
public boolean isScheduled();
/**
* Returns the container model ID of this kb folder.
*
* @return the container model ID of this kb folder
*/
@Override
public long getContainerModelId();
/**
* Sets the container model ID of this kb folder.
*
* @param containerModelId the container model ID of this kb folder
*/
@Override
public void setContainerModelId(long containerModelId);
/**
* Returns the container name of this kb folder.
*
* @return the container name of this kb folder
*/
@Override
public String getContainerModelName();
/**
* Returns the parent container model ID of this kb folder.
*
* @return the parent container model ID of this kb folder
*/
@Override
public long getParentContainerModelId();
/**
* Sets the parent container model ID of this kb folder.
*
* @param parentContainerModelId the parent container model ID of this kb folder
*/
@Override
public void setParentContainerModelId(long parentContainerModelId);
@Override
public KBFolder cloneWithOriginalValues();
public default String toXmlString() {
return null;
}
}