|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.BaseLocalServiceImpl com.liferay.portal.service.base.PasswordPolicyLocalServiceBaseImpl com.liferay.portal.service.impl.PasswordPolicyLocalServiceImpl
public class PasswordPolicyLocalServiceImpl
Field Summary |
---|
Constructor Summary | |
---|---|
PasswordPolicyLocalServiceImpl()
|
Method Summary | |
---|---|
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,
boolean history,
int historyCount,
boolean expireable,
long maxAge,
long warningTime,
int graceLimit,
boolean lockout,
int maxFailure,
long lockoutDuration,
long resetFailureCount,
long resetTicketMaxAge)
Deprecated. As of 6.2.0, replaced by addPasswordPolicy(long,
boolean, String, String, boolean, boolean, long, boolean,
boolean, int, int, int, int, int, int, String, boolean, int,
boolean, long, long, int, boolean, int, long, long, long,
ServiceContext) |
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,
ServiceContext serviceContext)
|
void |
checkDefaultPasswordPolicy(long companyId)
|
void |
deleteNondefaultPasswordPolicies(long companyId)
|
PasswordPolicy |
deletePasswordPolicy(long passwordPolicyId)
Deletes the password policy with the primary key from the database. |
PasswordPolicy |
deletePasswordPolicy(PasswordPolicy passwordPolicy)
Deletes the password policy from the database. |
PasswordPolicy |
fetchPasswordPolicy(long companyId,
String name)
|
PasswordPolicy |
getDefaultPasswordPolicy(long companyId)
|
PasswordPolicy |
getPasswordPolicy(long companyId,
long[] organizationIds)
|
PasswordPolicy |
getPasswordPolicy(long companyId,
long organizationId,
long locationId)
Deprecated. As of 6.1.0 |
PasswordPolicy |
getPasswordPolicyByUserId(long userId)
|
List<PasswordPolicy> |
search(long companyId,
String name,
int start,
int end,
OrderByComparator obc)
|
int |
searchCount(long companyId,
String name)
|
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,
boolean history,
int historyCount,
boolean expireable,
long maxAge,
long warningTime,
int graceLimit,
boolean lockout,
int maxFailure,
long lockoutDuration,
long resetFailureCount,
long resetTicketMaxAge)
Deprecated. As of 6.2.0, replaced by updatePasswordPolicy(long,
String, String, boolean, boolean, long, boolean, boolean,
int, int, int, int, int, int, String, boolean, int, boolean,
long, long, int, boolean, int, long, long, long,
ServiceContext) |
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)
|
protected void |
validate(long passwordPolicyId,
long companyId,
String name)
|
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
getClassLoader, getLayoutURL, getLayoutURL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PasswordPolicyLocalServiceImpl()
Method Detail |
---|
public 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, boolean history, int historyCount, boolean expireable, long maxAge, long warningTime, int graceLimit, boolean lockout, int maxFailure, long lockoutDuration, long resetFailureCount, long resetTicketMaxAge) throws PortalException, SystemException
addPasswordPolicy(long,
boolean, String, String, boolean, boolean, long, boolean,
boolean, int, int, int, int, int, int, String, boolean, int,
boolean, long, long, int, boolean, int, long, long, long,
ServiceContext)
PortalException
SystemException
public 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, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public void checkDefaultPasswordPolicy(long companyId) throws PortalException, SystemException
PortalException
SystemException
public void deleteNondefaultPasswordPolicies(long companyId) throws PortalException, SystemException
PortalException
SystemException
public PasswordPolicy deletePasswordPolicy(long passwordPolicyId) throws PortalException, SystemException
PasswordPolicyLocalServiceBaseImpl
deletePasswordPolicy
in interface PasswordPolicyLocalService
deletePasswordPolicy
in class PasswordPolicyLocalServiceBaseImpl
passwordPolicyId
- the primary key of the password policy
PortalException
- if a password policy with the primary key could not be found
SystemException
- if a system exception occurred@SystemEvent(action=1, type=1) public PasswordPolicy deletePasswordPolicy(PasswordPolicy passwordPolicy) throws PortalException, SystemException
PasswordPolicyLocalServiceBaseImpl
deletePasswordPolicy
in interface PasswordPolicyLocalService
deletePasswordPolicy
in class PasswordPolicyLocalServiceBaseImpl
passwordPolicy
- the password policy
PortalException
SystemException
- if a system exception occurredpublic PasswordPolicy fetchPasswordPolicy(long companyId, String name) throws SystemException
SystemException
public PasswordPolicy getDefaultPasswordPolicy(long companyId) throws PortalException, SystemException
PortalException
SystemException
public PasswordPolicy getPasswordPolicy(long companyId, long organizationId, long locationId) throws PortalException, SystemException
PortalException
SystemException
public PasswordPolicy getPasswordPolicy(long companyId, long[] organizationIds) throws PortalException, SystemException
PortalException
SystemException
@ThreadLocalCachable public PasswordPolicy getPasswordPolicyByUserId(long userId) throws PortalException, SystemException
PortalException
SystemException
public List<PasswordPolicy> search(long companyId, String name, int start, int end, OrderByComparator obc) throws SystemException
SystemException
public int searchCount(long companyId, String name) throws SystemException
SystemException
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, boolean history, int historyCount, boolean expireable, long maxAge, long warningTime, int graceLimit, boolean lockout, int maxFailure, long lockoutDuration, long resetFailureCount, long resetTicketMaxAge) throws PortalException, SystemException
updatePasswordPolicy(long,
String, String, boolean, boolean, long, boolean, boolean,
int, int, int, int, int, int, String, boolean, int, boolean,
long, long, int, boolean, int, long, long, long,
ServiceContext)
PortalException
SystemException
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, SystemException
PortalException
SystemException
protected void validate(long passwordPolicyId, long companyId, String name) throws PortalException, SystemException
PortalException
SystemException
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |