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