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