com.liferay.portal.service
Interface PasswordPolicyLocalService
- public interface PasswordPolicyLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be overwritten
the next time is generated.
This interface defines the service. The default implementation is com.liferay.portal.service.impl.PasswordPolicyLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be accessed
from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
PasswordPolicyServiceFactory
,
PasswordPolicyServiceUtil
Method Summary |
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)
|
PasswordPolicy |
addPasswordPolicy(PasswordPolicy model)
|
void |
checkDefaultPasswordPolicy(long companyId)
|
void |
deletePasswordPolicy(long passwordPolicyId)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
PasswordPolicy |
getDefaultPasswordPolicy(long companyId)
|
PasswordPolicy |
getPasswordPolicy(long passwordPolicyId)
|
PasswordPolicy |
getPasswordPolicy(long companyId,
long organizationId,
long locationId)
|
PasswordPolicy |
getPasswordPolicyByUserId(long userId)
|
java.util.List |
search(long companyId,
java.lang.String name,
int begin,
int end)
|
int |
searchCount(long companyId,
java.lang.String name)
|
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)
|
PasswordPolicy |
updatePasswordPolicy(PasswordPolicy model)
|
addPasswordPolicy
public PasswordPolicy addPasswordPolicy(PasswordPolicy model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public 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 PasswordPolicy updatePasswordPolicy(PasswordPolicy model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addPasswordPolicy
public 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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
checkDefaultPasswordPolicy
public void checkDefaultPasswordPolicy(long companyId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deletePasswordPolicy
public void deletePasswordPolicy(long passwordPolicyId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getDefaultPasswordPolicy
public PasswordPolicy getDefaultPasswordPolicy(long companyId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getPasswordPolicy
public PasswordPolicy getPasswordPolicy(long passwordPolicyId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getPasswordPolicy
public PasswordPolicy getPasswordPolicy(long companyId,
long organizationId,
long locationId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getPasswordPolicyByUserId
public PasswordPolicy getPasswordPolicyByUserId(long userId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
search
public 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 int searchCount(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updatePasswordPolicy
public 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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException