001    /**
002     * Copyright (c) 2000-2010 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    import com.liferay.portal.service.persistence.OrgGroupRolePK;
019    
020    import com.liferay.portlet.expando.model.ExpandoBridge;
021    
022    import java.io.Serializable;
023    
024    /**
025     * <p>
026     * This interface is a model that represents the OrgGroupRole table in the
027     * database.
028     * </p>
029     *
030     * @author    Brian Wing Shun Chan
031     * @see       OrgGroupRole
032     * @see       com.liferay.portal.model.impl.OrgGroupRoleImpl
033     * @see       com.liferay.portal.model.impl.OrgGroupRoleModelImpl
034     * @generated
035     */
036    public interface OrgGroupRoleModel extends BaseModel<OrgGroupRole> {
037            public OrgGroupRolePK getPrimaryKey();
038    
039            public void setPrimaryKey(OrgGroupRolePK pk);
040    
041            public long getOrganizationId();
042    
043            public void setOrganizationId(long organizationId);
044    
045            public long getGroupId();
046    
047            public void setGroupId(long groupId);
048    
049            public long getRoleId();
050    
051            public void setRoleId(long roleId);
052    
053            public OrgGroupRole toEscapedModel();
054    
055            public boolean isNew();
056    
057            public void setNew(boolean n);
058    
059            public boolean isCachedModel();
060    
061            public void setCachedModel(boolean cachedModel);
062    
063            public boolean isEscapedModel();
064    
065            public void setEscapedModel(boolean escapedModel);
066    
067            public Serializable getPrimaryKeyObj();
068    
069            public ExpandoBridge getExpandoBridge();
070    
071            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
072    
073            public Object clone();
074    
075            public int compareTo(OrgGroupRole orgGroupRole);
076    
077            public int hashCode();
078    
079            public String toString();
080    
081            public String toXmlString();
082    }