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 /** 018 * The extended model interface for the Resource service. Represents a row in the "Resource_" database table, with each column mapped to a property of this class. 019 * 020 * @author Brian Wing Shun Chan 021 * @see ResourceModel 022 * @see com.liferay.portal.model.impl.ResourceImpl 023 * @see com.liferay.portal.model.impl.ResourceModelImpl 024 * @generated 025 */ 026 public interface Resource extends ResourceModel, PersistedModel { 027 /* 028 * NOTE FOR DEVELOPERS: 029 * 030 * Never modify this interface directly. Add methods to {@link com.liferay.portal.model.impl.ResourceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. 031 */ 032 public long getCompanyId() 033 throws com.liferay.portal.kernel.exception.PortalException, 034 com.liferay.portal.kernel.exception.SystemException; 035 036 public java.lang.String getName() 037 throws com.liferay.portal.kernel.exception.PortalException, 038 com.liferay.portal.kernel.exception.SystemException; 039 040 public int getScope() 041 throws com.liferay.portal.kernel.exception.PortalException, 042 com.liferay.portal.kernel.exception.SystemException; 043 044 public void setCompanyId(long companyId); 045 046 public void setName(java.lang.String name); 047 048 public void setScope(int scope); 049 }