001 /** 002 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved. 003 * 004 * The contents of this file are subject to the terms of the Liferay Enterprise 005 * Subscription License ("License"). You may not use this file except in 006 * compliance with the License. You can obtain a copy of the License by 007 * contacting Liferay, Inc. See the License for the specific language governing 008 * permissions and limitations under the License, including but not limited to 009 * distribution rights of the Software. 010 * 011 * 012 * 013 */ 014 015 package com.liferay.portlet.asset.model; 016 017 import com.liferay.portal.kernel.annotation.AutoEscape; 018 import com.liferay.portal.kernel.exception.SystemException; 019 import com.liferay.portal.model.BaseModel; 020 import com.liferay.portal.service.ServiceContext; 021 022 import com.liferay.portlet.expando.model.ExpandoBridge; 023 024 import java.io.Serializable; 025 026 import java.util.Date; 027 028 /** 029 * The base model interface for the AssetTag service. Represents a row in the "AssetTag" 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.AssetTagModelImpl} 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.AssetTagImpl}. 033 * </p> 034 * 035 * <p> 036 * Never modify or reference this interface directly. All methods that expect a asset tag model instance should use the {@link AssetTag} interface instead. 037 * </p> 038 * 039 * @author Brian Wing Shun Chan 040 * @see AssetTag 041 * @see com.liferay.portlet.asset.model.impl.AssetTagImpl 042 * @see com.liferay.portlet.asset.model.impl.AssetTagModelImpl 043 * @generated 044 */ 045 public interface AssetTagModel extends BaseModel<AssetTag> { 046 /** 047 * Gets the primary key of this asset tag. 048 * 049 * @return the primary key of this asset tag 050 */ 051 public long getPrimaryKey(); 052 053 /** 054 * Sets the primary key of this asset tag 055 * 056 * @param pk the primary key of this asset tag 057 */ 058 public void setPrimaryKey(long pk); 059 060 /** 061 * Gets the tag id of this asset tag. 062 * 063 * @return the tag id of this asset tag 064 */ 065 public long getTagId(); 066 067 /** 068 * Sets the tag id of this asset tag. 069 * 070 * @param tagId the tag id of this asset tag 071 */ 072 public void setTagId(long tagId); 073 074 /** 075 * Gets the group id of this asset tag. 076 * 077 * @return the group id of this asset tag 078 */ 079 public long getGroupId(); 080 081 /** 082 * Sets the group id of this asset tag. 083 * 084 * @param groupId the group id of this asset tag 085 */ 086 public void setGroupId(long groupId); 087 088 /** 089 * Gets the company id of this asset tag. 090 * 091 * @return the company id of this asset tag 092 */ 093 public long getCompanyId(); 094 095 /** 096 * Sets the company id of this asset tag. 097 * 098 * @param companyId the company id of this asset tag 099 */ 100 public void setCompanyId(long companyId); 101 102 /** 103 * Gets the user id of this asset tag. 104 * 105 * @return the user id of this asset tag 106 */ 107 public long getUserId(); 108 109 /** 110 * Sets the user id of this asset tag. 111 * 112 * @param userId the user id of this asset tag 113 */ 114 public void setUserId(long userId); 115 116 /** 117 * Gets the user uuid of this asset tag. 118 * 119 * @return the user uuid of this asset tag 120 * @throws SystemException if a system exception occurred 121 */ 122 public String getUserUuid() throws SystemException; 123 124 /** 125 * Sets the user uuid of this asset tag. 126 * 127 * @param userUuid the user uuid of this asset tag 128 */ 129 public void setUserUuid(String userUuid); 130 131 /** 132 * Gets the user name of this asset tag. 133 * 134 * @return the user name of this asset tag 135 */ 136 @AutoEscape 137 public String getUserName(); 138 139 /** 140 * Sets the user name of this asset tag. 141 * 142 * @param userName the user name of this asset tag 143 */ 144 public void setUserName(String userName); 145 146 /** 147 * Gets the create date of this asset tag. 148 * 149 * @return the create date of this asset tag 150 */ 151 public Date getCreateDate(); 152 153 /** 154 * Sets the create date of this asset tag. 155 * 156 * @param createDate the create date of this asset tag 157 */ 158 public void setCreateDate(Date createDate); 159 160 /** 161 * Gets the modified date of this asset tag. 162 * 163 * @return the modified date of this asset tag 164 */ 165 public Date getModifiedDate(); 166 167 /** 168 * Sets the modified date of this asset tag. 169 * 170 * @param modifiedDate the modified date of this asset tag 171 */ 172 public void setModifiedDate(Date modifiedDate); 173 174 /** 175 * Gets the name of this asset tag. 176 * 177 * @return the name of this asset tag 178 */ 179 @AutoEscape 180 public String getName(); 181 182 /** 183 * Sets the name of this asset tag. 184 * 185 * @param name the name of this asset tag 186 */ 187 public void setName(String name); 188 189 /** 190 * Gets the asset count of this asset tag. 191 * 192 * @return the asset count of this asset tag 193 */ 194 public int getAssetCount(); 195 196 /** 197 * Sets the asset count of this asset tag. 198 * 199 * @param assetCount the asset count of this asset tag 200 */ 201 public void setAssetCount(int assetCount); 202 203 public boolean isNew(); 204 205 public void setNew(boolean n); 206 207 public boolean isCachedModel(); 208 209 public void setCachedModel(boolean cachedModel); 210 211 public boolean isEscapedModel(); 212 213 public void setEscapedModel(boolean escapedModel); 214 215 public Serializable getPrimaryKeyObj(); 216 217 public ExpandoBridge getExpandoBridge(); 218 219 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 220 221 public Object clone(); 222 223 public int compareTo(AssetTag assetTag); 224 225 public int hashCode(); 226 227 public AssetTag toEscapedModel(); 228 229 public String toString(); 230 231 public String toXmlString(); 232 }