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 aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.model.BaseModel; 020 import com.liferay.portal.model.CacheModel; 021 import com.liferay.portal.model.TypedModel; 022 import com.liferay.portal.service.ServiceContext; 023 024 import com.liferay.portlet.expando.model.ExpandoBridge; 025 026 import java.io.Serializable; 027 028 /** 029 * The base model interface for the AssetTagStats service. Represents a row in the "AssetTagStats" database table, with each column mapped to a property of this class. 030 * 031 * <p> 032 * This interface and its corresponding implementation {@link com.liferay.portlet.asset.model.impl.AssetTagStatsModelImpl} 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.AssetTagStatsImpl}. 033 * </p> 034 * 035 * @author Brian Wing Shun Chan 036 * @see AssetTagStats 037 * @see com.liferay.portlet.asset.model.impl.AssetTagStatsImpl 038 * @see com.liferay.portlet.asset.model.impl.AssetTagStatsModelImpl 039 * @generated 040 */ 041 @ProviderType 042 public interface AssetTagStatsModel extends BaseModel<AssetTagStats>, TypedModel { 043 /* 044 * NOTE FOR DEVELOPERS: 045 * 046 * Never modify or reference this interface directly. All methods that expect a asset tag stats model instance should use the {@link AssetTagStats} interface instead. 047 */ 048 049 /** 050 * Returns the primary key of this asset tag stats. 051 * 052 * @return the primary key of this asset tag stats 053 */ 054 public long getPrimaryKey(); 055 056 /** 057 * Sets the primary key of this asset tag stats. 058 * 059 * @param primaryKey the primary key of this asset tag stats 060 */ 061 public void setPrimaryKey(long primaryKey); 062 063 /** 064 * Returns the tag stats ID of this asset tag stats. 065 * 066 * @return the tag stats ID of this asset tag stats 067 */ 068 public long getTagStatsId(); 069 070 /** 071 * Sets the tag stats ID of this asset tag stats. 072 * 073 * @param tagStatsId the tag stats ID of this asset tag stats 074 */ 075 public void setTagStatsId(long tagStatsId); 076 077 /** 078 * Returns the tag ID of this asset tag stats. 079 * 080 * @return the tag ID of this asset tag stats 081 */ 082 public long getTagId(); 083 084 /** 085 * Sets the tag ID of this asset tag stats. 086 * 087 * @param tagId the tag ID of this asset tag stats 088 */ 089 public void setTagId(long tagId); 090 091 /** 092 * Returns the fully qualified class name of this asset tag stats. 093 * 094 * @return the fully qualified class name of this asset tag stats 095 */ 096 @Override 097 public String getClassName(); 098 099 public void setClassName(String className); 100 101 /** 102 * Returns the class name ID of this asset tag stats. 103 * 104 * @return the class name ID of this asset tag stats 105 */ 106 @Override 107 public long getClassNameId(); 108 109 /** 110 * Sets the class name ID of this asset tag stats. 111 * 112 * @param classNameId the class name ID of this asset tag stats 113 */ 114 @Override 115 public void setClassNameId(long classNameId); 116 117 /** 118 * Returns the asset count of this asset tag stats. 119 * 120 * @return the asset count of this asset tag stats 121 */ 122 public int getAssetCount(); 123 124 /** 125 * Sets the asset count of this asset tag stats. 126 * 127 * @param assetCount the asset count of this asset tag stats 128 */ 129 public void setAssetCount(int assetCount); 130 131 @Override 132 public boolean isNew(); 133 134 @Override 135 public void setNew(boolean n); 136 137 @Override 138 public boolean isCachedModel(); 139 140 @Override 141 public void setCachedModel(boolean cachedModel); 142 143 @Override 144 public boolean isEscapedModel(); 145 146 @Override 147 public Serializable getPrimaryKeyObj(); 148 149 @Override 150 public void setPrimaryKeyObj(Serializable primaryKeyObj); 151 152 @Override 153 public ExpandoBridge getExpandoBridge(); 154 155 @Override 156 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 157 158 @Override 159 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 160 161 @Override 162 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 163 164 @Override 165 public Object clone(); 166 167 @Override 168 public int compareTo(AssetTagStats assetTagStats); 169 170 @Override 171 public int hashCode(); 172 173 @Override 174 public CacheModel<AssetTagStats> toCacheModel(); 175 176 @Override 177 public AssetTagStats toEscapedModel(); 178 179 @Override 180 public AssetTagStats toUnescapedModel(); 181 182 @Override 183 public String toString(); 184 185 @Override 186 public String toXmlString(); 187 }