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