public class PasswordPolicyLocalServiceImpl extends PasswordPolicyLocalServiceBaseImpl
classNameLocalService, classNamePersistence, counterLocalService, passwordPolicyFinder, passwordPolicyLocalService, passwordPolicyPersistence, passwordPolicyRelLocalService, passwordPolicyRelPersistence, persistedModelLocalServiceRegistry, resourceLocalService, userFinder, userLocalService, userPersistence
Constructor and Description |
---|
PasswordPolicyLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.PasswordPolicy |
addPasswordPolicy(long userId,
boolean defaultPolicy,
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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
checkDefaultPasswordPolicy(long companyId) |
void |
deleteNondefaultPasswordPolicies(long companyId) |
com.liferay.portal.kernel.model.PasswordPolicy |
deletePasswordPolicy(long passwordPolicyId)
Deletes the password policy with the primary key from the database.
|
com.liferay.portal.kernel.model.PasswordPolicy |
deletePasswordPolicy(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy)
Deletes the password policy from the database.
|
com.liferay.portal.kernel.model.PasswordPolicy |
fetchPasswordPolicy(long companyId,
String name) |
com.liferay.portal.kernel.model.PasswordPolicy |
getDefaultPasswordPolicy(long companyId) |
com.liferay.portal.kernel.model.PasswordPolicy |
getPasswordPolicy(long companyId,
long[] organizationIds) |
com.liferay.portal.kernel.model.PasswordPolicy |
getPasswordPolicyByUser(com.liferay.portal.kernel.model.User user) |
com.liferay.portal.kernel.model.PasswordPolicy |
getPasswordPolicyByUserId(long userId) |
List<com.liferay.portal.kernel.model.PasswordPolicy> |
search(long companyId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> obc) |
int |
searchCount(long companyId,
String name) |
com.liferay.portal.kernel.model.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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
protected void |
validate(long passwordPolicyId,
long companyId,
String name) |
addPasswordPolicy, afterPropertiesSet, createPasswordPolicy, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchPasswordPolicy, fetchPasswordPolicyByUuidAndCompanyId, getActionableDynamicQuery, getClassNameLocalService, getClassNamePersistence, getCounterLocalService, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPasswordPolicies, getPasswordPoliciesCount, getPasswordPolicy, getPasswordPolicyByUuidAndCompanyId, getPasswordPolicyFinder, getPasswordPolicyLocalService, getPasswordPolicyPersistence, getPasswordPolicyRelLocalService, getPasswordPolicyRelPersistence, getPersistedModel, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setClassNameLocalService, setClassNamePersistence, setCounterLocalService, setPasswordPolicyFinder, setPasswordPolicyLocalService, setPasswordPolicyPersistence, setPasswordPolicyRelLocalService, setPasswordPolicyRelPersistence, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, updatePasswordPolicy
public com.liferay.portal.kernel.model.PasswordPolicy addPasswordPolicy(long userId, boolean defaultPolicy, 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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void checkDefaultPasswordPolicy(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteNondefaultPasswordPolicies(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.PasswordPolicy deletePasswordPolicy(long passwordPolicyId) throws com.liferay.portal.kernel.exception.PortalException
PasswordPolicyLocalServiceBaseImpl
deletePasswordPolicy
in interface com.liferay.portal.kernel.service.PasswordPolicyLocalService
deletePasswordPolicy
in class PasswordPolicyLocalServiceBaseImpl
passwordPolicyId
- the primary key of the password policycom.liferay.portal.kernel.exception.PortalException
- if a password policy with the primary key could not be found@SystemEvent(action=1, type=1) public com.liferay.portal.kernel.model.PasswordPolicy deletePasswordPolicy(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy) throws com.liferay.portal.kernel.exception.PortalException
PasswordPolicyLocalServiceBaseImpl
deletePasswordPolicy
in interface com.liferay.portal.kernel.service.PasswordPolicyLocalService
deletePasswordPolicy
in class PasswordPolicyLocalServiceBaseImpl
passwordPolicy
- the password policycom.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.PasswordPolicy fetchPasswordPolicy(long companyId, String name)
public com.liferay.portal.kernel.model.PasswordPolicy getDefaultPasswordPolicy(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.PasswordPolicy getPasswordPolicy(long companyId, long[] organizationIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.PasswordPolicy getPasswordPolicyByUser(com.liferay.portal.kernel.model.User user) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@ThreadLocalCachable public com.liferay.portal.kernel.model.PasswordPolicy getPasswordPolicyByUserId(long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.model.PasswordPolicy> search(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> obc)
public int searchCount(long companyId, String name)
public com.liferay.portal.kernel.model.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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void validate(long passwordPolicyId, long companyId, String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException