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 /** 020 * The extended model interface for the ResourcePermission service. Represents a row in the "ResourcePermission" database table, with each column mapped to a property of this class. 021 * 022 * @author Brian Wing Shun Chan 023 * @see ResourcePermissionModel 024 * @see com.liferay.portal.model.impl.ResourcePermissionImpl 025 * @see com.liferay.portal.model.impl.ResourcePermissionModelImpl 026 * @generated 027 */ 028 @ProviderType 029 public interface ResourcePermission extends ResourcePermissionModel, 030 PersistedModel { 031 /* 032 * NOTE FOR DEVELOPERS: 033 * 034 * Never modify this interface directly. Add methods to {@link com.liferay.portal.model.impl.ResourcePermissionImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. 035 */ 036 public void addResourceAction(java.lang.String actionId) 037 throws com.liferay.portal.kernel.exception.PortalException; 038 039 public boolean hasActionId(java.lang.String actionId); 040 041 public void removeResourceAction(java.lang.String actionId) 042 throws com.liferay.portal.kernel.exception.PortalException; 043 }