001 /** 002 * Copyright (c) 2000-2010 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 com.liferay.portal.service.ServiceContext; 018 019 import com.liferay.portlet.expando.model.ExpandoBridge; 020 021 import java.io.Serializable; 022 023 /** 024 * 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. 025 * 026 * <p> 027 * 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}. 028 * </p> 029 * 030 * <p> 031 * Never modify or reference this interface directly. All methods that expect a password policy rel model instance should use the {@link PasswordPolicyRel} interface instead. 032 * </p> 033 * 034 * @author Brian Wing Shun Chan 035 * @see PasswordPolicyRel 036 * @see com.liferay.portal.model.impl.PasswordPolicyRelImpl 037 * @see com.liferay.portal.model.impl.PasswordPolicyRelModelImpl 038 * @generated 039 */ 040 public interface PasswordPolicyRelModel extends BaseModel<PasswordPolicyRel> { 041 /** 042 * Gets the primary key of this password policy rel. 043 * 044 * @return the primary key of this password policy rel 045 */ 046 public long getPrimaryKey(); 047 048 /** 049 * Sets the primary key of this password policy rel 050 * 051 * @param pk the primary key of this password policy rel 052 */ 053 public void setPrimaryKey(long pk); 054 055 /** 056 * Gets the password policy rel id of this password policy rel. 057 * 058 * @return the password policy rel id of this password policy rel 059 */ 060 public long getPasswordPolicyRelId(); 061 062 /** 063 * Sets the password policy rel id of this password policy rel. 064 * 065 * @param passwordPolicyRelId the password policy rel id of this password policy rel 066 */ 067 public void setPasswordPolicyRelId(long passwordPolicyRelId); 068 069 /** 070 * Gets the password policy id of this password policy rel. 071 * 072 * @return the password policy id of this password policy rel 073 */ 074 public long getPasswordPolicyId(); 075 076 /** 077 * Sets the password policy id of this password policy rel. 078 * 079 * @param passwordPolicyId the password policy id of this password policy rel 080 */ 081 public void setPasswordPolicyId(long passwordPolicyId); 082 083 /** 084 * Gets the class name of the model instance this password policy rel is polymorphically associated with. 085 * 086 * @return the class name of the model instance this password policy rel is polymorphically associated with 087 */ 088 public String getClassName(); 089 090 /** 091 * Gets the class name id of this password policy rel. 092 * 093 * @return the class name id of this password policy rel 094 */ 095 public long getClassNameId(); 096 097 /** 098 * Sets the class name id of this password policy rel. 099 * 100 * @param classNameId the class name id of this password policy rel 101 */ 102 public void setClassNameId(long classNameId); 103 104 /** 105 * Gets the class p k of this password policy rel. 106 * 107 * @return the class p k of this password policy rel 108 */ 109 public long getClassPK(); 110 111 /** 112 * Sets the class p k of this password policy rel. 113 * 114 * @param classPK the class p k of this password policy rel 115 */ 116 public void setClassPK(long classPK); 117 118 /** 119 * Gets a copy of this password policy rel as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}. 120 * 121 * @return the escaped model instance 122 * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler 123 */ 124 public PasswordPolicyRel toEscapedModel(); 125 126 public boolean isNew(); 127 128 public void setNew(boolean n); 129 130 public boolean isCachedModel(); 131 132 public void setCachedModel(boolean cachedModel); 133 134 public boolean isEscapedModel(); 135 136 public void setEscapedModel(boolean escapedModel); 137 138 public Serializable getPrimaryKeyObj(); 139 140 public ExpandoBridge getExpandoBridge(); 141 142 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 143 144 public Object clone(); 145 146 public int compareTo(PasswordPolicyRel passwordPolicyRel); 147 148 public int hashCode(); 149 150 public String toString(); 151 152 public String toXmlString(); 153 }