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