001    /**
002     * Copyright (c) 2000-2010 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 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     * <p>
021     * 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.
022     * </p>
023     *
024     * <p>
025     * Never reference this interface directly. All methods that expect a organization model instance should use the {@link Organization} interface instead.
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see OrganizationModel
030     * @see com.liferay.portal.model.impl.OrganizationImpl
031     * @see com.liferay.portal.model.impl.OrganizationModelImpl
032     * @generated
033     */
034    public interface Organization extends OrganizationModel {
035            public java.util.List<com.liferay.portal.model.Organization> getAncestors()
036                    throws com.liferay.portal.kernel.exception.PortalException,
037                            com.liferay.portal.kernel.exception.SystemException;
038    
039            public com.liferay.portal.model.Organization getParentOrganization()
040                    throws com.liferay.portal.kernel.exception.PortalException,
041                            com.liferay.portal.kernel.exception.SystemException;
042    
043            public com.liferay.portal.model.Address getAddress();
044    
045            public java.util.List<com.liferay.portal.model.Address> getAddresses()
046                    throws com.liferay.portal.kernel.exception.SystemException;
047    
048            public java.lang.String[] getChildrenTypes();
049    
050            public java.util.List<com.liferay.portal.model.Organization> getDescendants()
051                    throws com.liferay.portal.kernel.exception.SystemException;
052    
053            public com.liferay.portal.model.Group getGroup();
054    
055            public long getLogoId();
056    
057            public javax.portlet.PortletPreferences getPreferences()
058                    throws com.liferay.portal.kernel.exception.SystemException;
059    
060            public int getPrivateLayoutsPageCount();
061    
062            public int getPublicLayoutsPageCount();
063    
064            public java.util.Set<java.lang.String> getReminderQueryQuestions(
065                    java.util.Locale locale)
066                    throws com.liferay.portal.kernel.exception.SystemException;
067    
068            public java.util.Set<java.lang.String> getReminderQueryQuestions(
069                    java.lang.String languageId)
070                    throws com.liferay.portal.kernel.exception.SystemException;
071    
072            public java.util.List<com.liferay.portal.model.Organization> getSuborganizations()
073                    throws com.liferay.portal.kernel.exception.SystemException;
074    
075            public int getSuborganizationsSize()
076                    throws com.liferay.portal.kernel.exception.SystemException;
077    
078            public int getTypeOrder();
079    
080            public boolean hasPrivateLayouts();
081    
082            public boolean hasPublicLayouts();
083    
084            public boolean hasSuborganizations()
085                    throws com.liferay.portal.kernel.exception.SystemException;
086    
087            public boolean isParentable();
088    
089            public boolean isRoot();
090    }