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.portal.model;
016    
017    import com.liferay.portal.kernel.bean.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     * @author Brian Wing Shun Chan
032     * @see PluginSetting
033     * @see com.liferay.portal.model.impl.PluginSettingImpl
034     * @see com.liferay.portal.model.impl.PluginSettingModelImpl
035     * @generated
036     */
037    public interface PluginSettingModel extends BaseModel<PluginSetting> {
038            /*
039             * NOTE FOR DEVELOPERS:
040             *
041             * Never modify or reference this interface directly. All methods that expect a plugin setting model instance should use the {@link PluginSetting} interface instead.
042             */
043    
044            /**
045             * Returns the primary key of this plugin setting.
046             *
047             * @return the primary key of this plugin setting
048             */
049            public long getPrimaryKey();
050    
051            /**
052             * Sets the primary key of this plugin setting.
053             *
054             * @param primaryKey the primary key of this plugin setting
055             */
056            public void setPrimaryKey(long primaryKey);
057    
058            /**
059             * Returns the plugin setting ID of this plugin setting.
060             *
061             * @return the plugin setting ID of this plugin setting
062             */
063            public long getPluginSettingId();
064    
065            /**
066             * Sets the plugin setting ID of this plugin setting.
067             *
068             * @param pluginSettingId the plugin setting ID of this plugin setting
069             */
070            public void setPluginSettingId(long pluginSettingId);
071    
072            /**
073             * Returns the company ID of this plugin setting.
074             *
075             * @return the company ID of this plugin setting
076             */
077            public long getCompanyId();
078    
079            /**
080             * Sets the company ID of this plugin setting.
081             *
082             * @param companyId the company ID of this plugin setting
083             */
084            public void setCompanyId(long companyId);
085    
086            /**
087             * Returns the plugin ID of this plugin setting.
088             *
089             * @return the plugin ID of this plugin setting
090             */
091            @AutoEscape
092            public String getPluginId();
093    
094            /**
095             * Sets the plugin ID of this plugin setting.
096             *
097             * @param pluginId the plugin ID of this plugin setting
098             */
099            public void setPluginId(String pluginId);
100    
101            /**
102             * Returns the plugin type of this plugin setting.
103             *
104             * @return the plugin type of this plugin setting
105             */
106            @AutoEscape
107            public String getPluginType();
108    
109            /**
110             * Sets the plugin type of this plugin setting.
111             *
112             * @param pluginType the plugin type of this plugin setting
113             */
114            public void setPluginType(String pluginType);
115    
116            /**
117             * Returns the roles of this plugin setting.
118             *
119             * @return the roles of this plugin setting
120             */
121            @AutoEscape
122            public String getRoles();
123    
124            /**
125             * Sets the roles of this plugin setting.
126             *
127             * @param roles the roles of this plugin setting
128             */
129            public void setRoles(String roles);
130    
131            /**
132             * Returns the active of this plugin setting.
133             *
134             * @return the active of this plugin setting
135             */
136            public boolean getActive();
137    
138            /**
139             * Returns <code>true</code> if this plugin setting is active.
140             *
141             * @return <code>true</code> if this plugin setting is active; <code>false</code> otherwise
142             */
143            public boolean isActive();
144    
145            /**
146             * Sets whether this plugin setting is active.
147             *
148             * @param active the active of this plugin setting
149             */
150            public void setActive(boolean active);
151    
152            public boolean isNew();
153    
154            public void setNew(boolean n);
155    
156            public boolean isCachedModel();
157    
158            public void setCachedModel(boolean cachedModel);
159    
160            public boolean isEscapedModel();
161    
162            public Serializable getPrimaryKeyObj();
163    
164            public void setPrimaryKeyObj(Serializable primaryKeyObj);
165    
166            public ExpandoBridge getExpandoBridge();
167    
168            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
169    
170            public Object clone();
171    
172            public int compareTo(PluginSetting pluginSetting);
173    
174            public int hashCode();
175    
176            public CacheModel<PluginSetting> toCacheModel();
177    
178            public PluginSetting toEscapedModel();
179    
180            public PluginSetting toUnescapedModel();
181    
182            public String toString();
183    
184            public String toXmlString();
185    }