com.liferay.portal.service
Class PasswordPolicyLocalServiceUtil
java.lang.Object
com.liferay.portal.service.PasswordPolicyLocalServiceUtil
- public class PasswordPolicyLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be overwritten
the next time is generated.
This class provides static methods for the com.liferay.portal.service.PasswordPolicyLocalService
bean. The static methods of this class calls the same methods of the bean instance.
It's convenient to be able to just write one line to call a method on a bean
instead of writing a lookup call and a method call.
com.liferay.portal.service.PasswordPolicyLocalServiceFactory
is
responsible for the lookup of the bean.
- Author:
- Brian Wing Shun Chan
- See Also:
PasswordPolicyLocalService
,
PasswordPolicyLocalServiceFactory
Method Summary |
static PasswordPolicy |
addPasswordPolicy(long userId,
boolean defaultPolicy,
java.lang.String name,
java.lang.String description,
boolean changeable,
boolean changeRequired,
long minAge,
boolean checkSyntax,
boolean allowDictionaryWords,
int minLength,
boolean history,
int historyCount,
boolean expireable,
long maxAge,
long warningTime,
int graceLimit,
boolean lockout,
int maxFailure,
long lockoutDuration,
long resetFailureCount)
|
static PasswordPolicy |
addPasswordPolicy(PasswordPolicy model)
|
static void |
checkDefaultPasswordPolicy(long companyId)
|
static void |
deletePasswordPolicy(long passwordPolicyId)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static PasswordPolicy |
getDefaultPasswordPolicy(long companyId)
|
static PasswordPolicy |
getPasswordPolicy(long passwordPolicyId)
|
static PasswordPolicy |
getPasswordPolicy(long companyId,
long organizationId,
long locationId)
|
static PasswordPolicy |
getPasswordPolicyByUserId(long userId)
|
static java.util.List |
search(long companyId,
java.lang.String name,
int begin,
int end)
|
static int |
searchCount(long companyId,
java.lang.String name)
|
static PasswordPolicy |
updatePasswordPolicy(long passwordPolicyId,
java.lang.String name,
java.lang.String description,
boolean changeable,
boolean changeRequired,
long minAge,
boolean checkSyntax,
boolean allowDictionaryWords,
int minLength,
boolean history,
int historyCount,
boolean expireable,
long maxAge,
long warningTime,
int graceLimit,
boolean lockout,
int maxFailure,
long lockoutDuration,
long resetFailureCount)
|
static PasswordPolicy |
updatePasswordPolicy(PasswordPolicy model)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PasswordPolicyLocalServiceUtil
public PasswordPolicyLocalServiceUtil()
addPasswordPolicy
public static PasswordPolicy addPasswordPolicy(PasswordPolicy model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updatePasswordPolicy
public static PasswordPolicy updatePasswordPolicy(PasswordPolicy model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addPasswordPolicy
public static PasswordPolicy addPasswordPolicy(long userId,
boolean defaultPolicy,
java.lang.String name,
java.lang.String description,
boolean changeable,
boolean changeRequired,
long minAge,
boolean checkSyntax,
boolean allowDictionaryWords,
int minLength,
boolean history,
int historyCount,
boolean expireable,
long maxAge,
long warningTime,
int graceLimit,
boolean lockout,
int maxFailure,
long lockoutDuration,
long resetFailureCount)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkDefaultPasswordPolicy
public static void checkDefaultPasswordPolicy(long companyId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deletePasswordPolicy
public static void deletePasswordPolicy(long passwordPolicyId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getDefaultPasswordPolicy
public static PasswordPolicy getDefaultPasswordPolicy(long companyId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getPasswordPolicy
public static PasswordPolicy getPasswordPolicy(long passwordPolicyId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getPasswordPolicy
public static PasswordPolicy getPasswordPolicy(long companyId,
long organizationId,
long locationId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getPasswordPolicyByUserId
public static PasswordPolicy getPasswordPolicyByUserId(long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
search
public static java.util.List search(long companyId,
java.lang.String name,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
searchCount
public static int searchCount(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updatePasswordPolicy
public static PasswordPolicy updatePasswordPolicy(long passwordPolicyId,
java.lang.String name,
java.lang.String description,
boolean changeable,
boolean changeRequired,
long minAge,
boolean checkSyntax,
boolean allowDictionaryWords,
int minLength,
boolean history,
int historyCount,
boolean expireable,
long maxAge,
long warningTime,
int graceLimit,
boolean lockout,
int maxFailure,
long lockoutDuration,
long resetFailureCount)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException