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.service.ServiceContext;
18  import com.liferay.portal.service.persistence.OrgGroupRolePK;
19  
20  import com.liferay.portlet.expando.model.ExpandoBridge;
21  
22  import java.io.Serializable;
23  
24  /**
25   * <a href="OrgGroupRoleModel.java.html"><b><i>View Source</i></b></a>
26   *
27   * <p>
28   * ServiceBuilder generated this class. Modifications in this class will be
29   * overwritten the next time is generated.
30   * </p>
31   *
32   * <p>
33   * This interface is a model that represents the OrgGroupRole table in the
34   * database.
35   * </p>
36   *
37   * @author    Brian Wing Shun Chan
38   * @see       OrgGroupRole
39   * @see       com.liferay.portal.model.impl.OrgGroupRoleImpl
40   * @see       com.liferay.portal.model.impl.OrgGroupRoleModelImpl
41   * @generated
42   */
43  public interface OrgGroupRoleModel extends BaseModel<OrgGroupRole> {
44      public OrgGroupRolePK getPrimaryKey();
45  
46      public void setPrimaryKey(OrgGroupRolePK pk);
47  
48      public long getOrganizationId();
49  
50      public void setOrganizationId(long organizationId);
51  
52      public long getGroupId();
53  
54      public void setGroupId(long groupId);
55  
56      public long getRoleId();
57  
58      public void setRoleId(long roleId);
59  
60      public boolean isNew();
61  
62      public boolean setNew(boolean n);
63  
64      public boolean isCachedModel();
65  
66      public void setCachedModel(boolean cachedModel);
67  
68      public boolean isEscapedModel();
69  
70      public void setEscapedModel(boolean escapedModel);
71  
72      public Serializable getPrimaryKeyObj();
73  
74      public ExpandoBridge getExpandoBridge();
75  
76      public void setExpandoBridgeAttributes(ServiceContext serviceContext);
77  
78      public Object clone();
79  
80      public int compareTo(OrgGroupRole orgGroupRole);
81  
82      public int hashCode();
83  
84      public OrgGroupRole toEscapedModel();
85  
86      public String toString();
87  
88      public String toXmlString();
89  }