Class PasswordPolicyServiceWrapper
Object
com.liferay.portal.kernel.service.PasswordPolicyServiceWrapper
- All Implemented Interfaces:
BaseService
,PasswordPolicyService
,ServiceWrapper<PasswordPolicyService>
public class PasswordPolicyServiceWrapper
extends Object
implements PasswordPolicyService, ServiceWrapper<PasswordPolicyService>
Provides a wrapper for
PasswordPolicyService
.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPasswordPolicy
(String name, String description, boolean changeable, boolean changeRequired, long minAge, boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric, int minLength, int minLowerCase, int minNumbers, int minSymbols, int minUpperCase, String regex, boolean history, int historyCount, boolean expireable, long maxAge, long warningTime, int graceLimit, boolean lockout, int maxFailure, long lockoutDuration, long resetFailureCount, long resetTicketMaxAge, ServiceContext serviceContext) void
deletePasswordPolicy
(long passwordPolicyId) fetchPasswordPolicy
(long passwordPolicyId) Returns the OSGi service identifier.search
(long companyId, String name, int start, int end, OrderByComparator<PasswordPolicy> orderByComparator) int
searchCount
(long companyId, String name) void
setWrappedService
(PasswordPolicyService passwordPolicyService) updatePasswordPolicy
(long passwordPolicyId, String name, String description, boolean changeable, boolean changeRequired, long minAge, boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric, int minLength, int minLowerCase, int minNumbers, int minSymbols, int minUpperCase, String regex, boolean history, int historyCount, boolean expireable, long maxAge, long warningTime, int graceLimit, boolean lockout, int maxFailure, long lockoutDuration, long resetFailureCount, long resetTicketMaxAge, ServiceContext serviceContext)
-
Constructor Details
-
PasswordPolicyServiceWrapper
public PasswordPolicyServiceWrapper() -
PasswordPolicyServiceWrapper
-
-
Method Details
-
addPasswordPolicy
public PasswordPolicy addPasswordPolicy(String name, String description, boolean changeable, boolean changeRequired, long minAge, boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric, int minLength, int minLowerCase, int minNumbers, int minSymbols, int minUpperCase, String regex, boolean history, int historyCount, boolean expireable, long maxAge, long warningTime, int graceLimit, boolean lockout, int maxFailure, long lockoutDuration, long resetFailureCount, long resetTicketMaxAge, ServiceContext serviceContext) throws PortalException - Specified by:
addPasswordPolicy
in interfacePasswordPolicyService
- Throws:
PortalException
-
deletePasswordPolicy
- Specified by:
deletePasswordPolicy
in interfacePasswordPolicyService
- Throws:
PortalException
-
fetchPasswordPolicy
- Specified by:
fetchPasswordPolicy
in interfacePasswordPolicyService
- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfacePasswordPolicyService
- Returns:
- the OSGi service identifier
-
search
public List<PasswordPolicy> search(long companyId, String name, int start, int end, OrderByComparator<PasswordPolicy> orderByComparator) - Specified by:
search
in interfacePasswordPolicyService
-
searchCount
- Specified by:
searchCount
in interfacePasswordPolicyService
-
updatePasswordPolicy
public PasswordPolicy updatePasswordPolicy(long passwordPolicyId, String name, String description, boolean changeable, boolean changeRequired, long minAge, boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric, int minLength, int minLowerCase, int minNumbers, int minSymbols, int minUpperCase, String regex, boolean history, int historyCount, boolean expireable, long maxAge, long warningTime, int graceLimit, boolean lockout, int maxFailure, long lockoutDuration, long resetFailureCount, long resetTicketMaxAge, ServiceContext serviceContext) throws PortalException - Specified by:
updatePasswordPolicy
in interfacePasswordPolicyService
- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<PasswordPolicyService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<PasswordPolicyService>
-