001    /**
002     * Copyright (c) 2000-2010 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.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 AssetTagProperty service. Represents a row in the "AssetTagProperty" 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.AssetTagPropertyModelImpl} 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.AssetTagPropertyImpl}.
033     * </p>
034     *
035     * <p>
036     * Never modify or reference this interface directly. All methods that expect a asset tag property model instance should use the {@link AssetTagProperty} interface instead.
037     * </p>
038     *
039     * @author Brian Wing Shun Chan
040     * @see AssetTagProperty
041     * @see com.liferay.portlet.asset.model.impl.AssetTagPropertyImpl
042     * @see com.liferay.portlet.asset.model.impl.AssetTagPropertyModelImpl
043     * @generated
044     */
045    public interface AssetTagPropertyModel extends BaseModel<AssetTagProperty> {
046            /**
047             * Gets the primary key of this asset tag property.
048             *
049             * @return the primary key of this asset tag property
050             */
051            public long getPrimaryKey();
052    
053            /**
054             * Sets the primary key of this asset tag property
055             *
056             * @param pk the primary key of this asset tag property
057             */
058            public void setPrimaryKey(long pk);
059    
060            /**
061             * Gets the tag property id of this asset tag property.
062             *
063             * @return the tag property id of this asset tag property
064             */
065            public long getTagPropertyId();
066    
067            /**
068             * Sets the tag property id of this asset tag property.
069             *
070             * @param tagPropertyId the tag property id of this asset tag property
071             */
072            public void setTagPropertyId(long tagPropertyId);
073    
074            /**
075             * Gets the company id of this asset tag property.
076             *
077             * @return the company id of this asset tag property
078             */
079            public long getCompanyId();
080    
081            /**
082             * Sets the company id of this asset tag property.
083             *
084             * @param companyId the company id of this asset tag property
085             */
086            public void setCompanyId(long companyId);
087    
088            /**
089             * Gets the user id of this asset tag property.
090             *
091             * @return the user id of this asset tag property
092             */
093            public long getUserId();
094    
095            /**
096             * Sets the user id of this asset tag property.
097             *
098             * @param userId the user id of this asset tag property
099             */
100            public void setUserId(long userId);
101    
102            /**
103             * Gets the user uuid of this asset tag property.
104             *
105             * @return the user uuid of this asset tag property
106             * @throws SystemException if a system exception occurred
107             */
108            public String getUserUuid() throws SystemException;
109    
110            /**
111             * Sets the user uuid of this asset tag property.
112             *
113             * @param userUuid the user uuid of this asset tag property
114             */
115            public void setUserUuid(String userUuid);
116    
117            /**
118             * Gets the user name of this asset tag property.
119             *
120             * @return the user name of this asset tag property
121             */
122            @AutoEscape
123            public String getUserName();
124    
125            /**
126             * Sets the user name of this asset tag property.
127             *
128             * @param userName the user name of this asset tag property
129             */
130            public void setUserName(String userName);
131    
132            /**
133             * Gets the create date of this asset tag property.
134             *
135             * @return the create date of this asset tag property
136             */
137            public Date getCreateDate();
138    
139            /**
140             * Sets the create date of this asset tag property.
141             *
142             * @param createDate the create date of this asset tag property
143             */
144            public void setCreateDate(Date createDate);
145    
146            /**
147             * Gets the modified date of this asset tag property.
148             *
149             * @return the modified date of this asset tag property
150             */
151            public Date getModifiedDate();
152    
153            /**
154             * Sets the modified date of this asset tag property.
155             *
156             * @param modifiedDate the modified date of this asset tag property
157             */
158            public void setModifiedDate(Date modifiedDate);
159    
160            /**
161             * Gets the tag id of this asset tag property.
162             *
163             * @return the tag id of this asset tag property
164             */
165            public long getTagId();
166    
167            /**
168             * Sets the tag id of this asset tag property.
169             *
170             * @param tagId the tag id of this asset tag property
171             */
172            public void setTagId(long tagId);
173    
174            /**
175             * Gets the key of this asset tag property.
176             *
177             * @return the key of this asset tag property
178             */
179            @AutoEscape
180            public String getKey();
181    
182            /**
183             * Sets the key of this asset tag property.
184             *
185             * @param key the key of this asset tag property
186             */
187            public void setKey(String key);
188    
189            /**
190             * Gets the value of this asset tag property.
191             *
192             * @return the value of this asset tag property
193             */
194            @AutoEscape
195            public String getValue();
196    
197            /**
198             * Sets the value of this asset tag property.
199             *
200             * @param value the value of this asset tag property
201             */
202            public void setValue(String value);
203    
204            /**
205             * Gets a copy of this asset tag property as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
206             *
207             * @return the escaped model instance
208             * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
209             */
210            public AssetTagProperty toEscapedModel();
211    
212            public boolean isNew();
213    
214            public void setNew(boolean n);
215    
216            public boolean isCachedModel();
217    
218            public void setCachedModel(boolean cachedModel);
219    
220            public boolean isEscapedModel();
221    
222            public void setEscapedModel(boolean escapedModel);
223    
224            public Serializable getPrimaryKeyObj();
225    
226            public ExpandoBridge getExpandoBridge();
227    
228            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
229    
230            public Object clone();
231    
232            public int compareTo(AssetTagProperty assetTagProperty);
233    
234            public int hashCode();
235    
236            public String toString();
237    
238            public String toXmlString();
239    }