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.kernel.bean.AutoEscape; 020 import com.liferay.portal.kernel.exception.SystemException; 021 import com.liferay.portal.service.ServiceContext; 022 023 import com.liferay.portlet.expando.model.ExpandoBridge; 024 025 import java.io.Serializable; 026 027 /** 028 * 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. 029 * 030 * <p> 031 * 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}. 032 * </p> 033 * 034 * @author Brian Wing Shun Chan 035 * @see UserIdMapper 036 * @see com.liferay.portal.model.impl.UserIdMapperImpl 037 * @see com.liferay.portal.model.impl.UserIdMapperModelImpl 038 * @generated 039 */ 040 @ProviderType 041 public interface UserIdMapperModel extends BaseModel<UserIdMapper> { 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 user ID mapper ID of this user ID mapper. 064 * 065 * @return the user ID mapper ID of this user ID mapper 066 */ 067 public long getUserIdMapperId(); 068 069 /** 070 * Sets the user ID mapper ID of this user ID mapper. 071 * 072 * @param userIdMapperId the user ID mapper ID of this user ID mapper 073 */ 074 public void setUserIdMapperId(long userIdMapperId); 075 076 /** 077 * Returns the user ID of this user ID mapper. 078 * 079 * @return the user ID of this user ID mapper 080 */ 081 public long getUserId(); 082 083 /** 084 * Sets the user ID of this user ID mapper. 085 * 086 * @param userId the user ID of this user ID mapper 087 */ 088 public void setUserId(long userId); 089 090 /** 091 * Returns the user uuid of this user ID mapper. 092 * 093 * @return the user uuid of this user ID mapper 094 * @throws SystemException if a system exception occurred 095 */ 096 public String getUserUuid() throws SystemException; 097 098 /** 099 * Sets the user uuid of this user ID mapper. 100 * 101 * @param userUuid the user uuid of this user ID mapper 102 */ 103 public void setUserUuid(String userUuid); 104 105 /** 106 * Returns the type of this user ID mapper. 107 * 108 * @return the type of this user ID mapper 109 */ 110 @AutoEscape 111 public String getType(); 112 113 /** 114 * Sets the type of this user ID mapper. 115 * 116 * @param type the type of this user ID mapper 117 */ 118 public void setType(String type); 119 120 /** 121 * Returns the description of this user ID mapper. 122 * 123 * @return the description of this user ID mapper 124 */ 125 @AutoEscape 126 public String getDescription(); 127 128 /** 129 * Sets the description of this user ID mapper. 130 * 131 * @param description the description of this user ID mapper 132 */ 133 public void setDescription(String description); 134 135 /** 136 * Returns the external user ID of this user ID mapper. 137 * 138 * @return the external user ID of this user ID mapper 139 */ 140 @AutoEscape 141 public String getExternalUserId(); 142 143 /** 144 * Sets the external user ID of this user ID mapper. 145 * 146 * @param externalUserId the external user ID of this user ID mapper 147 */ 148 public void setExternalUserId(String externalUserId); 149 150 @Override 151 public boolean isNew(); 152 153 @Override 154 public void setNew(boolean n); 155 156 @Override 157 public boolean isCachedModel(); 158 159 @Override 160 public void setCachedModel(boolean cachedModel); 161 162 @Override 163 public boolean isEscapedModel(); 164 165 @Override 166 public Serializable getPrimaryKeyObj(); 167 168 @Override 169 public void setPrimaryKeyObj(Serializable primaryKeyObj); 170 171 @Override 172 public ExpandoBridge getExpandoBridge(); 173 174 @Override 175 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 176 177 @Override 178 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 179 180 @Override 181 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 182 183 @Override 184 public Object clone(); 185 186 @Override 187 public int compareTo(UserIdMapper userIdMapper); 188 189 @Override 190 public int hashCode(); 191 192 @Override 193 public CacheModel<UserIdMapper> toCacheModel(); 194 195 @Override 196 public UserIdMapper toEscapedModel(); 197 198 @Override 199 public UserIdMapper toUnescapedModel(); 200 201 @Override 202 public String toString(); 203 204 @Override 205 public String toXmlString(); 206 }