1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.model;
16  
17  import com.liferay.portal.SystemException;
18  import com.liferay.portal.kernel.annotation.AutoEscape;
19  import com.liferay.portal.service.ServiceContext;
20  
21  import com.liferay.portlet.expando.model.ExpandoBridge;
22  
23  import java.io.Serializable;
24  
25  import java.util.Date;
26  
27  /**
28   * <a href="PasswordPolicyModel.java.html"><b><i>View Source</i></b></a>
29   *
30   * <p>
31   * ServiceBuilder generated this class. Modifications in this class will be
32   * overwritten the next time is generated.
33   * </p>
34   *
35   * <p>
36   * This interface is a model that represents the PasswordPolicy table in the
37   * database.
38   * </p>
39   *
40   * @author    Brian Wing Shun Chan
41   * @see       PasswordPolicy
42   * @see       com.liferay.portal.model.impl.PasswordPolicyImpl
43   * @see       com.liferay.portal.model.impl.PasswordPolicyModelImpl
44   * @generated
45   */
46  public interface PasswordPolicyModel extends BaseModel<PasswordPolicy> {
47      public long getPrimaryKey();
48  
49      public void setPrimaryKey(long pk);
50  
51      public long getPasswordPolicyId();
52  
53      public void setPasswordPolicyId(long passwordPolicyId);
54  
55      public long getCompanyId();
56  
57      public void setCompanyId(long companyId);
58  
59      public long getUserId();
60  
61      public void setUserId(long userId);
62  
63      public String getUserUuid() throws SystemException;
64  
65      public void setUserUuid(String userUuid);
66  
67      @AutoEscape
68      public String getUserName();
69  
70      public void setUserName(String userName);
71  
72      public Date getCreateDate();
73  
74      public void setCreateDate(Date createDate);
75  
76      public Date getModifiedDate();
77  
78      public void setModifiedDate(Date modifiedDate);
79  
80      public boolean getDefaultPolicy();
81  
82      public boolean isDefaultPolicy();
83  
84      public void setDefaultPolicy(boolean defaultPolicy);
85  
86      @AutoEscape
87      public String getName();
88  
89      public void setName(String name);
90  
91      @AutoEscape
92      public String getDescription();
93  
94      public void setDescription(String description);
95  
96      public boolean getChangeable();
97  
98      public boolean isChangeable();
99  
100     public void setChangeable(boolean changeable);
101 
102     public boolean getChangeRequired();
103 
104     public boolean isChangeRequired();
105 
106     public void setChangeRequired(boolean changeRequired);
107 
108     public long getMinAge();
109 
110     public void setMinAge(long minAge);
111 
112     public boolean getCheckSyntax();
113 
114     public boolean isCheckSyntax();
115 
116     public void setCheckSyntax(boolean checkSyntax);
117 
118     public boolean getAllowDictionaryWords();
119 
120     public boolean isAllowDictionaryWords();
121 
122     public void setAllowDictionaryWords(boolean allowDictionaryWords);
123 
124     public int getMinLength();
125 
126     public void setMinLength(int minLength);
127 
128     public boolean getHistory();
129 
130     public boolean isHistory();
131 
132     public void setHistory(boolean history);
133 
134     public int getHistoryCount();
135 
136     public void setHistoryCount(int historyCount);
137 
138     public boolean getExpireable();
139 
140     public boolean isExpireable();
141 
142     public void setExpireable(boolean expireable);
143 
144     public long getMaxAge();
145 
146     public void setMaxAge(long maxAge);
147 
148     public long getWarningTime();
149 
150     public void setWarningTime(long warningTime);
151 
152     public int getGraceLimit();
153 
154     public void setGraceLimit(int graceLimit);
155 
156     public boolean getLockout();
157 
158     public boolean isLockout();
159 
160     public void setLockout(boolean lockout);
161 
162     public int getMaxFailure();
163 
164     public void setMaxFailure(int maxFailure);
165 
166     public long getLockoutDuration();
167 
168     public void setLockoutDuration(long lockoutDuration);
169 
170     public boolean getRequireUnlock();
171 
172     public boolean isRequireUnlock();
173 
174     public void setRequireUnlock(boolean requireUnlock);
175 
176     public long getResetFailureCount();
177 
178     public void setResetFailureCount(long resetFailureCount);
179 
180     public boolean isNew();
181 
182     public boolean setNew(boolean n);
183 
184     public boolean isCachedModel();
185 
186     public void setCachedModel(boolean cachedModel);
187 
188     public boolean isEscapedModel();
189 
190     public void setEscapedModel(boolean escapedModel);
191 
192     public Serializable getPrimaryKeyObj();
193 
194     public ExpandoBridge getExpandoBridge();
195 
196     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
197 
198     public Object clone();
199 
200     public int compareTo(PasswordPolicy passwordPolicy);
201 
202     public int hashCode();
203 
204     public PasswordPolicy toEscapedModel();
205 
206     public String toString();
207 
208     public String toXmlString();
209 }