001 /** 002 * Copyright (c) 2000-2013 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 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.service.ServiceContext; 020 import com.liferay.portal.service.persistence.UserGroupGroupRolePK; 021 022 import com.liferay.portlet.expando.model.ExpandoBridge; 023 024 import java.io.Serializable; 025 026 /** 027 * The base model interface for the UserGroupGroupRole service. Represents a row in the "UserGroupGroupRole" database table, with each column mapped to a property of this class. 028 * 029 * <p> 030 * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.UserGroupGroupRoleModelImpl} 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.UserGroupGroupRoleImpl}. 031 * </p> 032 * 033 * @author Brian Wing Shun Chan 034 * @see UserGroupGroupRole 035 * @see com.liferay.portal.model.impl.UserGroupGroupRoleImpl 036 * @see com.liferay.portal.model.impl.UserGroupGroupRoleModelImpl 037 * @generated 038 */ 039 @ProviderType 040 public interface UserGroupGroupRoleModel extends BaseModel<UserGroupGroupRole> { 041 /* 042 * NOTE FOR DEVELOPERS: 043 * 044 * Never modify or reference this interface directly. All methods that expect a user group group role model instance should use the {@link UserGroupGroupRole} interface instead. 045 */ 046 047 /** 048 * Returns the primary key of this user group group role. 049 * 050 * @return the primary key of this user group group role 051 */ 052 public UserGroupGroupRolePK getPrimaryKey(); 053 054 /** 055 * Sets the primary key of this user group group role. 056 * 057 * @param primaryKey the primary key of this user group group role 058 */ 059 public void setPrimaryKey(UserGroupGroupRolePK primaryKey); 060 061 /** 062 * Returns the user group ID of this user group group role. 063 * 064 * @return the user group ID of this user group group role 065 */ 066 public long getUserGroupId(); 067 068 /** 069 * Sets the user group ID of this user group group role. 070 * 071 * @param userGroupId the user group ID of this user group group role 072 */ 073 public void setUserGroupId(long userGroupId); 074 075 /** 076 * Returns the group ID of this user group group role. 077 * 078 * @return the group ID of this user group group role 079 */ 080 public long getGroupId(); 081 082 /** 083 * Sets the group ID of this user group group role. 084 * 085 * @param groupId the group ID of this user group group role 086 */ 087 public void setGroupId(long groupId); 088 089 /** 090 * Returns the role ID of this user group group role. 091 * 092 * @return the role ID of this user group group role 093 */ 094 public long getRoleId(); 095 096 /** 097 * Sets the role ID of this user group group role. 098 * 099 * @param roleId the role ID of this user group group role 100 */ 101 public void setRoleId(long roleId); 102 103 @Override 104 public boolean isNew(); 105 106 @Override 107 public void setNew(boolean n); 108 109 @Override 110 public boolean isCachedModel(); 111 112 @Override 113 public void setCachedModel(boolean cachedModel); 114 115 @Override 116 public boolean isEscapedModel(); 117 118 @Override 119 public Serializable getPrimaryKeyObj(); 120 121 @Override 122 public void setPrimaryKeyObj(Serializable primaryKeyObj); 123 124 @Override 125 public ExpandoBridge getExpandoBridge(); 126 127 @Override 128 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 129 130 @Override 131 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 132 133 @Override 134 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 135 136 @Override 137 public Object clone(); 138 139 @Override 140 public int compareTo(UserGroupGroupRole userGroupGroupRole); 141 142 @Override 143 public int hashCode(); 144 145 @Override 146 public CacheModel<UserGroupGroupRole> toCacheModel(); 147 148 @Override 149 public UserGroupGroupRole toEscapedModel(); 150 151 @Override 152 public UserGroupGroupRole toUnescapedModel(); 153 154 @Override 155 public String toString(); 156 157 @Override 158 public String toXmlString(); 159 }