001    /**
002     * Copyright (c) 2000-2010 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.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     * <p>
026     * This interface is a model that represents the PluginSetting table in the
027     * database.
028     * </p>
029     *
030     * @author    Brian Wing Shun Chan
031     * @see       PluginSetting
032     * @see       com.liferay.portal.model.impl.PluginSettingImpl
033     * @see       com.liferay.portal.model.impl.PluginSettingModelImpl
034     * @generated
035     */
036    public interface PluginSettingModel extends BaseModel<PluginSetting> {
037            public long getPrimaryKey();
038    
039            public void setPrimaryKey(long pk);
040    
041            public long getPluginSettingId();
042    
043            public void setPluginSettingId(long pluginSettingId);
044    
045            public long getCompanyId();
046    
047            public void setCompanyId(long companyId);
048    
049            @AutoEscape
050            public String getPluginId();
051    
052            public void setPluginId(String pluginId);
053    
054            @AutoEscape
055            public String getPluginType();
056    
057            public void setPluginType(String pluginType);
058    
059            @AutoEscape
060            public String getRoles();
061    
062            public void setRoles(String roles);
063    
064            public boolean getActive();
065    
066            public boolean isActive();
067    
068            public void setActive(boolean active);
069    
070            public PluginSetting toEscapedModel();
071    
072            public boolean isNew();
073    
074            public void setNew(boolean n);
075    
076            public boolean isCachedModel();
077    
078            public void setCachedModel(boolean cachedModel);
079    
080            public boolean isEscapedModel();
081    
082            public void setEscapedModel(boolean escapedModel);
083    
084            public Serializable getPrimaryKeyObj();
085    
086            public ExpandoBridge getExpandoBridge();
087    
088            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
089    
090            public Object clone();
091    
092            public int compareTo(PluginSetting pluginSetting);
093    
094            public int hashCode();
095    
096            public String toString();
097    
098            public String toXmlString();
099    }