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.service.ServiceContext;
020    
021    import com.liferay.portlet.expando.model.ExpandoBridge;
022    
023    import java.io.Serializable;
024    
025    /**
026     * The base model interface for the ResourceBlockPermission service. Represents a row in the "ResourceBlockPermission" database table, with each column mapped to a property of this class.
027     *
028     * <p>
029     * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.ResourceBlockPermissionModelImpl} 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.ResourceBlockPermissionImpl}.
030     * </p>
031     *
032     * @author Brian Wing Shun Chan
033     * @see ResourceBlockPermission
034     * @see com.liferay.portal.model.impl.ResourceBlockPermissionImpl
035     * @see com.liferay.portal.model.impl.ResourceBlockPermissionModelImpl
036     * @generated
037     */
038    @ProviderType
039    public interface ResourceBlockPermissionModel extends BaseModel<ResourceBlockPermission>,
040            MVCCModel, ShardedModel {
041            /*
042             * NOTE FOR DEVELOPERS:
043             *
044             * Never modify or reference this interface directly. All methods that expect a resource block permission model instance should use the {@link ResourceBlockPermission} interface instead.
045             */
046    
047            /**
048             * Returns the primary key of this resource block permission.
049             *
050             * @return the primary key of this resource block permission
051             */
052            public long getPrimaryKey();
053    
054            /**
055             * Sets the primary key of this resource block permission.
056             *
057             * @param primaryKey the primary key of this resource block permission
058             */
059            public void setPrimaryKey(long primaryKey);
060    
061            /**
062             * Returns the mvcc version of this resource block permission.
063             *
064             * @return the mvcc version of this resource block permission
065             */
066            @Override
067            public long getMvccVersion();
068    
069            /**
070             * Sets the mvcc version of this resource block permission.
071             *
072             * @param mvccVersion the mvcc version of this resource block permission
073             */
074            @Override
075            public void setMvccVersion(long mvccVersion);
076    
077            /**
078             * Returns the resource block permission ID of this resource block permission.
079             *
080             * @return the resource block permission ID of this resource block permission
081             */
082            public long getResourceBlockPermissionId();
083    
084            /**
085             * Sets the resource block permission ID of this resource block permission.
086             *
087             * @param resourceBlockPermissionId the resource block permission ID of this resource block permission
088             */
089            public void setResourceBlockPermissionId(long resourceBlockPermissionId);
090    
091            /**
092             * Returns the company ID of this resource block permission.
093             *
094             * @return the company ID of this resource block permission
095             */
096            @Override
097            public long getCompanyId();
098    
099            /**
100             * Sets the company ID of this resource block permission.
101             *
102             * @param companyId the company ID of this resource block permission
103             */
104            @Override
105            public void setCompanyId(long companyId);
106    
107            /**
108             * Returns the resource block ID of this resource block permission.
109             *
110             * @return the resource block ID of this resource block permission
111             */
112            public long getResourceBlockId();
113    
114            /**
115             * Sets the resource block ID of this resource block permission.
116             *
117             * @param resourceBlockId the resource block ID of this resource block permission
118             */
119            public void setResourceBlockId(long resourceBlockId);
120    
121            /**
122             * Returns the role ID of this resource block permission.
123             *
124             * @return the role ID of this resource block permission
125             */
126            public long getRoleId();
127    
128            /**
129             * Sets the role ID of this resource block permission.
130             *
131             * @param roleId the role ID of this resource block permission
132             */
133            public void setRoleId(long roleId);
134    
135            /**
136             * Returns the action IDs of this resource block permission.
137             *
138             * @return the action IDs of this resource block permission
139             */
140            public long getActionIds();
141    
142            /**
143             * Sets the action IDs of this resource block permission.
144             *
145             * @param actionIds the action IDs of this resource block permission
146             */
147            public void setActionIds(long actionIds);
148    
149            @Override
150            public boolean isNew();
151    
152            @Override
153            public void setNew(boolean n);
154    
155            @Override
156            public boolean isCachedModel();
157    
158            @Override
159            public void setCachedModel(boolean cachedModel);
160    
161            @Override
162            public boolean isEscapedModel();
163    
164            @Override
165            public Serializable getPrimaryKeyObj();
166    
167            @Override
168            public void setPrimaryKeyObj(Serializable primaryKeyObj);
169    
170            @Override
171            public ExpandoBridge getExpandoBridge();
172    
173            @Override
174            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
175    
176            @Override
177            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
178    
179            @Override
180            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
181    
182            @Override
183            public Object clone();
184    
185            @Override
186            public int compareTo(
187                    com.liferay.portal.model.ResourceBlockPermission resourceBlockPermission);
188    
189            @Override
190            public int hashCode();
191    
192            @Override
193            public CacheModel<com.liferay.portal.model.ResourceBlockPermission> toCacheModel();
194    
195            @Override
196            public com.liferay.portal.model.ResourceBlockPermission toEscapedModel();
197    
198            @Override
199            public com.liferay.portal.model.ResourceBlockPermission toUnescapedModel();
200    
201            @Override
202            public String toString();
203    
204            @Override
205            public String toXmlString();
206    }