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.portlet.social.model; 016 017 import com.liferay.portal.kernel.bean.AutoEscape; 018 import com.liferay.portal.model.BaseModel; 019 import com.liferay.portal.model.CacheModel; 020 import com.liferay.portal.model.TypedModel; 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 SocialActivitySetting service. Represents a row in the "SocialActivitySetting" 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.portlet.social.model.impl.SocialActivitySettingModelImpl} 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.SocialActivitySettingImpl}. 032 * </p> 033 * 034 * @author Brian Wing Shun Chan 035 * @see SocialActivitySetting 036 * @see com.liferay.portlet.social.model.impl.SocialActivitySettingImpl 037 * @see com.liferay.portlet.social.model.impl.SocialActivitySettingModelImpl 038 * @generated 039 */ 040 public interface SocialActivitySettingModel extends BaseModel<SocialActivitySetting>, 041 TypedModel { 042 /* 043 * NOTE FOR DEVELOPERS: 044 * 045 * Never modify or reference this interface directly. All methods that expect a social activity setting model instance should use the {@link SocialActivitySetting} interface instead. 046 */ 047 048 /** 049 * Returns the primary key of this social activity setting. 050 * 051 * @return the primary key of this social activity setting 052 */ 053 public long getPrimaryKey(); 054 055 /** 056 * Sets the primary key of this social activity setting. 057 * 058 * @param primaryKey the primary key of this social activity setting 059 */ 060 public void setPrimaryKey(long primaryKey); 061 062 /** 063 * Returns the activity setting ID of this social activity setting. 064 * 065 * @return the activity setting ID of this social activity setting 066 */ 067 public long getActivitySettingId(); 068 069 /** 070 * Sets the activity setting ID of this social activity setting. 071 * 072 * @param activitySettingId the activity setting ID of this social activity setting 073 */ 074 public void setActivitySettingId(long activitySettingId); 075 076 /** 077 * Returns the group ID of this social activity setting. 078 * 079 * @return the group ID of this social activity setting 080 */ 081 public long getGroupId(); 082 083 /** 084 * Sets the group ID of this social activity setting. 085 * 086 * @param groupId the group ID of this social activity setting 087 */ 088 public void setGroupId(long groupId); 089 090 /** 091 * Returns the company ID of this social activity setting. 092 * 093 * @return the company ID of this social activity setting 094 */ 095 public long getCompanyId(); 096 097 /** 098 * Sets the company ID of this social activity setting. 099 * 100 * @param companyId the company ID of this social activity setting 101 */ 102 public void setCompanyId(long companyId); 103 104 /** 105 * Returns the fully qualified class name of this social activity setting. 106 * 107 * @return the fully qualified class name of this social activity setting 108 */ 109 @Override 110 public String getClassName(); 111 112 public void setClassName(String className); 113 114 /** 115 * Returns the class name ID of this social activity setting. 116 * 117 * @return the class name ID of this social activity setting 118 */ 119 @Override 120 public long getClassNameId(); 121 122 /** 123 * Sets the class name ID of this social activity setting. 124 * 125 * @param classNameId the class name ID of this social activity setting 126 */ 127 @Override 128 public void setClassNameId(long classNameId); 129 130 /** 131 * Returns the activity type of this social activity setting. 132 * 133 * @return the activity type of this social activity setting 134 */ 135 public int getActivityType(); 136 137 /** 138 * Sets the activity type of this social activity setting. 139 * 140 * @param activityType the activity type of this social activity setting 141 */ 142 public void setActivityType(int activityType); 143 144 /** 145 * Returns the name of this social activity setting. 146 * 147 * @return the name of this social activity setting 148 */ 149 @AutoEscape 150 public String getName(); 151 152 /** 153 * Sets the name of this social activity setting. 154 * 155 * @param name the name of this social activity setting 156 */ 157 public void setName(String name); 158 159 /** 160 * Returns the value of this social activity setting. 161 * 162 * @return the value of this social activity setting 163 */ 164 @AutoEscape 165 public String getValue(); 166 167 /** 168 * Sets the value of this social activity setting. 169 * 170 * @param value the value of this social activity setting 171 */ 172 public void setValue(String value); 173 174 @Override 175 public boolean isNew(); 176 177 @Override 178 public void setNew(boolean n); 179 180 @Override 181 public boolean isCachedModel(); 182 183 @Override 184 public void setCachedModel(boolean cachedModel); 185 186 @Override 187 public boolean isEscapedModel(); 188 189 @Override 190 public Serializable getPrimaryKeyObj(); 191 192 @Override 193 public void setPrimaryKeyObj(Serializable primaryKeyObj); 194 195 @Override 196 public ExpandoBridge getExpandoBridge(); 197 198 @Override 199 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 200 201 @Override 202 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 203 204 @Override 205 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 206 207 @Override 208 public Object clone(); 209 210 @Override 211 public int compareTo(SocialActivitySetting socialActivitySetting); 212 213 @Override 214 public int hashCode(); 215 216 @Override 217 public CacheModel<SocialActivitySetting> toCacheModel(); 218 219 @Override 220 public SocialActivitySetting toEscapedModel(); 221 222 @Override 223 public SocialActivitySetting toUnescapedModel(); 224 225 @Override 226 public String toString(); 227 228 @Override 229 public String toXmlString(); 230 }