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 long getOrganizationId();
062    
063            public com.liferay.portal.model.Group getParentGroup()
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException;
066    
067            public java.lang.String getPathFriendlyURL(boolean privateLayout,
068                    com.liferay.portal.theme.ThemeDisplay themeDisplay);
069    
070            public com.liferay.portal.model.LayoutSet getPrivateLayoutSet();
071    
072            public int getPrivateLayoutsPageCount();
073    
074            public com.liferay.portal.model.LayoutSet getPublicLayoutSet();
075    
076            public int getPublicLayoutsPageCount();
077    
078            public com.liferay.portal.model.Group getStagingGroup();
079    
080            public java.lang.String getTypeLabel();
081    
082            public java.lang.String getTypeSettings();
083    
084            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties();
085    
086            public java.lang.String getTypeSettingsProperty(java.lang.String key);
087    
088            public boolean hasPrivateLayouts();
089    
090            public boolean hasPublicLayouts();
091    
092            public boolean hasStagingGroup();
093    
094            /**
095            * @deprecated As of 6.1, renamed to {@link #isRegularSite}
096            */
097            public boolean isCommunity();
098    
099            public boolean isCompany();
100    
101            public boolean isControlPanel();
102    
103            public boolean isGuest();
104    
105            public boolean isLayout();
106    
107            public boolean isLayoutPrototype();
108    
109            public boolean isLayoutSetPrototype();
110    
111            public boolean isOrganization();
112    
113            public boolean isRegularSite();
114    
115            public boolean isRoot();
116    
117            public boolean isShowSite(
118                    com.liferay.portal.security.permission.PermissionChecker permissionChecker,
119                    boolean privateSite)
120                    throws com.liferay.portal.kernel.exception.PortalException,
121                            com.liferay.portal.kernel.exception.SystemException;
122    
123            public boolean isStaged();
124    
125            public boolean isStagedPortlet(java.lang.String portletId);
126    
127            public boolean isStagedRemotely();
128    
129            public boolean isStagingGroup();
130    
131            public boolean isUser();
132    
133            public boolean isUserGroup();
134    
135            public boolean isUserPersonalSite();
136    
137            public void setTypeSettings(java.lang.String typeSettings);
138    
139            public void setTypeSettingsProperties(
140                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties);
141    }