001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.model;
016    
017    /**
018     * The extended model interface for the Organization service. Represents a row in the "Organization_" database table, with each column mapped to a property of this class.
019     *
020     * @author Brian Wing Shun Chan
021     * @see OrganizationModel
022     * @see com.liferay.portal.model.impl.OrganizationImpl
023     * @see com.liferay.portal.model.impl.OrganizationModelImpl
024     * @generated
025     */
026    public interface Organization extends OrganizationModel, PersistedModel {
027            /*
028             * NOTE FOR DEVELOPERS:
029             *
030             * Never modify this interface directly. Add methods to {@link com.liferay.portal.model.impl.OrganizationImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
031             */
032            public java.util.List<com.liferay.portal.model.Organization> getAncestors()
033                    throws com.liferay.portal.kernel.exception.PortalException,
034                            com.liferay.portal.kernel.exception.SystemException;
035    
036            public com.liferay.portal.model.Organization getParentOrganization()
037                    throws com.liferay.portal.kernel.exception.PortalException,
038                            com.liferay.portal.kernel.exception.SystemException;
039    
040            public com.liferay.portal.model.Address getAddress();
041    
042            public java.util.List<com.liferay.portal.model.Address> getAddresses()
043                    throws com.liferay.portal.kernel.exception.SystemException;
044    
045            public java.lang.String[] getChildrenTypes();
046    
047            public java.util.List<com.liferay.portal.model.Organization> getDescendants()
048                    throws com.liferay.portal.kernel.exception.SystemException;
049    
050            public com.liferay.portal.model.Group getGroup();
051    
052            public long getLogoId();
053    
054            public javax.portlet.PortletPreferences getPreferences()
055                    throws com.liferay.portal.kernel.exception.SystemException;
056    
057            public int getPrivateLayoutsPageCount();
058    
059            public int getPublicLayoutsPageCount();
060    
061            public java.util.Set<java.lang.String> getReminderQueryQuestions(
062                    java.util.Locale locale)
063                    throws com.liferay.portal.kernel.exception.SystemException;
064    
065            public java.util.Set<java.lang.String> getReminderQueryQuestions(
066                    java.lang.String languageId)
067                    throws com.liferay.portal.kernel.exception.SystemException;
068    
069            public java.util.List<com.liferay.portal.model.Organization> getSuborganizations()
070                    throws com.liferay.portal.kernel.exception.SystemException;
071    
072            public int getSuborganizationsSize()
073                    throws com.liferay.portal.kernel.exception.SystemException;
074    
075            public int getTypeOrder();
076    
077            public boolean hasPrivateLayouts();
078    
079            public boolean hasPublicLayouts();
080    
081            public boolean hasSuborganizations()
082                    throws com.liferay.portal.kernel.exception.SystemException;
083    
084            public boolean isParentable();
085    
086            public boolean isRoot();
087    }