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 { 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 password policy ID of this password policy rel. 093 * 094 * @return the password policy ID of this password policy rel 095 */ 096 public long getPasswordPolicyId(); 097 098 /** 099 * Sets the password policy ID of this password policy rel. 100 * 101 * @param passwordPolicyId the password policy ID of this password policy rel 102 */ 103 public void setPasswordPolicyId(long passwordPolicyId); 104 105 /** 106 * Returns the fully qualified class name of this password policy rel. 107 * 108 * @return the fully qualified class name of this password policy rel 109 */ 110 @Override 111 public String getClassName(); 112 113 public void setClassName(String className); 114 115 /** 116 * Returns the class name ID of this password policy rel. 117 * 118 * @return the class name ID of this password policy rel 119 */ 120 @Override 121 public long getClassNameId(); 122 123 /** 124 * Sets the class name ID of this password policy rel. 125 * 126 * @param classNameId the class name ID of this password policy rel 127 */ 128 @Override 129 public void setClassNameId(long classNameId); 130 131 /** 132 * Returns the class p k of this password policy rel. 133 * 134 * @return the class p k of this password policy rel 135 */ 136 @Override 137 public long getClassPK(); 138 139 /** 140 * Sets the class p k of this password policy rel. 141 * 142 * @param classPK the class p k of this password policy rel 143 */ 144 @Override 145 public void setClassPK(long classPK); 146 147 @Override 148 public boolean isNew(); 149 150 @Override 151 public void setNew(boolean n); 152 153 @Override 154 public boolean isCachedModel(); 155 156 @Override 157 public void setCachedModel(boolean cachedModel); 158 159 @Override 160 public boolean isEscapedModel(); 161 162 @Override 163 public Serializable getPrimaryKeyObj(); 164 165 @Override 166 public void setPrimaryKeyObj(Serializable primaryKeyObj); 167 168 @Override 169 public ExpandoBridge getExpandoBridge(); 170 171 @Override 172 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 173 174 @Override 175 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 176 177 @Override 178 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 179 180 @Override 181 public Object clone(); 182 183 @Override 184 public int compareTo( 185 com.liferay.portal.model.PasswordPolicyRel passwordPolicyRel); 186 187 @Override 188 public int hashCode(); 189 190 @Override 191 public CacheModel<com.liferay.portal.model.PasswordPolicyRel> toCacheModel(); 192 193 @Override 194 public com.liferay.portal.model.PasswordPolicyRel toEscapedModel(); 195 196 @Override 197 public com.liferay.portal.model.PasswordPolicyRel toUnescapedModel(); 198 199 @Override 200 public String toString(); 201 202 @Override 203 public String toXmlString(); 204 }