Package com.liferay.knowledge.base.model
Interface KBArticle
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<KBArticle>
,com.liferay.portal.kernel.model.ClassedModel
,Cloneable
,Comparable<KBArticle>
,com.liferay.portal.kernel.model.change.tracking.CTModel<KBArticle>
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.GroupedModel
,KBArticleModel
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ResourcedModel
,Serializable
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedGroupedModel
,com.liferay.portal.kernel.model.StagedModel
,com.liferay.portal.kernel.model.TrashedModel
,com.liferay.portal.kernel.model.WorkflowedModel
- All Known Implementing Classes:
KBArticleWrapper
@ProviderType
public interface KBArticle
extends KBArticleModel, com.liferay.portal.kernel.model.PersistedModel
The extended model interface for the KBArticle service. Represents a row in the "KBArticle" database table, with each column mapped to a property of this class.
- See Also:
- Generated:
-
Field Summary
FieldsModifier and TypeFieldDescription -
Method Summary
Modifier and TypeMethodDescriptionList<com.liferay.portal.kernel.repository.model.FileEntry>
com.liferay.portal.kernel.repository.model.FileEntry
getAttachmentsFileEntryByExternalReferenceCode
(String externalReferenceCode) long
long
long
getParentTitle
(Locale locale, int status) long
boolean
boolean
boolean
isRoot()
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.knowledge.base.model.KBArticleModel
cloneWithOriginalValues, getCompanyId, getContent, getCreateDate, getCtCollectionId, getDescription, getDisplayDate, getExpirationDate, getExternalReferenceCode, getGroupId, getKbArticleId, getKbFolderId, getLastPublishDate, getLatest, getMain, getModifiedDate, getMvccVersion, getParentResourceClassNameId, getParentResourcePrimKey, getPrimaryKey, getPriority, getResourcePrimKey, getReviewDate, getRootResourcePrimKey, getSections, getSourceURL, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getTitle, getTrashEntryClassPK, getUrlTitle, getUserId, getUserName, getUserUuid, getUuid, getVersion, isApproved, isDenied, isDraft, isExpired, isInactive, isIncomplete, isInTrash, isLatest, isMain, isPending, isResourceMain, isScheduled, setCompanyId, setContent, setCreateDate, setCtCollectionId, setDescription, setDisplayDate, setExpirationDate, setExternalReferenceCode, setGroupId, setKbArticleId, setKbFolderId, setLastPublishDate, setLatest, setMain, setModifiedDate, setMvccVersion, setParentResourceClassNameId, setParentResourcePrimKey, setPrimaryKey, setPriority, setResourcePrimKey, setReviewDate, setRootResourcePrimKey, setSections, setSourceURL, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setTitle, setUrlTitle, setUserId, setUserName, setUserUuid, setUuid, setVersion, toXmlString
Methods inherited from interface com.liferay.portal.kernel.model.PersistedModel
persist
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
-
Field Details
-
KB_ARTICLE_ID_ACCESSOR
-
-
Method Details
-
buildTreePath
- Throws:
com.liferay.portal.kernel.exception.PortalException
- See Also:
-
com.liferay.portal.model.impl.OrganizationBaseImpl#buildTreePath()
-
getAncestorKBArticles
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAncestorResourcePrimaryKeys
List<Long> getAncestorResourcePrimaryKeys() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentsFileEntries
List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentsFileEntryByExternalReferenceCode
com.liferay.portal.kernel.repository.model.FileEntry getAttachmentsFileEntryByExternalReferenceCode(String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentsFolderId
long getAttachmentsFolderId() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getClassNameId
long getClassNameId() -
getClassPK
long getClassPK() -
getParentKBArticle
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getParentTitle
String getParentTitle(Locale locale, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getViewCount
long getViewCount() -
hasParentKBArticle
boolean hasParentKBArticle() -
isFirstVersion
boolean isFirstVersion() -
isRoot
boolean isRoot()
-