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.portal.model;
16  
17  
18  /**
19   * <a href="Organization.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This interface is a model that represents the Organization_ table in the
28   * database.
29   * </p>
30   *
31   * <p>
32   * Customize {@link com.liferay.portal.model.impl.OrganizationImpl} and rerun the
33   * ServiceBuilder to generate the new methods.
34   * </p>
35   *
36   * @author    Brian Wing Shun Chan
37   * @see       OrganizationModel
38   * @see       com.liferay.portal.model.impl.OrganizationImpl
39   * @see       com.liferay.portal.model.impl.OrganizationModelImpl
40   * @generated
41   */
42  public interface Organization extends OrganizationModel {
43      public java.util.List<com.liferay.portal.model.Organization> getAncestors()
44          throws com.liferay.portal.kernel.exception.PortalException,
45              com.liferay.portal.kernel.exception.SystemException;
46  
47      public com.liferay.portal.model.Organization getParentOrganization()
48          throws com.liferay.portal.kernel.exception.PortalException,
49              com.liferay.portal.kernel.exception.SystemException;
50  
51      public com.liferay.portal.model.Address getAddress();
52  
53      public java.util.List<com.liferay.portal.model.Address> getAddresses()
54          throws com.liferay.portal.kernel.exception.SystemException;
55  
56      public java.lang.String[] getChildrenTypes();
57  
58      public java.util.List<com.liferay.portal.model.Organization> getDescendants()
59          throws com.liferay.portal.kernel.exception.SystemException;
60  
61      public com.liferay.portal.model.Group getGroup();
62  
63      public long getLogoId();
64  
65      public javax.portlet.PortletPreferences getPreferences()
66          throws com.liferay.portal.kernel.exception.SystemException;
67  
68      public int getPrivateLayoutsPageCount();
69  
70      public int getPublicLayoutsPageCount();
71  
72      public java.util.Set<String> getReminderQueryQuestions(
73          java.util.Locale locale)
74          throws com.liferay.portal.kernel.exception.SystemException;
75  
76      public java.util.Set<String> getReminderQueryQuestions(
77          java.lang.String languageId)
78          throws com.liferay.portal.kernel.exception.SystemException;
79  
80      public java.util.List<com.liferay.portal.model.Organization> getSuborganizations()
81          throws com.liferay.portal.kernel.exception.SystemException;
82  
83      public int getSuborganizationsSize()
84          throws com.liferay.portal.kernel.exception.SystemException;
85  
86      public int getTypeOrder();
87  
88      public boolean hasPrivateLayouts();
89  
90      public boolean hasPublicLayouts();
91  
92      public boolean hasSuborganizations()
93          throws com.liferay.portal.kernel.exception.SystemException;
94  
95      public boolean isParentable();
96  
97      public boolean isRoot();
98  }