com.liferay.portal.service
Class PasswordPolicyLocalServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.PasswordPolicyLocalServiceUtil

public class PasswordPolicyLocalServiceUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides static methods for the com.liferay.portal.service.PasswordPolicyLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

Author:
Brian Wing Shun Chan
See Also:
PasswordPolicyLocalService

Constructor Summary
PasswordPolicyLocalServiceUtil()
           
 
Method Summary
static 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)
           
static PasswordPolicy addPasswordPolicy(PasswordPolicy passwordPolicy)
           
static void checkDefaultPasswordPolicy(long companyId)
           
static PasswordPolicy createPasswordPolicy(long passwordPolicyId)
           
static void deletePasswordPolicy(long passwordPolicyId)
           
static void deletePasswordPolicy(PasswordPolicy passwordPolicy)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static PasswordPolicy getDefaultPasswordPolicy(long companyId)
           
static java.util.List<PasswordPolicy> getPasswordPolicies(int start, int end)
           
static int getPasswordPoliciesCount()
           
static PasswordPolicy getPasswordPolicy(long passwordPolicyId)
           
static PasswordPolicy getPasswordPolicy(long companyId, long[] organizationIds)
           
static PasswordPolicy getPasswordPolicy(long companyId, long organizationId, long locationId)
           
static PasswordPolicy getPasswordPolicyByUserId(long userId)
           
static PasswordPolicyLocalService getService()
           
static java.util.List<PasswordPolicy> search(long companyId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static int searchCount(long companyId, java.lang.String name)
           
 void setService(PasswordPolicyLocalService service)
           
static 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)
           
static PasswordPolicy updatePasswordPolicy(PasswordPolicy passwordPolicy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordPolicyLocalServiceUtil

public PasswordPolicyLocalServiceUtil()
Method Detail

addPasswordPolicy

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

createPasswordPolicy

public static PasswordPolicy createPasswordPolicy(long passwordPolicyId)

deletePasswordPolicy

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

deletePasswordPolicy

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

dynamicQuery

public static 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

public static 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

public static PasswordPolicy getPasswordPolicy(long passwordPolicyId)
                                        throws com.liferay.portal.PortalException,
                                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPasswordPolicies

public static java.util.List<PasswordPolicy> getPasswordPolicies(int start,
                                                                 int end)
                                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPasswordPoliciesCount

public static int getPasswordPoliciesCount()
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updatePasswordPolicy

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

addPasswordPolicy

public static 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

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

getDefaultPasswordPolicy

public static PasswordPolicy getDefaultPasswordPolicy(long companyId)
                                               throws com.liferay.portal.PortalException,
                                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPasswordPolicy

public static 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

public static 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

public static PasswordPolicy getPasswordPolicyByUserId(long userId)
                                                throws com.liferay.portal.PortalException,
                                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

search

public static 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

public static int searchCount(long companyId,
                              java.lang.String name)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updatePasswordPolicy

public static 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

getService

public static PasswordPolicyLocalService getService()

setService

public void setService(PasswordPolicyLocalService service)