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            public java.util.List<com.liferay.portal.model.Group> getChildrenWithLayouts(
046                    boolean site, int start, int end)
047                    throws com.liferay.portal.kernel.exception.SystemException;
048    
049            public int getChildrenWithLayoutsCount(boolean site)
050                    throws com.liferay.portal.kernel.exception.SystemException;
051    
052            public long getDefaultPrivatePlid();
053    
054            public long getDefaultPublicPlid();
055    
056            public java.lang.String getDescriptiveName()
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException;
059    
060            public java.lang.String getDescriptiveName(java.util.Locale locale)
061                    throws com.liferay.portal.kernel.exception.PortalException,
062                            com.liferay.portal.kernel.exception.SystemException;
063    
064            public java.lang.String getIconURL(
065                    com.liferay.portal.theme.ThemeDisplay themeDisplay);
066    
067            public java.lang.String getLayoutRootNodeName(boolean privateLayout,
068                    java.util.Locale locale);
069    
070            public com.liferay.portal.model.Group getLiveGroup();
071    
072            public java.lang.String getLiveParentTypeSettingsProperty(
073                    java.lang.String key);
074    
075            public long getOrganizationId();
076    
077            public com.liferay.portal.model.Group getParentGroup()
078                    throws com.liferay.portal.kernel.exception.PortalException,
079                            com.liferay.portal.kernel.exception.SystemException;
080    
081            public com.liferay.portal.kernel.util.UnicodeProperties getParentLiveGroupTypeSettingsProperties();
082    
083            public java.lang.String getPathFriendlyURL(boolean privateLayout,
084                    com.liferay.portal.theme.ThemeDisplay themeDisplay);
085    
086            public com.liferay.portal.model.LayoutSet getPrivateLayoutSet();
087    
088            public int getPrivateLayoutsPageCount();
089    
090            public com.liferay.portal.model.LayoutSet getPublicLayoutSet();
091    
092            public int getPublicLayoutsPageCount();
093    
094            public java.lang.String getScopeDescriptiveName(
095                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
096                    throws com.liferay.portal.kernel.exception.PortalException,
097                            com.liferay.portal.kernel.exception.SystemException;
098    
099            public java.lang.String getScopeLabel(
100                    com.liferay.portal.theme.ThemeDisplay themeDisplay);
101    
102            public com.liferay.portal.model.Group getStagingGroup();
103    
104            public java.lang.String getTypeLabel();
105    
106            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties();
107    
108            public java.lang.String getTypeSettingsProperty(java.lang.String key);
109    
110            public boolean hasAncestor(long groupId);
111    
112            public boolean hasLocalOrRemoteStagingGroup();
113    
114            public boolean hasPrivateLayouts();
115    
116            public boolean hasPublicLayouts();
117    
118            public boolean hasStagingGroup();
119    
120            /**
121            * @deprecated As of 7.0.0, replaced by {@link #hasAncestor}
122            */
123            public boolean isChild(long groupId);
124    
125            /**
126            * @deprecated As of 6.1.0, renamed to {@link #isRegularSite}
127            */
128            public boolean isCommunity();
129    
130            public boolean isCompany();
131    
132            public boolean isCompanyStagingGroup();
133    
134            public boolean isControlPanel();
135    
136            public boolean isGuest();
137    
138            public boolean isInStagingPortlet(java.lang.String portletId);
139    
140            public boolean isLayout();
141    
142            public boolean isLayoutPrototype();
143    
144            public boolean isLayoutSetPrototype();
145    
146            public boolean isLimitedToParentSiteMembers();
147    
148            public boolean isOrganization();
149    
150            public boolean isRegularSite();
151    
152            public boolean isRoot();
153    
154            public boolean isShowSite(
155                    com.liferay.portal.security.permission.PermissionChecker permissionChecker,
156                    boolean privateSite)
157                    throws com.liferay.portal.kernel.exception.PortalException,
158                            com.liferay.portal.kernel.exception.SystemException;
159    
160            public boolean isStaged();
161    
162            public boolean isStagedPortlet(java.lang.String portletId);
163    
164            public boolean isStagedRemotely();
165    
166            public boolean isStagingGroup();
167    
168            public boolean isUser();
169    
170            public boolean isUserGroup();
171    
172            public boolean isUserPersonalSite();
173    
174            public void setTypeSettingsProperties(
175                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties);
176    }