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.dynamicdatamapping.model; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.AutoEscape; 020 import com.liferay.portal.model.AttachedModel; 021 import com.liferay.portal.model.BaseModel; 022 import com.liferay.portal.model.CacheModel; 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 DDMStorageLink service. Represents a row in the "DDMStorageLink" 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.dynamicdatamapping.model.impl.DDMStorageLinkModelImpl} 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.dynamicdatamapping.model.impl.DDMStorageLinkImpl}. 034 * </p> 035 * 036 * @author Brian Wing Shun Chan 037 * @see DDMStorageLink 038 * @see com.liferay.portlet.dynamicdatamapping.model.impl.DDMStorageLinkImpl 039 * @see com.liferay.portlet.dynamicdatamapping.model.impl.DDMStorageLinkModelImpl 040 * @generated 041 */ 042 @ProviderType 043 public interface DDMStorageLinkModel extends AttachedModel, 044 BaseModel<DDMStorageLink> { 045 /* 046 * NOTE FOR DEVELOPERS: 047 * 048 * Never modify or reference this interface directly. All methods that expect a d d m storage link model instance should use the {@link DDMStorageLink} interface instead. 049 */ 050 051 /** 052 * Returns the primary key of this d d m storage link. 053 * 054 * @return the primary key of this d d m storage link 055 */ 056 public long getPrimaryKey(); 057 058 /** 059 * Sets the primary key of this d d m storage link. 060 * 061 * @param primaryKey the primary key of this d d m storage link 062 */ 063 public void setPrimaryKey(long primaryKey); 064 065 /** 066 * Returns the uuid of this d d m storage link. 067 * 068 * @return the uuid of this d d m storage link 069 */ 070 @AutoEscape 071 public String getUuid(); 072 073 /** 074 * Sets the uuid of this d d m storage link. 075 * 076 * @param uuid the uuid of this d d m storage link 077 */ 078 public void setUuid(String uuid); 079 080 /** 081 * Returns the storage link ID of this d d m storage link. 082 * 083 * @return the storage link ID of this d d m storage link 084 */ 085 public long getStorageLinkId(); 086 087 /** 088 * Sets the storage link ID of this d d m storage link. 089 * 090 * @param storageLinkId the storage link ID of this d d m storage link 091 */ 092 public void setStorageLinkId(long storageLinkId); 093 094 /** 095 * Returns the fully qualified class name of this d d m storage link. 096 * 097 * @return the fully qualified class name of this d d m storage link 098 */ 099 @Override 100 public String getClassName(); 101 102 public void setClassName(String className); 103 104 /** 105 * Returns the class name ID of this d d m storage link. 106 * 107 * @return the class name ID of this d d m storage link 108 */ 109 @Override 110 public long getClassNameId(); 111 112 /** 113 * Sets the class name ID of this d d m storage link. 114 * 115 * @param classNameId the class name ID of this d d m storage link 116 */ 117 @Override 118 public void setClassNameId(long classNameId); 119 120 /** 121 * Returns the class p k of this d d m storage link. 122 * 123 * @return the class p k of this d d m storage link 124 */ 125 @Override 126 public long getClassPK(); 127 128 /** 129 * Sets the class p k of this d d m storage link. 130 * 131 * @param classPK the class p k of this d d m storage link 132 */ 133 @Override 134 public void setClassPK(long classPK); 135 136 /** 137 * Returns the structure ID of this d d m storage link. 138 * 139 * @return the structure ID of this d d m storage link 140 */ 141 public long getStructureId(); 142 143 /** 144 * Sets the structure ID of this d d m storage link. 145 * 146 * @param structureId the structure ID of this d d m storage link 147 */ 148 public void setStructureId(long structureId); 149 150 @Override 151 public boolean isNew(); 152 153 @Override 154 public void setNew(boolean n); 155 156 @Override 157 public boolean isCachedModel(); 158 159 @Override 160 public void setCachedModel(boolean cachedModel); 161 162 @Override 163 public boolean isEscapedModel(); 164 165 @Override 166 public Serializable getPrimaryKeyObj(); 167 168 @Override 169 public void setPrimaryKeyObj(Serializable primaryKeyObj); 170 171 @Override 172 public ExpandoBridge getExpandoBridge(); 173 174 @Override 175 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 176 177 @Override 178 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 179 180 @Override 181 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 182 183 @Override 184 public Object clone(); 185 186 @Override 187 public int compareTo( 188 com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink ddmStorageLink); 189 190 @Override 191 public int hashCode(); 192 193 @Override 194 public CacheModel<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> toCacheModel(); 195 196 @Override 197 public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink toEscapedModel(); 198 199 @Override 200 public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink toUnescapedModel(); 201 202 @Override 203 public String toString(); 204 205 @Override 206 public String toXmlString(); 207 }