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