001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portal.model;
022:
023: import java.util.Date;
024:
025: /**
026: * <a href="PasswordPolicyModel.java.html"><b><i>View Source</i></b></a>
027: *
028: * <p>
029: * ServiceBuilder generated this class. Modifications in this class will be
030: * overwritten the next time is generated.
031: * </p>
032: *
033: * <p>
034: * This interface is a model that represents the <code>PasswordPolicy</code>
035: * table in the database.
036: * </p>
037: *
038: * @author Brian Wing Shun Chan
039: *
040: * @see com.liferay.portal.service.model.PasswordPolicy
041: * @see com.liferay.portal.service.model.impl.PasswordPolicyImpl
042: * @see com.liferay.portal.service.model.impl.PasswordPolicyModelImpl
043: *
044: */
045: public interface PasswordPolicyModel extends BaseModel {
046: public long getPrimaryKey();
047:
048: public void setPrimaryKey(long pk);
049:
050: public long getPasswordPolicyId();
051:
052: public void setPasswordPolicyId(long passwordPolicyId);
053:
054: public long getCompanyId();
055:
056: public void setCompanyId(long companyId);
057:
058: public long getUserId();
059:
060: public void setUserId(long userId);
061:
062: public String getUserName();
063:
064: public void setUserName(String userName);
065:
066: public Date getCreateDate();
067:
068: public void setCreateDate(Date createDate);
069:
070: public Date getModifiedDate();
071:
072: public void setModifiedDate(Date modifiedDate);
073:
074: public boolean getDefaultPolicy();
075:
076: public boolean isDefaultPolicy();
077:
078: public void setDefaultPolicy(boolean defaultPolicy);
079:
080: public String getName();
081:
082: public void setName(String name);
083:
084: public String getDescription();
085:
086: public void setDescription(String description);
087:
088: public boolean getChangeable();
089:
090: public boolean isChangeable();
091:
092: public void setChangeable(boolean changeable);
093:
094: public boolean getChangeRequired();
095:
096: public boolean isChangeRequired();
097:
098: public void setChangeRequired(boolean changeRequired);
099:
100: public long getMinAge();
101:
102: public void setMinAge(long minAge);
103:
104: public boolean getCheckSyntax();
105:
106: public boolean isCheckSyntax();
107:
108: public void setCheckSyntax(boolean checkSyntax);
109:
110: public boolean getAllowDictionaryWords();
111:
112: public boolean isAllowDictionaryWords();
113:
114: public void setAllowDictionaryWords(boolean allowDictionaryWords);
115:
116: public int getMinLength();
117:
118: public void setMinLength(int minLength);
119:
120: public boolean getHistory();
121:
122: public boolean isHistory();
123:
124: public void setHistory(boolean history);
125:
126: public int getHistoryCount();
127:
128: public void setHistoryCount(int historyCount);
129:
130: public boolean getExpireable();
131:
132: public boolean isExpireable();
133:
134: public void setExpireable(boolean expireable);
135:
136: public long getMaxAge();
137:
138: public void setMaxAge(long maxAge);
139:
140: public long getWarningTime();
141:
142: public void setWarningTime(long warningTime);
143:
144: public int getGraceLimit();
145:
146: public void setGraceLimit(int graceLimit);
147:
148: public boolean getLockout();
149:
150: public boolean isLockout();
151:
152: public void setLockout(boolean lockout);
153:
154: public int getMaxFailure();
155:
156: public void setMaxFailure(int maxFailure);
157:
158: public long getLockoutDuration();
159:
160: public void setLockoutDuration(long lockoutDuration);
161:
162: public boolean getRequireUnlock();
163:
164: public boolean isRequireUnlock();
165:
166: public void setRequireUnlock(boolean requireUnlock);
167:
168: public long getResetFailureCount();
169:
170: public void setResetFailureCount(long resetFailureCount);
171:
172: public PasswordPolicy toEscapedModel();
173: }
|