001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.journal.model;
016    
017    import com.liferay.portal.kernel.annotation.AutoEscape;
018    import com.liferay.portal.kernel.exception.SystemException;
019    import com.liferay.portal.model.BaseModel;
020    import com.liferay.portal.service.ServiceContext;
021    
022    import com.liferay.portlet.expando.model.ExpandoBridge;
023    
024    import java.io.Serializable;
025    
026    import java.util.Date;
027    
028    /**
029     * The base model interface for the JournalStructure service. Represents a row in the "JournalStructure" database table, with each column mapped to a property of this class.
030     *
031     * <p>
032     * This interface and its corresponding implementation {@link com.liferay.portlet.journal.model.impl.JournalStructureModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portlet.journal.model.impl.JournalStructureImpl}.
033     * </p>
034     *
035     * <p>
036     * Never modify or reference this interface directly. All methods that expect a journal structure model instance should use the {@link JournalStructure} interface instead.
037     * </p>
038     *
039     * @author Brian Wing Shun Chan
040     * @see JournalStructure
041     * @see com.liferay.portlet.journal.model.impl.JournalStructureImpl
042     * @see com.liferay.portlet.journal.model.impl.JournalStructureModelImpl
043     * @generated
044     */
045    public interface JournalStructureModel extends BaseModel<JournalStructure> {
046            /**
047             * Gets the primary key of this journal structure.
048             *
049             * @return the primary key of this journal structure
050             */
051            public long getPrimaryKey();
052    
053            /**
054             * Sets the primary key of this journal structure
055             *
056             * @param pk the primary key of this journal structure
057             */
058            public void setPrimaryKey(long pk);
059    
060            /**
061             * Gets the uuid of this journal structure.
062             *
063             * @return the uuid of this journal structure
064             */
065            @AutoEscape
066            public String getUuid();
067    
068            /**
069             * Sets the uuid of this journal structure.
070             *
071             * @param uuid the uuid of this journal structure
072             */
073            public void setUuid(String uuid);
074    
075            /**
076             * Gets the id of this journal structure.
077             *
078             * @return the id of this journal structure
079             */
080            public long getId();
081    
082            /**
083             * Sets the id of this journal structure.
084             *
085             * @param id the id of this journal structure
086             */
087            public void setId(long id);
088    
089            /**
090             * Gets the group id of this journal structure.
091             *
092             * @return the group id of this journal structure
093             */
094            public long getGroupId();
095    
096            /**
097             * Sets the group id of this journal structure.
098             *
099             * @param groupId the group id of this journal structure
100             */
101            public void setGroupId(long groupId);
102    
103            /**
104             * Gets the company id of this journal structure.
105             *
106             * @return the company id of this journal structure
107             */
108            public long getCompanyId();
109    
110            /**
111             * Sets the company id of this journal structure.
112             *
113             * @param companyId the company id of this journal structure
114             */
115            public void setCompanyId(long companyId);
116    
117            /**
118             * Gets the user id of this journal structure.
119             *
120             * @return the user id of this journal structure
121             */
122            public long getUserId();
123    
124            /**
125             * Sets the user id of this journal structure.
126             *
127             * @param userId the user id of this journal structure
128             */
129            public void setUserId(long userId);
130    
131            /**
132             * Gets the user uuid of this journal structure.
133             *
134             * @return the user uuid of this journal structure
135             * @throws SystemException if a system exception occurred
136             */
137            public String getUserUuid() throws SystemException;
138    
139            /**
140             * Sets the user uuid of this journal structure.
141             *
142             * @param userUuid the user uuid of this journal structure
143             */
144            public void setUserUuid(String userUuid);
145    
146            /**
147             * Gets the user name of this journal structure.
148             *
149             * @return the user name of this journal structure
150             */
151            @AutoEscape
152            public String getUserName();
153    
154            /**
155             * Sets the user name of this journal structure.
156             *
157             * @param userName the user name of this journal structure
158             */
159            public void setUserName(String userName);
160    
161            /**
162             * Gets the create date of this journal structure.
163             *
164             * @return the create date of this journal structure
165             */
166            public Date getCreateDate();
167    
168            /**
169             * Sets the create date of this journal structure.
170             *
171             * @param createDate the create date of this journal structure
172             */
173            public void setCreateDate(Date createDate);
174    
175            /**
176             * Gets the modified date of this journal structure.
177             *
178             * @return the modified date of this journal structure
179             */
180            public Date getModifiedDate();
181    
182            /**
183             * Sets the modified date of this journal structure.
184             *
185             * @param modifiedDate the modified date of this journal structure
186             */
187            public void setModifiedDate(Date modifiedDate);
188    
189            /**
190             * Gets the structure id of this journal structure.
191             *
192             * @return the structure id of this journal structure
193             */
194            public String getStructureId();
195    
196            /**
197             * Sets the structure id of this journal structure.
198             *
199             * @param structureId the structure id of this journal structure
200             */
201            public void setStructureId(String structureId);
202    
203            /**
204             * Gets the parent structure id of this journal structure.
205             *
206             * @return the parent structure id of this journal structure
207             */
208            @AutoEscape
209            public String getParentStructureId();
210    
211            /**
212             * Sets the parent structure id of this journal structure.
213             *
214             * @param parentStructureId the parent structure id of this journal structure
215             */
216            public void setParentStructureId(String parentStructureId);
217    
218            /**
219             * Gets the name of this journal structure.
220             *
221             * @return the name of this journal structure
222             */
223            @AutoEscape
224            public String getName();
225    
226            /**
227             * Sets the name of this journal structure.
228             *
229             * @param name the name of this journal structure
230             */
231            public void setName(String name);
232    
233            /**
234             * Gets the description of this journal structure.
235             *
236             * @return the description of this journal structure
237             */
238            @AutoEscape
239            public String getDescription();
240    
241            /**
242             * Sets the description of this journal structure.
243             *
244             * @param description the description of this journal structure
245             */
246            public void setDescription(String description);
247    
248            /**
249             * Gets the xsd of this journal structure.
250             *
251             * @return the xsd of this journal structure
252             */
253            @AutoEscape
254            public String getXsd();
255    
256            /**
257             * Sets the xsd of this journal structure.
258             *
259             * @param xsd the xsd of this journal structure
260             */
261            public void setXsd(String xsd);
262    
263            /**
264             * Gets a copy of this journal structure as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
265             *
266             * @return the escaped model instance
267             * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
268             */
269            public JournalStructure toEscapedModel();
270    
271            public boolean isNew();
272    
273            public void setNew(boolean n);
274    
275            public boolean isCachedModel();
276    
277            public void setCachedModel(boolean cachedModel);
278    
279            public boolean isEscapedModel();
280    
281            public void setEscapedModel(boolean escapedModel);
282    
283            public Serializable getPrimaryKeyObj();
284    
285            public ExpandoBridge getExpandoBridge();
286    
287            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
288    
289            public Object clone();
290    
291            public int compareTo(JournalStructure journalStructure);
292    
293            public int hashCode();
294    
295            public String toString();
296    
297            public String toXmlString();
298    }