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.BaseModel;
020    import com.liferay.portal.model.CacheModel;
021    import com.liferay.portal.model.GroupedModel;
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 AssetTag service. Represents a row in the "AssetTag" 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.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}.
035     * </p>
036     *
037     * @author Brian Wing Shun Chan
038     * @see AssetTag
039     * @see com.liferay.portlet.asset.model.impl.AssetTagImpl
040     * @see com.liferay.portlet.asset.model.impl.AssetTagModelImpl
041     * @generated
042     */
043    public interface AssetTagModel extends BaseModel<AssetTag>, GroupedModel {
044            /*
045             * NOTE FOR DEVELOPERS:
046             *
047             * Never modify or reference this interface directly. All methods that expect a asset tag model instance should use the {@link AssetTag} interface instead.
048             */
049    
050            /**
051             * Returns the primary key of this asset tag.
052             *
053             * @return the primary key of this asset tag
054             */
055            public long getPrimaryKey();
056    
057            /**
058             * Sets the primary key of this asset tag.
059             *
060             * @param primaryKey the primary key of this asset tag
061             */
062            public void setPrimaryKey(long primaryKey);
063    
064            /**
065             * Returns the tag ID of this asset tag.
066             *
067             * @return the tag ID of this asset tag
068             */
069            public long getTagId();
070    
071            /**
072             * Sets the tag ID of this asset tag.
073             *
074             * @param tagId the tag ID of this asset tag
075             */
076            public void setTagId(long tagId);
077    
078            /**
079             * Returns the group ID of this asset tag.
080             *
081             * @return the group ID of this asset tag
082             */
083            @Override
084            public long getGroupId();
085    
086            /**
087             * Sets the group ID of this asset tag.
088             *
089             * @param groupId the group ID of this asset tag
090             */
091            @Override
092            public void setGroupId(long groupId);
093    
094            /**
095             * Returns the company ID of this asset tag.
096             *
097             * @return the company ID of this asset tag
098             */
099            @Override
100            public long getCompanyId();
101    
102            /**
103             * Sets the company ID of this asset tag.
104             *
105             * @param companyId the company ID of this asset tag
106             */
107            @Override
108            public void setCompanyId(long companyId);
109    
110            /**
111             * Returns the user ID of this asset tag.
112             *
113             * @return the user ID of this asset tag
114             */
115            @Override
116            public long getUserId();
117    
118            /**
119             * Sets the user ID of this asset tag.
120             *
121             * @param userId the user ID of this asset tag
122             */
123            @Override
124            public void setUserId(long userId);
125    
126            /**
127             * Returns the user uuid of this asset tag.
128             *
129             * @return the user uuid of this asset tag
130             * @throws SystemException if a system exception occurred
131             */
132            @Override
133            public String getUserUuid() throws SystemException;
134    
135            /**
136             * Sets the user uuid of this asset tag.
137             *
138             * @param userUuid the user uuid of this asset tag
139             */
140            @Override
141            public void setUserUuid(String userUuid);
142    
143            /**
144             * Returns the user name of this asset tag.
145             *
146             * @return the user name of this asset tag
147             */
148            @AutoEscape
149            @Override
150            public String getUserName();
151    
152            /**
153             * Sets the user name of this asset tag.
154             *
155             * @param userName the user name of this asset tag
156             */
157            @Override
158            public void setUserName(String userName);
159    
160            /**
161             * Returns the create date of this asset tag.
162             *
163             * @return the create date of this asset tag
164             */
165            @Override
166            public Date getCreateDate();
167    
168            /**
169             * Sets the create date of this asset tag.
170             *
171             * @param createDate the create date of this asset tag
172             */
173            @Override
174            public void setCreateDate(Date createDate);
175    
176            /**
177             * Returns the modified date of this asset tag.
178             *
179             * @return the modified date of this asset tag
180             */
181            @Override
182            public Date getModifiedDate();
183    
184            /**
185             * Sets the modified date of this asset tag.
186             *
187             * @param modifiedDate the modified date of this asset tag
188             */
189            @Override
190            public void setModifiedDate(Date modifiedDate);
191    
192            /**
193             * Returns the name of this asset tag.
194             *
195             * @return the name of this asset tag
196             */
197            @AutoEscape
198            public String getName();
199    
200            /**
201             * Sets the name of this asset tag.
202             *
203             * @param name the name of this asset tag
204             */
205            public void setName(String name);
206    
207            /**
208             * Returns the asset count of this asset tag.
209             *
210             * @return the asset count of this asset tag
211             */
212            public int getAssetCount();
213    
214            /**
215             * Sets the asset count of this asset tag.
216             *
217             * @param assetCount the asset count of this asset tag
218             */
219            public void setAssetCount(int assetCount);
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(AssetTag assetTag);
259    
260            @Override
261            public int hashCode();
262    
263            @Override
264            public CacheModel<AssetTag> toCacheModel();
265    
266            @Override
267            public AssetTag toEscapedModel();
268    
269            @Override
270            public AssetTag toUnescapedModel();
271    
272            @Override
273            public String toString();
274    
275            @Override
276            public String toXmlString();
277    }