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