/modules/apps/web-experience/journal/journal-api/src/main/java/com/liferay/journal/model/JournalArticleSoap.java
http://github.com/liferay/liferay-portal · Java · 427 lines · 318 code · 89 blank · 20 comment · 5 complexity · f43516fc393874352fc0fd47ff2b971d MD5 · raw file
- /**
- * 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 java.io.Serializable;
- import java.util.ArrayList;
- import java.util.Date;
- import java.util.List;
- /**
- * This class is used by SOAP remote services, specifically {@link com.liferay.journal.service.http.JournalArticleServiceSoap}.
- *
- * @author Brian Wing Shun Chan
- * @see com.liferay.journal.service.http.JournalArticleServiceSoap
- * @generated
- */
- @ProviderType
- public class JournalArticleSoap implements Serializable {
- public static JournalArticleSoap toSoapModel(JournalArticle model) {
- JournalArticleSoap soapModel = new JournalArticleSoap();
- soapModel.setUuid(model.getUuid());
- soapModel.setId(model.getId());
- soapModel.setResourcePrimKey(model.getResourcePrimKey());
- soapModel.setGroupId(model.getGroupId());
- soapModel.setCompanyId(model.getCompanyId());
- soapModel.setUserId(model.getUserId());
- soapModel.setUserName(model.getUserName());
- soapModel.setCreateDate(model.getCreateDate());
- soapModel.setModifiedDate(model.getModifiedDate());
- soapModel.setFolderId(model.getFolderId());
- soapModel.setClassNameId(model.getClassNameId());
- soapModel.setClassPK(model.getClassPK());
- soapModel.setTreePath(model.getTreePath());
- soapModel.setArticleId(model.getArticleId());
- soapModel.setVersion(model.getVersion());
- soapModel.setUrlTitle(model.getUrlTitle());
- soapModel.setContent(model.getContent());
- soapModel.setDDMStructureKey(model.getDDMStructureKey());
- soapModel.setDDMTemplateKey(model.getDDMTemplateKey());
- soapModel.setDefaultLanguageId(model.getDefaultLanguageId());
- soapModel.setLayoutUuid(model.getLayoutUuid());
- soapModel.setDisplayDate(model.getDisplayDate());
- soapModel.setExpirationDate(model.getExpirationDate());
- soapModel.setReviewDate(model.getReviewDate());
- soapModel.setIndexable(model.getIndexable());
- soapModel.setSmallImage(model.getSmallImage());
- soapModel.setSmallImageId(model.getSmallImageId());
- soapModel.setSmallImageURL(model.getSmallImageURL());
- soapModel.setLastPublishDate(model.getLastPublishDate());
- soapModel.setStatus(model.getStatus());
- soapModel.setStatusByUserId(model.getStatusByUserId());
- soapModel.setStatusByUserName(model.getStatusByUserName());
- soapModel.setStatusDate(model.getStatusDate());
- return soapModel;
- }
- public static JournalArticleSoap[] toSoapModels(JournalArticle[] models) {
- JournalArticleSoap[] soapModels = new JournalArticleSoap[models.length];
- for (int i = 0; i < models.length; i++) {
- soapModels[i] = toSoapModel(models[i]);
- }
- return soapModels;
- }
- public static JournalArticleSoap[][] toSoapModels(JournalArticle[][] models) {
- JournalArticleSoap[][] soapModels = null;
- if (models.length > 0) {
- soapModels = new JournalArticleSoap[models.length][models[0].length];
- }
- else {
- soapModels = new JournalArticleSoap[0][0];
- }
- for (int i = 0; i < models.length; i++) {
- soapModels[i] = toSoapModels(models[i]);
- }
- return soapModels;
- }
- public static JournalArticleSoap[] toSoapModels(List<JournalArticle> models) {
- List<JournalArticleSoap> soapModels = new ArrayList<JournalArticleSoap>(models.size());
- for (JournalArticle model : models) {
- soapModels.add(toSoapModel(model));
- }
- return soapModels.toArray(new JournalArticleSoap[soapModels.size()]);
- }
- public JournalArticleSoap() {
- }
- public long getPrimaryKey() {
- return _id;
- }
- public void setPrimaryKey(long pk) {
- setId(pk);
- }
- public String getUuid() {
- return _uuid;
- }
- public void setUuid(String uuid) {
- _uuid = uuid;
- }
- public long getId() {
- return _id;
- }
- public void setId(long id) {
- _id = id;
- }
- public long getResourcePrimKey() {
- return _resourcePrimKey;
- }
- public void setResourcePrimKey(long resourcePrimKey) {
- _resourcePrimKey = resourcePrimKey;
- }
- public long getGroupId() {
- return _groupId;
- }
- public void setGroupId(long groupId) {
- _groupId = groupId;
- }
- public long getCompanyId() {
- return _companyId;
- }
- public void setCompanyId(long companyId) {
- _companyId = companyId;
- }
- public long getUserId() {
- return _userId;
- }
- public void setUserId(long userId) {
- _userId = userId;
- }
- public String getUserName() {
- return _userName;
- }
- public void setUserName(String userName) {
- _userName = userName;
- }
- public Date getCreateDate() {
- return _createDate;
- }
- public void setCreateDate(Date createDate) {
- _createDate = createDate;
- }
- public Date getModifiedDate() {
- return _modifiedDate;
- }
- public void setModifiedDate(Date modifiedDate) {
- _modifiedDate = modifiedDate;
- }
- public long getFolderId() {
- return _folderId;
- }
- public void setFolderId(long folderId) {
- _folderId = folderId;
- }
- public long getClassNameId() {
- return _classNameId;
- }
- public void setClassNameId(long classNameId) {
- _classNameId = classNameId;
- }
- public long getClassPK() {
- return _classPK;
- }
- public void setClassPK(long classPK) {
- _classPK = classPK;
- }
- public String getTreePath() {
- return _treePath;
- }
- public void setTreePath(String treePath) {
- _treePath = treePath;
- }
- public String getArticleId() {
- return _articleId;
- }
- public void setArticleId(String articleId) {
- _articleId = articleId;
- }
- public double getVersion() {
- return _version;
- }
- public void setVersion(double version) {
- _version = version;
- }
- public String getUrlTitle() {
- return _urlTitle;
- }
- public void setUrlTitle(String urlTitle) {
- _urlTitle = urlTitle;
- }
- public String getContent() {
- return _content;
- }
- public void setContent(String content) {
- _content = content;
- }
- public String getDDMStructureKey() {
- return _DDMStructureKey;
- }
- public void setDDMStructureKey(String DDMStructureKey) {
- _DDMStructureKey = DDMStructureKey;
- }
- public String getDDMTemplateKey() {
- return _DDMTemplateKey;
- }
- public void setDDMTemplateKey(String DDMTemplateKey) {
- _DDMTemplateKey = DDMTemplateKey;
- }
- public String getDefaultLanguageId() {
- return _defaultLanguageId;
- }
- public void setDefaultLanguageId(String defaultLanguageId) {
- _defaultLanguageId = defaultLanguageId;
- }
- public String getLayoutUuid() {
- return _layoutUuid;
- }
- public void setLayoutUuid(String layoutUuid) {
- _layoutUuid = layoutUuid;
- }
- public Date getDisplayDate() {
- return _displayDate;
- }
- public void setDisplayDate(Date displayDate) {
- _displayDate = displayDate;
- }
- public Date getExpirationDate() {
- return _expirationDate;
- }
- public void setExpirationDate(Date expirationDate) {
- _expirationDate = expirationDate;
- }
- public Date getReviewDate() {
- return _reviewDate;
- }
- public void setReviewDate(Date reviewDate) {
- _reviewDate = reviewDate;
- }
- public boolean getIndexable() {
- return _indexable;
- }
- public boolean isIndexable() {
- return _indexable;
- }
- public void setIndexable(boolean indexable) {
- _indexable = indexable;
- }
- public boolean getSmallImage() {
- return _smallImage;
- }
- public boolean isSmallImage() {
- return _smallImage;
- }
- public void setSmallImage(boolean smallImage) {
- _smallImage = smallImage;
- }
- public long getSmallImageId() {
- return _smallImageId;
- }
- public void setSmallImageId(long smallImageId) {
- _smallImageId = smallImageId;
- }
- public String getSmallImageURL() {
- return _smallImageURL;
- }
- public void setSmallImageURL(String smallImageURL) {
- _smallImageURL = smallImageURL;
- }
- public Date getLastPublishDate() {
- return _lastPublishDate;
- }
- public void setLastPublishDate(Date lastPublishDate) {
- _lastPublishDate = lastPublishDate;
- }
- public int getStatus() {
- return _status;
- }
- public void setStatus(int status) {
- _status = status;
- }
- public long getStatusByUserId() {
- return _statusByUserId;
- }
- public void setStatusByUserId(long statusByUserId) {
- _statusByUserId = statusByUserId;
- }
- public String getStatusByUserName() {
- return _statusByUserName;
- }
- public void setStatusByUserName(String statusByUserName) {
- _statusByUserName = statusByUserName;
- }
- public Date getStatusDate() {
- return _statusDate;
- }
- public void setStatusDate(Date statusDate) {
- _statusDate = statusDate;
- }
- private String _uuid;
- private long _id;
- private long _resourcePrimKey;
- private long _groupId;
- private long _companyId;
- private long _userId;
- private String _userName;
- private Date _createDate;
- private Date _modifiedDate;
- private long _folderId;
- private long _classNameId;
- private long _classPK;
- private String _treePath;
- private String _articleId;
- private double _version;
- private String _urlTitle;
- private String _content;
- private String _DDMStructureKey;
- private String _DDMTemplateKey;
- private String _defaultLanguageId;
- private String _layoutUuid;
- private Date _displayDate;
- private Date _expirationDate;
- private Date _reviewDate;
- private boolean _indexable;
- private boolean _smallImage;
- private long _smallImageId;
- private String _smallImageURL;
- private Date _lastPublishDate;
- private int _status;
- private long _statusByUserId;
- private String _statusByUserName;
- private Date _statusDate;
- }