001
014
015 package com.liferay.portal.service.http;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.log.Log;
020 import com.liferay.portal.kernel.log.LogFactoryUtil;
021 import com.liferay.portal.service.PasswordPolicyServiceUtil;
022
023 import java.rmi.RemoteException;
024
025
065 @ProviderType
066 public class PasswordPolicyServiceSoap {
067
073 @Deprecated
074 public static com.liferay.portal.model.PasswordPolicySoap addPasswordPolicy(
075 java.lang.String name, java.lang.String description,
076 boolean changeable, boolean changeRequired, long minAge,
077 boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric,
078 int minLength, int minLowerCase, int minNumbers, int minSymbols,
079 int minUpperCase, boolean history, int historyCount,
080 boolean expireable, long maxAge, long warningTime, int graceLimit,
081 boolean lockout, int maxFailure, long lockoutDuration,
082 long resetFailureCount, long resetTicketMaxAge)
083 throws RemoteException {
084 try {
085 com.liferay.portal.model.PasswordPolicy returnValue = PasswordPolicyServiceUtil.addPasswordPolicy(name,
086 description, changeable, changeRequired, minAge,
087 checkSyntax, allowDictionaryWords, minAlphanumeric,
088 minLength, minLowerCase, minNumbers, minSymbols,
089 minUpperCase, history, historyCount, expireable, maxAge,
090 warningTime, graceLimit, lockout, maxFailure,
091 lockoutDuration, resetFailureCount, resetTicketMaxAge);
092
093 return com.liferay.portal.model.PasswordPolicySoap.toSoapModel(returnValue);
094 }
095 catch (Exception e) {
096 _log.error(e, e);
097
098 throw new RemoteException(e.getMessage());
099 }
100 }
101
102 public static com.liferay.portal.model.PasswordPolicySoap addPasswordPolicy(
103 java.lang.String name, java.lang.String description,
104 boolean changeable, boolean changeRequired, long minAge,
105 boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric,
106 int minLength, int minLowerCase, int minNumbers, int minSymbols,
107 int minUpperCase, java.lang.String regex, boolean history,
108 int historyCount, boolean expireable, long maxAge, long warningTime,
109 int graceLimit, boolean lockout, int maxFailure, long lockoutDuration,
110 long resetFailureCount, long resetTicketMaxAge,
111 com.liferay.portal.service.ServiceContext serviceContext)
112 throws RemoteException {
113 try {
114 com.liferay.portal.model.PasswordPolicy returnValue = PasswordPolicyServiceUtil.addPasswordPolicy(name,
115 description, changeable, changeRequired, minAge,
116 checkSyntax, allowDictionaryWords, minAlphanumeric,
117 minLength, minLowerCase, minNumbers, minSymbols,
118 minUpperCase, regex, history, historyCount, expireable,
119 maxAge, warningTime, graceLimit, lockout, maxFailure,
120 lockoutDuration, resetFailureCount, resetTicketMaxAge,
121 serviceContext);
122
123 return com.liferay.portal.model.PasswordPolicySoap.toSoapModel(returnValue);
124 }
125 catch (Exception e) {
126 _log.error(e, e);
127
128 throw new RemoteException(e.getMessage());
129 }
130 }
131
132 public static void deletePasswordPolicy(long passwordPolicyId)
133 throws RemoteException {
134 try {
135 PasswordPolicyServiceUtil.deletePasswordPolicy(passwordPolicyId);
136 }
137 catch (Exception e) {
138 _log.error(e, e);
139
140 throw new RemoteException(e.getMessage());
141 }
142 }
143
144
151 @Deprecated
152 public static com.liferay.portal.model.PasswordPolicySoap updatePasswordPolicy(
153 long passwordPolicyId, java.lang.String name,
154 java.lang.String description, boolean changeable,
155 boolean changeRequired, long minAge, boolean checkSyntax,
156 boolean allowDictionaryWords, int minAlphanumeric, int minLength,
157 int minLowerCase, int minNumbers, int minSymbols, int minUpperCase,
158 boolean history, int historyCount, boolean expireable, long maxAge,
159 long warningTime, int graceLimit, boolean lockout, int maxFailure,
160 long lockoutDuration, long resetFailureCount, long resetTicketMaxAge)
161 throws RemoteException {
162 try {
163 com.liferay.portal.model.PasswordPolicy returnValue = PasswordPolicyServiceUtil.updatePasswordPolicy(passwordPolicyId,
164 name, description, changeable, changeRequired, minAge,
165 checkSyntax, allowDictionaryWords, minAlphanumeric,
166 minLength, minLowerCase, minNumbers, minSymbols,
167 minUpperCase, history, historyCount, expireable, maxAge,
168 warningTime, graceLimit, lockout, maxFailure,
169 lockoutDuration, resetFailureCount, resetTicketMaxAge);
170
171 return com.liferay.portal.model.PasswordPolicySoap.toSoapModel(returnValue);
172 }
173 catch (Exception e) {
174 _log.error(e, e);
175
176 throw new RemoteException(e.getMessage());
177 }
178 }
179
180 public static com.liferay.portal.model.PasswordPolicySoap updatePasswordPolicy(
181 long passwordPolicyId, java.lang.String name,
182 java.lang.String description, boolean changeable,
183 boolean changeRequired, long minAge, boolean checkSyntax,
184 boolean allowDictionaryWords, int minAlphanumeric, int minLength,
185 int minLowerCase, int minNumbers, int minSymbols, int minUpperCase,
186 java.lang.String regex, boolean history, int historyCount,
187 boolean expireable, long maxAge, long warningTime, int graceLimit,
188 boolean lockout, int maxFailure, long lockoutDuration,
189 long resetFailureCount, long resetTicketMaxAge,
190 com.liferay.portal.service.ServiceContext serviceContext)
191 throws RemoteException {
192 try {
193 com.liferay.portal.model.PasswordPolicy returnValue = PasswordPolicyServiceUtil.updatePasswordPolicy(passwordPolicyId,
194 name, description, changeable, changeRequired, minAge,
195 checkSyntax, allowDictionaryWords, minAlphanumeric,
196 minLength, minLowerCase, minNumbers, minSymbols,
197 minUpperCase, regex, history, historyCount, expireable,
198 maxAge, warningTime, graceLimit, lockout, maxFailure,
199 lockoutDuration, resetFailureCount, resetTicketMaxAge,
200 serviceContext);
201
202 return com.liferay.portal.model.PasswordPolicySoap.toSoapModel(returnValue);
203 }
204 catch (Exception e) {
205 _log.error(e, e);
206
207 throw new RemoteException(e.getMessage());
208 }
209 }
210
211 private static Log _log = LogFactoryUtil.getLog(PasswordPolicyServiceSoap.class);
212 }