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.GroupedModel;
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>, GroupedModel {
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 tag ID of this asset tag.
068             *
069             * @return the tag ID of this asset tag
070             */
071            public long getTagId();
072    
073            /**
074             * Sets the tag ID of this asset tag.
075             *
076             * @param tagId the tag ID of this asset tag
077             */
078            public void setTagId(long tagId);
079    
080            /**
081             * Returns the group ID of this asset tag.
082             *
083             * @return the group ID of this asset tag
084             */
085            @Override
086            public long getGroupId();
087    
088            /**
089             * Sets the group ID of this asset tag.
090             *
091             * @param groupId the group ID of this asset tag
092             */
093            @Override
094            public void setGroupId(long groupId);
095    
096            /**
097             * Returns the company ID of this asset tag.
098             *
099             * @return the company ID of this asset tag
100             */
101            @Override
102            public long getCompanyId();
103    
104            /**
105             * Sets the company ID of this asset tag.
106             *
107             * @param companyId the company ID of this asset tag
108             */
109            @Override
110            public void setCompanyId(long companyId);
111    
112            /**
113             * Returns the user ID of this asset tag.
114             *
115             * @return the user ID of this asset tag
116             */
117            @Override
118            public long getUserId();
119    
120            /**
121             * Sets the user ID of this asset tag.
122             *
123             * @param userId the user ID of this asset tag
124             */
125            @Override
126            public void setUserId(long userId);
127    
128            /**
129             * Returns the user uuid of this asset tag.
130             *
131             * @return the user uuid of this asset tag
132             */
133            @Override
134            public String getUserUuid();
135    
136            /**
137             * Sets the user uuid of this asset tag.
138             *
139             * @param userUuid the user uuid of this asset tag
140             */
141            @Override
142            public void setUserUuid(String userUuid);
143    
144            /**
145             * Returns the user name of this asset tag.
146             *
147             * @return the user name of this asset tag
148             */
149            @AutoEscape
150            @Override
151            public String getUserName();
152    
153            /**
154             * Sets the user name of this asset tag.
155             *
156             * @param userName the user name of this asset tag
157             */
158            @Override
159            public void setUserName(String userName);
160    
161            /**
162             * Returns the create date of this asset tag.
163             *
164             * @return the create date of this asset tag
165             */
166            @Override
167            public Date getCreateDate();
168    
169            /**
170             * Sets the create date of this asset tag.
171             *
172             * @param createDate the create date of this asset tag
173             */
174            @Override
175            public void setCreateDate(Date createDate);
176    
177            /**
178             * Returns the modified date of this asset tag.
179             *
180             * @return the modified date of this asset tag
181             */
182            @Override
183            public Date getModifiedDate();
184    
185            /**
186             * Sets the modified date of this asset tag.
187             *
188             * @param modifiedDate the modified date of this asset tag
189             */
190            @Override
191            public void setModifiedDate(Date modifiedDate);
192    
193            /**
194             * Returns the name of this asset tag.
195             *
196             * @return the name of this asset tag
197             */
198            @AutoEscape
199            public String getName();
200    
201            /**
202             * Sets the name of this asset tag.
203             *
204             * @param name the name of this asset tag
205             */
206            public void setName(String name);
207    
208            /**
209             * Returns the asset count of this asset tag.
210             *
211             * @return the asset count of this asset tag
212             */
213            public int getAssetCount();
214    
215            /**
216             * Sets the asset count of this asset tag.
217             *
218             * @param assetCount the asset count of this asset tag
219             */
220            public void setAssetCount(int assetCount);
221    
222            @Override
223            public boolean isNew();
224    
225            @Override
226            public void setNew(boolean n);
227    
228            @Override
229            public boolean isCachedModel();
230    
231            @Override
232            public void setCachedModel(boolean cachedModel);
233    
234            @Override
235            public boolean isEscapedModel();
236    
237            @Override
238            public Serializable getPrimaryKeyObj();
239    
240            @Override
241            public void setPrimaryKeyObj(Serializable primaryKeyObj);
242    
243            @Override
244            public ExpandoBridge getExpandoBridge();
245    
246            @Override
247            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
248    
249            @Override
250            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
251    
252            @Override
253            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
254    
255            @Override
256            public Object clone();
257    
258            @Override
259            public int compareTo(com.liferay.portlet.asset.model.AssetTag assetTag);
260    
261            @Override
262            public int hashCode();
263    
264            @Override
265            public CacheModel<com.liferay.portlet.asset.model.AssetTag> toCacheModel();
266    
267            @Override
268            public com.liferay.portlet.asset.model.AssetTag toEscapedModel();
269    
270            @Override
271            public com.liferay.portlet.asset.model.AssetTag toUnescapedModel();
272    
273            @Override
274            public String toString();
275    
276            @Override
277            public String toXmlString();
278    }