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 {
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 resource block ID of this resource block permission.
093             *
094             * @return the resource block ID of this resource block permission
095             */
096            public long getResourceBlockId();
097    
098            /**
099             * Sets the resource block ID of this resource block permission.
100             *
101             * @param resourceBlockId the resource block ID of this resource block permission
102             */
103            public void setResourceBlockId(long resourceBlockId);
104    
105            /**
106             * Returns the role ID of this resource block permission.
107             *
108             * @return the role ID of this resource block permission
109             */
110            public long getRoleId();
111    
112            /**
113             * Sets the role ID of this resource block permission.
114             *
115             * @param roleId the role ID of this resource block permission
116             */
117            public void setRoleId(long roleId);
118    
119            /**
120             * Returns the action IDs of this resource block permission.
121             *
122             * @return the action IDs of this resource block permission
123             */
124            public long getActionIds();
125    
126            /**
127             * Sets the action IDs of this resource block permission.
128             *
129             * @param actionIds the action IDs of this resource block permission
130             */
131            public void setActionIds(long actionIds);
132    
133            @Override
134            public boolean isNew();
135    
136            @Override
137            public void setNew(boolean n);
138    
139            @Override
140            public boolean isCachedModel();
141    
142            @Override
143            public void setCachedModel(boolean cachedModel);
144    
145            @Override
146            public boolean isEscapedModel();
147    
148            @Override
149            public Serializable getPrimaryKeyObj();
150    
151            @Override
152            public void setPrimaryKeyObj(Serializable primaryKeyObj);
153    
154            @Override
155            public ExpandoBridge getExpandoBridge();
156    
157            @Override
158            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
159    
160            @Override
161            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
162    
163            @Override
164            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
165    
166            @Override
167            public Object clone();
168    
169            @Override
170            public int compareTo(
171                    com.liferay.portal.model.ResourceBlockPermission resourceBlockPermission);
172    
173            @Override
174            public int hashCode();
175    
176            @Override
177            public CacheModel<com.liferay.portal.model.ResourceBlockPermission> toCacheModel();
178    
179            @Override
180            public com.liferay.portal.model.ResourceBlockPermission toEscapedModel();
181    
182            @Override
183            public com.liferay.portal.model.ResourceBlockPermission toUnescapedModel();
184    
185            @Override
186            public String toString();
187    
188            @Override
189            public String toXmlString();
190    }