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 OrgGroupPermission}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       OrgGroupPermission
024     * @generated
025     */
026    public class OrgGroupPermissionWrapper implements OrgGroupPermission {
027            public OrgGroupPermissionWrapper(OrgGroupPermission orgGroupPermission) {
028                    _orgGroupPermission = orgGroupPermission;
029            }
030    
031            /**
032            * Gets the primary key of this org group permission.
033            *
034            * @return the primary key of this org group permission
035            */
036            public com.liferay.portal.service.persistence.OrgGroupPermissionPK getPrimaryKey() {
037                    return _orgGroupPermission.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this org group permission
042            *
043            * @param pk the primary key of this org group permission
044            */
045            public void setPrimaryKey(
046                    com.liferay.portal.service.persistence.OrgGroupPermissionPK pk) {
047                    _orgGroupPermission.setPrimaryKey(pk);
048            }
049    
050            /**
051            * Gets the organization id of this org group permission.
052            *
053            * @return the organization id of this org group permission
054            */
055            public long getOrganizationId() {
056                    return _orgGroupPermission.getOrganizationId();
057            }
058    
059            /**
060            * Sets the organization id of this org group permission.
061            *
062            * @param organizationId the organization id of this org group permission
063            */
064            public void setOrganizationId(long organizationId) {
065                    _orgGroupPermission.setOrganizationId(organizationId);
066            }
067    
068            /**
069            * Gets the group id of this org group permission.
070            *
071            * @return the group id of this org group permission
072            */
073            public long getGroupId() {
074                    return _orgGroupPermission.getGroupId();
075            }
076    
077            /**
078            * Sets the group id of this org group permission.
079            *
080            * @param groupId the group id of this org group permission
081            */
082            public void setGroupId(long groupId) {
083                    _orgGroupPermission.setGroupId(groupId);
084            }
085    
086            /**
087            * Gets the permission id of this org group permission.
088            *
089            * @return the permission id of this org group permission
090            */
091            public long getPermissionId() {
092                    return _orgGroupPermission.getPermissionId();
093            }
094    
095            /**
096            * Sets the permission id of this org group permission.
097            *
098            * @param permissionId the permission id of this org group permission
099            */
100            public void setPermissionId(long permissionId) {
101                    _orgGroupPermission.setPermissionId(permissionId);
102            }
103    
104            public boolean isNew() {
105                    return _orgGroupPermission.isNew();
106            }
107    
108            public void setNew(boolean n) {
109                    _orgGroupPermission.setNew(n);
110            }
111    
112            public boolean isCachedModel() {
113                    return _orgGroupPermission.isCachedModel();
114            }
115    
116            public void setCachedModel(boolean cachedModel) {
117                    _orgGroupPermission.setCachedModel(cachedModel);
118            }
119    
120            public boolean isEscapedModel() {
121                    return _orgGroupPermission.isEscapedModel();
122            }
123    
124            public void setEscapedModel(boolean escapedModel) {
125                    _orgGroupPermission.setEscapedModel(escapedModel);
126            }
127    
128            public java.io.Serializable getPrimaryKeyObj() {
129                    return _orgGroupPermission.getPrimaryKeyObj();
130            }
131    
132            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
133                    return _orgGroupPermission.getExpandoBridge();
134            }
135    
136            public void setExpandoBridgeAttributes(
137                    com.liferay.portal.service.ServiceContext serviceContext) {
138                    _orgGroupPermission.setExpandoBridgeAttributes(serviceContext);
139            }
140    
141            public java.lang.Object clone() {
142                    return _orgGroupPermission.clone();
143            }
144    
145            public int compareTo(
146                    com.liferay.portal.model.OrgGroupPermission orgGroupPermission) {
147                    return _orgGroupPermission.compareTo(orgGroupPermission);
148            }
149    
150            public int hashCode() {
151                    return _orgGroupPermission.hashCode();
152            }
153    
154            public com.liferay.portal.model.OrgGroupPermission toEscapedModel() {
155                    return _orgGroupPermission.toEscapedModel();
156            }
157    
158            public java.lang.String toString() {
159                    return _orgGroupPermission.toString();
160            }
161    
162            public java.lang.String toXmlString() {
163                    return _orgGroupPermission.toXmlString();
164            }
165    
166            public boolean containsGroup(
167                    java.util.List<com.liferay.portal.model.Group> groups) {
168                    return _orgGroupPermission.containsGroup(groups);
169            }
170    
171            public boolean containsOrganization(
172                    java.util.List<com.liferay.portal.model.Organization> organizations) {
173                    return _orgGroupPermission.containsOrganization(organizations);
174            }
175    
176            public OrgGroupPermission getWrappedOrgGroupPermission() {
177                    return _orgGroupPermission;
178            }
179    
180            private OrgGroupPermission _orgGroupPermission;
181    }