@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface PasswordPolicyService extends BaseService
PasswordPolicyServiceUtil
Modifier and Type | Method and Description |
---|---|
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)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
void |
deletePasswordPolicy(long passwordPolicyId) |
PasswordPolicy |
fetchPasswordPolicy(long passwordPolicyId) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
List<PasswordPolicy> |
search(long companyId,
String name,
int start,
int end,
OrderByComparator<PasswordPolicy> 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,
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) |
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
PasswordPolicyServiceUtil
to access the password policy remote service. Add custom service methods to com.liferay.portal.service.impl.PasswordPolicyServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.PortalException
void deletePasswordPolicy(long passwordPolicyId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) PasswordPolicy fetchPasswordPolicy(long passwordPolicyId) throws PortalException
PortalException
String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) List<PasswordPolicy> search(long companyId, String name, int start, int end, OrderByComparator<PasswordPolicy> obc)
@Transactional(propagation=SUPPORTS, readOnly=true) 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, 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
PortalException