001    /**
002     * Copyright (c) 2000-2010 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    /**
019     * <p>
020     * This interface is a model that represents the Group_ table in the
021     * database.
022     * </p>
023     *
024     * <p>
025     * Customize {@link com.liferay.portal.model.impl.GroupImpl} and rerun the
026     * ServiceBuilder to generate the new methods.
027     * </p>
028     *
029     * @author    Brian Wing Shun Chan
030     * @see       GroupModel
031     * @see       com.liferay.portal.model.impl.GroupImpl
032     * @see       com.liferay.portal.model.impl.GroupModelImpl
033     * @generated
034     */
035    public interface Group extends GroupModel {
036            public long getDefaultPrivatePlid();
037    
038            public long getDefaultPublicPlid();
039    
040            public java.lang.String getDescriptiveName()
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 java.lang.String getPathFriendlyURL(boolean privateLayout,
047                    com.liferay.portal.theme.ThemeDisplay themeDisplay);
048    
049            public com.liferay.portal.model.LayoutSet getPrivateLayoutSet();
050    
051            public int getPrivateLayoutsPageCount();
052    
053            public com.liferay.portal.model.LayoutSet getPublicLayoutSet();
054    
055            public int getPublicLayoutsPageCount();
056    
057            public com.liferay.portal.model.Group getStagingGroup();
058    
059            public java.lang.String getTypeLabel();
060    
061            public java.lang.String getTypeSettings();
062    
063            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties();
064    
065            public java.lang.String getTypeSettingsProperty(java.lang.String key);
066    
067            public java.lang.String getWorkflowRoleNames();
068    
069            public int getWorkflowStages();
070    
071            public boolean hasPrivateLayouts();
072    
073            public boolean hasPublicLayouts();
074    
075            public boolean hasStagingGroup();
076    
077            public boolean isCommunity();
078    
079            public boolean isCompany();
080    
081            public boolean isControlPanel();
082    
083            public boolean isLayout();
084    
085            public boolean isLayoutPrototype();
086    
087            public boolean isLayoutSetPrototype();
088    
089            public boolean isOrganization();
090    
091            public boolean isStaged();
092    
093            public boolean isStagedPortlet(java.lang.String portletId);
094    
095            public boolean isStagedRemotely();
096    
097            public boolean isStagingGroup();
098    
099            public boolean isUser();
100    
101            public boolean isUserGroup();
102    
103            public boolean isWorkflowEnabled();
104    
105            public void setTypeSettings(java.lang.String typeSettings);
106    
107            public void setTypeSettingsProperties(
108                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties);
109    }