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