001 /** 002 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved. 003 * 004 * The contents of this file are subject to the terms of the Liferay Enterprise 005 * Subscription License ("License"). You may not use this file except in 006 * compliance with the License. You can obtain a copy of the License by 007 * contacting Liferay, Inc. See the License for the specific language governing 008 * permissions and limitations under the License, including but not limited to 009 * distribution rights of the Software. 010 * 011 * 012 * 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 public boolean isNew(); 119 120 public void setNew(boolean n); 121 122 public boolean isCachedModel(); 123 124 public void setCachedModel(boolean cachedModel); 125 126 public boolean isEscapedModel(); 127 128 public void setEscapedModel(boolean escapedModel); 129 130 public Serializable getPrimaryKeyObj(); 131 132 public ExpandoBridge getExpandoBridge(); 133 134 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 135 136 public Object clone(); 137 138 public int compareTo(PasswordPolicyRel passwordPolicyRel); 139 140 public int hashCode(); 141 142 public PasswordPolicyRel toEscapedModel(); 143 144 public String toString(); 145 146 public String toXmlString(); 147 }