1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.model;
16  
17  
18  /**
19   * <a href="Group.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This interface is a model that represents the Group_ table in the
28   * database.
29   * </p>
30   *
31   * <p>
32   * Customize {@link com.liferay.portal.model.impl.GroupImpl} and rerun the
33   * ServiceBuilder to generate the new methods.
34   * </p>
35   *
36   * @author    Brian Wing Shun Chan
37   * @see       GroupModel
38   * @see       com.liferay.portal.model.impl.GroupImpl
39   * @see       com.liferay.portal.model.impl.GroupModelImpl
40   * @generated
41   */
42  public interface Group extends GroupModel {
43      public long getDefaultPrivatePlid();
44  
45      public long getDefaultPublicPlid();
46  
47      public java.lang.String getDescriptiveName()
48          throws com.liferay.portal.kernel.exception.PortalException,
49              com.liferay.portal.kernel.exception.SystemException;
50  
51      public com.liferay.portal.model.Group getLiveGroup();
52  
53      public java.lang.String getPathFriendlyURL(boolean privateLayout,
54          com.liferay.portal.theme.ThemeDisplay themeDisplay);
55  
56      public com.liferay.portal.model.LayoutSet getPrivateLayoutSet();
57  
58      public int getPrivateLayoutsPageCount();
59  
60      public com.liferay.portal.model.LayoutSet getPublicLayoutSet();
61  
62      public int getPublicLayoutsPageCount();
63  
64      public com.liferay.portal.model.Group getStagingGroup();
65  
66      public java.lang.String getTypeLabel();
67  
68      public java.lang.String getTypeSettings();
69  
70      public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties();
71  
72      public java.lang.String getTypeSettingsProperty(java.lang.String key);
73  
74      public java.lang.String getWorkflowRoleNames();
75  
76      public int getWorkflowStages();
77  
78      public boolean hasPrivateLayouts();
79  
80      public boolean hasPublicLayouts();
81  
82      public boolean hasStagingGroup();
83  
84      public boolean isCommunity();
85  
86      public boolean isCompany();
87  
88      public boolean isControlPanel();
89  
90      public boolean isLayout();
91  
92      public boolean isLayoutPrototype();
93  
94      public boolean isLayoutSetPrototype();
95  
96      public boolean isOrganization();
97  
98      public boolean isOrganization(boolean includeStaging);
99  
100     public boolean isStagingGroup();
101 
102     public boolean isUser();
103 
104     public boolean isUserGroup();
105 
106     public boolean isWorkflowEnabled();
107 
108     public void setTypeSettings(java.lang.String typeSettings);
109 
110     public void setTypeSettingsProperties(
111         com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties);
112 }