001    /**
002     * Copyright (c) 2000-present 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.portal.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.AutoEscape;
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 Organization service. Represents a row in the "Organization_" 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.portal.model.impl.OrganizationModelImpl} 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.portal.model.impl.OrganizationImpl}.
033     * </p>
034     *
035     * @author Brian Wing Shun Chan
036     * @see Organization
037     * @see com.liferay.portal.model.impl.OrganizationImpl
038     * @see com.liferay.portal.model.impl.OrganizationModelImpl
039     * @generated
040     */
041    @ProviderType
042    public interface OrganizationModel extends BaseModel<Organization>, MVCCModel,
043            ShardedModel, StagedAuditedModel {
044            /*
045             * NOTE FOR DEVELOPERS:
046             *
047             * Never modify or reference this interface directly. All methods that expect a organization model instance should use the {@link Organization} interface instead.
048             */
049    
050            /**
051             * Returns the primary key of this organization.
052             *
053             * @return the primary key of this organization
054             */
055            public long getPrimaryKey();
056    
057            /**
058             * Sets the primary key of this organization.
059             *
060             * @param primaryKey the primary key of this organization
061             */
062            public void setPrimaryKey(long primaryKey);
063    
064            /**
065             * Returns the mvcc version of this organization.
066             *
067             * @return the mvcc version of this organization
068             */
069            @Override
070            public long getMvccVersion();
071    
072            /**
073             * Sets the mvcc version of this organization.
074             *
075             * @param mvccVersion the mvcc version of this organization
076             */
077            @Override
078            public void setMvccVersion(long mvccVersion);
079    
080            /**
081             * Returns the uuid of this organization.
082             *
083             * @return the uuid of this organization
084             */
085            @AutoEscape
086            @Override
087            public String getUuid();
088    
089            /**
090             * Sets the uuid of this organization.
091             *
092             * @param uuid the uuid of this organization
093             */
094            @Override
095            public void setUuid(String uuid);
096    
097            /**
098             * Returns the organization ID of this organization.
099             *
100             * @return the organization ID of this organization
101             */
102            public long getOrganizationId();
103    
104            /**
105             * Sets the organization ID of this organization.
106             *
107             * @param organizationId the organization ID of this organization
108             */
109            public void setOrganizationId(long organizationId);
110    
111            /**
112             * Returns the company ID of this organization.
113             *
114             * @return the company ID of this organization
115             */
116            @Override
117            public long getCompanyId();
118    
119            /**
120             * Sets the company ID of this organization.
121             *
122             * @param companyId the company ID of this organization
123             */
124            @Override
125            public void setCompanyId(long companyId);
126    
127            /**
128             * Returns the user ID of this organization.
129             *
130             * @return the user ID of this organization
131             */
132            @Override
133            public long getUserId();
134    
135            /**
136             * Sets the user ID of this organization.
137             *
138             * @param userId the user ID of this organization
139             */
140            @Override
141            public void setUserId(long userId);
142    
143            /**
144             * Returns the user uuid of this organization.
145             *
146             * @return the user uuid of this organization
147             */
148            @Override
149            public String getUserUuid();
150    
151            /**
152             * Sets the user uuid of this organization.
153             *
154             * @param userUuid the user uuid of this organization
155             */
156            @Override
157            public void setUserUuid(String userUuid);
158    
159            /**
160             * Returns the user name of this organization.
161             *
162             * @return the user name of this organization
163             */
164            @AutoEscape
165            @Override
166            public String getUserName();
167    
168            /**
169             * Sets the user name of this organization.
170             *
171             * @param userName the user name of this organization
172             */
173            @Override
174            public void setUserName(String userName);
175    
176            /**
177             * Returns the create date of this organization.
178             *
179             * @return the create date of this organization
180             */
181            @Override
182            public Date getCreateDate();
183    
184            /**
185             * Sets the create date of this organization.
186             *
187             * @param createDate the create date of this organization
188             */
189            @Override
190            public void setCreateDate(Date createDate);
191    
192            /**
193             * Returns the modified date of this organization.
194             *
195             * @return the modified date of this organization
196             */
197            @Override
198            public Date getModifiedDate();
199    
200            /**
201             * Sets the modified date of this organization.
202             *
203             * @param modifiedDate the modified date of this organization
204             */
205            @Override
206            public void setModifiedDate(Date modifiedDate);
207    
208            /**
209             * Returns the parent organization ID of this organization.
210             *
211             * @return the parent organization ID of this organization
212             */
213            public long getParentOrganizationId();
214    
215            /**
216             * Sets the parent organization ID of this organization.
217             *
218             * @param parentOrganizationId the parent organization ID of this organization
219             */
220            public void setParentOrganizationId(long parentOrganizationId);
221    
222            /**
223             * Returns the tree path of this organization.
224             *
225             * @return the tree path of this organization
226             */
227            @AutoEscape
228            public String getTreePath();
229    
230            /**
231             * Sets the tree path of this organization.
232             *
233             * @param treePath the tree path of this organization
234             */
235            public void setTreePath(String treePath);
236    
237            /**
238             * Returns the name of this organization.
239             *
240             * @return the name of this organization
241             */
242            @AutoEscape
243            public String getName();
244    
245            /**
246             * Sets the name of this organization.
247             *
248             * @param name the name of this organization
249             */
250            public void setName(String name);
251    
252            /**
253             * Returns the type of this organization.
254             *
255             * @return the type of this organization
256             */
257            public String getType();
258    
259            /**
260             * Sets the type of this organization.
261             *
262             * @param type the type of this organization
263             */
264            public void setType(String type);
265    
266            /**
267             * Returns the recursable of this organization.
268             *
269             * @return the recursable of this organization
270             */
271            public boolean getRecursable();
272    
273            /**
274             * Returns <code>true</code> if this organization is recursable.
275             *
276             * @return <code>true</code> if this organization is recursable; <code>false</code> otherwise
277             */
278            public boolean isRecursable();
279    
280            /**
281             * Sets whether this organization is recursable.
282             *
283             * @param recursable the recursable of this organization
284             */
285            public void setRecursable(boolean recursable);
286    
287            /**
288             * Returns the region ID of this organization.
289             *
290             * @return the region ID of this organization
291             */
292            public long getRegionId();
293    
294            /**
295             * Sets the region ID of this organization.
296             *
297             * @param regionId the region ID of this organization
298             */
299            public void setRegionId(long regionId);
300    
301            /**
302             * Returns the country ID of this organization.
303             *
304             * @return the country ID of this organization
305             */
306            public long getCountryId();
307    
308            /**
309             * Sets the country ID of this organization.
310             *
311             * @param countryId the country ID of this organization
312             */
313            public void setCountryId(long countryId);
314    
315            /**
316             * Returns the status ID of this organization.
317             *
318             * @return the status ID of this organization
319             */
320            public long getStatusId();
321    
322            /**
323             * Sets the status ID of this organization.
324             *
325             * @param statusId the status ID of this organization
326             */
327            public void setStatusId(long statusId);
328    
329            /**
330             * Returns the comments of this organization.
331             *
332             * @return the comments of this organization
333             */
334            @AutoEscape
335            public String getComments();
336    
337            /**
338             * Sets the comments of this organization.
339             *
340             * @param comments the comments of this organization
341             */
342            public void setComments(String comments);
343    
344            /**
345             * Returns the logo ID of this organization.
346             *
347             * @return the logo ID of this organization
348             */
349            public long getLogoId();
350    
351            /**
352             * Sets the logo ID of this organization.
353             *
354             * @param logoId the logo ID of this organization
355             */
356            public void setLogoId(long logoId);
357    
358            @Override
359            public boolean isNew();
360    
361            @Override
362            public void setNew(boolean n);
363    
364            @Override
365            public boolean isCachedModel();
366    
367            @Override
368            public void setCachedModel(boolean cachedModel);
369    
370            @Override
371            public boolean isEscapedModel();
372    
373            @Override
374            public Serializable getPrimaryKeyObj();
375    
376            @Override
377            public void setPrimaryKeyObj(Serializable primaryKeyObj);
378    
379            @Override
380            public ExpandoBridge getExpandoBridge();
381    
382            @Override
383            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
384    
385            @Override
386            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
387    
388            @Override
389            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
390    
391            @Override
392            public Object clone();
393    
394            @Override
395            public int compareTo(com.liferay.portal.model.Organization organization);
396    
397            @Override
398            public int hashCode();
399    
400            @Override
401            public CacheModel<com.liferay.portal.model.Organization> toCacheModel();
402    
403            @Override
404            public com.liferay.portal.model.Organization toEscapedModel();
405    
406            @Override
407            public com.liferay.portal.model.Organization toUnescapedModel();
408    
409            @Override
410            public String toString();
411    
412            @Override
413            public String toXmlString();
414    }