com.liferay.document.library.kernel.model.DLFileEntrySoap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.portal.kernel Show documentation
Show all versions of com.liferay.portal.kernel 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-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.document.library.kernel.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.portlet.documentlibrary.service.http.DLFileEntryServiceSoap}.
*
* @author Brian Wing Shun Chan
* @see com.liferay.portlet.documentlibrary.service.http.DLFileEntryServiceSoap
* @generated
*/
@ProviderType
public class DLFileEntrySoap implements Serializable {
public static DLFileEntrySoap toSoapModel(DLFileEntry model) {
DLFileEntrySoap soapModel = new DLFileEntrySoap();
soapModel.setUuid(model.getUuid());
soapModel.setFileEntryId(model.getFileEntryId());
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.setClassNameId(model.getClassNameId());
soapModel.setClassPK(model.getClassPK());
soapModel.setRepositoryId(model.getRepositoryId());
soapModel.setFolderId(model.getFolderId());
soapModel.setTreePath(model.getTreePath());
soapModel.setName(model.getName());
soapModel.setFileName(model.getFileName());
soapModel.setExtension(model.getExtension());
soapModel.setMimeType(model.getMimeType());
soapModel.setTitle(model.getTitle());
soapModel.setDescription(model.getDescription());
soapModel.setExtraSettings(model.getExtraSettings());
soapModel.setFileEntryTypeId(model.getFileEntryTypeId());
soapModel.setVersion(model.getVersion());
soapModel.setSize(model.getSize());
soapModel.setReadCount(model.getReadCount());
soapModel.setSmallImageId(model.getSmallImageId());
soapModel.setLargeImageId(model.getLargeImageId());
soapModel.setCustom1ImageId(model.getCustom1ImageId());
soapModel.setCustom2ImageId(model.getCustom2ImageId());
soapModel.setManualCheckInRequired(model.getManualCheckInRequired());
soapModel.setLastPublishDate(model.getLastPublishDate());
return soapModel;
}
public static DLFileEntrySoap[] toSoapModels(DLFileEntry[] models) {
DLFileEntrySoap[] soapModels = new DLFileEntrySoap[models.length];
for (int i = 0; i < models.length; i++) {
soapModels[i] = toSoapModel(models[i]);
}
return soapModels;
}
public static DLFileEntrySoap[][] toSoapModels(DLFileEntry[][] models) {
DLFileEntrySoap[][] soapModels = null;
if (models.length > 0) {
soapModels = new DLFileEntrySoap[models.length][models[0].length];
}
else {
soapModels = new DLFileEntrySoap[0][0];
}
for (int i = 0; i < models.length; i++) {
soapModels[i] = toSoapModels(models[i]);
}
return soapModels;
}
public static DLFileEntrySoap[] toSoapModels(List models) {
List soapModels = new ArrayList(models.size());
for (DLFileEntry model : models) {
soapModels.add(toSoapModel(model));
}
return soapModels.toArray(new DLFileEntrySoap[soapModels.size()]);
}
public DLFileEntrySoap() {
}
public long getPrimaryKey() {
return _fileEntryId;
}
public void setPrimaryKey(long pk) {
setFileEntryId(pk);
}
public String getUuid() {
return _uuid;
}
public void setUuid(String uuid) {
_uuid = uuid;
}
public long getFileEntryId() {
return _fileEntryId;
}
public void setFileEntryId(long fileEntryId) {
_fileEntryId = fileEntryId;
}
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 getClassNameId() {
return _classNameId;
}
public void setClassNameId(long classNameId) {
_classNameId = classNameId;
}
public long getClassPK() {
return _classPK;
}
public void setClassPK(long classPK) {
_classPK = classPK;
}
public long getRepositoryId() {
return _repositoryId;
}
public void setRepositoryId(long repositoryId) {
_repositoryId = repositoryId;
}
public long getFolderId() {
return _folderId;
}
public void setFolderId(long folderId) {
_folderId = folderId;
}
public String getTreePath() {
return _treePath;
}
public void setTreePath(String treePath) {
_treePath = treePath;
}
public String getName() {
return _name;
}
public void setName(String name) {
_name = name;
}
public String getFileName() {
return _fileName;
}
public void setFileName(String fileName) {
_fileName = fileName;
}
public String getExtension() {
return _extension;
}
public void setExtension(String extension) {
_extension = extension;
}
public String getMimeType() {
return _mimeType;
}
public void setMimeType(String mimeType) {
_mimeType = mimeType;
}
public String getTitle() {
return _title;
}
public void setTitle(String title) {
_title = title;
}
public String getDescription() {
return _description;
}
public void setDescription(String description) {
_description = description;
}
public String getExtraSettings() {
return _extraSettings;
}
public void setExtraSettings(String extraSettings) {
_extraSettings = extraSettings;
}
public long getFileEntryTypeId() {
return _fileEntryTypeId;
}
public void setFileEntryTypeId(long fileEntryTypeId) {
_fileEntryTypeId = fileEntryTypeId;
}
public String getVersion() {
return _version;
}
public void setVersion(String version) {
_version = version;
}
public long getSize() {
return _size;
}
public void setSize(long size) {
_size = size;
}
public int getReadCount() {
return _readCount;
}
public void setReadCount(int readCount) {
_readCount = readCount;
}
public long getSmallImageId() {
return _smallImageId;
}
public void setSmallImageId(long smallImageId) {
_smallImageId = smallImageId;
}
public long getLargeImageId() {
return _largeImageId;
}
public void setLargeImageId(long largeImageId) {
_largeImageId = largeImageId;
}
public long getCustom1ImageId() {
return _custom1ImageId;
}
public void setCustom1ImageId(long custom1ImageId) {
_custom1ImageId = custom1ImageId;
}
public long getCustom2ImageId() {
return _custom2ImageId;
}
public void setCustom2ImageId(long custom2ImageId) {
_custom2ImageId = custom2ImageId;
}
public boolean getManualCheckInRequired() {
return _manualCheckInRequired;
}
public boolean isManualCheckInRequired() {
return _manualCheckInRequired;
}
public void setManualCheckInRequired(boolean manualCheckInRequired) {
_manualCheckInRequired = manualCheckInRequired;
}
public Date getLastPublishDate() {
return _lastPublishDate;
}
public void setLastPublishDate(Date lastPublishDate) {
_lastPublishDate = lastPublishDate;
}
private String _uuid;
private long _fileEntryId;
private long _groupId;
private long _companyId;
private long _userId;
private String _userName;
private Date _createDate;
private Date _modifiedDate;
private long _classNameId;
private long _classPK;
private long _repositoryId;
private long _folderId;
private String _treePath;
private String _name;
private String _fileName;
private String _extension;
private String _mimeType;
private String _title;
private String _description;
private String _extraSettings;
private long _fileEntryTypeId;
private String _version;
private long _size;
private int _readCount;
private long _smallImageId;
private long _largeImageId;
private long _custom1ImageId;
private long _custom2ImageId;
private boolean _manualCheckInRequired;
private Date _lastPublishDate;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy