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.portlet.social.model; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.AutoEscape; 020 import com.liferay.portal.model.BaseModel; 021 import com.liferay.portal.model.CacheModel; 022 import com.liferay.portal.model.ShardedModel; 023 import com.liferay.portal.service.ServiceContext; 024 025 import com.liferay.portlet.expando.model.ExpandoBridge; 026 027 import java.io.Serializable; 028 029 /** 030 * The base model interface for the SocialActivityAchievement service. Represents a row in the "SocialActivityAchievement" database table, with each column mapped to a property of this class. 031 * 032 * <p> 033 * This interface and its corresponding implementation {@link com.liferay.portlet.social.model.impl.SocialActivityAchievementModelImpl} 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.portlet.social.model.impl.SocialActivityAchievementImpl}. 034 * </p> 035 * 036 * @author Brian Wing Shun Chan 037 * @see SocialActivityAchievement 038 * @see com.liferay.portlet.social.model.impl.SocialActivityAchievementImpl 039 * @see com.liferay.portlet.social.model.impl.SocialActivityAchievementModelImpl 040 * @generated 041 */ 042 @ProviderType 043 public interface SocialActivityAchievementModel extends BaseModel<SocialActivityAchievement>, 044 ShardedModel { 045 /* 046 * NOTE FOR DEVELOPERS: 047 * 048 * Never modify or reference this interface directly. All methods that expect a social activity achievement model instance should use the {@link SocialActivityAchievement} interface instead. 049 */ 050 051 /** 052 * Returns the primary key of this social activity achievement. 053 * 054 * @return the primary key of this social activity achievement 055 */ 056 public long getPrimaryKey(); 057 058 /** 059 * Sets the primary key of this social activity achievement. 060 * 061 * @param primaryKey the primary key of this social activity achievement 062 */ 063 public void setPrimaryKey(long primaryKey); 064 065 /** 066 * Returns the activity achievement ID of this social activity achievement. 067 * 068 * @return the activity achievement ID of this social activity achievement 069 */ 070 public long getActivityAchievementId(); 071 072 /** 073 * Sets the activity achievement ID of this social activity achievement. 074 * 075 * @param activityAchievementId the activity achievement ID of this social activity achievement 076 */ 077 public void setActivityAchievementId(long activityAchievementId); 078 079 /** 080 * Returns the group ID of this social activity achievement. 081 * 082 * @return the group ID of this social activity achievement 083 */ 084 public long getGroupId(); 085 086 /** 087 * Sets the group ID of this social activity achievement. 088 * 089 * @param groupId the group ID of this social activity achievement 090 */ 091 public void setGroupId(long groupId); 092 093 /** 094 * Returns the company ID of this social activity achievement. 095 * 096 * @return the company ID of this social activity achievement 097 */ 098 @Override 099 public long getCompanyId(); 100 101 /** 102 * Sets the company ID of this social activity achievement. 103 * 104 * @param companyId the company ID of this social activity achievement 105 */ 106 @Override 107 public void setCompanyId(long companyId); 108 109 /** 110 * Returns the user ID of this social activity achievement. 111 * 112 * @return the user ID of this social activity achievement 113 */ 114 public long getUserId(); 115 116 /** 117 * Sets the user ID of this social activity achievement. 118 * 119 * @param userId the user ID of this social activity achievement 120 */ 121 public void setUserId(long userId); 122 123 /** 124 * Returns the user uuid of this social activity achievement. 125 * 126 * @return the user uuid of this social activity achievement 127 */ 128 public String getUserUuid(); 129 130 /** 131 * Sets the user uuid of this social activity achievement. 132 * 133 * @param userUuid the user uuid of this social activity achievement 134 */ 135 public void setUserUuid(String userUuid); 136 137 /** 138 * Returns the create date of this social activity achievement. 139 * 140 * @return the create date of this social activity achievement 141 */ 142 public long getCreateDate(); 143 144 /** 145 * Sets the create date of this social activity achievement. 146 * 147 * @param createDate the create date of this social activity achievement 148 */ 149 public void setCreateDate(long createDate); 150 151 /** 152 * Returns the name of this social activity achievement. 153 * 154 * @return the name of this social activity achievement 155 */ 156 @AutoEscape 157 public String getName(); 158 159 /** 160 * Sets the name of this social activity achievement. 161 * 162 * @param name the name of this social activity achievement 163 */ 164 public void setName(String name); 165 166 /** 167 * Returns the first in group of this social activity achievement. 168 * 169 * @return the first in group of this social activity achievement 170 */ 171 public boolean getFirstInGroup(); 172 173 /** 174 * Returns <code>true</code> if this social activity achievement is first in group. 175 * 176 * @return <code>true</code> if this social activity achievement is first in group; <code>false</code> otherwise 177 */ 178 public boolean isFirstInGroup(); 179 180 /** 181 * Sets whether this social activity achievement is first in group. 182 * 183 * @param firstInGroup the first in group of this social activity achievement 184 */ 185 public void setFirstInGroup(boolean firstInGroup); 186 187 @Override 188 public boolean isNew(); 189 190 @Override 191 public void setNew(boolean n); 192 193 @Override 194 public boolean isCachedModel(); 195 196 @Override 197 public void setCachedModel(boolean cachedModel); 198 199 @Override 200 public boolean isEscapedModel(); 201 202 @Override 203 public Serializable getPrimaryKeyObj(); 204 205 @Override 206 public void setPrimaryKeyObj(Serializable primaryKeyObj); 207 208 @Override 209 public ExpandoBridge getExpandoBridge(); 210 211 @Override 212 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 213 214 @Override 215 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 216 217 @Override 218 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 219 220 @Override 221 public Object clone(); 222 223 @Override 224 public int compareTo( 225 com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement); 226 227 @Override 228 public int hashCode(); 229 230 @Override 231 public CacheModel<com.liferay.portlet.social.model.SocialActivityAchievement> toCacheModel(); 232 233 @Override 234 public com.liferay.portlet.social.model.SocialActivityAchievement toEscapedModel(); 235 236 @Override 237 public com.liferay.portlet.social.model.SocialActivityAchievement toUnescapedModel(); 238 239 @Override 240 public String toString(); 241 242 @Override 243 public String toXmlString(); 244 }