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="AssetVocabularyModel.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 AssetVocabulary table in the
40   * database.
41   * </p>
42   *
43   * @author    Brian Wing Shun Chan
44   * @see       AssetVocabulary
45   * @see       com.liferay.portlet.asset.model.impl.AssetVocabularyImpl
46   * @see       com.liferay.portlet.asset.model.impl.AssetVocabularyModelImpl
47   * @generated
48   */
49  public interface AssetVocabularyModel extends BaseModel<AssetVocabulary> {
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 getVocabularyId();
60  
61      public void setVocabularyId(long vocabularyId);
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      @AutoEscape
93      public String getName();
94  
95      public void setName(String name);
96  
97      public String getTitle();
98  
99      public String getTitle(Locale locale);
100 
101     public String getTitle(Locale locale, boolean useDefault);
102 
103     public String getTitle(String languageId);
104 
105     public String getTitle(String languageId, boolean useDefault);
106 
107     public Map<Locale, String> getTitleMap();
108 
109     public void setTitle(String title);
110 
111     public void setTitle(Locale locale, String title);
112 
113     public void setTitleMap(Map<Locale, String> titleMap);
114 
115     public String getDescription();
116 
117     public String getDescription(Locale locale);
118 
119     public String getDescription(Locale locale, boolean useDefault);
120 
121     public String getDescription(String languageId);
122 
123     public String getDescription(String languageId, boolean useDefault);
124 
125     public Map<Locale, String> getDescriptionMap();
126 
127     public void setDescription(String description);
128 
129     public void setDescription(Locale locale, String description);
130 
131     public void setDescriptionMap(Map<Locale, String> descriptionMap);
132 
133     @AutoEscape
134     public String getSettings();
135 
136     public void setSettings(String settings);
137 
138     public AssetVocabulary toEscapedModel();
139 
140     public boolean isNew();
141 
142     public boolean setNew(boolean n);
143 
144     public boolean isCachedModel();
145 
146     public void setCachedModel(boolean cachedModel);
147 
148     public boolean isEscapedModel();
149 
150     public void setEscapedModel(boolean escapedModel);
151 
152     public Serializable getPrimaryKeyObj();
153 
154     public ExpandoBridge getExpandoBridge();
155 
156     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
157 
158     public Object clone();
159 
160     public int compareTo(AssetVocabulary assetVocabulary);
161 
162     public int hashCode();
163 
164     public String toString();
165 
166     public String toXmlString();
167 }