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