1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.model;
24  
25  import com.liferay.portal.SystemException;
26  import com.liferay.portal.service.ServiceContext;
27  
28  import com.liferay.portlet.expando.model.ExpandoBridge;
29  
30  import java.io.Serializable;
31  
32  import java.util.Date;
33  
34  /**
35   * <a href="PortletItemModel.java.html"><b><i>View Source</i></b></a>
36   *
37   * <p>
38   * ServiceBuilder generated this class. Modifications in this class will be
39   * overwritten the next time is generated.
40   * </p>
41   *
42   * <p>
43   * This interface is a model that represents the PortletItem table in the
44   * database.
45   * </p>
46   *
47   * @author    Brian Wing Shun Chan
48   * @see       PortletItem
49   * @see       com.liferay.portal.model.impl.PortletItemImpl
50   * @see       com.liferay.portal.model.impl.PortletItemModelImpl
51   * @generated
52   */
53  public interface PortletItemModel extends BaseModel<PortletItem> {
54      public long getPrimaryKey();
55  
56      public void setPrimaryKey(long pk);
57  
58      public long getPortletItemId();
59  
60      public void setPortletItemId(long portletItemId);
61  
62      public long getGroupId();
63  
64      public void setGroupId(long groupId);
65  
66      public long getCompanyId();
67  
68      public void setCompanyId(long companyId);
69  
70      public long getUserId();
71  
72      public void setUserId(long userId);
73  
74      public String getUserUuid() throws SystemException;
75  
76      public void setUserUuid(String userUuid);
77  
78      public String getUserName();
79  
80      public void setUserName(String userName);
81  
82      public Date getCreateDate();
83  
84      public void setCreateDate(Date createDate);
85  
86      public Date getModifiedDate();
87  
88      public void setModifiedDate(Date modifiedDate);
89  
90      public String getName();
91  
92      public void setName(String name);
93  
94      public String getPortletId();
95  
96      public void setPortletId(String portletId);
97  
98      public String getClassName();
99  
100     public long getClassNameId();
101 
102     public void setClassNameId(long classNameId);
103 
104     public PortletItem toEscapedModel();
105 
106     public boolean isNew();
107 
108     public boolean setNew(boolean n);
109 
110     public boolean isCachedModel();
111 
112     public void setCachedModel(boolean cachedModel);
113 
114     public boolean isEscapedModel();
115 
116     public void setEscapedModel(boolean escapedModel);
117 
118     public Serializable getPrimaryKeyObj();
119 
120     public ExpandoBridge getExpandoBridge();
121 
122     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
123 
124     public Object clone();
125 
126     public int compareTo(PortletItem portletItem);
127 
128     public int hashCode();
129 
130     public String toString();
131 
132     public String toXmlString();
133 }