Liferay 6.0.5

com.liferay.portal.service
Interface PasswordPolicyService

All Known Implementing Classes:
PasswordPolicyServiceBaseImpl, PasswordPolicyServiceImpl, PasswordPolicyServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface PasswordPolicyService

The interface for the password policy remote service.

Never modify or reference this interface directly. Always use PasswordPolicyServiceUtil to access the password policy remote service. Add custom service methods to PasswordPolicyServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
PasswordPolicyServiceUtil, PasswordPolicyServiceBaseImpl, PasswordPolicyServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 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, boolean history, int historyCount, boolean expireable, long maxAge, long warningTime, int graceLimit, boolean lockout, int maxFailure, long lockoutDuration, long resetFailureCount, long resetTicketMaxAge)
           
 void deletePasswordPolicy(long passwordPolicyId)
           
 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)
           
 

Method Detail

addPasswordPolicy

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,
                                 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
Throws:
PortalException
SystemException

deletePasswordPolicy

void deletePasswordPolicy(long passwordPolicyId)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

updatePasswordPolicy

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
Throws:
PortalException
SystemException

Liferay 6.0.5