001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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            /**
032            * Gets the primary key of this org group role.
033            *
034            * @return the primary key of this org group role
035            */
036            public com.liferay.portal.service.persistence.OrgGroupRolePK getPrimaryKey() {
037                    return _orgGroupRole.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this org group role
042            *
043            * @param pk the primary key of this org group role
044            */
045            public void setPrimaryKey(
046                    com.liferay.portal.service.persistence.OrgGroupRolePK pk) {
047                    _orgGroupRole.setPrimaryKey(pk);
048            }
049    
050            /**
051            * Gets the organization id of this org group role.
052            *
053            * @return the organization id of this org group role
054            */
055            public long getOrganizationId() {
056                    return _orgGroupRole.getOrganizationId();
057            }
058    
059            /**
060            * Sets the organization id of this org group role.
061            *
062            * @param organizationId the organization id of this org group role
063            */
064            public void setOrganizationId(long organizationId) {
065                    _orgGroupRole.setOrganizationId(organizationId);
066            }
067    
068            /**
069            * Gets the group id of this org group role.
070            *
071            * @return the group id of this org group role
072            */
073            public long getGroupId() {
074                    return _orgGroupRole.getGroupId();
075            }
076    
077            /**
078            * Sets the group id of this org group role.
079            *
080            * @param groupId the group id of this org group role
081            */
082            public void setGroupId(long groupId) {
083                    _orgGroupRole.setGroupId(groupId);
084            }
085    
086            /**
087            * Gets the role id of this org group role.
088            *
089            * @return the role id of this org group role
090            */
091            public long getRoleId() {
092                    return _orgGroupRole.getRoleId();
093            }
094    
095            /**
096            * Sets the role id of this org group role.
097            *
098            * @param roleId the role id of this org group role
099            */
100            public void setRoleId(long roleId) {
101                    _orgGroupRole.setRoleId(roleId);
102            }
103    
104            public boolean isNew() {
105                    return _orgGroupRole.isNew();
106            }
107    
108            public void setNew(boolean n) {
109                    _orgGroupRole.setNew(n);
110            }
111    
112            public boolean isCachedModel() {
113                    return _orgGroupRole.isCachedModel();
114            }
115    
116            public void setCachedModel(boolean cachedModel) {
117                    _orgGroupRole.setCachedModel(cachedModel);
118            }
119    
120            public boolean isEscapedModel() {
121                    return _orgGroupRole.isEscapedModel();
122            }
123    
124            public void setEscapedModel(boolean escapedModel) {
125                    _orgGroupRole.setEscapedModel(escapedModel);
126            }
127    
128            public java.io.Serializable getPrimaryKeyObj() {
129                    return _orgGroupRole.getPrimaryKeyObj();
130            }
131    
132            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
133                    return _orgGroupRole.getExpandoBridge();
134            }
135    
136            public void setExpandoBridgeAttributes(
137                    com.liferay.portal.service.ServiceContext serviceContext) {
138                    _orgGroupRole.setExpandoBridgeAttributes(serviceContext);
139            }
140    
141            public java.lang.Object clone() {
142                    return _orgGroupRole.clone();
143            }
144    
145            public int compareTo(com.liferay.portal.model.OrgGroupRole orgGroupRole) {
146                    return _orgGroupRole.compareTo(orgGroupRole);
147            }
148    
149            public int hashCode() {
150                    return _orgGroupRole.hashCode();
151            }
152    
153            public com.liferay.portal.model.OrgGroupRole toEscapedModel() {
154                    return _orgGroupRole.toEscapedModel();
155            }
156    
157            public java.lang.String toString() {
158                    return _orgGroupRole.toString();
159            }
160    
161            public java.lang.String toXmlString() {
162                    return _orgGroupRole.toXmlString();
163            }
164    
165            public boolean containsOrganization(
166                    java.util.List<com.liferay.portal.model.Organization> organizations) {
167                    return _orgGroupRole.containsOrganization(organizations);
168            }
169    
170            public boolean containsGroup(
171                    java.util.List<com.liferay.portal.model.Group> groups) {
172                    return _orgGroupRole.containsGroup(groups);
173            }
174    
175            public OrgGroupRole getWrappedOrgGroupRole() {
176                    return _orgGroupRole;
177            }
178    
179            private OrgGroupRole _orgGroupRole;
180    }