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.kernel.annotation.AutoEscape;
018    import com.liferay.portal.kernel.exception.SystemException;
019    import com.liferay.portal.service.ServiceContext;
020    
021    import com.liferay.portlet.expando.model.ExpandoBridge;
022    
023    import java.io.Serializable;
024    
025    import java.util.Date;
026    
027    /**
028     * <p>
029     * This interface is a model that represents the PasswordPolicy table in the
030     * database.
031     * </p>
032     *
033     * @author    Brian Wing Shun Chan
034     * @see       PasswordPolicy
035     * @see       com.liferay.portal.model.impl.PasswordPolicyImpl
036     * @see       com.liferay.portal.model.impl.PasswordPolicyModelImpl
037     * @generated
038     */
039    public interface PasswordPolicyModel extends BaseModel<PasswordPolicy> {
040            public long getPrimaryKey();
041    
042            public void setPrimaryKey(long pk);
043    
044            public long getPasswordPolicyId();
045    
046            public void setPasswordPolicyId(long passwordPolicyId);
047    
048            public long getCompanyId();
049    
050            public void setCompanyId(long companyId);
051    
052            public long getUserId();
053    
054            public void setUserId(long userId);
055    
056            public String getUserUuid() throws SystemException;
057    
058            public void setUserUuid(String userUuid);
059    
060            @AutoEscape
061            public String getUserName();
062    
063            public void setUserName(String userName);
064    
065            public Date getCreateDate();
066    
067            public void setCreateDate(Date createDate);
068    
069            public Date getModifiedDate();
070    
071            public void setModifiedDate(Date modifiedDate);
072    
073            public boolean getDefaultPolicy();
074    
075            public boolean isDefaultPolicy();
076    
077            public void setDefaultPolicy(boolean defaultPolicy);
078    
079            @AutoEscape
080            public String getName();
081    
082            public void setName(String name);
083    
084            @AutoEscape
085            public String getDescription();
086    
087            public void setDescription(String description);
088    
089            public boolean getChangeable();
090    
091            public boolean isChangeable();
092    
093            public void setChangeable(boolean changeable);
094    
095            public boolean getChangeRequired();
096    
097            public boolean isChangeRequired();
098    
099            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 getMinAlphanumeric();
118    
119            public void setMinAlphanumeric(int minAlphanumeric);
120    
121            public int getMinLength();
122    
123            public void setMinLength(int minLength);
124    
125            public int getMinLowerCase();
126    
127            public void setMinLowerCase(int minLowerCase);
128    
129            public int getMinNumbers();
130    
131            public void setMinNumbers(int minNumbers);
132    
133            public int getMinSymbols();
134    
135            public void setMinSymbols(int minSymbols);
136    
137            public int getMinUpperCase();
138    
139            public void setMinUpperCase(int minUpperCase);
140    
141            public boolean getHistory();
142    
143            public boolean isHistory();
144    
145            public void setHistory(boolean history);
146    
147            public int getHistoryCount();
148    
149            public void setHistoryCount(int historyCount);
150    
151            public boolean getExpireable();
152    
153            public boolean isExpireable();
154    
155            public void setExpireable(boolean expireable);
156    
157            public long getMaxAge();
158    
159            public void setMaxAge(long maxAge);
160    
161            public long getWarningTime();
162    
163            public void setWarningTime(long warningTime);
164    
165            public int getGraceLimit();
166    
167            public void setGraceLimit(int graceLimit);
168    
169            public boolean getLockout();
170    
171            public boolean isLockout();
172    
173            public void setLockout(boolean lockout);
174    
175            public int getMaxFailure();
176    
177            public void setMaxFailure(int maxFailure);
178    
179            public long getLockoutDuration();
180    
181            public void setLockoutDuration(long lockoutDuration);
182    
183            public boolean getRequireUnlock();
184    
185            public boolean isRequireUnlock();
186    
187            public void setRequireUnlock(boolean requireUnlock);
188    
189            public long getResetFailureCount();
190    
191            public void setResetFailureCount(long resetFailureCount);
192    
193            public long getResetTicketMaxAge();
194    
195            public void setResetTicketMaxAge(long resetTicketMaxAge);
196    
197            public PasswordPolicy toEscapedModel();
198    
199            public boolean isNew();
200    
201            public void setNew(boolean n);
202    
203            public boolean isCachedModel();
204    
205            public void setCachedModel(boolean cachedModel);
206    
207            public boolean isEscapedModel();
208    
209            public void setEscapedModel(boolean escapedModel);
210    
211            public Serializable getPrimaryKeyObj();
212    
213            public ExpandoBridge getExpandoBridge();
214    
215            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
216    
217            public Object clone();
218    
219            public int compareTo(PasswordPolicy passwordPolicy);
220    
221            public int hashCode();
222    
223            public String toString();
224    
225            public String toXmlString();
226    }