001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.AutoEscape;
020    import com.liferay.portal.service.ServiceContext;
021    
022    import com.liferay.portlet.expando.model.ExpandoBridge;
023    
024    import java.io.Serializable;
025    
026    /**
027     * The base model interface for the ResourceTypePermission service. Represents a row in the "ResourceTypePermission" database table, with each column mapped to a property of this class.
028     *
029     * <p>
030     * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.ResourceTypePermissionModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portal.model.impl.ResourceTypePermissionImpl}.
031     * </p>
032     *
033     * @author Brian Wing Shun Chan
034     * @see ResourceTypePermission
035     * @see com.liferay.portal.model.impl.ResourceTypePermissionImpl
036     * @see com.liferay.portal.model.impl.ResourceTypePermissionModelImpl
037     * @generated
038     */
039    @ProviderType
040    public interface ResourceTypePermissionModel extends BaseModel<ResourceTypePermission>,
041            MVCCModel {
042            /*
043             * NOTE FOR DEVELOPERS:
044             *
045             * Never modify or reference this interface directly. All methods that expect a resource type permission model instance should use the {@link ResourceTypePermission} interface instead.
046             */
047    
048            /**
049             * Returns the primary key of this resource type permission.
050             *
051             * @return the primary key of this resource type permission
052             */
053            public long getPrimaryKey();
054    
055            /**
056             * Sets the primary key of this resource type permission.
057             *
058             * @param primaryKey the primary key of this resource type permission
059             */
060            public void setPrimaryKey(long primaryKey);
061    
062            /**
063             * Returns the mvcc version of this resource type permission.
064             *
065             * @return the mvcc version of this resource type permission
066             */
067            @Override
068            public long getMvccVersion();
069    
070            /**
071             * Sets the mvcc version of this resource type permission.
072             *
073             * @param mvccVersion the mvcc version of this resource type permission
074             */
075            @Override
076            public void setMvccVersion(long mvccVersion);
077    
078            /**
079             * Returns the resource type permission ID of this resource type permission.
080             *
081             * @return the resource type permission ID of this resource type permission
082             */
083            public long getResourceTypePermissionId();
084    
085            /**
086             * Sets the resource type permission ID of this resource type permission.
087             *
088             * @param resourceTypePermissionId the resource type permission ID of this resource type permission
089             */
090            public void setResourceTypePermissionId(long resourceTypePermissionId);
091    
092            /**
093             * Returns the company ID of this resource type permission.
094             *
095             * @return the company ID of this resource type permission
096             */
097            public long getCompanyId();
098    
099            /**
100             * Sets the company ID of this resource type permission.
101             *
102             * @param companyId the company ID of this resource type permission
103             */
104            public void setCompanyId(long companyId);
105    
106            /**
107             * Returns the group ID of this resource type permission.
108             *
109             * @return the group ID of this resource type permission
110             */
111            public long getGroupId();
112    
113            /**
114             * Sets the group ID of this resource type permission.
115             *
116             * @param groupId the group ID of this resource type permission
117             */
118            public void setGroupId(long groupId);
119    
120            /**
121             * Returns the name of this resource type permission.
122             *
123             * @return the name of this resource type permission
124             */
125            @AutoEscape
126            public String getName();
127    
128            /**
129             * Sets the name of this resource type permission.
130             *
131             * @param name the name of this resource type permission
132             */
133            public void setName(String name);
134    
135            /**
136             * Returns the role ID of this resource type permission.
137             *
138             * @return the role ID of this resource type permission
139             */
140            public long getRoleId();
141    
142            /**
143             * Sets the role ID of this resource type permission.
144             *
145             * @param roleId the role ID of this resource type permission
146             */
147            public void setRoleId(long roleId);
148    
149            /**
150             * Returns the action IDs of this resource type permission.
151             *
152             * @return the action IDs of this resource type permission
153             */
154            public long getActionIds();
155    
156            /**
157             * Sets the action IDs of this resource type permission.
158             *
159             * @param actionIds the action IDs of this resource type permission
160             */
161            public void setActionIds(long actionIds);
162    
163            @Override
164            public boolean isNew();
165    
166            @Override
167            public void setNew(boolean n);
168    
169            @Override
170            public boolean isCachedModel();
171    
172            @Override
173            public void setCachedModel(boolean cachedModel);
174    
175            @Override
176            public boolean isEscapedModel();
177    
178            @Override
179            public Serializable getPrimaryKeyObj();
180    
181            @Override
182            public void setPrimaryKeyObj(Serializable primaryKeyObj);
183    
184            @Override
185            public ExpandoBridge getExpandoBridge();
186    
187            @Override
188            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
189    
190            @Override
191            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
192    
193            @Override
194            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
195    
196            @Override
197            public Object clone();
198    
199            @Override
200            public int compareTo(
201                    com.liferay.portal.model.ResourceTypePermission resourceTypePermission);
202    
203            @Override
204            public int hashCode();
205    
206            @Override
207            public CacheModel<com.liferay.portal.model.ResourceTypePermission> toCacheModel();
208    
209            @Override
210            public com.liferay.portal.model.ResourceTypePermission toEscapedModel();
211    
212            @Override
213            public com.liferay.portal.model.ResourceTypePermission toUnescapedModel();
214    
215            @Override
216            public String toString();
217    
218            @Override
219            public String toXmlString();
220    }