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 import com.liferay.portal.service.ServiceContext; 018 import com.liferay.portal.service.persistence.OrgGroupPermissionPK; 019 020 import com.liferay.portlet.expando.model.ExpandoBridge; 021 022 import java.io.Serializable; 023 024 /** 025 * The base model interface for the OrgGroupPermission service. Represents a row in the "OrgGroupPermission" database table, with each column mapped to a property of this class. 026 * 027 * <p> 028 * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.OrgGroupPermissionModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portal.model.impl.OrgGroupPermissionImpl}. 029 * </p> 030 * 031 * <p> 032 * Never modify or reference this interface directly. All methods that expect a org group permission model instance should use the {@link OrgGroupPermission} interface instead. 033 * </p> 034 * 035 * @author Brian Wing Shun Chan 036 * @see OrgGroupPermission 037 * @see com.liferay.portal.model.impl.OrgGroupPermissionImpl 038 * @see com.liferay.portal.model.impl.OrgGroupPermissionModelImpl 039 * @generated 040 */ 041 public interface OrgGroupPermissionModel extends BaseModel<OrgGroupPermission> { 042 /** 043 * Gets the primary key of this org group permission. 044 * 045 * @return the primary key of this org group permission 046 */ 047 public OrgGroupPermissionPK getPrimaryKey(); 048 049 /** 050 * Sets the primary key of this org group permission 051 * 052 * @param pk the primary key of this org group permission 053 */ 054 public void setPrimaryKey(OrgGroupPermissionPK pk); 055 056 /** 057 * Gets the organization id of this org group permission. 058 * 059 * @return the organization id of this org group permission 060 */ 061 public long getOrganizationId(); 062 063 /** 064 * Sets the organization id of this org group permission. 065 * 066 * @param organizationId the organization id of this org group permission 067 */ 068 public void setOrganizationId(long organizationId); 069 070 /** 071 * Gets the group id of this org group permission. 072 * 073 * @return the group id of this org group permission 074 */ 075 public long getGroupId(); 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 084 /** 085 * Gets the permission id of this org group permission. 086 * 087 * @return the permission id of this org group permission 088 */ 089 public long getPermissionId(); 090 091 /** 092 * Sets the permission id of this org group permission. 093 * 094 * @param permissionId the permission id of this org group permission 095 */ 096 public void setPermissionId(long permissionId); 097 098 public boolean isNew(); 099 100 public void setNew(boolean n); 101 102 public boolean isCachedModel(); 103 104 public void setCachedModel(boolean cachedModel); 105 106 public boolean isEscapedModel(); 107 108 public void setEscapedModel(boolean escapedModel); 109 110 public Serializable getPrimaryKeyObj(); 111 112 public ExpandoBridge getExpandoBridge(); 113 114 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 115 116 public Object clone(); 117 118 public int compareTo(OrgGroupPermission orgGroupPermission); 119 120 public int hashCode(); 121 122 public OrgGroupPermission toEscapedModel(); 123 124 public String toString(); 125 126 public String toXmlString(); 127 }