com.liferay.portlet.journal.model.JournalArticleSoap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of portal-service Show documentation
Show all versions of portal-service 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-2013 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.portlet.journal.model;
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.portlet.journal.service.http.JournalArticleServiceSoap}.
*
* @author Brian Wing Shun Chan
* @see com.liferay.portlet.journal.service.http.JournalArticleServiceSoap
* @generated
*/
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.setTitle(model.getTitle());
soapModel.setUrlTitle(model.getUrlTitle());
soapModel.setDescription(model.getDescription());
soapModel.setContent(model.getContent());
soapModel.setType(model.getType());
soapModel.setStructureId(model.getStructureId());
soapModel.setTemplateId(model.getTemplateId());
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.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 models) {
List soapModels = new ArrayList(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 getTitle() {
return _title;
}
public void setTitle(String title) {
_title = title;
}
public String getUrlTitle() {
return _urlTitle;
}
public void setUrlTitle(String urlTitle) {
_urlTitle = urlTitle;
}
public String getDescription() {
return _description;
}
public void setDescription(String description) {
_description = description;
}
public String getContent() {
return _content;
}
public void setContent(String content) {
_content = content;
}
public String getType() {
return _type;
}
public void setType(String type) {
_type = type;
}
public String getStructureId() {
return _structureId;
}
public void setStructureId(String structureId) {
_structureId = structureId;
}
public String getTemplateId() {
return _templateId;
}
public void setTemplateId(String templateId) {
_templateId = templateId;
}
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 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 _title;
private String _urlTitle;
private String _description;
private String _content;
private String _type;
private String _structureId;
private String _templateId;
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 int _status;
private long _statusByUserId;
private String _statusByUserName;
private Date _statusDate;
}