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.asset.model; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.AutoEscape; 020 import com.liferay.portal.model.AuditedModel; 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 import java.util.Date; 030 031 /** 032 * The base model interface for the AssetCategoryProperty service. Represents a row in the "AssetCategoryProperty" database table, with each column mapped to a property of this class. 033 * 034 * <p> 035 * This interface and its corresponding implementation {@link com.liferay.portlet.asset.model.impl.AssetCategoryPropertyModelImpl} 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.asset.model.impl.AssetCategoryPropertyImpl}. 036 * </p> 037 * 038 * @author Brian Wing Shun Chan 039 * @see AssetCategoryProperty 040 * @see com.liferay.portlet.asset.model.impl.AssetCategoryPropertyImpl 041 * @see com.liferay.portlet.asset.model.impl.AssetCategoryPropertyModelImpl 042 * @generated 043 */ 044 @ProviderType 045 public interface AssetCategoryPropertyModel extends AuditedModel, 046 BaseModel<AssetCategoryProperty> { 047 /* 048 * NOTE FOR DEVELOPERS: 049 * 050 * Never modify or reference this interface directly. All methods that expect a asset category property model instance should use the {@link AssetCategoryProperty} interface instead. 051 */ 052 053 /** 054 * Returns the primary key of this asset category property. 055 * 056 * @return the primary key of this asset category property 057 */ 058 public long getPrimaryKey(); 059 060 /** 061 * Sets the primary key of this asset category property. 062 * 063 * @param primaryKey the primary key of this asset category property 064 */ 065 public void setPrimaryKey(long primaryKey); 066 067 /** 068 * Returns the category property ID of this asset category property. 069 * 070 * @return the category property ID of this asset category property 071 */ 072 public long getCategoryPropertyId(); 073 074 /** 075 * Sets the category property ID of this asset category property. 076 * 077 * @param categoryPropertyId the category property ID of this asset category property 078 */ 079 public void setCategoryPropertyId(long categoryPropertyId); 080 081 /** 082 * Returns the company ID of this asset category property. 083 * 084 * @return the company ID of this asset category property 085 */ 086 @Override 087 public long getCompanyId(); 088 089 /** 090 * Sets the company ID of this asset category property. 091 * 092 * @param companyId the company ID of this asset category property 093 */ 094 @Override 095 public void setCompanyId(long companyId); 096 097 /** 098 * Returns the user ID of this asset category property. 099 * 100 * @return the user ID of this asset category property 101 */ 102 @Override 103 public long getUserId(); 104 105 /** 106 * Sets the user ID of this asset category property. 107 * 108 * @param userId the user ID of this asset category property 109 */ 110 @Override 111 public void setUserId(long userId); 112 113 /** 114 * Returns the user uuid of this asset category property. 115 * 116 * @return the user uuid of this asset category property 117 */ 118 @Override 119 public String getUserUuid(); 120 121 /** 122 * Sets the user uuid of this asset category property. 123 * 124 * @param userUuid the user uuid of this asset category property 125 */ 126 @Override 127 public void setUserUuid(String userUuid); 128 129 /** 130 * Returns the user name of this asset category property. 131 * 132 * @return the user name of this asset category property 133 */ 134 @AutoEscape 135 @Override 136 public String getUserName(); 137 138 /** 139 * Sets the user name of this asset category property. 140 * 141 * @param userName the user name of this asset category property 142 */ 143 @Override 144 public void setUserName(String userName); 145 146 /** 147 * Returns the create date of this asset category property. 148 * 149 * @return the create date of this asset category property 150 */ 151 @Override 152 public Date getCreateDate(); 153 154 /** 155 * Sets the create date of this asset category property. 156 * 157 * @param createDate the create date of this asset category property 158 */ 159 @Override 160 public void setCreateDate(Date createDate); 161 162 /** 163 * Returns the modified date of this asset category property. 164 * 165 * @return the modified date of this asset category property 166 */ 167 @Override 168 public Date getModifiedDate(); 169 170 /** 171 * Sets the modified date of this asset category property. 172 * 173 * @param modifiedDate the modified date of this asset category property 174 */ 175 @Override 176 public void setModifiedDate(Date modifiedDate); 177 178 /** 179 * Returns the category ID of this asset category property. 180 * 181 * @return the category ID of this asset category property 182 */ 183 public long getCategoryId(); 184 185 /** 186 * Sets the category ID of this asset category property. 187 * 188 * @param categoryId the category ID of this asset category property 189 */ 190 public void setCategoryId(long categoryId); 191 192 /** 193 * Returns the key of this asset category property. 194 * 195 * @return the key of this asset category property 196 */ 197 @AutoEscape 198 public String getKey(); 199 200 /** 201 * Sets the key of this asset category property. 202 * 203 * @param key the key of this asset category property 204 */ 205 public void setKey(String key); 206 207 /** 208 * Returns the value of this asset category property. 209 * 210 * @return the value of this asset category property 211 */ 212 @AutoEscape 213 public String getValue(); 214 215 /** 216 * Sets the value of this asset category property. 217 * 218 * @param value the value of this asset category property 219 */ 220 public void setValue(String value); 221 222 @Override 223 public boolean isNew(); 224 225 @Override 226 public void setNew(boolean n); 227 228 @Override 229 public boolean isCachedModel(); 230 231 @Override 232 public void setCachedModel(boolean cachedModel); 233 234 @Override 235 public boolean isEscapedModel(); 236 237 @Override 238 public Serializable getPrimaryKeyObj(); 239 240 @Override 241 public void setPrimaryKeyObj(Serializable primaryKeyObj); 242 243 @Override 244 public ExpandoBridge getExpandoBridge(); 245 246 @Override 247 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 248 249 @Override 250 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 251 252 @Override 253 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 254 255 @Override 256 public Object clone(); 257 258 @Override 259 public int compareTo( 260 com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty); 261 262 @Override 263 public int hashCode(); 264 265 @Override 266 public CacheModel<com.liferay.portlet.asset.model.AssetCategoryProperty> toCacheModel(); 267 268 @Override 269 public com.liferay.portlet.asset.model.AssetCategoryProperty toEscapedModel(); 270 271 @Override 272 public com.liferay.portlet.asset.model.AssetCategoryProperty toUnescapedModel(); 273 274 @Override 275 public String toString(); 276 277 @Override 278 public String toXmlString(); 279 }