| Group.java |
1 /**
2 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3 *
4 * The contents of this file are subject to the terms of the Liferay Enterprise
5 * Subscription License ("License"). You may not use this file except in
6 * compliance with the License. You can obtain a copy of the License by
7 * contacting Liferay, Inc. See the License for the specific language governing
8 * permissions and limitations under the License, including but not limited to
9 * distribution rights of the Software.
10 *
11 *
12 *
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 isLayout();
46
47 public boolean isOrganization();
48
49 public boolean isUser();
50
51 public boolean isUserGroup();
52
53 public com.liferay.portal.model.Group getLiveGroup();
54
55 public com.liferay.portal.model.Group getStagingGroup();
56
57 public boolean hasStagingGroup();
58
59 public boolean isStagingGroup();
60
61 public java.lang.String getDescriptiveName();
62
63 public java.lang.String getTypeLabel();
64
65 public java.lang.String getTypeSettings();
66
67 public void setTypeSettings(java.lang.String typeSettings);
68
69 public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties();
70
71 public void setTypeSettingsProperties(
72 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties);
73
74 public java.lang.String getTypeSettingsProperty(java.lang.String key);
75
76 public java.lang.String getPathFriendlyURL(boolean privateLayout,
77 com.liferay.portal.theme.ThemeDisplay themeDisplay);
78
79 public long getDefaultPrivatePlid();
80
81 public int getPrivateLayoutsPageCount();
82
83 public boolean hasPrivateLayouts();
84
85 public long getDefaultPublicPlid();
86
87 public int getPublicLayoutsPageCount();
88
89 public boolean hasPublicLayouts();
90
91 public boolean isWorkflowEnabled();
92
93 public int getWorkflowStages();
94
95 public java.lang.String getWorkflowRoleNames();
96 }