001    /**
002     * Copyright (c) 2000-2013 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    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * 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.
021     *
022     * @author Brian Wing Shun Chan
023     * @see GroupModel
024     * @see com.liferay.portal.model.impl.GroupImpl
025     * @see com.liferay.portal.model.impl.GroupModelImpl
026     * @generated
027     */
028    @ProviderType
029    public interface Group extends GroupModel, PersistedModel, TreeModel {
030            /*
031             * NOTE FOR DEVELOPERS:
032             *
033             * 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.
034             */
035            public void clearStagingGroup();
036    
037            public java.util.List<com.liferay.portal.model.Group> getAncestors()
038                    throws com.liferay.portal.kernel.exception.PortalException,
039                            com.liferay.portal.kernel.exception.SystemException;
040    
041            public java.util.List<com.liferay.portal.model.Group> getChildren(
042                    boolean site)
043                    throws com.liferay.portal.kernel.exception.SystemException;
044    
045            /**
046            * @deprecated As of 7.0.0, replaced by {@link
047            #getChildrenWithLayouts(boolean, int, int, OrderByComparator}
048            */
049            @java.lang.Deprecated()
050            public java.util.List<com.liferay.portal.model.Group> getChildrenWithLayouts(
051                    boolean site, int start, int end)
052                    throws com.liferay.portal.kernel.exception.SystemException;
053    
054            public java.util.List<com.liferay.portal.model.Group> getChildrenWithLayouts(
055                    boolean site, int start, int end,
056                    com.liferay.portal.kernel.util.OrderByComparator obc)
057                    throws com.liferay.portal.kernel.exception.SystemException;
058    
059            public int getChildrenWithLayoutsCount(boolean site)
060                    throws com.liferay.portal.kernel.exception.SystemException;
061    
062            public long getDefaultPrivatePlid();
063    
064            public long getDefaultPublicPlid();
065    
066            public java.lang.String getDescriptiveName()
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException;
069    
070            public java.lang.String getDescriptiveName(java.util.Locale locale)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException;
073    
074            public java.lang.String getIconURL(
075                    com.liferay.portal.theme.ThemeDisplay themeDisplay);
076    
077            public java.lang.String getLayoutRootNodeName(boolean privateLayout,
078                    java.util.Locale locale);
079    
080            public com.liferay.portal.model.Group getLiveGroup();
081    
082            public java.lang.String getLiveParentTypeSettingsProperty(
083                    java.lang.String key);
084    
085            public long getOrganizationId();
086    
087            public com.liferay.portal.model.Group getParentGroup()
088                    throws com.liferay.portal.kernel.exception.PortalException,
089                            com.liferay.portal.kernel.exception.SystemException;
090    
091            public com.liferay.portal.kernel.util.UnicodeProperties getParentLiveGroupTypeSettingsProperties();
092    
093            public java.lang.String getPathFriendlyURL(boolean privateLayout,
094                    com.liferay.portal.theme.ThemeDisplay themeDisplay);
095    
096            public com.liferay.portal.model.LayoutSet getPrivateLayoutSet();
097    
098            public int getPrivateLayoutsPageCount();
099    
100            public com.liferay.portal.model.LayoutSet getPublicLayoutSet();
101    
102            public int getPublicLayoutsPageCount();
103    
104            public java.lang.String getScopeDescriptiveName(
105                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
106                    throws com.liferay.portal.kernel.exception.PortalException,
107                            com.liferay.portal.kernel.exception.SystemException;
108    
109            public java.lang.String getScopeLabel(
110                    com.liferay.portal.theme.ThemeDisplay themeDisplay);
111    
112            public com.liferay.portal.model.Group getStagingGroup();
113    
114            public java.lang.String getTypeLabel();
115    
116            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties();
117    
118            public java.lang.String getTypeSettingsProperty(java.lang.String key);
119    
120            public boolean hasAncestor(long groupId);
121    
122            public boolean hasLocalOrRemoteStagingGroup();
123    
124            public boolean hasPrivateLayouts();
125    
126            public boolean hasPublicLayouts();
127    
128            public boolean hasStagingGroup();
129    
130            /**
131            * @deprecated As of 7.0.0, replaced by {@link #hasAncestor}
132            */
133            public boolean isChild(long groupId);
134    
135            /**
136            * @deprecated As of 6.1.0, renamed to {@link #isRegularSite}
137            */
138            public boolean isCommunity();
139    
140            public boolean isCompany();
141    
142            public boolean isCompanyStagingGroup();
143    
144            public boolean isControlPanel();
145    
146            public boolean isGuest();
147    
148            public boolean isInStagingPortlet(java.lang.String portletId);
149    
150            public boolean isLayout();
151    
152            public boolean isLayoutPrototype();
153    
154            public boolean isLayoutSetPrototype();
155    
156            public boolean isLimitedToParentSiteMembers();
157    
158            public boolean isOrganization();
159    
160            public boolean isRegularSite();
161    
162            public boolean isRoot();
163    
164            public boolean isShowSite(
165                    com.liferay.portal.security.permission.PermissionChecker permissionChecker,
166                    boolean privateSite)
167                    throws com.liferay.portal.kernel.exception.PortalException,
168                            com.liferay.portal.kernel.exception.SystemException;
169    
170            public boolean isStaged();
171    
172            public boolean isStagedPortlet(java.lang.String portletId);
173    
174            public boolean isStagedRemotely();
175    
176            public boolean isStagingGroup();
177    
178            public boolean isUser();
179    
180            public boolean isUserGroup();
181    
182            public boolean isUserPersonalSite();
183    
184            public void setTypeSettingsProperties(
185                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties);
186    }