001    /**
002     * Copyright (c) 2000-2013 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 com.liferay.portal.service.ServiceContext;
018    
019    import com.liferay.portlet.expando.model.ExpandoBridge;
020    
021    import java.io.Serializable;
022    
023    /**
024     * 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.
025     *
026     * <p>
027     * 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}.
028     * </p>
029     *
030     * @author Brian Wing Shun Chan
031     * @see ResourceBlockPermission
032     * @see com.liferay.portal.model.impl.ResourceBlockPermissionImpl
033     * @see com.liferay.portal.model.impl.ResourceBlockPermissionModelImpl
034     * @generated
035     */
036    public interface ResourceBlockPermissionModel extends BaseModel<ResourceBlockPermission> {
037            /*
038             * NOTE FOR DEVELOPERS:
039             *
040             * Never modify or reference this interface directly. All methods that expect a resource block permission model instance should use the {@link ResourceBlockPermission} interface instead.
041             */
042    
043            /**
044             * Returns the primary key of this resource block permission.
045             *
046             * @return the primary key of this resource block permission
047             */
048            public long getPrimaryKey();
049    
050            /**
051             * Sets the primary key of this resource block permission.
052             *
053             * @param primaryKey the primary key of this resource block permission
054             */
055            public void setPrimaryKey(long primaryKey);
056    
057            /**
058             * Returns the resource block permission ID of this resource block permission.
059             *
060             * @return the resource block permission ID of this resource block permission
061             */
062            public long getResourceBlockPermissionId();
063    
064            /**
065             * Sets the resource block permission ID of this resource block permission.
066             *
067             * @param resourceBlockPermissionId the resource block permission ID of this resource block permission
068             */
069            public void setResourceBlockPermissionId(long resourceBlockPermissionId);
070    
071            /**
072             * Returns the resource block ID of this resource block permission.
073             *
074             * @return the resource block ID of this resource block permission
075             */
076            public long getResourceBlockId();
077    
078            /**
079             * Sets the resource block ID of this resource block permission.
080             *
081             * @param resourceBlockId the resource block ID of this resource block permission
082             */
083            public void setResourceBlockId(long resourceBlockId);
084    
085            /**
086             * Returns the role ID of this resource block permission.
087             *
088             * @return the role ID of this resource block permission
089             */
090            public long getRoleId();
091    
092            /**
093             * Sets the role ID of this resource block permission.
094             *
095             * @param roleId the role ID of this resource block permission
096             */
097            public void setRoleId(long roleId);
098    
099            /**
100             * Returns the action IDs of this resource block permission.
101             *
102             * @return the action IDs of this resource block permission
103             */
104            public long getActionIds();
105    
106            /**
107             * Sets the action IDs of this resource block permission.
108             *
109             * @param actionIds the action IDs of this resource block permission
110             */
111            public void setActionIds(long actionIds);
112    
113            public boolean isNew();
114    
115            public void setNew(boolean n);
116    
117            public boolean isCachedModel();
118    
119            public void setCachedModel(boolean cachedModel);
120    
121            public boolean isEscapedModel();
122    
123            public Serializable getPrimaryKeyObj();
124    
125            public void setPrimaryKeyObj(Serializable primaryKeyObj);
126    
127            public ExpandoBridge getExpandoBridge();
128    
129            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
130    
131            public Object clone();
132    
133            public int compareTo(ResourceBlockPermission resourceBlockPermission);
134    
135            public int hashCode();
136    
137            public CacheModel<ResourceBlockPermission> toCacheModel();
138    
139            public ResourceBlockPermission toEscapedModel();
140    
141            public ResourceBlockPermission toUnescapedModel();
142    
143            public String toString();
144    
145            public String toXmlString();
146    }