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.portlet.expando.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.AutoEscape;
020    import com.liferay.portal.model.BaseModel;
021    import com.liferay.portal.model.CacheModel;
022    import com.liferay.portal.model.TypedModel;
023    import com.liferay.portal.service.ServiceContext;
024    
025    import java.io.Serializable;
026    
027    /**
028     * The base model interface for the ExpandoTable service. Represents a row in the "ExpandoTable" database table, with each column mapped to a property of this class.
029     *
030     * <p>
031     * This interface and its corresponding implementation {@link com.liferay.portlet.expando.model.impl.ExpandoTableModelImpl} 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.portlet.expando.model.impl.ExpandoTableImpl}.
032     * </p>
033     *
034     * @author Brian Wing Shun Chan
035     * @see ExpandoTable
036     * @see com.liferay.portlet.expando.model.impl.ExpandoTableImpl
037     * @see com.liferay.portlet.expando.model.impl.ExpandoTableModelImpl
038     * @generated
039     */
040    @ProviderType
041    public interface ExpandoTableModel extends BaseModel<ExpandoTable>, TypedModel {
042            /*
043             * NOTE FOR DEVELOPERS:
044             *
045             * Never modify or reference this interface directly. All methods that expect a expando table model instance should use the {@link ExpandoTable} interface instead.
046             */
047    
048            /**
049             * Returns the primary key of this expando table.
050             *
051             * @return the primary key of this expando table
052             */
053            public long getPrimaryKey();
054    
055            /**
056             * Sets the primary key of this expando table.
057             *
058             * @param primaryKey the primary key of this expando table
059             */
060            public void setPrimaryKey(long primaryKey);
061    
062            /**
063             * Returns the table ID of this expando table.
064             *
065             * @return the table ID of this expando table
066             */
067            public long getTableId();
068    
069            /**
070             * Sets the table ID of this expando table.
071             *
072             * @param tableId the table ID of this expando table
073             */
074            public void setTableId(long tableId);
075    
076            /**
077             * Returns the company ID of this expando table.
078             *
079             * @return the company ID of this expando table
080             */
081            public long getCompanyId();
082    
083            /**
084             * Sets the company ID of this expando table.
085             *
086             * @param companyId the company ID of this expando table
087             */
088            public void setCompanyId(long companyId);
089    
090            /**
091             * Returns the fully qualified class name of this expando table.
092             *
093             * @return the fully qualified class name of this expando table
094             */
095            @Override
096            public String getClassName();
097    
098            public void setClassName(String className);
099    
100            /**
101             * Returns the class name ID of this expando table.
102             *
103             * @return the class name ID of this expando table
104             */
105            @Override
106            public long getClassNameId();
107    
108            /**
109             * Sets the class name ID of this expando table.
110             *
111             * @param classNameId the class name ID of this expando table
112             */
113            @Override
114            public void setClassNameId(long classNameId);
115    
116            /**
117             * Returns the name of this expando table.
118             *
119             * @return the name of this expando table
120             */
121            @AutoEscape
122            public String getName();
123    
124            /**
125             * Sets the name of this expando table.
126             *
127             * @param name the name of this expando table
128             */
129            public void setName(String name);
130    
131            @Override
132            public boolean isNew();
133    
134            @Override
135            public void setNew(boolean n);
136    
137            @Override
138            public boolean isCachedModel();
139    
140            @Override
141            public void setCachedModel(boolean cachedModel);
142    
143            @Override
144            public boolean isEscapedModel();
145    
146            @Override
147            public Serializable getPrimaryKeyObj();
148    
149            @Override
150            public void setPrimaryKeyObj(Serializable primaryKeyObj);
151    
152            @Override
153            public ExpandoBridge getExpandoBridge();
154    
155            @Override
156            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
157    
158            @Override
159            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
160    
161            @Override
162            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
163    
164            @Override
165            public Object clone();
166    
167            @Override
168            public int compareTo(ExpandoTable expandoTable);
169    
170            @Override
171            public int hashCode();
172    
173            @Override
174            public CacheModel<ExpandoTable> toCacheModel();
175    
176            @Override
177            public ExpandoTable toEscapedModel();
178    
179            @Override
180            public ExpandoTable toUnescapedModel();
181    
182            @Override
183            public String toString();
184    
185            @Override
186            public String toXmlString();
187    }