1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   * 
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.PortalException,
45              com.liferay.portal.SystemException;
46  
47      public com.liferay.portal.model.Organization getParentOrganization()
48          throws com.liferay.portal.PortalException,
49              com.liferay.portal.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.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.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.SystemException;
67  
68      public int getPrivateLayoutsPageCount();
69  
70      public int getPublicLayoutsPageCount();
71  
72      public java.util.Set<String> getReminderQueryQuestions(
73          java.util.Locale locale) throws com.liferay.portal.SystemException;
74  
75      public java.util.Set<String> getReminderQueryQuestions(
76          java.lang.String languageId) throws com.liferay.portal.SystemException;
77  
78      public java.util.List<com.liferay.portal.model.Organization> getSuborganizations()
79          throws com.liferay.portal.SystemException;
80  
81      public int getSuborganizationsSize()
82          throws com.liferay.portal.SystemException;
83  
84      public int getTypeOrder();
85  
86      public boolean hasPrivateLayouts();
87  
88      public boolean hasPublicLayouts();
89  
90      public boolean hasSuborganizations()
91          throws com.liferay.portal.SystemException;
92  
93      public boolean isParentable();
94  
95      public boolean isRoot();
96  }