001 /** 002 * Copyright (c) 2000-2013 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 com.liferay.portal.kernel.bean.AutoEscape; 018 import com.liferay.portal.model.BaseModel; 019 import com.liferay.portal.model.CacheModel; 020 import com.liferay.portal.service.ServiceContext; 021 022 import com.liferay.portlet.expando.model.ExpandoBridge; 023 024 import java.io.Serializable; 025 026 /** 027 * 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. 028 * 029 * <p> 030 * 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}. 031 * </p> 032 * 033 * @author Brian Wing Shun Chan 034 * @see DLFileEntryMetadata 035 * @see com.liferay.portlet.documentlibrary.model.impl.DLFileEntryMetadataImpl 036 * @see com.liferay.portlet.documentlibrary.model.impl.DLFileEntryMetadataModelImpl 037 * @generated 038 */ 039 public interface DLFileEntryMetadataModel extends BaseModel<DLFileEntryMetadata> { 040 /* 041 * NOTE FOR DEVELOPERS: 042 * 043 * 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. 044 */ 045 046 /** 047 * Returns the primary key of this document library file entry metadata. 048 * 049 * @return the primary key of this document library file entry metadata 050 */ 051 public long getPrimaryKey(); 052 053 /** 054 * Sets the primary key of this document library file entry metadata. 055 * 056 * @param primaryKey the primary key of this document library file entry metadata 057 */ 058 public void setPrimaryKey(long primaryKey); 059 060 /** 061 * Returns the uuid of this document library file entry metadata. 062 * 063 * @return the uuid of this document library file entry metadata 064 */ 065 @AutoEscape 066 public String getUuid(); 067 068 /** 069 * Sets the uuid of this document library file entry metadata. 070 * 071 * @param uuid the uuid of this document library file entry metadata 072 */ 073 public void setUuid(String uuid); 074 075 /** 076 * Returns the file entry metadata ID of this document library file entry metadata. 077 * 078 * @return the file entry metadata ID of this document library file entry metadata 079 */ 080 public long getFileEntryMetadataId(); 081 082 /** 083 * Sets the file entry metadata ID of this document library file entry metadata. 084 * 085 * @param fileEntryMetadataId the file entry metadata ID of this document library file entry metadata 086 */ 087 public void setFileEntryMetadataId(long fileEntryMetadataId); 088 089 /** 090 * Returns the d d m storage ID of this document library file entry metadata. 091 * 092 * @return the d d m storage ID of this document library file entry metadata 093 */ 094 public long getDDMStorageId(); 095 096 /** 097 * Sets the d d m storage ID of this document library file entry metadata. 098 * 099 * @param DDMStorageId the d d m storage ID of this document library file entry metadata 100 */ 101 public void setDDMStorageId(long DDMStorageId); 102 103 /** 104 * Returns the d d m structure ID of this document library file entry metadata. 105 * 106 * @return the d d m structure ID of this document library file entry metadata 107 */ 108 public long getDDMStructureId(); 109 110 /** 111 * Sets the d d m structure ID of this document library file entry metadata. 112 * 113 * @param DDMStructureId the d d m structure ID of this document library file entry metadata 114 */ 115 public void setDDMStructureId(long DDMStructureId); 116 117 /** 118 * Returns the file entry type ID of this document library file entry metadata. 119 * 120 * @return the file entry type ID of this document library file entry metadata 121 */ 122 public long getFileEntryTypeId(); 123 124 /** 125 * Sets the file entry type ID of this document library file entry metadata. 126 * 127 * @param fileEntryTypeId the file entry type ID of this document library file entry metadata 128 */ 129 public void setFileEntryTypeId(long fileEntryTypeId); 130 131 /** 132 * Returns the file entry ID of this document library file entry metadata. 133 * 134 * @return the file entry ID of this document library file entry metadata 135 */ 136 public long getFileEntryId(); 137 138 /** 139 * Sets the file entry ID of this document library file entry metadata. 140 * 141 * @param fileEntryId the file entry ID of this document library file entry metadata 142 */ 143 public void setFileEntryId(long fileEntryId); 144 145 /** 146 * Returns the file version ID of this document library file entry metadata. 147 * 148 * @return the file version ID of this document library file entry metadata 149 */ 150 public long getFileVersionId(); 151 152 /** 153 * Sets the file version ID of this document library file entry metadata. 154 * 155 * @param fileVersionId the file version ID of this document library file entry metadata 156 */ 157 public void setFileVersionId(long fileVersionId); 158 159 public boolean isNew(); 160 161 public void setNew(boolean n); 162 163 public boolean isCachedModel(); 164 165 public void setCachedModel(boolean cachedModel); 166 167 public boolean isEscapedModel(); 168 169 public Serializable getPrimaryKeyObj(); 170 171 public void setPrimaryKeyObj(Serializable primaryKeyObj); 172 173 public ExpandoBridge getExpandoBridge(); 174 175 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 176 177 public Object clone(); 178 179 public int compareTo(DLFileEntryMetadata dlFileEntryMetadata); 180 181 public int hashCode(); 182 183 public CacheModel<DLFileEntryMetadata> toCacheModel(); 184 185 public DLFileEntryMetadata toEscapedModel(); 186 187 public DLFileEntryMetadata toUnescapedModel(); 188 189 public String toString(); 190 191 public String toXmlString(); 192 }