1
22
23 package com.liferay.portal.service;
24
25
26
47 public class PasswordPolicyServiceUtil {
48 public static com.liferay.portal.model.PasswordPolicy addPasswordPolicy(
49 java.lang.String name, java.lang.String description,
50 boolean changeable, boolean changeRequired, long minAge,
51 boolean checkSyntax, boolean allowDictionaryWords, int minLength,
52 boolean history, int historyCount, boolean expireable, long maxAge,
53 long warningTime, int graceLimit, boolean lockout, int maxFailure,
54 long lockoutDuration, long resetFailureCount)
55 throws com.liferay.portal.PortalException,
56 com.liferay.portal.SystemException, java.rmi.RemoteException {
57 return _service.addPasswordPolicy(name, description, changeable,
58 changeRequired, minAge, checkSyntax, allowDictionaryWords,
59 minLength, history, historyCount, expireable, maxAge, warningTime,
60 graceLimit, lockout, maxFailure, lockoutDuration, resetFailureCount);
61 }
62
63 public static void deletePasswordPolicy(long passwordPolicyId)
64 throws com.liferay.portal.PortalException,
65 com.liferay.portal.SystemException, java.rmi.RemoteException {
66 _service.deletePasswordPolicy(passwordPolicyId);
67 }
68
69 public static com.liferay.portal.model.PasswordPolicy updatePasswordPolicy(
70 long passwordPolicyId, java.lang.String name,
71 java.lang.String description, boolean changeable,
72 boolean changeRequired, long minAge, boolean checkSyntax,
73 boolean allowDictionaryWords, int minLength, boolean history,
74 int historyCount, boolean expireable, long maxAge, long warningTime,
75 int graceLimit, boolean lockout, int maxFailure, long lockoutDuration,
76 long resetFailureCount)
77 throws com.liferay.portal.PortalException,
78 com.liferay.portal.SystemException, java.rmi.RemoteException {
79 return _service.updatePasswordPolicy(passwordPolicyId, name,
80 description, changeable, changeRequired, minAge, checkSyntax,
81 allowDictionaryWords, minLength, history, historyCount, expireable,
82 maxAge, warningTime, graceLimit, lockout, maxFailure,
83 lockoutDuration, resetFailureCount);
84 }
85
86 public static PasswordPolicyService getService() {
87 return _service;
88 }
89
90 public void setService(PasswordPolicyService service) {
91 _service = service;
92 }
93
94 private static PasswordPolicyService _service;
95 }