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 boolean isCommunity();
44  
45      public boolean isCompany();
46  
47      public boolean isLayout();
48  
49      public boolean isLayoutPrototype();
50  
51      public boolean isLayoutSetPrototype();
52  
53      public boolean isOrganization();
54  
55      public boolean isUser();
56  
57      public boolean isUserGroup();
58  
59      public com.liferay.portal.model.Group getLiveGroup();
60  
61      public com.liferay.portal.model.Group getStagingGroup();
62  
63      public boolean hasStagingGroup();
64  
65      public boolean isStagingGroup();
66  
67      public java.lang.String getDescriptiveName();
68  
69      public java.lang.String getTypeLabel();
70  
71      public java.lang.String getTypeSettings();
72  
73      public void setTypeSettings(java.lang.String typeSettings);
74  
75      public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties();
76  
77      public void setTypeSettingsProperties(
78          com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties);
79  
80      public java.lang.String getTypeSettingsProperty(java.lang.String key);
81  
82      public java.lang.String getPathFriendlyURL(boolean privateLayout,
83          com.liferay.portal.theme.ThemeDisplay themeDisplay);
84  
85      public long getDefaultPrivatePlid();
86  
87      public com.liferay.portal.model.LayoutSet getPrivateLayoutSet();
88  
89      public int getPrivateLayoutsPageCount();
90  
91      public boolean hasPrivateLayouts();
92  
93      public long getDefaultPublicPlid();
94  
95      public com.liferay.portal.model.LayoutSet getPublicLayoutSet();
96  
97      public int getPublicLayoutsPageCount();
98  
99      public boolean hasPublicLayouts();
100 
101     public boolean isWorkflowEnabled();
102 
103     public int getWorkflowStages();
104 
105     public java.lang.String getWorkflowRoleNames();
106 }