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    
018    /**
019     * <p>
020     * This class is a wrapper for {@link OrgGroupRole}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       OrgGroupRole
025     * @generated
026     */
027    public class OrgGroupRoleWrapper implements OrgGroupRole {
028            public OrgGroupRoleWrapper(OrgGroupRole orgGroupRole) {
029                    _orgGroupRole = orgGroupRole;
030            }
031    
032            public com.liferay.portal.service.persistence.OrgGroupRolePK getPrimaryKey() {
033                    return _orgGroupRole.getPrimaryKey();
034            }
035    
036            public void setPrimaryKey(
037                    com.liferay.portal.service.persistence.OrgGroupRolePK pk) {
038                    _orgGroupRole.setPrimaryKey(pk);
039            }
040    
041            public long getOrganizationId() {
042                    return _orgGroupRole.getOrganizationId();
043            }
044    
045            public void setOrganizationId(long organizationId) {
046                    _orgGroupRole.setOrganizationId(organizationId);
047            }
048    
049            public long getGroupId() {
050                    return _orgGroupRole.getGroupId();
051            }
052    
053            public void setGroupId(long groupId) {
054                    _orgGroupRole.setGroupId(groupId);
055            }
056    
057            public long getRoleId() {
058                    return _orgGroupRole.getRoleId();
059            }
060    
061            public void setRoleId(long roleId) {
062                    _orgGroupRole.setRoleId(roleId);
063            }
064    
065            public com.liferay.portal.model.OrgGroupRole toEscapedModel() {
066                    return _orgGroupRole.toEscapedModel();
067            }
068    
069            public boolean isNew() {
070                    return _orgGroupRole.isNew();
071            }
072    
073            public void setNew(boolean n) {
074                    _orgGroupRole.setNew(n);
075            }
076    
077            public boolean isCachedModel() {
078                    return _orgGroupRole.isCachedModel();
079            }
080    
081            public void setCachedModel(boolean cachedModel) {
082                    _orgGroupRole.setCachedModel(cachedModel);
083            }
084    
085            public boolean isEscapedModel() {
086                    return _orgGroupRole.isEscapedModel();
087            }
088    
089            public void setEscapedModel(boolean escapedModel) {
090                    _orgGroupRole.setEscapedModel(escapedModel);
091            }
092    
093            public java.io.Serializable getPrimaryKeyObj() {
094                    return _orgGroupRole.getPrimaryKeyObj();
095            }
096    
097            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
098                    return _orgGroupRole.getExpandoBridge();
099            }
100    
101            public void setExpandoBridgeAttributes(
102                    com.liferay.portal.service.ServiceContext serviceContext) {
103                    _orgGroupRole.setExpandoBridgeAttributes(serviceContext);
104            }
105    
106            public java.lang.Object clone() {
107                    return _orgGroupRole.clone();
108            }
109    
110            public int compareTo(com.liferay.portal.model.OrgGroupRole orgGroupRole) {
111                    return _orgGroupRole.compareTo(orgGroupRole);
112            }
113    
114            public int hashCode() {
115                    return _orgGroupRole.hashCode();
116            }
117    
118            public java.lang.String toString() {
119                    return _orgGroupRole.toString();
120            }
121    
122            public java.lang.String toXmlString() {
123                    return _orgGroupRole.toXmlString();
124            }
125    
126            public boolean containsOrganization(
127                    java.util.List<com.liferay.portal.model.Organization> organizations) {
128                    return _orgGroupRole.containsOrganization(organizations);
129            }
130    
131            public boolean containsGroup(
132                    java.util.List<com.liferay.portal.model.Group> groups) {
133                    return _orgGroupRole.containsGroup(groups);
134            }
135    
136            public OrgGroupRole getWrappedOrgGroupRole() {
137                    return _orgGroupRole;
138            }
139    
140            private OrgGroupRole _orgGroupRole;
141    }