001
014
015 package com.liferay.portal.service;
016
017
026 public class PasswordPolicyServiceWrapper implements PasswordPolicyService,
027 ServiceWrapper<PasswordPolicyService> {
028 public PasswordPolicyServiceWrapper(
029 PasswordPolicyService passwordPolicyService) {
030 _passwordPolicyService = passwordPolicyService;
031 }
032
033 public com.liferay.portal.model.PasswordPolicy addPasswordPolicy(
034 java.lang.String name, java.lang.String description,
035 boolean changeable, boolean changeRequired, long minAge,
036 boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric,
037 int minLength, int minLowerCase, int minNumbers, int minSymbols,
038 int minUpperCase, boolean history, int historyCount,
039 boolean expireable, long maxAge, long warningTime, int graceLimit,
040 boolean lockout, int maxFailure, long lockoutDuration,
041 long resetFailureCount, long resetTicketMaxAge)
042 throws com.liferay.portal.kernel.exception.PortalException,
043 com.liferay.portal.kernel.exception.SystemException {
044 return _passwordPolicyService.addPasswordPolicy(name, description,
045 changeable, changeRequired, minAge, checkSyntax,
046 allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
047 minNumbers, minSymbols, minUpperCase, history, historyCount,
048 expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
049 lockoutDuration, resetFailureCount, resetTicketMaxAge);
050 }
051
052 public void deletePasswordPolicy(long passwordPolicyId)
053 throws com.liferay.portal.kernel.exception.PortalException,
054 com.liferay.portal.kernel.exception.SystemException {
055 _passwordPolicyService.deletePasswordPolicy(passwordPolicyId);
056 }
057
058 public com.liferay.portal.model.PasswordPolicy updatePasswordPolicy(
059 long passwordPolicyId, java.lang.String name,
060 java.lang.String description, boolean changeable,
061 boolean changeRequired, long minAge, boolean checkSyntax,
062 boolean allowDictionaryWords, int minAlphanumeric, int minLength,
063 int minLowerCase, int minNumbers, int minSymbols, int minUpperCase,
064 boolean history, int historyCount, boolean expireable, long maxAge,
065 long warningTime, int graceLimit, boolean lockout, int maxFailure,
066 long lockoutDuration, long resetFailureCount, long resetTicketMaxAge)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 return _passwordPolicyService.updatePasswordPolicy(passwordPolicyId,
070 name, description, changeable, changeRequired, minAge, checkSyntax,
071 allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
072 minNumbers, minSymbols, minUpperCase, history, historyCount,
073 expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
074 lockoutDuration, resetFailureCount, resetTicketMaxAge);
075 }
076
077
080 public PasswordPolicyService getWrappedPasswordPolicyService() {
081 return _passwordPolicyService;
082 }
083
084
087 public void setWrappedPasswordPolicyService(
088 PasswordPolicyService passwordPolicyService) {
089 _passwordPolicyService = passwordPolicyService;
090 }
091
092 public PasswordPolicyService getWrappedService() {
093 return _passwordPolicyService;
094 }
095
096 public void setWrappedService(PasswordPolicyService passwordPolicyService) {
097 _passwordPolicyService = passwordPolicyService;
098 }
099
100 private PasswordPolicyService _passwordPolicyService;
101 }