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  import java.io.Serializable;
18  
19  /**
20   * <a href="ResourcePermissionModel.java.html"><b><i>View Source</i></b></a>
21   *
22   * <p>
23   * ServiceBuilder generated this class. Modifications in this class will be
24   * overwritten the next time is generated.
25   * </p>
26   *
27   * <p>
28   * This interface is a model that represents the ResourcePermission table in the
29   * database.
30   * </p>
31   *
32   * @author    Brian Wing Shun Chan
33   * @see       ResourcePermission
34   * @see       com.liferay.portal.model.impl.ResourcePermissionImpl
35   * @see       com.liferay.portal.model.impl.ResourcePermissionModelImpl
36   * @generated
37   */
38  public interface ResourcePermissionModel extends BaseModel<ResourcePermission> {
39      public long getPrimaryKey();
40  
41      public void setPrimaryKey(long pk);
42  
43      public long getResourcePermissionId();
44  
45      public void setResourcePermissionId(long resourcePermissionId);
46  
47      public long getCompanyId();
48  
49      public void setCompanyId(long companyId);
50  
51      public String getName();
52  
53      public void setName(String name);
54  
55      public int getScope();
56  
57      public void setScope(int scope);
58  
59      public String getPrimKey();
60  
61      public void setPrimKey(String primKey);
62  
63      public long getRoleId();
64  
65      public void setRoleId(long roleId);
66  
67      public long getActionIds();
68  
69      public void setActionIds(long actionIds);
70  
71      public ResourcePermission toEscapedModel();
72  
73      public boolean isNew();
74  
75      public boolean setNew(boolean n);
76  
77      public boolean isCachedModel();
78  
79      public void setCachedModel(boolean cachedModel);
80  
81      public boolean isEscapedModel();
82  
83      public void setEscapedModel(boolean escapedModel);
84  
85      public Serializable getPrimaryKeyObj();
86  
87      public Object clone();
88  
89      public int compareTo(ResourcePermission resourcePermission);
90  
91      public int hashCode();
92  
93      public String toString();
94  
95      public String toXmlString();
96  }