001    /**
002     * Copyright (c) 2000-2012 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    /**
018     * The extended model interface for the Group service. Represents a row in the "Group_" database table, with each column mapped to a property of this class.
019     *
020     * @author Brian Wing Shun Chan
021     * @see GroupModel
022     * @see com.liferay.portal.model.impl.GroupImpl
023     * @see com.liferay.portal.model.impl.GroupModelImpl
024     * @generated
025     */
026    public interface Group extends GroupModel, PersistedModel {
027            /*
028             * NOTE FOR DEVELOPERS:
029             *
030             * Never modify this interface directly. Add methods to {@link com.liferay.portal.model.impl.GroupImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
031             */
032            public java.util.List<com.liferay.portal.model.Group> getAncestors()
033                    throws com.liferay.portal.kernel.exception.PortalException,
034                            com.liferay.portal.kernel.exception.SystemException;
035    
036            public java.util.List<com.liferay.portal.model.Group> getChildren(
037                    boolean site)
038                    throws com.liferay.portal.kernel.exception.SystemException;
039    
040            public java.util.List<com.liferay.portal.model.Group> getChildrenWithLayouts(
041                    boolean site, int start, int end)
042                    throws com.liferay.portal.kernel.exception.SystemException;
043    
044            public int getChildrenWithLayoutsCount(boolean site)
045                    throws com.liferay.portal.kernel.exception.SystemException;
046    
047            public long getDefaultPrivatePlid();
048    
049            public long getDefaultPublicPlid();
050    
051            public java.lang.String getDescriptiveName()
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException;
054    
055            public java.lang.String getDescriptiveName(java.util.Locale locale)
056                    throws com.liferay.portal.kernel.exception.PortalException,
057                            com.liferay.portal.kernel.exception.SystemException;
058    
059            public com.liferay.portal.model.Group getLiveGroup();
060    
061            public java.lang.String getLiveParentTypeSettingsProperty(
062                    java.lang.String key);
063    
064            public long getOrganizationId();
065    
066            public com.liferay.portal.model.Group getParentGroup()
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException;
069    
070            public com.liferay.portal.kernel.util.UnicodeProperties getParentLiveGroupTypeSettingsProperties();
071    
072            public java.lang.String getPathFriendlyURL(boolean privateLayout,
073                    com.liferay.portal.theme.ThemeDisplay themeDisplay);
074    
075            public com.liferay.portal.model.LayoutSet getPrivateLayoutSet();
076    
077            public int getPrivateLayoutsPageCount();
078    
079            public com.liferay.portal.model.LayoutSet getPublicLayoutSet();
080    
081            public int getPublicLayoutsPageCount();
082    
083            public com.liferay.portal.model.Group getStagingGroup();
084    
085            public java.lang.String getTypeLabel();
086    
087            public java.lang.String getTypeSettings();
088    
089            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties();
090    
091            public java.lang.String getTypeSettingsProperty(java.lang.String key);
092    
093            public boolean hasPrivateLayouts();
094    
095            public boolean hasPublicLayouts();
096    
097            public boolean hasStagingGroup();
098    
099            /**
100            * @deprecated As of 6.1, renamed to {@link #isRegularSite}
101            */
102            public boolean isCommunity();
103    
104            public boolean isCompany();
105    
106            public boolean isControlPanel();
107    
108            public boolean isGuest();
109    
110            public boolean isInStagingPortlet(java.lang.String portletId);
111    
112            public boolean isLayout();
113    
114            public boolean isLayoutPrototype();
115    
116            public boolean isLayoutSetPrototype();
117    
118            public boolean isOrganization();
119    
120            public boolean isRegularSite();
121    
122            public boolean isRoot();
123    
124            public boolean isShowSite(
125                    com.liferay.portal.security.permission.PermissionChecker permissionChecker,
126                    boolean privateSite)
127                    throws com.liferay.portal.kernel.exception.PortalException,
128                            com.liferay.portal.kernel.exception.SystemException;
129    
130            public boolean isStaged();
131    
132            public boolean isStagedPortlet(java.lang.String portletId);
133    
134            public boolean isStagedRemotely();
135    
136            public boolean isStagingGroup();
137    
138            public boolean isUser();
139    
140            public boolean isUserGroup();
141    
142            public boolean isUserPersonalSite();
143    
144            public void setTypeSettings(java.lang.String typeSettings);
145    
146            public void setTypeSettingsProperties(
147                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties);
148    }