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