com.liferay.portal.service
Interface PasswordPolicyLocalService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
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:
PasswordPolicyLocalServiceUtil

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 passwordPolicy)
           
 void checkDefaultPasswordPolicy(long companyId)
           
 PasswordPolicy createPasswordPolicy(long passwordPolicyId)
           
 void deletePasswordPolicy(long passwordPolicyId)
           
 void deletePasswordPolicy(PasswordPolicy passwordPolicy)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 PasswordPolicy getDefaultPasswordPolicy(long companyId)
           
 java.util.List<PasswordPolicy> getPasswordPolicies(int start, int end)
           
 int getPasswordPoliciesCount()
           
 PasswordPolicy getPasswordPolicy(long passwordPolicyId)
           
 PasswordPolicy getPasswordPolicy(long companyId, long[] organizationIds)
           
 PasswordPolicy getPasswordPolicy(long companyId, long organizationId, long locationId)
           
 PasswordPolicy getPasswordPolicyByUserId(long userId)
           
 java.util.List<PasswordPolicy> search(long companyId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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 passwordPolicy)
           
 

Method Detail

addPasswordPolicy

PasswordPolicy addPasswordPolicy(PasswordPolicy passwordPolicy)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createPasswordPolicy

PasswordPolicy createPasswordPolicy(long passwordPolicyId)

deletePasswordPolicy

void deletePasswordPolicy(long passwordPolicyId)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deletePasswordPolicy

void deletePasswordPolicy(PasswordPolicy passwordPolicy)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPasswordPolicy

@Transactional(propagation=SUPPORTS,
               readOnly=true)
PasswordPolicy getPasswordPolicy(long passwordPolicyId)
                                 throws com.liferay.portal.SystemException,
                                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getPasswordPolicies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<PasswordPolicy> getPasswordPolicies(int start,
                                                                 int end)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPasswordPoliciesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getPasswordPoliciesCount()
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updatePasswordPolicy

PasswordPolicy updatePasswordPolicy(PasswordPolicy passwordPolicy)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addPasswordPolicy

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.PortalException,
                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

checkDefaultPasswordPolicy

void checkDefaultPasswordPolicy(long companyId)
                                throws com.liferay.portal.PortalException,
                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getDefaultPasswordPolicy

@Transactional(propagation=SUPPORTS,
               readOnly=true)
PasswordPolicy getDefaultPasswordPolicy(long companyId)
                                        throws com.liferay.portal.PortalException,
                                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPasswordPolicy

@Transactional(propagation=SUPPORTS,
               readOnly=true)
PasswordPolicy getPasswordPolicy(long companyId,
                                               long organizationId,
                                               long locationId)
                                 throws com.liferay.portal.PortalException,
                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPasswordPolicy

@Transactional(propagation=SUPPORTS,
               readOnly=true)
PasswordPolicy getPasswordPolicy(long companyId,
                                               long[] organizationIds)
                                 throws com.liferay.portal.PortalException,
                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPasswordPolicyByUserId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
PasswordPolicy getPasswordPolicyByUserId(long userId)
                                         throws com.liferay.portal.PortalException,
                                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<PasswordPolicy> search(long companyId,
                                                    java.lang.String name,
                                                    int start,
                                                    int end,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

searchCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int searchCount(long companyId,
                              java.lang.String name)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updatePasswordPolicy

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.PortalException,
                                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException