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