001 /** 002 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved. 003 * 004 * The contents of this file are subject to the terms of the Liferay Enterprise 005 * Subscription License ("License"). You may not use this file except in 006 * compliance with the License. You can obtain a copy of the License by 007 * contacting Liferay, Inc. See the License for the specific language governing 008 * permissions and limitations under the License, including but not limited to 009 * distribution rights of the Software. 010 * 011 * 012 * 013 */ 014 015 package com.liferay.portal.model; 016 017 import com.liferay.portal.kernel.annotation.AutoEscape; 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 PluginSetting service. Represents a row in the "PluginSetting" 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.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}. 029 * </p> 030 * 031 * <p> 032 * Never modify or reference this interface directly. All methods that expect a plugin setting model instance should use the {@link PluginSetting} interface instead. 033 * </p> 034 * 035 * @author Brian Wing Shun Chan 036 * @see PluginSetting 037 * @see com.liferay.portal.model.impl.PluginSettingImpl 038 * @see com.liferay.portal.model.impl.PluginSettingModelImpl 039 * @generated 040 */ 041 public interface PluginSettingModel extends BaseModel<PluginSetting> { 042 /** 043 * Gets the primary key of this plugin setting. 044 * 045 * @return the primary key of this plugin setting 046 */ 047 public long getPrimaryKey(); 048 049 /** 050 * Sets the primary key of this plugin setting 051 * 052 * @param pk the primary key of this plugin setting 053 */ 054 public void setPrimaryKey(long pk); 055 056 /** 057 * Gets the plugin setting id of this plugin setting. 058 * 059 * @return the plugin setting id of this plugin setting 060 */ 061 public long getPluginSettingId(); 062 063 /** 064 * Sets the plugin setting id of this plugin setting. 065 * 066 * @param pluginSettingId the plugin setting id of this plugin setting 067 */ 068 public void setPluginSettingId(long pluginSettingId); 069 070 /** 071 * Gets the company id of this plugin setting. 072 * 073 * @return the company id of this plugin setting 074 */ 075 public long getCompanyId(); 076 077 /** 078 * Sets the company id of this plugin setting. 079 * 080 * @param companyId the company id of this plugin setting 081 */ 082 public void setCompanyId(long companyId); 083 084 /** 085 * Gets the plugin id of this plugin setting. 086 * 087 * @return the plugin id of this plugin setting 088 */ 089 @AutoEscape 090 public String getPluginId(); 091 092 /** 093 * Sets the plugin id of this plugin setting. 094 * 095 * @param pluginId the plugin id of this plugin setting 096 */ 097 public void setPluginId(String pluginId); 098 099 /** 100 * Gets the plugin type of this plugin setting. 101 * 102 * @return the plugin type of this plugin setting 103 */ 104 @AutoEscape 105 public String getPluginType(); 106 107 /** 108 * Sets the plugin type of this plugin setting. 109 * 110 * @param pluginType the plugin type of this plugin setting 111 */ 112 public void setPluginType(String pluginType); 113 114 /** 115 * Gets the roles of this plugin setting. 116 * 117 * @return the roles of this plugin setting 118 */ 119 @AutoEscape 120 public String getRoles(); 121 122 /** 123 * Sets the roles of this plugin setting. 124 * 125 * @param roles the roles of this plugin setting 126 */ 127 public void setRoles(String roles); 128 129 /** 130 * Gets the active of this plugin setting. 131 * 132 * @return the active of this plugin setting 133 */ 134 public boolean getActive(); 135 136 /** 137 * Determines whether this plugin setting is active. 138 * 139 * @return whether this plugin setting is active 140 */ 141 public boolean isActive(); 142 143 /** 144 * Sets whether this {$entity.humanName} is active. 145 * 146 * @param active the active of this plugin setting 147 */ 148 public void setActive(boolean active); 149 150 public boolean isNew(); 151 152 public void setNew(boolean n); 153 154 public boolean isCachedModel(); 155 156 public void setCachedModel(boolean cachedModel); 157 158 public boolean isEscapedModel(); 159 160 public void setEscapedModel(boolean escapedModel); 161 162 public Serializable getPrimaryKeyObj(); 163 164 public ExpandoBridge getExpandoBridge(); 165 166 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 167 168 public Object clone(); 169 170 public int compareTo(PluginSetting pluginSetting); 171 172 public int hashCode(); 173 174 public PluginSetting toEscapedModel(); 175 176 public String toString(); 177 178 public String toXmlString(); 179 }