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