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  import com.liferay.portal.SystemException;
18  
19  import java.io.Serializable;
20  
21  /**
22   * <a href="GroupModel.java.html"><b><i>View Source</i></b></a>
23   *
24   * <p>
25   * ServiceBuilder generated this class. Modifications in this class will be
26   * overwritten the next time is generated.
27   * </p>
28   *
29   * <p>
30   * This interface is a model that represents the Group_ table in the
31   * database.
32   * </p>
33   *
34   * @author    Brian Wing Shun Chan
35   * @see       Group
36   * @see       com.liferay.portal.model.impl.GroupImpl
37   * @see       com.liferay.portal.model.impl.GroupModelImpl
38   * @generated
39   */
40  public interface GroupModel extends BaseModel<Group> {
41      public long getPrimaryKey();
42  
43      public void setPrimaryKey(long pk);
44  
45      public long getGroupId();
46  
47      public void setGroupId(long groupId);
48  
49      public long getCompanyId();
50  
51      public void setCompanyId(long companyId);
52  
53      public long getCreatorUserId();
54  
55      public void setCreatorUserId(long creatorUserId);
56  
57      public String getCreatorUserUuid() throws SystemException;
58  
59      public void setCreatorUserUuid(String creatorUserUuid);
60  
61      public String getClassName();
62  
63      public long getClassNameId();
64  
65      public void setClassNameId(long classNameId);
66  
67      public long getClassPK();
68  
69      public void setClassPK(long classPK);
70  
71      public long getParentGroupId();
72  
73      public void setParentGroupId(long parentGroupId);
74  
75      public long getLiveGroupId();
76  
77      public void setLiveGroupId(long liveGroupId);
78  
79      public String getName();
80  
81      public void setName(String name);
82  
83      public String getDescription();
84  
85      public void setDescription(String description);
86  
87      public int getType();
88  
89      public void setType(int type);
90  
91      public String getTypeSettings();
92  
93      public void setTypeSettings(String typeSettings);
94  
95      public String getFriendlyURL();
96  
97      public void setFriendlyURL(String friendlyURL);
98  
99      public boolean getActive();
100 
101     public boolean isActive();
102 
103     public void setActive(boolean active);
104 
105     public Group toEscapedModel();
106 
107     public boolean isNew();
108 
109     public boolean setNew(boolean n);
110 
111     public boolean isCachedModel();
112 
113     public void setCachedModel(boolean cachedModel);
114 
115     public boolean isEscapedModel();
116 
117     public void setEscapedModel(boolean escapedModel);
118 
119     public Serializable getPrimaryKeyObj();
120 
121     public Object clone();
122 
123     public int compareTo(Group group);
124 
125     public int hashCode();
126 
127     public String toString();
128 
129     public String toXmlString();
130 }