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.blogs.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  
28  /**
29   * <a href="BlogsEntryModel.java.html"><b><i>View Source</i></b></a>
30   *
31   * <p>
32   * ServiceBuilder generated this class. Modifications in this class will be
33   * overwritten the next time is generated.
34   * </p>
35   *
36   * <p>
37   * This interface is a model that represents the BlogsEntry table in the
38   * database.
39   * </p>
40   *
41   * @author    Brian Wing Shun Chan
42   * @see       BlogsEntry
43   * @see       com.liferay.portlet.blogs.model.impl.BlogsEntryImpl
44   * @see       com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl
45   * @generated
46   */
47  public interface BlogsEntryModel extends BaseModel<BlogsEntry> {
48      public long getPrimaryKey();
49  
50      public void setPrimaryKey(long pk);
51  
52      @AutoEscape
53      public String getUuid();
54  
55      public void setUuid(String uuid);
56  
57      public long getEntryId();
58  
59      public void setEntryId(long entryId);
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      @AutoEscape
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      @AutoEscape
91      public String getTitle();
92  
93      public void setTitle(String title);
94  
95      @AutoEscape
96      public String getUrlTitle();
97  
98      public void setUrlTitle(String urlTitle);
99  
100     @AutoEscape
101     public String getContent();
102 
103     public void setContent(String content);
104 
105     public Date getDisplayDate();
106 
107     public void setDisplayDate(Date displayDate);
108 
109     public boolean getAllowPingbacks();
110 
111     public boolean isAllowPingbacks();
112 
113     public void setAllowPingbacks(boolean allowPingbacks);
114 
115     public boolean getAllowTrackbacks();
116 
117     public boolean isAllowTrackbacks();
118 
119     public void setAllowTrackbacks(boolean allowTrackbacks);
120 
121     @AutoEscape
122     public String getTrackbacks();
123 
124     public void setTrackbacks(String trackbacks);
125 
126     public int getStatus();
127 
128     public void setStatus(int status);
129 
130     public long getStatusByUserId();
131 
132     public void setStatusByUserId(long statusByUserId);
133 
134     public String getStatusByUserUuid() throws SystemException;
135 
136     public void setStatusByUserUuid(String statusByUserUuid);
137 
138     @AutoEscape
139     public String getStatusByUserName();
140 
141     public void setStatusByUserName(String statusByUserName);
142 
143     public Date getStatusDate();
144 
145     public void setStatusDate(Date statusDate);
146 
147     public boolean isApproved();
148 
149     public boolean isDraft();
150 
151     public boolean isExpired();
152 
153     public boolean isPending();
154 
155     public BlogsEntry toEscapedModel();
156 
157     public boolean isNew();
158 
159     public boolean setNew(boolean n);
160 
161     public boolean isCachedModel();
162 
163     public void setCachedModel(boolean cachedModel);
164 
165     public boolean isEscapedModel();
166 
167     public void setEscapedModel(boolean escapedModel);
168 
169     public Serializable getPrimaryKeyObj();
170 
171     public ExpandoBridge getExpandoBridge();
172 
173     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
174 
175     public Object clone();
176 
177     public int compareTo(BlogsEntry blogsEntry);
178 
179     public int hashCode();
180 
181     public String toString();
182 
183     public String toXmlString();
184 }