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.portal.model; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.AutoEscape; 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 PluginSetting service. Represents a row in the "PluginSetting" 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.portal.model.impl.PluginSettingModelImpl} 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.PluginSettingImpl}. 031 * </p> 032 * 033 * @author Brian Wing Shun Chan 034 * @see PluginSetting 035 * @see com.liferay.portal.model.impl.PluginSettingImpl 036 * @see com.liferay.portal.model.impl.PluginSettingModelImpl 037 * @generated 038 */ 039 @ProviderType 040 public interface PluginSettingModel extends BaseModel<PluginSetting>, MVCCModel, 041 ShardedModel { 042 /* 043 * NOTE FOR DEVELOPERS: 044 * 045 * Never modify or reference this interface directly. All methods that expect a plugin setting model instance should use the {@link PluginSetting} interface instead. 046 */ 047 048 /** 049 * Returns the primary key of this plugin setting. 050 * 051 * @return the primary key of this plugin setting 052 */ 053 public long getPrimaryKey(); 054 055 /** 056 * Sets the primary key of this plugin setting. 057 * 058 * @param primaryKey the primary key of this plugin setting 059 */ 060 public void setPrimaryKey(long primaryKey); 061 062 /** 063 * Returns the mvcc version of this plugin setting. 064 * 065 * @return the mvcc version of this plugin setting 066 */ 067 @Override 068 public long getMvccVersion(); 069 070 /** 071 * Sets the mvcc version of this plugin setting. 072 * 073 * @param mvccVersion the mvcc version of this plugin setting 074 */ 075 @Override 076 public void setMvccVersion(long mvccVersion); 077 078 /** 079 * Returns the plugin setting ID of this plugin setting. 080 * 081 * @return the plugin setting ID of this plugin setting 082 */ 083 public long getPluginSettingId(); 084 085 /** 086 * Sets the plugin setting ID of this plugin setting. 087 * 088 * @param pluginSettingId the plugin setting ID of this plugin setting 089 */ 090 public void setPluginSettingId(long pluginSettingId); 091 092 /** 093 * Returns the company ID of this plugin setting. 094 * 095 * @return the company ID of this plugin setting 096 */ 097 @Override 098 public long getCompanyId(); 099 100 /** 101 * Sets the company ID of this plugin setting. 102 * 103 * @param companyId the company ID of this plugin setting 104 */ 105 @Override 106 public void setCompanyId(long companyId); 107 108 /** 109 * Returns the plugin ID of this plugin setting. 110 * 111 * @return the plugin ID of this plugin setting 112 */ 113 @AutoEscape 114 public String getPluginId(); 115 116 /** 117 * Sets the plugin ID of this plugin setting. 118 * 119 * @param pluginId the plugin ID of this plugin setting 120 */ 121 public void setPluginId(String pluginId); 122 123 /** 124 * Returns the plugin type of this plugin setting. 125 * 126 * @return the plugin type of this plugin setting 127 */ 128 @AutoEscape 129 public String getPluginType(); 130 131 /** 132 * Sets the plugin type of this plugin setting. 133 * 134 * @param pluginType the plugin type of this plugin setting 135 */ 136 public void setPluginType(String pluginType); 137 138 /** 139 * Returns the roles of this plugin setting. 140 * 141 * @return the roles of this plugin setting 142 */ 143 @AutoEscape 144 public String getRoles(); 145 146 /** 147 * Sets the roles of this plugin setting. 148 * 149 * @param roles the roles of this plugin setting 150 */ 151 public void setRoles(String roles); 152 153 /** 154 * Returns the active of this plugin setting. 155 * 156 * @return the active of this plugin setting 157 */ 158 public boolean getActive(); 159 160 /** 161 * Returns <code>true</code> if this plugin setting is active. 162 * 163 * @return <code>true</code> if this plugin setting is active; <code>false</code> otherwise 164 */ 165 public boolean isActive(); 166 167 /** 168 * Sets whether this plugin setting is active. 169 * 170 * @param active the active of this plugin setting 171 */ 172 public void setActive(boolean active); 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(com.liferay.portal.model.PluginSetting pluginSetting); 212 213 @Override 214 public int hashCode(); 215 216 @Override 217 public CacheModel<com.liferay.portal.model.PluginSetting> toCacheModel(); 218 219 @Override 220 public com.liferay.portal.model.PluginSetting toEscapedModel(); 221 222 @Override 223 public com.liferay.portal.model.PluginSetting toUnescapedModel(); 224 225 @Override 226 public String toString(); 227 228 @Override 229 public String toXmlString(); 230 }