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