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.annotation.AutoEscape;
18  import com.liferay.portal.kernel.exception.SystemException;
19  import com.liferay.portal.model.BaseModel;
20  import com.liferay.portal.service.ServiceContext;
21  
22  import com.liferay.portlet.expando.model.ExpandoBridge;
23  
24  import java.io.Serializable;
25  
26  import java.util.Date;
27  import java.util.Locale;
28  import java.util.Map;
29  
30  /**
31   * <a href="AssetCategoryModel.java.html"><b><i>View Source</i></b></a>
32   *
33   * <p>
34   * ServiceBuilder generated this class. Modifications in this class will be
35   * overwritten the next time is generated.
36   * </p>
37   *
38   * <p>
39   * This interface is a model that represents the AssetCategory table in the
40   * database.
41   * </p>
42   *
43   * @author    Brian Wing Shun Chan
44   * @see       AssetCategory
45   * @see       com.liferay.portlet.asset.model.impl.AssetCategoryImpl
46   * @see       com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl
47   * @generated
48   */
49  public interface AssetCategoryModel extends BaseModel<AssetCategory> {
50      public long getPrimaryKey();
51  
52      public void setPrimaryKey(long pk);
53  
54      @AutoEscape
55      public String getUuid();
56  
57      public void setUuid(String uuid);
58  
59      public long getCategoryId();
60  
61      public void setCategoryId(long categoryId);
62  
63      public long getGroupId();
64  
65      public void setGroupId(long groupId);
66  
67      public long getCompanyId();
68  
69      public void setCompanyId(long companyId);
70  
71      public long getUserId();
72  
73      public void setUserId(long userId);
74  
75      public String getUserUuid() throws SystemException;
76  
77      public void setUserUuid(String userUuid);
78  
79      @AutoEscape
80      public String getUserName();
81  
82      public void setUserName(String userName);
83  
84      public Date getCreateDate();
85  
86      public void setCreateDate(Date createDate);
87  
88      public Date getModifiedDate();
89  
90      public void setModifiedDate(Date modifiedDate);
91  
92      public long getParentCategoryId();
93  
94      public void setParentCategoryId(long parentCategoryId);
95  
96      public long getLeftCategoryId();
97  
98      public void setLeftCategoryId(long leftCategoryId);
99  
100     public long getRightCategoryId();
101 
102     public void setRightCategoryId(long rightCategoryId);
103 
104     @AutoEscape
105     public String getName();
106 
107     public void setName(String name);
108 
109     public String getTitle();
110 
111     public String getTitle(Locale locale);
112 
113     public String getTitle(Locale locale, boolean useDefault);
114 
115     public String getTitle(String languageId);
116 
117     public String getTitle(String languageId, boolean useDefault);
118 
119     public Map<Locale, String> getTitleMap();
120 
121     public void setTitle(String title);
122 
123     public void setTitle(Locale locale, String title);
124 
125     public void setTitleMap(Map<Locale, String> titleMap);
126 
127     public long getVocabularyId();
128 
129     public void setVocabularyId(long vocabularyId);
130 
131     public AssetCategory toEscapedModel();
132 
133     public boolean isNew();
134 
135     public boolean setNew(boolean n);
136 
137     public boolean isCachedModel();
138 
139     public void setCachedModel(boolean cachedModel);
140 
141     public boolean isEscapedModel();
142 
143     public void setEscapedModel(boolean escapedModel);
144 
145     public Serializable getPrimaryKeyObj();
146 
147     public ExpandoBridge getExpandoBridge();
148 
149     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
150 
151     public Object clone();
152 
153     public int compareTo(AssetCategory assetCategory);
154 
155     public int hashCode();
156 
157     public String toString();
158 
159     public String toXmlString();
160 }