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 @Override 114 public boolean isNew(); 115 116 @Override 117 public void setNew(boolean n); 118 119 @Override 120 public boolean isCachedModel(); 121 122 @Override 123 public void setCachedModel(boolean cachedModel); 124 125 @Override 126 public boolean isEscapedModel(); 127 128 @Override 129 public Serializable getPrimaryKeyObj(); 130 131 @Override 132 public void setPrimaryKeyObj(Serializable primaryKeyObj); 133 134 @Override 135 public ExpandoBridge getExpandoBridge(); 136 137 @Override 138 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 139 140 @Override 141 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 142 143 @Override 144 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 145 146 @Override 147 public Object clone(); 148 149 @Override 150 public int compareTo(ResourceBlockPermission resourceBlockPermission); 151 152 @Override 153 public int hashCode(); 154 155 @Override 156 public CacheModel<ResourceBlockPermission> toCacheModel(); 157 158 @Override 159 public ResourceBlockPermission toEscapedModel(); 160 161 @Override 162 public ResourceBlockPermission toUnescapedModel(); 163 164 @Override 165 public String toString(); 166 167 @Override 168 public String toXmlString(); 169 }