001 /** 002 * Copyright (c) 2000-2011 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.model.BaseModel; 018 import com.liferay.portal.service.ServiceContext; 019 020 import com.liferay.portlet.expando.model.ExpandoBridge; 021 022 import java.io.Serializable; 023 024 /** 025 * The base model interface for the SocialEquityGroupSetting service. Represents a row in the "SocialEquityGroupSetting" database table, with each column mapped to a property of this class. 026 * 027 * <p> 028 * This interface and its corresponding implementation {@link com.liferay.portlet.social.model.impl.SocialEquityGroupSettingModelImpl} 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.SocialEquityGroupSettingImpl}. 029 * </p> 030 * 031 * <p> 032 * Never modify or reference this interface directly. All methods that expect a social equity group setting model instance should use the {@link SocialEquityGroupSetting} interface instead. 033 * </p> 034 * 035 * @author Brian Wing Shun Chan 036 * @see SocialEquityGroupSetting 037 * @see com.liferay.portlet.social.model.impl.SocialEquityGroupSettingImpl 038 * @see com.liferay.portlet.social.model.impl.SocialEquityGroupSettingModelImpl 039 * @generated 040 */ 041 public interface SocialEquityGroupSettingModel extends BaseModel<SocialEquityGroupSetting> { 042 /** 043 * Gets the primary key of this social equity group setting. 044 * 045 * @return the primary key of this social equity group setting 046 */ 047 public long getPrimaryKey(); 048 049 /** 050 * Sets the primary key of this social equity group setting 051 * 052 * @param pk the primary key of this social equity group setting 053 */ 054 public void setPrimaryKey(long pk); 055 056 /** 057 * Gets the equity group setting id of this social equity group setting. 058 * 059 * @return the equity group setting id of this social equity group setting 060 */ 061 public long getEquityGroupSettingId(); 062 063 /** 064 * Sets the equity group setting id of this social equity group setting. 065 * 066 * @param equityGroupSettingId the equity group setting id of this social equity group setting 067 */ 068 public void setEquityGroupSettingId(long equityGroupSettingId); 069 070 /** 071 * Gets the group id of this social equity group setting. 072 * 073 * @return the group id of this social equity group setting 074 */ 075 public long getGroupId(); 076 077 /** 078 * Sets the group id of this social equity group setting. 079 * 080 * @param groupId the group id of this social equity group setting 081 */ 082 public void setGroupId(long groupId); 083 084 /** 085 * Gets the company id of this social equity group setting. 086 * 087 * @return the company id of this social equity group setting 088 */ 089 public long getCompanyId(); 090 091 /** 092 * Sets the company id of this social equity group setting. 093 * 094 * @param companyId the company id of this social equity group setting 095 */ 096 public void setCompanyId(long companyId); 097 098 /** 099 * Gets the class name of the model instance this social equity group setting is polymorphically associated with. 100 * 101 * @return the class name of the model instance this social equity group setting is polymorphically associated with 102 */ 103 public String getClassName(); 104 105 /** 106 * Gets the class name id of this social equity group setting. 107 * 108 * @return the class name id of this social equity group setting 109 */ 110 public long getClassNameId(); 111 112 /** 113 * Sets the class name id of this social equity group setting. 114 * 115 * @param classNameId the class name id of this social equity group setting 116 */ 117 public void setClassNameId(long classNameId); 118 119 /** 120 * Gets the type of this social equity group setting. 121 * 122 * @return the type of this social equity group setting 123 */ 124 public int getType(); 125 126 /** 127 * Sets the type of this social equity group setting. 128 * 129 * @param type the type of this social equity group setting 130 */ 131 public void setType(int type); 132 133 /** 134 * Gets the enabled of this social equity group setting. 135 * 136 * @return the enabled of this social equity group setting 137 */ 138 public boolean getEnabled(); 139 140 /** 141 * Determines if this social equity group setting is enabled. 142 * 143 * @return <code>true</code> if this social equity group setting is enabled; <code>false</code> otherwise 144 */ 145 public boolean isEnabled(); 146 147 /** 148 * Sets whether this {$entity.humanName} is enabled. 149 * 150 * @param enabled the enabled of this social equity group setting 151 */ 152 public void setEnabled(boolean enabled); 153 154 /** 155 * Gets a copy of this social equity group setting as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}. 156 * 157 * @return the escaped model instance 158 * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler 159 */ 160 public SocialEquityGroupSetting toEscapedModel(); 161 162 public boolean isNew(); 163 164 public void setNew(boolean n); 165 166 public boolean isCachedModel(); 167 168 public void setCachedModel(boolean cachedModel); 169 170 public boolean isEscapedModel(); 171 172 public void setEscapedModel(boolean escapedModel); 173 174 public Serializable getPrimaryKeyObj(); 175 176 public ExpandoBridge getExpandoBridge(); 177 178 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 179 180 public Object clone(); 181 182 public int compareTo(SocialEquityGroupSetting socialEquityGroupSetting); 183 184 public int hashCode(); 185 186 public String toString(); 187 188 public String toXmlString(); 189 }