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.kernel.bean.AutoEscape; 020 import com.liferay.portal.service.ServiceContext; 021 022 import com.liferay.portlet.expando.model.ExpandoBridge; 023 024 import java.io.Serializable; 025 026 /** 027 * The base model interface for the UserIdMapper service. Represents a row in the "UserIdMapper" 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.UserIdMapperModelImpl} 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.UserIdMapperImpl}. 031 * </p> 032 * 033 * @author Brian Wing Shun Chan 034 * @see UserIdMapper 035 * @see com.liferay.portal.model.impl.UserIdMapperImpl 036 * @see com.liferay.portal.model.impl.UserIdMapperModelImpl 037 * @generated 038 */ 039 @ProviderType 040 public interface UserIdMapperModel extends BaseModel<UserIdMapper>, MVCCModel, 041 ShardedModel { 042 /* 043 * NOTE FOR DEVELOPERS: 044 * 045 * Never modify or reference this interface directly. All methods that expect a user ID mapper model instance should use the {@link UserIdMapper} interface instead. 046 */ 047 048 /** 049 * Returns the primary key of this user ID mapper. 050 * 051 * @return the primary key of this user ID mapper 052 */ 053 public long getPrimaryKey(); 054 055 /** 056 * Sets the primary key of this user ID mapper. 057 * 058 * @param primaryKey the primary key of this user ID mapper 059 */ 060 public void setPrimaryKey(long primaryKey); 061 062 /** 063 * Returns the mvcc version of this user ID mapper. 064 * 065 * @return the mvcc version of this user ID mapper 066 */ 067 @Override 068 public long getMvccVersion(); 069 070 /** 071 * Sets the mvcc version of this user ID mapper. 072 * 073 * @param mvccVersion the mvcc version of this user ID mapper 074 */ 075 @Override 076 public void setMvccVersion(long mvccVersion); 077 078 /** 079 * Returns the user ID mapper ID of this user ID mapper. 080 * 081 * @return the user ID mapper ID of this user ID mapper 082 */ 083 public long getUserIdMapperId(); 084 085 /** 086 * Sets the user ID mapper ID of this user ID mapper. 087 * 088 * @param userIdMapperId the user ID mapper ID of this user ID mapper 089 */ 090 public void setUserIdMapperId(long userIdMapperId); 091 092 /** 093 * Returns the company ID of this user ID mapper. 094 * 095 * @return the company ID of this user ID mapper 096 */ 097 @Override 098 public long getCompanyId(); 099 100 /** 101 * Sets the company ID of this user ID mapper. 102 * 103 * @param companyId the company ID of this user ID mapper 104 */ 105 @Override 106 public void setCompanyId(long companyId); 107 108 /** 109 * Returns the user ID of this user ID mapper. 110 * 111 * @return the user ID of this user ID mapper 112 */ 113 public long getUserId(); 114 115 /** 116 * Sets the user ID of this user ID mapper. 117 * 118 * @param userId the user ID of this user ID mapper 119 */ 120 public void setUserId(long userId); 121 122 /** 123 * Returns the user uuid of this user ID mapper. 124 * 125 * @return the user uuid of this user ID mapper 126 */ 127 public String getUserUuid(); 128 129 /** 130 * Sets the user uuid of this user ID mapper. 131 * 132 * @param userUuid the user uuid of this user ID mapper 133 */ 134 public void setUserUuid(String userUuid); 135 136 /** 137 * Returns the type of this user ID mapper. 138 * 139 * @return the type of this user ID mapper 140 */ 141 @AutoEscape 142 public String getType(); 143 144 /** 145 * Sets the type of this user ID mapper. 146 * 147 * @param type the type of this user ID mapper 148 */ 149 public void setType(String type); 150 151 /** 152 * Returns the description of this user ID mapper. 153 * 154 * @return the description of this user ID mapper 155 */ 156 @AutoEscape 157 public String getDescription(); 158 159 /** 160 * Sets the description of this user ID mapper. 161 * 162 * @param description the description of this user ID mapper 163 */ 164 public void setDescription(String description); 165 166 /** 167 * Returns the external user ID of this user ID mapper. 168 * 169 * @return the external user ID of this user ID mapper 170 */ 171 @AutoEscape 172 public String getExternalUserId(); 173 174 /** 175 * Sets the external user ID of this user ID mapper. 176 * 177 * @param externalUserId the external user ID of this user ID mapper 178 */ 179 public void setExternalUserId(String externalUserId); 180 181 @Override 182 public boolean isNew(); 183 184 @Override 185 public void setNew(boolean n); 186 187 @Override 188 public boolean isCachedModel(); 189 190 @Override 191 public void setCachedModel(boolean cachedModel); 192 193 @Override 194 public boolean isEscapedModel(); 195 196 @Override 197 public Serializable getPrimaryKeyObj(); 198 199 @Override 200 public void setPrimaryKeyObj(Serializable primaryKeyObj); 201 202 @Override 203 public ExpandoBridge getExpandoBridge(); 204 205 @Override 206 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 207 208 @Override 209 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 210 211 @Override 212 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 213 214 @Override 215 public Object clone(); 216 217 @Override 218 public int compareTo(com.liferay.portal.model.UserIdMapper userIdMapper); 219 220 @Override 221 public int hashCode(); 222 223 @Override 224 public CacheModel<com.liferay.portal.model.UserIdMapper> toCacheModel(); 225 226 @Override 227 public com.liferay.portal.model.UserIdMapper toEscapedModel(); 228 229 @Override 230 public com.liferay.portal.model.UserIdMapper toUnescapedModel(); 231 232 @Override 233 public String toString(); 234 235 @Override 236 public String toXmlString(); 237 }