All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.journal.model.JournalArticleWrapper Maven / Gradle / Ivy

There is a newer version: 7.4.3.112-ga112
Show newest version
/**
 * 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.journal.model;

import aQute.bnd.annotation.ProviderType;

import com.liferay.expando.kernel.model.ExpandoBridge;
import com.liferay.exportimport.kernel.lar.StagedModelType;
import com.liferay.portal.kernel.model.ModelWrapper;
import com.liferay.portal.kernel.service.ServiceContext;

import java.io.Serializable;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;

/**
 * 

* This class is a wrapper for {@link JournalArticle}. *

* * @author Brian Wing Shun Chan * @see JournalArticle * @generated */ @ProviderType public class JournalArticleWrapper implements JournalArticle, ModelWrapper { public JournalArticleWrapper(JournalArticle journalArticle) { _journalArticle = journalArticle; } @Override public Class getModelClass() { return JournalArticle.class; } @Override public String getModelClassName() { return JournalArticle.class.getName(); } @Override public Map getModelAttributes() { Map attributes = new HashMap(); attributes.put("uuid", getUuid()); attributes.put("id", getId()); attributes.put("resourcePrimKey", getResourcePrimKey()); attributes.put("groupId", getGroupId()); attributes.put("companyId", getCompanyId()); attributes.put("userId", getUserId()); attributes.put("userName", getUserName()); attributes.put("createDate", getCreateDate()); attributes.put("modifiedDate", getModifiedDate()); attributes.put("folderId", getFolderId()); attributes.put("classNameId", getClassNameId()); attributes.put("classPK", getClassPK()); attributes.put("treePath", getTreePath()); attributes.put("articleId", getArticleId()); attributes.put("version", getVersion()); attributes.put("urlTitle", getUrlTitle()); attributes.put("content", getContent()); attributes.put("DDMStructureKey", getDDMStructureKey()); attributes.put("DDMTemplateKey", getDDMTemplateKey()); attributes.put("defaultLanguageId", getDefaultLanguageId()); attributes.put("layoutUuid", getLayoutUuid()); attributes.put("displayDate", getDisplayDate()); attributes.put("expirationDate", getExpirationDate()); attributes.put("reviewDate", getReviewDate()); attributes.put("indexable", isIndexable()); attributes.put("smallImage", isSmallImage()); attributes.put("smallImageId", getSmallImageId()); attributes.put("smallImageURL", getSmallImageURL()); attributes.put("lastPublishDate", getLastPublishDate()); attributes.put("status", getStatus()); attributes.put("statusByUserId", getStatusByUserId()); attributes.put("statusByUserName", getStatusByUserName()); attributes.put("statusDate", getStatusDate()); return attributes; } @Override public void setModelAttributes(Map attributes) { String uuid = (String)attributes.get("uuid"); if (uuid != null) { setUuid(uuid); } Long id = (Long)attributes.get("id"); if (id != null) { setId(id); } Long resourcePrimKey = (Long)attributes.get("resourcePrimKey"); if (resourcePrimKey != null) { setResourcePrimKey(resourcePrimKey); } Long groupId = (Long)attributes.get("groupId"); if (groupId != null) { setGroupId(groupId); } Long companyId = (Long)attributes.get("companyId"); if (companyId != null) { setCompanyId(companyId); } Long userId = (Long)attributes.get("userId"); if (userId != null) { setUserId(userId); } String userName = (String)attributes.get("userName"); if (userName != null) { setUserName(userName); } Date createDate = (Date)attributes.get("createDate"); if (createDate != null) { setCreateDate(createDate); } Date modifiedDate = (Date)attributes.get("modifiedDate"); if (modifiedDate != null) { setModifiedDate(modifiedDate); } Long folderId = (Long)attributes.get("folderId"); if (folderId != null) { setFolderId(folderId); } Long classNameId = (Long)attributes.get("classNameId"); if (classNameId != null) { setClassNameId(classNameId); } Long classPK = (Long)attributes.get("classPK"); if (classPK != null) { setClassPK(classPK); } String treePath = (String)attributes.get("treePath"); if (treePath != null) { setTreePath(treePath); } String articleId = (String)attributes.get("articleId"); if (articleId != null) { setArticleId(articleId); } Double version = (Double)attributes.get("version"); if (version != null) { setVersion(version); } String urlTitle = (String)attributes.get("urlTitle"); if (urlTitle != null) { setUrlTitle(urlTitle); } String content = (String)attributes.get("content"); if (content != null) { setContent(content); } String DDMStructureKey = (String)attributes.get("DDMStructureKey"); if (DDMStructureKey != null) { setDDMStructureKey(DDMStructureKey); } String DDMTemplateKey = (String)attributes.get("DDMTemplateKey"); if (DDMTemplateKey != null) { setDDMTemplateKey(DDMTemplateKey); } String defaultLanguageId = (String)attributes.get("defaultLanguageId"); if (defaultLanguageId != null) { setDefaultLanguageId(defaultLanguageId); } String layoutUuid = (String)attributes.get("layoutUuid"); if (layoutUuid != null) { setLayoutUuid(layoutUuid); } Date displayDate = (Date)attributes.get("displayDate"); if (displayDate != null) { setDisplayDate(displayDate); } Date expirationDate = (Date)attributes.get("expirationDate"); if (expirationDate != null) { setExpirationDate(expirationDate); } Date reviewDate = (Date)attributes.get("reviewDate"); if (reviewDate != null) { setReviewDate(reviewDate); } Boolean indexable = (Boolean)attributes.get("indexable"); if (indexable != null) { setIndexable(indexable); } Boolean smallImage = (Boolean)attributes.get("smallImage"); if (smallImage != null) { setSmallImage(smallImage); } Long smallImageId = (Long)attributes.get("smallImageId"); if (smallImageId != null) { setSmallImageId(smallImageId); } String smallImageURL = (String)attributes.get("smallImageURL"); if (smallImageURL != null) { setSmallImageURL(smallImageURL); } Date lastPublishDate = (Date)attributes.get("lastPublishDate"); if (lastPublishDate != null) { setLastPublishDate(lastPublishDate); } Integer status = (Integer)attributes.get("status"); if (status != null) { setStatus(status); } Long statusByUserId = (Long)attributes.get("statusByUserId"); if (statusByUserId != null) { setStatusByUserId(statusByUserId); } String statusByUserName = (String)attributes.get("statusByUserName"); if (statusByUserName != null) { setStatusByUserName(statusByUserName); } Date statusDate = (Date)attributes.get("statusDate"); if (statusDate != null) { setStatusDate(statusDate); } } @Override public com.liferay.portal.kernel.repository.model.Folder addImagesFolder() throws com.liferay.portal.kernel.exception.PortalException { return _journalArticle.addImagesFolder(); } @Override public String buildTreePath() throws com.liferay.portal.kernel.exception.PortalException { return _journalArticle.buildTreePath(); } @Override public Object clone() { return new JournalArticleWrapper( (JournalArticle)_journalArticle.clone()); } @Override public int compareTo(JournalArticle journalArticle) { return _journalArticle.compareTo(journalArticle); } /** * Returns the article ID of this journal article. * * @return the article ID of this journal article */ @Override public String getArticleId() { return _journalArticle.getArticleId(); } @Override public String getArticleImageURL( com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) { return _journalArticle.getArticleImageURL(themeDisplay); } @Override public JournalArticleResource getArticleResource() throws com.liferay.portal.kernel.exception.PortalException { return _journalArticle.getArticleResource(); } @Override public String getArticleResourceUuid() throws com.liferay.portal.kernel.exception.PortalException { return _journalArticle.getArticleResourceUuid(); } @Override public String[] getAvailableLanguageIds() { return _journalArticle.getAvailableLanguageIds(); } /** * Returns the fully qualified class name of this journal article. * * @return the fully qualified class name of this journal article */ @Override public String getClassName() { return _journalArticle.getClassName(); } /** * Returns the class name ID of this journal article. * * @return the class name ID of this journal article */ @Override public long getClassNameId() { return _journalArticle.getClassNameId(); } /** * Returns the class pk of this journal article. * * @return the class pk of this journal article */ @Override public long getClassPK() { return _journalArticle.getClassPK(); } /** * Returns the company ID of this journal article. * * @return the company ID of this journal article */ @Override public long getCompanyId() { return _journalArticle.getCompanyId(); } /** * Returns the content of this journal article. * * @return the content of this journal article */ @Override public String getContent() { return _journalArticle.getContent(); } @Override public String getContentByLocale(String languageId) { return _journalArticle.getContentByLocale(languageId); } /** * Returns the create date of this journal article. * * @return the create date of this journal article */ @Override public Date getCreateDate() { return _journalArticle.getCreateDate(); } @Override public com.liferay.dynamic.data.mapping.model.DDMStructure getDDMStructure() { return _journalArticle.getDDMStructure(); } /** * Returns the ddm structure key of this journal article. * * @return the ddm structure key of this journal article */ @Override public String getDDMStructureKey() { return _journalArticle.getDDMStructureKey(); } @Override public com.liferay.dynamic.data.mapping.model.DDMTemplate getDDMTemplate() { return _journalArticle.getDDMTemplate(); } /** * Returns the ddm template key of this journal article. * * @return the ddm template key of this journal article */ @Override public String getDDMTemplateKey() { return _journalArticle.getDDMTemplateKey(); } /** * Returns the default language ID of this journal article. * * @return the default language ID of this journal article */ @Override public String getDefaultLanguageId() { return _journalArticle.getDefaultLanguageId(); } @Override public String getDescription() { return _journalArticle.getDescription(); } @Override public String getDescription(java.util.Locale locale) { return _journalArticle.getDescription(locale); } @Override public String getDescription(java.util.Locale locale, boolean useDefault) { return _journalArticle.getDescription(locale, useDefault); } @Override public String getDescription(String languageId) { return _journalArticle.getDescription(languageId); } @Override public String getDescription(String languageId, boolean useDefault) { return _journalArticle.getDescription(languageId, useDefault); } @Override public Map getDescriptionMap() { return _journalArticle.getDescriptionMap(); } @Override public String getDescriptionMapAsXML() { return _journalArticle.getDescriptionMapAsXML(); } /** * Returns the display date of this journal article. * * @return the display date of this journal article */ @Override public Date getDisplayDate() { return _journalArticle.getDisplayDate(); } @Override public com.liferay.portal.kernel.xml.Document getDocument() { return _journalArticle.getDocument(); } @Override public ExpandoBridge getExpandoBridge() { return _journalArticle.getExpandoBridge(); } /** * Returns the expiration date of this journal article. * * @return the expiration date of this journal article */ @Override public Date getExpirationDate() { return _journalArticle.getExpirationDate(); } @Override public JournalFolder getFolder() throws com.liferay.portal.kernel.exception.PortalException { return _journalArticle.getFolder(); } /** * Returns the folder ID of this journal article. * * @return the folder ID of this journal article */ @Override public long getFolderId() { return _journalArticle.getFolderId(); } @Override public Map getFriendlyURLMap() throws com.liferay.portal.kernel.exception.PortalException { return _journalArticle.getFriendlyURLMap(); } @Override public String getFriendlyURLsXML() throws com.liferay.portal.kernel.exception.PortalException { return _journalArticle.getFriendlyURLsXML(); } /** * Returns the group ID of this journal article. * * @return the group ID of this journal article */ @Override public long getGroupId() { return _journalArticle.getGroupId(); } /** * Returns the ID of this journal article. * * @return the ID of this journal article */ @Override public long getId() { return _journalArticle.getId(); } @Override public java.util.List getImagesFileEntries() throws com.liferay.portal.kernel.exception.PortalException { return _journalArticle.getImagesFileEntries(); } @Override public java.util.List getImagesFileEntries(int start, int end) throws com.liferay.portal.kernel.exception.PortalException { return _journalArticle.getImagesFileEntries(start, end); } @Override public java.util.List getImagesFileEntries( int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.kernel.exception.PortalException { return _journalArticle.getImagesFileEntries(start, end, obc); } @Override public int getImagesFileEntriesCount() throws com.liferay.portal.kernel.exception.PortalException { return _journalArticle.getImagesFileEntriesCount(); } @Override public long getImagesFolderId() { return _journalArticle.getImagesFolderId(); } /** * Returns the indexable of this journal article. * * @return the indexable of this journal article */ @Override public boolean getIndexable() { return _journalArticle.getIndexable(); } /** * Returns the last publish date of this journal article. * * @return the last publish date of this journal article */ @Override public Date getLastPublishDate() { return _journalArticle.getLastPublishDate(); } @Override public com.liferay.portal.kernel.model.Layout getLayout() { return _journalArticle.getLayout(); } /** * Returns the layout uuid of this journal article. * * @return the layout uuid of this journal article */ @Override public String getLayoutUuid() { return _journalArticle.getLayoutUuid(); } /** * @deprecated As of Judson (7.1.x) */ @Deprecated @Override public String getLegacyDescription() { return _journalArticle.getLegacyDescription(); } /** * @deprecated As of Judson (7.1.x) */ @Deprecated @Override public String getLegacyTitle() { return _journalArticle.getLegacyTitle(); } /** * Returns the modified date of this journal article. * * @return the modified date of this journal article */ @Override public Date getModifiedDate() { return _journalArticle.getModifiedDate(); } /** * Returns the primary key of this journal article. * * @return the primary key of this journal article */ @Override public long getPrimaryKey() { return _journalArticle.getPrimaryKey(); } @Override public Serializable getPrimaryKeyObj() { return _journalArticle.getPrimaryKeyObj(); } /** * Returns the resource prim key of this journal article. * * @return the resource prim key of this journal article */ @Override public long getResourcePrimKey() { return _journalArticle.getResourcePrimKey(); } /** * Returns the review date of this journal article. * * @return the review date of this journal article */ @Override public Date getReviewDate() { return _journalArticle.getReviewDate(); } /** * Returns the small image of this journal article. * * @return the small image of this journal article */ @Override public boolean getSmallImage() { return _journalArticle.getSmallImage(); } /** * Returns the small image ID of this journal article. * * @return the small image ID of this journal article */ @Override public long getSmallImageId() { return _journalArticle.getSmallImageId(); } @Override public String getSmallImageType() throws com.liferay.portal.kernel.exception.PortalException { return _journalArticle.getSmallImageType(); } /** * Returns the small image url of this journal article. * * @return the small image url of this journal article */ @Override public String getSmallImageURL() { return _journalArticle.getSmallImageURL(); } /** * Returns the status of this journal article. * * @return the status of this journal article */ @Override public int getStatus() { return _journalArticle.getStatus(); } /** * Returns the status by user ID of this journal article. * * @return the status by user ID of this journal article */ @Override public long getStatusByUserId() { return _journalArticle.getStatusByUserId(); } /** * Returns the status by user name of this journal article. * * @return the status by user name of this journal article */ @Override public String getStatusByUserName() { return _journalArticle.getStatusByUserName(); } /** * Returns the status by user uuid of this journal article. * * @return the status by user uuid of this journal article */ @Override public String getStatusByUserUuid() { return _journalArticle.getStatusByUserUuid(); } /** * Returns the status date of this journal article. * * @return the status date of this journal article */ @Override public Date getStatusDate() { return _journalArticle.getStatusDate(); } /** * @deprecated As of Wilberforce (7.0.x), replaced by {@link #getDDMStructureKey()} */ @Deprecated @Override public String getStructureId() { return _journalArticle.getStructureId(); } /** * @deprecated As of Wilberforce (7.0.x), replaced by {@link #getDDMTemplateKey()} */ @Deprecated @Override public String getTemplateId() { return _journalArticle.getTemplateId(); } @Override public String getTitle() { return _journalArticle.getTitle(); } @Override public String getTitle(java.util.Locale locale) { return _journalArticle.getTitle(locale); } @Override public String getTitle(java.util.Locale locale, boolean useDefault) { return _journalArticle.getTitle(locale, useDefault); } @Override public String getTitle(String languageId) { return _journalArticle.getTitle(languageId); } @Override public String getTitle(String languageId, boolean useDefault) { return _journalArticle.getTitle(languageId, useDefault); } @Override public String getTitleCurrentValue() { return _journalArticle.getTitleCurrentValue(); } @Override public Map getTitleMap() { return _journalArticle.getTitleMap(); } @Override public String getTitleMapAsXML() { return _journalArticle.getTitleMapAsXML(); } /** * Returns the trash entry created when this journal article was moved to the Recycle Bin. The trash entry may belong to one of the ancestors of this journal article. * * @return the trash entry created when this journal article was moved to the Recycle Bin */ @Override public com.liferay.trash.kernel.model.TrashEntry getTrashEntry() throws com.liferay.portal.kernel.exception.PortalException { return _journalArticle.getTrashEntry(); } /** * Returns the class primary key of the trash entry for this journal article. * * @return the class primary key of the trash entry for this journal article */ @Override public long getTrashEntryClassPK() { return _journalArticle.getTrashEntryClassPK(); } /** * Returns the trash handler for this journal article. * * @return the trash handler for this journal article * @deprecated As of Judson (7.1.x), with no direct replacement */ @Deprecated @Override public com.liferay.portal.kernel.trash.TrashHandler getTrashHandler() { return _journalArticle.getTrashHandler(); } /** * Returns the tree path of this journal article. * * @return the tree path of this journal article */ @Override public String getTreePath() { return _journalArticle.getTreePath(); } /** * Returns the url title of this journal article. * * @return the url title of this journal article */ @Override public String getUrlTitle() { return _journalArticle.getUrlTitle(); } @Override public String getUrlTitle(java.util.Locale locale) throws com.liferay.portal.kernel.exception.PortalException { return _journalArticle.getUrlTitle(locale); } /** * Returns the user ID of this journal article. * * @return the user ID of this journal article */ @Override public long getUserId() { return _journalArticle.getUserId(); } /** * Returns the user name of this journal article. * * @return the user name of this journal article */ @Override public String getUserName() { return _journalArticle.getUserName(); } /** * Returns the user uuid of this journal article. * * @return the user uuid of this journal article */ @Override public String getUserUuid() { return _journalArticle.getUserUuid(); } /** * Returns the uuid of this journal article. * * @return the uuid of this journal article */ @Override public String getUuid() { return _journalArticle.getUuid(); } /** * Returns the version of this journal article. * * @return the version of this journal article */ @Override public double getVersion() { return _journalArticle.getVersion(); } @Override public boolean hasApprovedVersion() { return _journalArticle.hasApprovedVersion(); } @Override public int hashCode() { return _journalArticle.hashCode(); } /** * Returns true if this journal article is approved. * * @return true if this journal article is approved; false otherwise */ @Override public boolean isApproved() { return _journalArticle.isApproved(); } @Override public boolean isCachedModel() { return _journalArticle.isCachedModel(); } /** * Returns true if this journal article is denied. * * @return true if this journal article is denied; false otherwise */ @Override public boolean isDenied() { return _journalArticle.isDenied(); } /** * Returns true if this journal article is a draft. * * @return true if this journal article is a draft; false otherwise */ @Override public boolean isDraft() { return _journalArticle.isDraft(); } @Override public boolean isEscapedModel() { return _journalArticle.isEscapedModel(); } /** * Returns true if this journal article is expired. * * @return true if this journal article is expired; false otherwise */ @Override public boolean isExpired() { return _journalArticle.isExpired(); } /** * Returns true if this journal article is inactive. * * @return true if this journal article is inactive; false otherwise */ @Override public boolean isInactive() { return _journalArticle.isInactive(); } /** * Returns true if this journal article is incomplete. * * @return true if this journal article is incomplete; false otherwise */ @Override public boolean isIncomplete() { return _journalArticle.isIncomplete(); } /** * Returns true if this journal article is indexable. * * @return true if this journal article is indexable; false otherwise */ @Override public boolean isIndexable() { return _journalArticle.isIndexable(); } /** * Returns true if this journal article is in the Recycle Bin. * * @return true if this journal article is in the Recycle Bin; false otherwise */ @Override public boolean isInTrash() { return _journalArticle.isInTrash(); } /** * Returns true if the parent of this journal article is in the Recycle Bin. * * @return true if the parent of this journal article is in the Recycle Bin; false otherwise */ @Override public boolean isInTrashContainer() { return _journalArticle.isInTrashContainer(); } @Override public boolean isInTrashExplicitly() { return _journalArticle.isInTrashExplicitly(); } @Override public boolean isInTrashImplicitly() { return _journalArticle.isInTrashImplicitly(); } @Override public boolean isNew() { return _journalArticle.isNew(); } /** * Returns true if this journal article is pending. * * @return true if this journal article is pending; false otherwise */ @Override public boolean isPending() { return _journalArticle.isPending(); } @Override public boolean isResourceMain() { return _journalArticle.isResourceMain(); } /** * Returns true if this journal article is scheduled. * * @return true if this journal article is scheduled; false otherwise */ @Override public boolean isScheduled() { return _journalArticle.isScheduled(); } /** * Returns true if this journal article is small image. * * @return true if this journal article is small image; false otherwise */ @Override public boolean isSmallImage() { return _journalArticle.isSmallImage(); } /** * @deprecated As of Wilberforce (7.0.x), with no direct replacement */ @Deprecated @Override public boolean isTemplateDriven() { return _journalArticle.isTemplateDriven(); } @Override public void persist() { _journalArticle.persist(); } /** * Sets the article ID of this journal article. * * @param articleId the article ID of this journal article */ @Override public void setArticleId(String articleId) { _journalArticle.setArticleId(articleId); } @Override public void setCachedModel(boolean cachedModel) { _journalArticle.setCachedModel(cachedModel); } @Override public void setClassName(String className) { _journalArticle.setClassName(className); } /** * Sets the class name ID of this journal article. * * @param classNameId the class name ID of this journal article */ @Override public void setClassNameId(long classNameId) { _journalArticle.setClassNameId(classNameId); } /** * Sets the class pk of this journal article. * * @param classPK the class pk of this journal article */ @Override public void setClassPK(long classPK) { _journalArticle.setClassPK(classPK); } /** * Sets the company ID of this journal article. * * @param companyId the company ID of this journal article */ @Override public void setCompanyId(long companyId) { _journalArticle.setCompanyId(companyId); } /** * Sets the content of this journal article. * * @param content the content of this journal article */ @Override public void setContent(String content) { _journalArticle.setContent(content); } /** * Sets the create date of this journal article. * * @param createDate the create date of this journal article */ @Override public void setCreateDate(Date createDate) { _journalArticle.setCreateDate(createDate); } /** * Sets the ddm structure key of this journal article. * * @param DDMStructureKey the ddm structure key of this journal article */ @Override public void setDDMStructureKey(String DDMStructureKey) { _journalArticle.setDDMStructureKey(DDMStructureKey); } /** * Sets the ddm template key of this journal article. * * @param DDMTemplateKey the ddm template key of this journal article */ @Override public void setDDMTemplateKey(String DDMTemplateKey) { _journalArticle.setDDMTemplateKey(DDMTemplateKey); } /** * Sets the default language ID of this journal article. * * @param defaultLanguageId the default language ID of this journal article */ @Override public void setDefaultLanguageId(String defaultLanguageId) { _journalArticle.setDefaultLanguageId(defaultLanguageId); } /** * @deprecated As of Judson (7.1.x) */ @Deprecated @Override public void setDescription(String description) { _journalArticle.setDescription(description); } @Override public void setDescriptionMap( Map descriptionMap) { _journalArticle.setDescriptionMap(descriptionMap); } /** * Sets the display date of this journal article. * * @param displayDate the display date of this journal article */ @Override public void setDisplayDate(Date displayDate) { _journalArticle.setDisplayDate(displayDate); } @Override public void setDocument(com.liferay.portal.kernel.xml.Document document) { _journalArticle.setDocument(document); } @Override public void setExpandoBridgeAttributes( com.liferay.portal.kernel.model.BaseModel baseModel) { _journalArticle.setExpandoBridgeAttributes(baseModel); } @Override public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge) { _journalArticle.setExpandoBridgeAttributes(expandoBridge); } @Override public void setExpandoBridgeAttributes(ServiceContext serviceContext) { _journalArticle.setExpandoBridgeAttributes(serviceContext); } /** * Sets the expiration date of this journal article. * * @param expirationDate the expiration date of this journal article */ @Override public void setExpirationDate(Date expirationDate) { _journalArticle.setExpirationDate(expirationDate); } /** * Sets the folder ID of this journal article. * * @param folderId the folder ID of this journal article */ @Override public void setFolderId(long folderId) { _journalArticle.setFolderId(folderId); } /** * Sets the group ID of this journal article. * * @param groupId the group ID of this journal article */ @Override public void setGroupId(long groupId) { _journalArticle.setGroupId(groupId); } /** * Sets the ID of this journal article. * * @param id the ID of this journal article */ @Override public void setId(long id) { _journalArticle.setId(id); } @Override public void setImagesFolderId(long imagesFolderId) { _journalArticle.setImagesFolderId(imagesFolderId); } /** * Sets whether this journal article is indexable. * * @param indexable the indexable of this journal article */ @Override public void setIndexable(boolean indexable) { _journalArticle.setIndexable(indexable); } /** * Sets the last publish date of this journal article. * * @param lastPublishDate the last publish date of this journal article */ @Override public void setLastPublishDate(Date lastPublishDate) { _journalArticle.setLastPublishDate(lastPublishDate); } /** * Sets the layout uuid of this journal article. * * @param layoutUuid the layout uuid of this journal article */ @Override public void setLayoutUuid(String layoutUuid) { _journalArticle.setLayoutUuid(layoutUuid); } /** * Sets the modified date of this journal article. * * @param modifiedDate the modified date of this journal article */ @Override public void setModifiedDate(Date modifiedDate) { _journalArticle.setModifiedDate(modifiedDate); } @Override public void setNew(boolean n) { _journalArticle.setNew(n); } /** * Sets the primary key of this journal article. * * @param primaryKey the primary key of this journal article */ @Override public void setPrimaryKey(long primaryKey) { _journalArticle.setPrimaryKey(primaryKey); } @Override public void setPrimaryKeyObj(Serializable primaryKeyObj) { _journalArticle.setPrimaryKeyObj(primaryKeyObj); } /** * Sets the resource prim key of this journal article. * * @param resourcePrimKey the resource prim key of this journal article */ @Override public void setResourcePrimKey(long resourcePrimKey) { _journalArticle.setResourcePrimKey(resourcePrimKey); } /** * Sets the review date of this journal article. * * @param reviewDate the review date of this journal article */ @Override public void setReviewDate(Date reviewDate) { _journalArticle.setReviewDate(reviewDate); } /** * Sets whether this journal article is small image. * * @param smallImage the small image of this journal article */ @Override public void setSmallImage(boolean smallImage) { _journalArticle.setSmallImage(smallImage); } /** * Sets the small image ID of this journal article. * * @param smallImageId the small image ID of this journal article */ @Override public void setSmallImageId(long smallImageId) { _journalArticle.setSmallImageId(smallImageId); } @Override public void setSmallImageType(String smallImageType) { _journalArticle.setSmallImageType(smallImageType); } /** * Sets the small image url of this journal article. * * @param smallImageURL the small image url of this journal article */ @Override public void setSmallImageURL(String smallImageURL) { _journalArticle.setSmallImageURL(smallImageURL); } /** * Sets the status of this journal article. * * @param status the status of this journal article */ @Override public void setStatus(int status) { _journalArticle.setStatus(status); } /** * Sets the status by user ID of this journal article. * * @param statusByUserId the status by user ID of this journal article */ @Override public void setStatusByUserId(long statusByUserId) { _journalArticle.setStatusByUserId(statusByUserId); } /** * Sets the status by user name of this journal article. * * @param statusByUserName the status by user name of this journal article */ @Override public void setStatusByUserName(String statusByUserName) { _journalArticle.setStatusByUserName(statusByUserName); } /** * Sets the status by user uuid of this journal article. * * @param statusByUserUuid the status by user uuid of this journal article */ @Override public void setStatusByUserUuid(String statusByUserUuid) { _journalArticle.setStatusByUserUuid(statusByUserUuid); } /** * Sets the status date of this journal article. * * @param statusDate the status date of this journal article */ @Override public void setStatusDate(Date statusDate) { _journalArticle.setStatusDate(statusDate); } /** * @deprecated As of Wilberforce (7.0.x), replaced by {@link #setDDMStructureKey(String)} */ @Deprecated @Override public void setStructureId(String ddmStructureKey) { _journalArticle.setStructureId(ddmStructureKey); } /** * @deprecated As of Wilberforce (7.0.x), replaced by {@link #setDDMTemplateKey(String)} */ @Deprecated @Override public void setTemplateId(String ddmTemplateKey) { _journalArticle.setTemplateId(ddmTemplateKey); } /** * @deprecated As of Judson (7.1.x) */ @Deprecated @Override public void setTitle(String title) { _journalArticle.setTitle(title); } @Override public void setTitleMap(Map titleMap) { _journalArticle.setTitleMap(titleMap); } /** * Sets the tree path of this journal article. * * @param treePath the tree path of this journal article */ @Override public void setTreePath(String treePath) { _journalArticle.setTreePath(treePath); } /** * Sets the url title of this journal article. * * @param urlTitle the url title of this journal article */ @Override public void setUrlTitle(String urlTitle) { _journalArticle.setUrlTitle(urlTitle); } /** * Sets the user ID of this journal article. * * @param userId the user ID of this journal article */ @Override public void setUserId(long userId) { _journalArticle.setUserId(userId); } /** * Sets the user name of this journal article. * * @param userName the user name of this journal article */ @Override public void setUserName(String userName) { _journalArticle.setUserName(userName); } /** * Sets the user uuid of this journal article. * * @param userUuid the user uuid of this journal article */ @Override public void setUserUuid(String userUuid) { _journalArticle.setUserUuid(userUuid); } /** * Sets the uuid of this journal article. * * @param uuid the uuid of this journal article */ @Override public void setUuid(String uuid) { _journalArticle.setUuid(uuid); } /** * Sets the version of this journal article. * * @param version the version of this journal article */ @Override public void setVersion(double version) { _journalArticle.setVersion(version); } @Override public com.liferay.portal.kernel.model.CacheModel toCacheModel() { return _journalArticle.toCacheModel(); } @Override public JournalArticle toEscapedModel() { return new JournalArticleWrapper(_journalArticle.toEscapedModel()); } @Override public String toString() { return _journalArticle.toString(); } @Override public JournalArticle toUnescapedModel() { return new JournalArticleWrapper(_journalArticle.toUnescapedModel()); } @Override public String toXmlString() { return _journalArticle.toXmlString(); } @Override public void updateTreePath(String treePath) { _journalArticle.updateTreePath(treePath); } @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof JournalArticleWrapper)) { return false; } JournalArticleWrapper journalArticleWrapper = (JournalArticleWrapper)obj; if (Objects.equals( _journalArticle, journalArticleWrapper._journalArticle)) { return true; } return false; } @Override public StagedModelType getStagedModelType() { return _journalArticle.getStagedModelType(); } @Override public JournalArticle getWrappedModel() { return _journalArticle; } @Override public boolean isEntityCacheEnabled() { return _journalArticle.isEntityCacheEnabled(); } @Override public boolean isFinderCacheEnabled() { return _journalArticle.isFinderCacheEnabled(); } @Override public void resetOriginalValues() { _journalArticle.resetOriginalValues(); } private final JournalArticle _journalArticle; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy