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    import java.util.Locale;
028    import java.util.Map;
029    
030    /**
031     * <p>
032     * This interface is a model that represents the AssetCategory table in the
033     * database.
034     * </p>
035     *
036     * @author    Brian Wing Shun Chan
037     * @see       AssetCategory
038     * @see       com.liferay.portlet.asset.model.impl.AssetCategoryImpl
039     * @see       com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl
040     * @generated
041     */
042    public interface AssetCategoryModel extends BaseModel<AssetCategory> {
043            public long getPrimaryKey();
044    
045            public void setPrimaryKey(long pk);
046    
047            @AutoEscape
048            public String getUuid();
049    
050            public void setUuid(String uuid);
051    
052            public long getCategoryId();
053    
054            public void setCategoryId(long categoryId);
055    
056            public long getGroupId();
057    
058            public void setGroupId(long groupId);
059    
060            public long getCompanyId();
061    
062            public void setCompanyId(long companyId);
063    
064            public long getUserId();
065    
066            public void setUserId(long userId);
067    
068            public String getUserUuid() throws SystemException;
069    
070            public void setUserUuid(String userUuid);
071    
072            @AutoEscape
073            public String getUserName();
074    
075            public void setUserName(String userName);
076    
077            public Date getCreateDate();
078    
079            public void setCreateDate(Date createDate);
080    
081            public Date getModifiedDate();
082    
083            public void setModifiedDate(Date modifiedDate);
084    
085            public long getParentCategoryId();
086    
087            public void setParentCategoryId(long parentCategoryId);
088    
089            public long getLeftCategoryId();
090    
091            public void setLeftCategoryId(long leftCategoryId);
092    
093            public long getRightCategoryId();
094    
095            public void setRightCategoryId(long rightCategoryId);
096    
097            @AutoEscape
098            public String getName();
099    
100            public void setName(String name);
101    
102            public String getTitle();
103    
104            public String getTitle(Locale locale);
105    
106            public String getTitle(Locale locale, boolean useDefault);
107    
108            public String getTitle(String languageId);
109    
110            public String getTitle(String languageId, boolean useDefault);
111    
112            public Map<Locale, String> getTitleMap();
113    
114            public void setTitle(String title);
115    
116            public void setTitle(Locale locale, String title);
117    
118            public void setTitleMap(Map<Locale, String> titleMap);
119    
120            public long getVocabularyId();
121    
122            public void setVocabularyId(long vocabularyId);
123    
124            public AssetCategory toEscapedModel();
125    
126            public boolean isNew();
127    
128            public void setNew(boolean n);
129    
130            public boolean isCachedModel();
131    
132            public void setCachedModel(boolean cachedModel);
133    
134            public boolean isEscapedModel();
135    
136            public void setEscapedModel(boolean escapedModel);
137    
138            public Serializable getPrimaryKeyObj();
139    
140            public ExpandoBridge getExpandoBridge();
141    
142            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
143    
144            public Object clone();
145    
146            public int compareTo(AssetCategory assetCategory);
147    
148            public int hashCode();
149    
150            public String toString();
151    
152            public String toXmlString();
153    }