001 /** 002 * Copyright (c) 2000-present 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 MVCCModel, ShardedModel { 042 /* 043 * NOTE FOR DEVELOPERS: 044 * 045 * 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. 046 */ 047 048 /** 049 * Returns the primary key of this user group group role. 050 * 051 * @return the primary key of this user group group role 052 */ 053 public UserGroupGroupRolePK getPrimaryKey(); 054 055 /** 056 * Sets the primary key of this user group group role. 057 * 058 * @param primaryKey the primary key of this user group group role 059 */ 060 public void setPrimaryKey(UserGroupGroupRolePK primaryKey); 061 062 /** 063 * Returns the mvcc version of this user group group role. 064 * 065 * @return the mvcc version of this user group group role 066 */ 067 @Override 068 public long getMvccVersion(); 069 070 /** 071 * Sets the mvcc version of this user group group role. 072 * 073 * @param mvccVersion the mvcc version of this user group group role 074 */ 075 @Override 076 public void setMvccVersion(long mvccVersion); 077 078 /** 079 * Returns the user group ID of this user group group role. 080 * 081 * @return the user group ID of this user group group role 082 */ 083 public long getUserGroupId(); 084 085 /** 086 * Sets the user group ID of this user group group role. 087 * 088 * @param userGroupId the user group ID of this user group group role 089 */ 090 public void setUserGroupId(long userGroupId); 091 092 /** 093 * Returns the group ID of this user group group role. 094 * 095 * @return the group ID of this user group group role 096 */ 097 public long getGroupId(); 098 099 /** 100 * Sets the group ID of this user group group role. 101 * 102 * @param groupId the group ID of this user group group role 103 */ 104 public void setGroupId(long groupId); 105 106 /** 107 * Returns the role ID of this user group group role. 108 * 109 * @return the role ID of this user group group role 110 */ 111 public long getRoleId(); 112 113 /** 114 * Sets the role ID of this user group group role. 115 * 116 * @param roleId the role ID of this user group group role 117 */ 118 public void setRoleId(long roleId); 119 120 /** 121 * Returns the company ID of this user group group role. 122 * 123 * @return the company ID of this user group group role 124 */ 125 @Override 126 public long getCompanyId(); 127 128 /** 129 * Sets the company ID of this user group group role. 130 * 131 * @param companyId the company ID of this user group group role 132 */ 133 @Override 134 public void setCompanyId(long companyId); 135 136 @Override 137 public boolean isNew(); 138 139 @Override 140 public void setNew(boolean n); 141 142 @Override 143 public boolean isCachedModel(); 144 145 @Override 146 public void setCachedModel(boolean cachedModel); 147 148 @Override 149 public boolean isEscapedModel(); 150 151 @Override 152 public Serializable getPrimaryKeyObj(); 153 154 @Override 155 public void setPrimaryKeyObj(Serializable primaryKeyObj); 156 157 @Override 158 public ExpandoBridge getExpandoBridge(); 159 160 @Override 161 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 162 163 @Override 164 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 165 166 @Override 167 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 168 169 @Override 170 public Object clone(); 171 172 @Override 173 public int compareTo( 174 com.liferay.portal.model.UserGroupGroupRole userGroupGroupRole); 175 176 @Override 177 public int hashCode(); 178 179 @Override 180 public CacheModel<com.liferay.portal.model.UserGroupGroupRole> toCacheModel(); 181 182 @Override 183 public com.liferay.portal.model.UserGroupGroupRole toEscapedModel(); 184 185 @Override 186 public com.liferay.portal.model.UserGroupGroupRole toUnescapedModel(); 187 188 @Override 189 public String toString(); 190 191 @Override 192 public String toXmlString(); 193 }