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            /*
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 mvcc version of this plugin setting.
063             *
064             * @return the mvcc version of this plugin setting
065             */
066            @Override
067            public long getMvccVersion();
068    
069            /**
070             * Sets the mvcc version of this plugin setting.
071             *
072             * @param mvccVersion the mvcc version of this plugin setting
073             */
074            @Override
075            public void setMvccVersion(long mvccVersion);
076    
077            /**
078             * Returns the plugin setting ID of this plugin setting.
079             *
080             * @return the plugin setting ID of this plugin setting
081             */
082            public long getPluginSettingId();
083    
084            /**
085             * Sets the plugin setting ID of this plugin setting.
086             *
087             * @param pluginSettingId the plugin setting ID of this plugin setting
088             */
089            public void setPluginSettingId(long pluginSettingId);
090    
091            /**
092             * Returns the company ID of this plugin setting.
093             *
094             * @return the company ID of this plugin setting
095             */
096            public long getCompanyId();
097    
098            /**
099             * Sets the company ID of this plugin setting.
100             *
101             * @param companyId the company ID of this plugin setting
102             */
103            public void setCompanyId(long companyId);
104    
105            /**
106             * Returns the plugin ID of this plugin setting.
107             *
108             * @return the plugin ID of this plugin setting
109             */
110            @AutoEscape
111            public String getPluginId();
112    
113            /**
114             * Sets the plugin ID of this plugin setting.
115             *
116             * @param pluginId the plugin ID of this plugin setting
117             */
118            public void setPluginId(String pluginId);
119    
120            /**
121             * Returns the plugin type of this plugin setting.
122             *
123             * @return the plugin type of this plugin setting
124             */
125            @AutoEscape
126            public String getPluginType();
127    
128            /**
129             * Sets the plugin type of this plugin setting.
130             *
131             * @param pluginType the plugin type of this plugin setting
132             */
133            public void setPluginType(String pluginType);
134    
135            /**
136             * Returns the roles of this plugin setting.
137             *
138             * @return the roles of this plugin setting
139             */
140            @AutoEscape
141            public String getRoles();
142    
143            /**
144             * Sets the roles of this plugin setting.
145             *
146             * @param roles the roles of this plugin setting
147             */
148            public void setRoles(String roles);
149    
150            /**
151             * Returns the active of this plugin setting.
152             *
153             * @return the active of this plugin setting
154             */
155            public boolean getActive();
156    
157            /**
158             * Returns <code>true</code> if this plugin setting is active.
159             *
160             * @return <code>true</code> if this plugin setting is active; <code>false</code> otherwise
161             */
162            public boolean isActive();
163    
164            /**
165             * Sets whether this plugin setting is active.
166             *
167             * @param active the active of this plugin setting
168             */
169            public void setActive(boolean active);
170    
171            @Override
172            public boolean isNew();
173    
174            @Override
175            public void setNew(boolean n);
176    
177            @Override
178            public boolean isCachedModel();
179    
180            @Override
181            public void setCachedModel(boolean cachedModel);
182    
183            @Override
184            public boolean isEscapedModel();
185    
186            @Override
187            public Serializable getPrimaryKeyObj();
188    
189            @Override
190            public void setPrimaryKeyObj(Serializable primaryKeyObj);
191    
192            @Override
193            public ExpandoBridge getExpandoBridge();
194    
195            @Override
196            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
197    
198            @Override
199            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
200    
201            @Override
202            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
203    
204            @Override
205            public Object clone();
206    
207            @Override
208            public int compareTo(com.liferay.portal.model.PluginSetting pluginSetting);
209    
210            @Override
211            public int hashCode();
212    
213            @Override
214            public CacheModel<com.liferay.portal.model.PluginSetting> toCacheModel();
215    
216            @Override
217            public com.liferay.portal.model.PluginSetting toEscapedModel();
218    
219            @Override
220            public com.liferay.portal.model.PluginSetting toUnescapedModel();
221    
222            @Override
223            public String toString();
224    
225            @Override
226            public String toXmlString();
227    }