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 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            /*
042             * NOTE FOR DEVELOPERS:
043             *
044             * Never modify or reference this interface directly. All methods that expect a resource type permission model instance should use the {@link ResourceTypePermission} interface instead.
045             */
046    
047            /**
048             * Returns the primary key of this resource type permission.
049             *
050             * @return the primary key of this resource type permission
051             */
052            public long getPrimaryKey();
053    
054            /**
055             * Sets the primary key of this resource type permission.
056             *
057             * @param primaryKey the primary key of this resource type permission
058             */
059            public void setPrimaryKey(long primaryKey);
060    
061            /**
062             * Returns the resource type permission ID of this resource type permission.
063             *
064             * @return the resource type permission ID of this resource type permission
065             */
066            public long getResourceTypePermissionId();
067    
068            /**
069             * Sets the resource type permission ID of this resource type permission.
070             *
071             * @param resourceTypePermissionId the resource type permission ID of this resource type permission
072             */
073            public void setResourceTypePermissionId(long resourceTypePermissionId);
074    
075            /**
076             * Returns the company ID of this resource type permission.
077             *
078             * @return the company ID of this resource type permission
079             */
080            public long getCompanyId();
081    
082            /**
083             * Sets the company ID of this resource type permission.
084             *
085             * @param companyId the company ID of this resource type permission
086             */
087            public void setCompanyId(long companyId);
088    
089            /**
090             * Returns the group ID of this resource type permission.
091             *
092             * @return the group ID of this resource type permission
093             */
094            public long getGroupId();
095    
096            /**
097             * Sets the group ID of this resource type permission.
098             *
099             * @param groupId the group ID of this resource type permission
100             */
101            public void setGroupId(long groupId);
102    
103            /**
104             * Returns the name of this resource type permission.
105             *
106             * @return the name of this resource type permission
107             */
108            @AutoEscape
109            public String getName();
110    
111            /**
112             * Sets the name of this resource type permission.
113             *
114             * @param name the name of this resource type permission
115             */
116            public void setName(String name);
117    
118            /**
119             * Returns the role ID of this resource type permission.
120             *
121             * @return the role ID of this resource type permission
122             */
123            public long getRoleId();
124    
125            /**
126             * Sets the role ID of this resource type permission.
127             *
128             * @param roleId the role ID of this resource type permission
129             */
130            public void setRoleId(long roleId);
131    
132            /**
133             * Returns the action IDs of this resource type permission.
134             *
135             * @return the action IDs of this resource type permission
136             */
137            public long getActionIds();
138    
139            /**
140             * Sets the action IDs of this resource type permission.
141             *
142             * @param actionIds the action IDs of this resource type permission
143             */
144            public void setActionIds(long actionIds);
145    
146            @Override
147            public boolean isNew();
148    
149            @Override
150            public void setNew(boolean n);
151    
152            @Override
153            public boolean isCachedModel();
154    
155            @Override
156            public void setCachedModel(boolean cachedModel);
157    
158            @Override
159            public boolean isEscapedModel();
160    
161            @Override
162            public Serializable getPrimaryKeyObj();
163    
164            @Override
165            public void setPrimaryKeyObj(Serializable primaryKeyObj);
166    
167            @Override
168            public ExpandoBridge getExpandoBridge();
169    
170            @Override
171            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
172    
173            @Override
174            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
175    
176            @Override
177            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
178    
179            @Override
180            public Object clone();
181    
182            @Override
183            public int compareTo(ResourceTypePermission resourceTypePermission);
184    
185            @Override
186            public int hashCode();
187    
188            @Override
189            public CacheModel<ResourceTypePermission> toCacheModel();
190    
191            @Override
192            public ResourceTypePermission toEscapedModel();
193    
194            @Override
195            public ResourceTypePermission toUnescapedModel();
196    
197            @Override
198            public String toString();
199    
200            @Override
201            public String toXmlString();
202    }