001 /** 002 * Copyright (c) 2000-present Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.documentlibrary.model; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.AutoEscape; 020 import com.liferay.portal.model.BaseModel; 021 import com.liferay.portal.model.CacheModel; 022 import com.liferay.portal.model.ShardedModel; 023 import com.liferay.portal.service.ServiceContext; 024 025 import com.liferay.portlet.expando.model.ExpandoBridge; 026 027 import java.io.Serializable; 028 029 /** 030 * The base model interface for the DLFileEntryMetadata service. Represents a row in the "DLFileEntryMetadata" database table, with each column mapped to a property of this class. 031 * 032 * <p> 033 * This interface and its corresponding implementation {@link com.liferay.portlet.documentlibrary.model.impl.DLFileEntryMetadataModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portlet.documentlibrary.model.impl.DLFileEntryMetadataImpl}. 034 * </p> 035 * 036 * @author Brian Wing Shun Chan 037 * @see DLFileEntryMetadata 038 * @see com.liferay.portlet.documentlibrary.model.impl.DLFileEntryMetadataImpl 039 * @see com.liferay.portlet.documentlibrary.model.impl.DLFileEntryMetadataModelImpl 040 * @generated 041 */ 042 @ProviderType 043 public interface DLFileEntryMetadataModel extends BaseModel<DLFileEntryMetadata>, 044 ShardedModel { 045 /* 046 * NOTE FOR DEVELOPERS: 047 * 048 * Never modify or reference this interface directly. All methods that expect a document library file entry metadata model instance should use the {@link DLFileEntryMetadata} interface instead. 049 */ 050 051 /** 052 * Returns the primary key of this document library file entry metadata. 053 * 054 * @return the primary key of this document library file entry metadata 055 */ 056 public long getPrimaryKey(); 057 058 /** 059 * Sets the primary key of this document library file entry metadata. 060 * 061 * @param primaryKey the primary key of this document library file entry metadata 062 */ 063 public void setPrimaryKey(long primaryKey); 064 065 /** 066 * Returns the uuid of this document library file entry metadata. 067 * 068 * @return the uuid of this document library file entry metadata 069 */ 070 @AutoEscape 071 public String getUuid(); 072 073 /** 074 * Sets the uuid of this document library file entry metadata. 075 * 076 * @param uuid the uuid of this document library file entry metadata 077 */ 078 public void setUuid(String uuid); 079 080 /** 081 * Returns the file entry metadata ID of this document library file entry metadata. 082 * 083 * @return the file entry metadata ID of this document library file entry metadata 084 */ 085 public long getFileEntryMetadataId(); 086 087 /** 088 * Sets the file entry metadata ID of this document library file entry metadata. 089 * 090 * @param fileEntryMetadataId the file entry metadata ID of this document library file entry metadata 091 */ 092 public void setFileEntryMetadataId(long fileEntryMetadataId); 093 094 /** 095 * Returns the company ID of this document library file entry metadata. 096 * 097 * @return the company ID of this document library file entry metadata 098 */ 099 @Override 100 public long getCompanyId(); 101 102 /** 103 * Sets the company ID of this document library file entry metadata. 104 * 105 * @param companyId the company ID of this document library file entry metadata 106 */ 107 @Override 108 public void setCompanyId(long companyId); 109 110 /** 111 * Returns the d d m storage ID of this document library file entry metadata. 112 * 113 * @return the d d m storage ID of this document library file entry metadata 114 */ 115 public long getDDMStorageId(); 116 117 /** 118 * Sets the d d m storage ID of this document library file entry metadata. 119 * 120 * @param DDMStorageId the d d m storage ID of this document library file entry metadata 121 */ 122 public void setDDMStorageId(long DDMStorageId); 123 124 /** 125 * Returns the d d m structure ID of this document library file entry metadata. 126 * 127 * @return the d d m structure ID of this document library file entry metadata 128 */ 129 public long getDDMStructureId(); 130 131 /** 132 * Sets the d d m structure ID of this document library file entry metadata. 133 * 134 * @param DDMStructureId the d d m structure ID of this document library file entry metadata 135 */ 136 public void setDDMStructureId(long DDMStructureId); 137 138 /** 139 * Returns the file entry ID of this document library file entry metadata. 140 * 141 * @return the file entry ID of this document library file entry metadata 142 */ 143 public long getFileEntryId(); 144 145 /** 146 * Sets the file entry ID of this document library file entry metadata. 147 * 148 * @param fileEntryId the file entry ID of this document library file entry metadata 149 */ 150 public void setFileEntryId(long fileEntryId); 151 152 /** 153 * Returns the file version ID of this document library file entry metadata. 154 * 155 * @return the file version ID of this document library file entry metadata 156 */ 157 public long getFileVersionId(); 158 159 /** 160 * Sets the file version ID of this document library file entry metadata. 161 * 162 * @param fileVersionId the file version ID of this document library file entry metadata 163 */ 164 public void setFileVersionId(long fileVersionId); 165 166 @Override 167 public boolean isNew(); 168 169 @Override 170 public void setNew(boolean n); 171 172 @Override 173 public boolean isCachedModel(); 174 175 @Override 176 public void setCachedModel(boolean cachedModel); 177 178 @Override 179 public boolean isEscapedModel(); 180 181 @Override 182 public Serializable getPrimaryKeyObj(); 183 184 @Override 185 public void setPrimaryKeyObj(Serializable primaryKeyObj); 186 187 @Override 188 public ExpandoBridge getExpandoBridge(); 189 190 @Override 191 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 192 193 @Override 194 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 195 196 @Override 197 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 198 199 @Override 200 public Object clone(); 201 202 @Override 203 public int compareTo( 204 com.liferay.portlet.documentlibrary.model.DLFileEntryMetadata dlFileEntryMetadata); 205 206 @Override 207 public int hashCode(); 208 209 @Override 210 public CacheModel<com.liferay.portlet.documentlibrary.model.DLFileEntryMetadata> toCacheModel(); 211 212 @Override 213 public com.liferay.portlet.documentlibrary.model.DLFileEntryMetadata toEscapedModel(); 214 215 @Override 216 public com.liferay.portlet.documentlibrary.model.DLFileEntryMetadata toUnescapedModel(); 217 218 @Override 219 public String toString(); 220 221 @Override 222 public String toXmlString(); 223 }