1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.asset.model;
16  
17  import com.liferay.portal.kernel.exception.SystemException;
18  import com.liferay.portal.model.BaseModel;
19  import com.liferay.portal.service.ServiceContext;
20  
21  import com.liferay.portlet.expando.model.ExpandoBridge;
22  
23  import java.io.Serializable;
24  
25  import java.util.Date;
26  import java.util.Locale;
27  import java.util.Map;
28  
29  /**
30   * <a href="AssetCategoryModel.java.html"><b><i>View Source</i></b></a>
31   *
32   * <p>
33   * ServiceBuilder generated this class. Modifications in this class will be
34   * overwritten the next time is generated.
35   * </p>
36   *
37   * <p>
38   * This interface is a model that represents the AssetCategory table in the
39   * database.
40   * </p>
41   *
42   * @author    Brian Wing Shun Chan
43   * @see       AssetCategory
44   * @see       com.liferay.portlet.asset.model.impl.AssetCategoryImpl
45   * @see       com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl
46   * @generated
47   */
48  public interface AssetCategoryModel extends BaseModel<AssetCategory> {
49      public long getPrimaryKey();
50  
51      public void setPrimaryKey(long pk);
52  
53      public String getUuid();
54  
55      public void setUuid(String uuid);
56  
57      public long getCategoryId();
58  
59      public void setCategoryId(long categoryId);
60  
61      public long getGroupId();
62  
63      public void setGroupId(long groupId);
64  
65      public long getCompanyId();
66  
67      public void setCompanyId(long companyId);
68  
69      public long getUserId();
70  
71      public void setUserId(long userId);
72  
73      public String getUserUuid() throws SystemException;
74  
75      public void setUserUuid(String userUuid);
76  
77      public String getUserName();
78  
79      public void setUserName(String userName);
80  
81      public Date getCreateDate();
82  
83      public void setCreateDate(Date createDate);
84  
85      public Date getModifiedDate();
86  
87      public void setModifiedDate(Date modifiedDate);
88  
89      public long getParentCategoryId();
90  
91      public void setParentCategoryId(long parentCategoryId);
92  
93      public long getLeftCategoryId();
94  
95      public void setLeftCategoryId(long leftCategoryId);
96  
97      public long getRightCategoryId();
98  
99      public void setRightCategoryId(long rightCategoryId);
100 
101     public String getName();
102 
103     public void setName(String name);
104 
105     public String getTitle();
106 
107     public String getTitle(Locale locale);
108 
109     public String getTitle(Locale locale, boolean useDefault);
110 
111     public String getTitle(String languageId);
112 
113     public String getTitle(String languageId, boolean useDefault);
114 
115     public Map<Locale, String> getTitleMap();
116 
117     public void setTitle(String title);
118 
119     public void setTitle(Locale locale, String title);
120 
121     public void setTitleMap(Map<Locale, String> titleMap);
122 
123     public long getVocabularyId();
124 
125     public void setVocabularyId(long vocabularyId);
126 
127     public AssetCategory toEscapedModel();
128 
129     public boolean isNew();
130 
131     public boolean setNew(boolean n);
132 
133     public boolean isCachedModel();
134 
135     public void setCachedModel(boolean cachedModel);
136 
137     public boolean isEscapedModel();
138 
139     public void setEscapedModel(boolean escapedModel);
140 
141     public Serializable getPrimaryKeyObj();
142 
143     public ExpandoBridge getExpandoBridge();
144 
145     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
146 
147     public Object clone();
148 
149     public int compareTo(AssetCategory assetCategory);
150 
151     public int hashCode();
152 
153     public String toString();
154 
155     public String toXmlString();
156 }