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     * The 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     * <p>
021     * 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.
022     * </p>
023     *
024     * <p>
025     * Never reference this interface directly. All methods that expect a group model instance should use the {@link Group} interface instead.
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see GroupModel
030     * @see com.liferay.portal.model.impl.GroupImpl
031     * @see com.liferay.portal.model.impl.GroupModelImpl
032     * @generated
033     */
034    public interface Group extends GroupModel {
035            public long getDefaultPrivatePlid();
036    
037            public long getDefaultPublicPlid();
038    
039            public java.lang.String getDescriptiveName()
040                    throws com.liferay.portal.kernel.exception.PortalException,
041                            com.liferay.portal.kernel.exception.SystemException;
042    
043            public com.liferay.portal.model.Group getLiveGroup();
044    
045            public long getOrganizationId();
046    
047            public java.lang.String getPathFriendlyURL(boolean privateLayout,
048                    com.liferay.portal.theme.ThemeDisplay themeDisplay);
049    
050            public com.liferay.portal.model.LayoutSet getPrivateLayoutSet();
051    
052            public int getPrivateLayoutsPageCount();
053    
054            public com.liferay.portal.model.LayoutSet getPublicLayoutSet();
055    
056            public int getPublicLayoutsPageCount();
057    
058            public com.liferay.portal.model.Group getStagingGroup();
059    
060            public java.lang.String getTypeLabel();
061    
062            public java.lang.String getTypeSettings();
063    
064            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties();
065    
066            public java.lang.String getTypeSettingsProperty(java.lang.String key);
067    
068            public java.lang.String getWorkflowRoleNames();
069    
070            public int getWorkflowStages();
071    
072            public boolean hasPrivateLayouts();
073    
074            public boolean hasPublicLayouts();
075    
076            public boolean hasStagingGroup();
077    
078            public boolean isCommunity();
079    
080            public boolean isCompany();
081    
082            public boolean isControlPanel();
083    
084            public boolean isLayout();
085    
086            public boolean isLayoutPrototype();
087    
088            public boolean isLayoutSetPrototype();
089    
090            public boolean isOrganization();
091    
092            public boolean isStaged();
093    
094            public boolean isStagedPortlet(java.lang.String portletId);
095    
096            public boolean isStagedRemotely();
097    
098            public boolean isStagingGroup();
099    
100            public boolean isUser();
101    
102            public boolean isUserGroup();
103    
104            public boolean isWorkflowEnabled();
105    
106            public void setTypeSettings(java.lang.String typeSettings);
107    
108            public void setTypeSettingsProperties(
109                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties);
110    }