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