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
065 public class PasswordPolicyServiceSoap {
066
069 public static com.liferay.portal.model.PasswordPolicySoap addPasswordPolicy(
070 java.lang.String name, java.lang.String description,
071 boolean changeable, boolean changeRequired, long minAge,
072 boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric,
073 int minLength, int minLowerCase, int minNumbers, int minSymbols,
074 int minUpperCase, boolean history, int historyCount,
075 boolean expireable, long maxAge, long warningTime, int graceLimit,
076 boolean lockout, int maxFailure, long lockoutDuration,
077 long resetFailureCount, long resetTicketMaxAge)
078 throws RemoteException {
079 try {
080 com.liferay.portal.model.PasswordPolicy returnValue = PasswordPolicyServiceUtil.addPasswordPolicy(name,
081 description, changeable, changeRequired, minAge,
082 checkSyntax, allowDictionaryWords, minAlphanumeric,
083 minLength, minLowerCase, minNumbers, minSymbols,
084 minUpperCase, history, historyCount, expireable, maxAge,
085 warningTime, graceLimit, lockout, maxFailure,
086 lockoutDuration, resetFailureCount, resetTicketMaxAge);
087
088 return com.liferay.portal.model.PasswordPolicySoap.toSoapModel(returnValue);
089 }
090 catch (Exception e) {
091 _log.error(e, e);
092
093 throw new RemoteException(e.getMessage());
094 }
095 }
096
097 public static com.liferay.portal.model.PasswordPolicySoap addPasswordPolicy(
098 java.lang.String name, java.lang.String description,
099 boolean changeable, boolean changeRequired, long minAge,
100 boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric,
101 int minLength, int minLowerCase, int minNumbers, int minSymbols,
102 int minUpperCase, java.lang.String regex, boolean history,
103 int historyCount, boolean expireable, long maxAge, long warningTime,
104 int graceLimit, boolean lockout, int maxFailure, long lockoutDuration,
105 long resetFailureCount, long resetTicketMaxAge)
106 throws RemoteException {
107 try {
108 com.liferay.portal.model.PasswordPolicy returnValue = PasswordPolicyServiceUtil.addPasswordPolicy(name,
109 description, changeable, changeRequired, minAge,
110 checkSyntax, allowDictionaryWords, minAlphanumeric,
111 minLength, minLowerCase, minNumbers, minSymbols,
112 minUpperCase, regex, history, historyCount, expireable,
113 maxAge, warningTime, graceLimit, lockout, maxFailure,
114 lockoutDuration, resetFailureCount, resetTicketMaxAge);
115
116 return com.liferay.portal.model.PasswordPolicySoap.toSoapModel(returnValue);
117 }
118 catch (Exception e) {
119 _log.error(e, e);
120
121 throw new RemoteException(e.getMessage());
122 }
123 }
124
125 public static void deletePasswordPolicy(long passwordPolicyId)
126 throws RemoteException {
127 try {
128 PasswordPolicyServiceUtil.deletePasswordPolicy(passwordPolicyId);
129 }
130 catch (Exception e) {
131 _log.error(e, e);
132
133 throw new RemoteException(e.getMessage());
134 }
135 }
136
137
140 public static com.liferay.portal.model.PasswordPolicySoap updatePasswordPolicy(
141 long passwordPolicyId, java.lang.String name,
142 java.lang.String description, boolean changeable,
143 boolean changeRequired, long minAge, boolean checkSyntax,
144 boolean allowDictionaryWords, int minAlphanumeric, int minLength,
145 int minLowerCase, int minNumbers, int minSymbols, int minUpperCase,
146 boolean history, int historyCount, boolean expireable, long maxAge,
147 long warningTime, int graceLimit, boolean lockout, int maxFailure,
148 long lockoutDuration, long resetFailureCount, long resetTicketMaxAge)
149 throws RemoteException {
150 try {
151 com.liferay.portal.model.PasswordPolicy returnValue = PasswordPolicyServiceUtil.updatePasswordPolicy(passwordPolicyId,
152 name, description, changeable, changeRequired, minAge,
153 checkSyntax, allowDictionaryWords, minAlphanumeric,
154 minLength, minLowerCase, minNumbers, minSymbols,
155 minUpperCase, history, historyCount, expireable, maxAge,
156 warningTime, graceLimit, lockout, maxFailure,
157 lockoutDuration, resetFailureCount, resetTicketMaxAge);
158
159 return com.liferay.portal.model.PasswordPolicySoap.toSoapModel(returnValue);
160 }
161 catch (Exception e) {
162 _log.error(e, e);
163
164 throw new RemoteException(e.getMessage());
165 }
166 }
167
168 public static com.liferay.portal.model.PasswordPolicySoap updatePasswordPolicy(
169 long passwordPolicyId, java.lang.String name,
170 java.lang.String description, boolean changeable,
171 boolean changeRequired, long minAge, boolean checkSyntax,
172 boolean allowDictionaryWords, int minAlphanumeric, int minLength,
173 int minLowerCase, int minNumbers, int minSymbols, int minUpperCase,
174 java.lang.String regex, boolean history, int historyCount,
175 boolean expireable, long maxAge, long warningTime, int graceLimit,
176 boolean lockout, int maxFailure, long lockoutDuration,
177 long resetFailureCount, long resetTicketMaxAge)
178 throws RemoteException {
179 try {
180 com.liferay.portal.model.PasswordPolicy returnValue = PasswordPolicyServiceUtil.updatePasswordPolicy(passwordPolicyId,
181 name, description, changeable, changeRequired, minAge,
182 checkSyntax, allowDictionaryWords, minAlphanumeric,
183 minLength, minLowerCase, minNumbers, minSymbols,
184 minUpperCase, regex, history, historyCount, expireable,
185 maxAge, warningTime, graceLimit, lockout, maxFailure,
186 lockoutDuration, resetFailureCount, resetTicketMaxAge);
187
188 return com.liferay.portal.model.PasswordPolicySoap.toSoapModel(returnValue);
189 }
190 catch (Exception e) {
191 _log.error(e, e);
192
193 throw new RemoteException(e.getMessage());
194 }
195 }
196
197 private static Log _log = LogFactoryUtil.getLog(PasswordPolicyServiceSoap.class);
198 }