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    /**
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 long getDefaultPrivatePlid();
033    
034            public long getDefaultPublicPlid();
035    
036            public java.lang.String getDescriptiveName()
037                    throws com.liferay.portal.kernel.exception.PortalException,
038                            com.liferay.portal.kernel.exception.SystemException;
039    
040            public java.lang.String getDescriptiveName(java.util.Locale locale)
041                    throws com.liferay.portal.kernel.exception.PortalException,
042                            com.liferay.portal.kernel.exception.SystemException;
043    
044            public com.liferay.portal.model.Group getLiveGroup();
045    
046            public long getOrganizationId();
047    
048            public com.liferay.portal.model.Group getParentGroup()
049                    throws com.liferay.portal.kernel.exception.PortalException,
050                            com.liferay.portal.kernel.exception.SystemException;
051    
052            public java.lang.String getPathFriendlyURL(boolean privateLayout,
053                    com.liferay.portal.theme.ThemeDisplay themeDisplay);
054    
055            public com.liferay.portal.model.LayoutSet getPrivateLayoutSet();
056    
057            public int getPrivateLayoutsPageCount();
058    
059            public com.liferay.portal.model.LayoutSet getPublicLayoutSet();
060    
061            public int getPublicLayoutsPageCount();
062    
063            public com.liferay.portal.model.Group getStagingGroup();
064    
065            public java.lang.String getTypeLabel();
066    
067            public java.lang.String getTypeSettings();
068    
069            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties();
070    
071            public java.lang.String getTypeSettingsProperty(java.lang.String key);
072    
073            public boolean hasPrivateLayouts();
074    
075            public boolean hasPublicLayouts();
076    
077            public boolean hasStagingGroup();
078    
079            /**
080            * @deprecated As of 6.1.0, renamed to {@link #isRegularSite}
081            */
082            public boolean isCommunity();
083    
084            public boolean isCompany();
085    
086            public boolean isControlPanel();
087    
088            public boolean isGuest();
089    
090            public boolean isInStagingPortlet(java.lang.String portletId);
091    
092            public boolean isLayout();
093    
094            public boolean isLayoutPrototype();
095    
096            public boolean isLayoutSetPrototype();
097    
098            public boolean isOrganization();
099    
100            public boolean isRegularSite();
101    
102            public boolean isShowSite(
103                    com.liferay.portal.security.permission.PermissionChecker permissionChecker,
104                    boolean privateSite)
105                    throws com.liferay.portal.kernel.exception.PortalException,
106                            com.liferay.portal.kernel.exception.SystemException;
107    
108            public boolean isStaged();
109    
110            public boolean isStagedPortlet(java.lang.String portletId);
111    
112            public boolean isStagedRemotely();
113    
114            public boolean isStagingGroup();
115    
116            public boolean isUser();
117    
118            public boolean isUserGroup();
119    
120            public boolean isUserPersonalSite();
121    
122            public void setTypeSettings(java.lang.String typeSettings);
123    
124            public void setTypeSettingsProperties(
125                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties);
126    }