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