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