1
14
15 package com.liferay.portal.service;
16
17 import com.liferay.portal.kernel.annotation.Isolation;
18 import com.liferay.portal.kernel.annotation.Transactional;
19 import com.liferay.portal.kernel.exception.PortalException;
20 import com.liferay.portal.kernel.exception.SystemException;
21
22
46 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
47 PortalException.class, SystemException.class})
48 public interface PasswordPolicyService {
49 public com.liferay.portal.model.PasswordPolicy addPasswordPolicy(
50 java.lang.String name, java.lang.String description,
51 boolean changeable, boolean changeRequired, long minAge,
52 boolean checkSyntax, boolean allowDictionaryWords, int minLength,
53 boolean history, int historyCount, boolean expireable, long maxAge,
54 long warningTime, int graceLimit, boolean lockout, int maxFailure,
55 long lockoutDuration, long resetFailureCount)
56 throws com.liferay.portal.kernel.exception.PortalException,
57 com.liferay.portal.kernel.exception.SystemException;
58
59 public void deletePasswordPolicy(long passwordPolicyId)
60 throws com.liferay.portal.kernel.exception.PortalException,
61 com.liferay.portal.kernel.exception.SystemException;
62
63 public com.liferay.portal.model.PasswordPolicy updatePasswordPolicy(
64 long passwordPolicyId, java.lang.String name,
65 java.lang.String description, boolean changeable,
66 boolean changeRequired, long minAge, boolean checkSyntax,
67 boolean allowDictionaryWords, int minLength, boolean history,
68 int historyCount, boolean expireable, long maxAge, long warningTime,
69 int graceLimit, boolean lockout, int maxFailure, long lockoutDuration,
70 long resetFailureCount)
71 throws com.liferay.portal.kernel.exception.PortalException,
72 com.liferay.portal.kernel.exception.SystemException;
73 }