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.service.ServiceContext;
020    
021    import com.liferay.portlet.expando.model.ExpandoBridge;
022    
023    import java.io.Serializable;
024    
025    /**
026     * The base model interface for the PasswordPolicyRel service. Represents a row in the "PasswordPolicyRel" 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.portal.model.impl.PasswordPolicyRelModelImpl} 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.PasswordPolicyRelImpl}.
030     * </p>
031     *
032     * @author Brian Wing Shun Chan
033     * @see PasswordPolicyRel
034     * @see com.liferay.portal.model.impl.PasswordPolicyRelImpl
035     * @see com.liferay.portal.model.impl.PasswordPolicyRelModelImpl
036     * @generated
037     */
038    @ProviderType
039    public interface PasswordPolicyRelModel extends AttachedModel,
040            BaseModel<PasswordPolicyRel>, MVCCModel, ShardedModel {
041            /*
042             * NOTE FOR DEVELOPERS:
043             *
044             * Never modify or reference this interface directly. All methods that expect a password policy rel model instance should use the {@link PasswordPolicyRel} interface instead.
045             */
046    
047            /**
048             * Returns the primary key of this password policy rel.
049             *
050             * @return the primary key of this password policy rel
051             */
052            public long getPrimaryKey();
053    
054            /**
055             * Sets the primary key of this password policy rel.
056             *
057             * @param primaryKey the primary key of this password policy rel
058             */
059            public void setPrimaryKey(long primaryKey);
060    
061            /**
062             * Returns the mvcc version of this password policy rel.
063             *
064             * @return the mvcc version of this password policy rel
065             */
066            @Override
067            public long getMvccVersion();
068    
069            /**
070             * Sets the mvcc version of this password policy rel.
071             *
072             * @param mvccVersion the mvcc version of this password policy rel
073             */
074            @Override
075            public void setMvccVersion(long mvccVersion);
076    
077            /**
078             * Returns the password policy rel ID of this password policy rel.
079             *
080             * @return the password policy rel ID of this password policy rel
081             */
082            public long getPasswordPolicyRelId();
083    
084            /**
085             * Sets the password policy rel ID of this password policy rel.
086             *
087             * @param passwordPolicyRelId the password policy rel ID of this password policy rel
088             */
089            public void setPasswordPolicyRelId(long passwordPolicyRelId);
090    
091            /**
092             * Returns the company ID of this password policy rel.
093             *
094             * @return the company ID of this password policy rel
095             */
096            @Override
097            public long getCompanyId();
098    
099            /**
100             * Sets the company ID of this password policy rel.
101             *
102             * @param companyId the company ID of this password policy rel
103             */
104            @Override
105            public void setCompanyId(long companyId);
106    
107            /**
108             * Returns the password policy ID of this password policy rel.
109             *
110             * @return the password policy ID of this password policy rel
111             */
112            public long getPasswordPolicyId();
113    
114            /**
115             * Sets the password policy ID of this password policy rel.
116             *
117             * @param passwordPolicyId the password policy ID of this password policy rel
118             */
119            public void setPasswordPolicyId(long passwordPolicyId);
120    
121            /**
122             * Returns the fully qualified class name of this password policy rel.
123             *
124             * @return the fully qualified class name of this password policy rel
125             */
126            @Override
127            public String getClassName();
128    
129            public void setClassName(String className);
130    
131            /**
132             * Returns the class name ID of this password policy rel.
133             *
134             * @return the class name ID of this password policy rel
135             */
136            @Override
137            public long getClassNameId();
138    
139            /**
140             * Sets the class name ID of this password policy rel.
141             *
142             * @param classNameId the class name ID of this password policy rel
143             */
144            @Override
145            public void setClassNameId(long classNameId);
146    
147            /**
148             * Returns the class p k of this password policy rel.
149             *
150             * @return the class p k of this password policy rel
151             */
152            @Override
153            public long getClassPK();
154    
155            /**
156             * Sets the class p k of this password policy rel.
157             *
158             * @param classPK the class p k of this password policy rel
159             */
160            @Override
161            public void setClassPK(long classPK);
162    
163            @Override
164            public boolean isNew();
165    
166            @Override
167            public void setNew(boolean n);
168    
169            @Override
170            public boolean isCachedModel();
171    
172            @Override
173            public void setCachedModel(boolean cachedModel);
174    
175            @Override
176            public boolean isEscapedModel();
177    
178            @Override
179            public Serializable getPrimaryKeyObj();
180    
181            @Override
182            public void setPrimaryKeyObj(Serializable primaryKeyObj);
183    
184            @Override
185            public ExpandoBridge getExpandoBridge();
186    
187            @Override
188            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
189    
190            @Override
191            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
192    
193            @Override
194            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
195    
196            @Override
197            public Object clone();
198    
199            @Override
200            public int compareTo(
201                    com.liferay.portal.model.PasswordPolicyRel passwordPolicyRel);
202    
203            @Override
204            public int hashCode();
205    
206            @Override
207            public CacheModel<com.liferay.portal.model.PasswordPolicyRel> toCacheModel();
208    
209            @Override
210            public com.liferay.portal.model.PasswordPolicyRel toEscapedModel();
211    
212            @Override
213            public com.liferay.portal.model.PasswordPolicyRel toUnescapedModel();
214    
215            @Override
216            public String toString();
217    
218            @Override
219            public String toXmlString();
220    }