Class PasswordPolicyPersistenceImpl

Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
com.liferay.portal.service.persistence.impl.PasswordPolicyPersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>, com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence

public class PasswordPolicyPersistenceImpl extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy> implements com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
The persistence implementation for the password policy service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
{$generated.description}
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     

    Fields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Initializes the password policy persistence.
    void
    cacheResult(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy)
    Caches the password policy in the entity cache if it is enabled.
    void
    cacheResult(List<com.liferay.portal.kernel.model.PasswordPolicy> passwordPolicies)
    Caches the password policies in the entity cache if it is enabled.
    protected void
     
    void
    Clears the cache for all password policies.
    void
    clearCache(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy)
    Clears the cache for the password policy.
    void
    clearCache(List<com.liferay.portal.kernel.model.PasswordPolicy> passwordPolicies)
     
    void
    clearCache(Set<Serializable> primaryKeys)
     
    int
    Returns the number of password policies.
    int
    countByC_DP(long companyId, boolean defaultPolicy)
    Returns the number of password policies where companyId = ? and defaultPolicy = ?.
    int
    countByC_N(long companyId, String name)
    Returns the number of password policies where companyId = ? and name = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of password policies where companyId = ?.
    int
    Returns the number of password policies where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of password policies where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.PasswordPolicy
    create(long passwordPolicyId)
    Creates a new password policy with the primary key.
    void
     
    com.liferay.portal.kernel.model.PasswordPolicy
    fetchByC_DP(long companyId, boolean defaultPolicy)
    Returns the password policy where companyId = ? and defaultPolicy = ? or returns null if it could not be found.
    com.liferay.portal.kernel.model.PasswordPolicy
    fetchByC_DP(long companyId, boolean defaultPolicy, boolean useFinderCache)
    Returns the password policy where companyId = ? and defaultPolicy = ? or returns null if it could not be found, optionally using the finder cache.
    com.liferay.portal.kernel.model.PasswordPolicy
    fetchByC_N(long companyId, String name)
    Returns the password policy where companyId = ? and name = ? or returns null if it could not be found.
    com.liferay.portal.kernel.model.PasswordPolicy
    fetchByC_N(long companyId, String name, boolean useFinderCache)
    Returns the password policy where companyId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
    com.liferay.portal.kernel.model.PasswordPolicy
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns the first password policy in the ordered set where companyId = ?.
    com.liferay.portal.kernel.model.PasswordPolicy
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns the last password policy in the ordered set where companyId = ?.
    com.liferay.portal.kernel.model.PasswordPolicy
    fetchByPrimaryKey(long passwordPolicyId)
    Returns the password policy with the primary key or returns null if it could not be found.
    com.liferay.portal.kernel.model.PasswordPolicy
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns the first password policy in the ordered set where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.PasswordPolicy
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns the last password policy in the ordered set where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.PasswordPolicy
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns the first password policy in the ordered set where uuid = ?.
    com.liferay.portal.kernel.model.PasswordPolicy
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns the last password policy in the ordered set where uuid = ?.
    int
    filterCountByCompanyId(long companyId)
    Returns the number of password policies that the user has permission to view where companyId = ?.
    int
    Returns the number of password policies that the user has permission to view where uuid = ?.
    int
    filterCountByUuid_C(String uuid, long companyId)
    Returns the number of password policies that the user has permission to view where uuid = ? and companyId = ?.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    filterFindByCompanyId(long companyId)
    Returns all the password policies that the user has permission to view where companyId = ?.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    filterFindByCompanyId(long companyId, int start, int end)
    Returns a range of all the password policies that the user has permission to view where companyId = ?.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns an ordered range of all the password policies that the user has permissions to view where companyId = ?.
    com.liferay.portal.kernel.model.PasswordPolicy[]
    filterFindByCompanyId_PrevAndNext(long passwordPolicyId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns the password policies before and after the current password policy in the ordered set of password policies that the user has permission to view where companyId = ?.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    Returns all the password policies that the user has permission to view where uuid = ?.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    filterFindByUuid(String uuid, int start, int end)
    Returns a range of all the password policies that the user has permission to view where uuid = ?.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns an ordered range of all the password policies that the user has permissions to view where uuid = ?.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    filterFindByUuid_C(String uuid, long companyId)
    Returns all the password policies that the user has permission to view where uuid = ? and companyId = ?.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    filterFindByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the password policies that the user has permission to view where uuid = ? and companyId = ?.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns an ordered range of all the password policies that the user has permissions to view where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.PasswordPolicy[]
    filterFindByUuid_C_PrevAndNext(long passwordPolicyId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns the password policies before and after the current password policy in the ordered set of password policies that the user has permission to view where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.PasswordPolicy[]
    filterFindByUuid_PrevAndNext(long passwordPolicyId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns the password policies before and after the current password policy in the ordered set of password policies that the user has permission to view where uuid = ?.
    protected com.liferay.portal.kernel.model.PasswordPolicy
    filterGetByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.PasswordPolicy
    filterGetByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.PasswordPolicy
    filterGetByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean previous)
     
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    Returns all the password policies.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    findAll(int start, int end)
    Returns a range of all the password policies.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns an ordered range of all the password policies.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the password policies.
    com.liferay.portal.kernel.model.PasswordPolicy
    findByC_DP(long companyId, boolean defaultPolicy)
    Returns the password policy where companyId = ? and defaultPolicy = ? or throws a NoSuchPasswordPolicyException if it could not be found.
    com.liferay.portal.kernel.model.PasswordPolicy
    findByC_N(long companyId, String name)
    Returns the password policy where companyId = ? and name = ? or throws a NoSuchPasswordPolicyException if it could not be found.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    findByCompanyId(long companyId)
    Returns all the password policies where companyId = ?.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the password policies where companyId = ?.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns an ordered range of all the password policies where companyId = ?.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the password policies where companyId = ?.
    com.liferay.portal.kernel.model.PasswordPolicy
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns the first password policy in the ordered set where companyId = ?.
    com.liferay.portal.kernel.model.PasswordPolicy
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns the last password policy in the ordered set where companyId = ?.
    com.liferay.portal.kernel.model.PasswordPolicy[]
    findByCompanyId_PrevAndNext(long passwordPolicyId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns the password policies before and after the current password policy in the ordered set where companyId = ?.
    com.liferay.portal.kernel.model.PasswordPolicy
    findByPrimaryKey(long passwordPolicyId)
    Returns the password policy with the primary key or throws a NoSuchPasswordPolicyException if it could not be found.
    com.liferay.portal.kernel.model.PasswordPolicy
    Returns the password policy with the primary key or throws a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    Returns all the password policies where uuid = ?.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    findByUuid(String uuid, int start, int end)
    Returns a range of all the password policies where uuid = ?.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns an ordered range of all the password policies where uuid = ?.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the password policies where uuid = ?.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    findByUuid_C(String uuid, long companyId)
    Returns all the password policies where uuid = ? and companyId = ?.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the password policies where uuid = ? and companyId = ?.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns an ordered range of all the password policies where uuid = ? and companyId = ?.
    List<com.liferay.portal.kernel.model.PasswordPolicy>
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the password policies where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.PasswordPolicy
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns the first password policy in the ordered set where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.PasswordPolicy
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns the last password policy in the ordered set where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.PasswordPolicy[]
    findByUuid_C_PrevAndNext(long passwordPolicyId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns the password policies before and after the current password policy in the ordered set where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.PasswordPolicy
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns the first password policy in the ordered set where uuid = ?.
    com.liferay.portal.kernel.model.PasswordPolicy
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns the last password policy in the ordered set where uuid = ?.
    com.liferay.portal.kernel.model.PasswordPolicy[]
    findByUuid_PrevAndNext(long passwordPolicyId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
    Returns the password policies before and after the current password policy in the ordered set where uuid = ?.
     
    protected com.liferay.portal.kernel.model.PasswordPolicy
    getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.PasswordPolicy
    getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.PasswordPolicy
    getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.dao.orm.EntityCache
     
    protected com.liferay.portal.kernel.dao.orm.FinderCache
     
    protected String
     
    protected String
     
    protected Map<String,Integer>
     
    com.liferay.portal.kernel.model.PasswordPolicy
    remove(long passwordPolicyId)
    Removes the password policy with the primary key from the database.
    com.liferay.portal.kernel.model.PasswordPolicy
    remove(Serializable primaryKey)
    Removes the password policy with the primary key from the database.
    void
    Removes all the password policies from the database.
    com.liferay.portal.kernel.model.PasswordPolicy
    removeByC_DP(long companyId, boolean defaultPolicy)
    Removes the password policy where companyId = ? and defaultPolicy = ? from the database.
    com.liferay.portal.kernel.model.PasswordPolicy
    removeByC_N(long companyId, String name)
    Removes the password policy where companyId = ? and name = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the password policies where companyId = ? from the database.
    void
    Removes all the password policies where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the password policies where uuid = ? and companyId = ? from the database.
    protected com.liferay.portal.kernel.model.PasswordPolicy
    removeImpl(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy)
     
    com.liferay.portal.kernel.model.PasswordPolicy
    updateImpl(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy)
     

    Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
  • Field Details

    • FINDER_CLASS_NAME_ENTITY

      public static final String FINDER_CLASS_NAME_ENTITY
    • FINDER_CLASS_NAME_LIST_WITH_PAGINATION

      public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
    • FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

      public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
  • Constructor Details

    • PasswordPolicyPersistenceImpl

      public PasswordPolicyPersistenceImpl()
  • Method Details

    • findByUuid

      public List<com.liferay.portal.kernel.model.PasswordPolicy> findByUuid(String uuid)
      Returns all the password policies where uuid = ?.
      Specified by:
      findByUuid in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      Returns:
      the matching password policies
    • findByUuid

      public List<com.liferay.portal.kernel.model.PasswordPolicy> findByUuid(String uuid, int start, int end)
      Returns a range of all the password policies where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.

      Specified by:
      findByUuid in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of password policies
      end - the upper bound of the range of password policies (not inclusive)
      Returns:
      the range of matching password policies
    • findByUuid

      public List<com.liferay.portal.kernel.model.PasswordPolicy> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
      Returns an ordered range of all the password policies where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.

      Specified by:
      findByUuid in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of password policies
      end - the upper bound of the range of password policies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching password policies
    • findByUuid

      public List<com.liferay.portal.kernel.model.PasswordPolicy> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the password policies where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.

      Specified by:
      findByUuid in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of password policies
      end - the upper bound of the range of password policies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching password policies
    • findByUuid_First

      public com.liferay.portal.kernel.model.PasswordPolicy findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
      Returns the first password policy in the ordered set where uuid = ?.
      Specified by:
      findByUuid_First in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching password policy
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a matching password policy could not be found
    • fetchByUuid_First

      public com.liferay.portal.kernel.model.PasswordPolicy fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
      Returns the first password policy in the ordered set where uuid = ?.
      Specified by:
      fetchByUuid_First in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching password policy, or null if a matching password policy could not be found
    • findByUuid_Last

      public com.liferay.portal.kernel.model.PasswordPolicy findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
      Returns the last password policy in the ordered set where uuid = ?.
      Specified by:
      findByUuid_Last in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching password policy
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a matching password policy could not be found
    • fetchByUuid_Last

      public com.liferay.portal.kernel.model.PasswordPolicy fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
      Returns the last password policy in the ordered set where uuid = ?.
      Specified by:
      fetchByUuid_Last in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching password policy, or null if a matching password policy could not be found
    • findByUuid_PrevAndNext

      public com.liferay.portal.kernel.model.PasswordPolicy[] findByUuid_PrevAndNext(long passwordPolicyId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
      Returns the password policies before and after the current password policy in the ordered set where uuid = ?.
      Specified by:
      findByUuid_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      passwordPolicyId - the primary key of the current password policy
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next password policy
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a password policy with the primary key could not be found
    • getByUuid_PrevAndNext

      protected com.liferay.portal.kernel.model.PasswordPolicy getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean previous)
    • filterFindByUuid

      public List<com.liferay.portal.kernel.model.PasswordPolicy> filterFindByUuid(String uuid)
      Returns all the password policies that the user has permission to view where uuid = ?.
      Specified by:
      filterFindByUuid in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      Returns:
      the matching password policies that the user has permission to view
    • filterFindByUuid

      public List<com.liferay.portal.kernel.model.PasswordPolicy> filterFindByUuid(String uuid, int start, int end)
      Returns a range of all the password policies that the user has permission to view where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.

      Specified by:
      filterFindByUuid in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of password policies
      end - the upper bound of the range of password policies (not inclusive)
      Returns:
      the range of matching password policies that the user has permission to view
    • filterFindByUuid

      public List<com.liferay.portal.kernel.model.PasswordPolicy> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
      Returns an ordered range of all the password policies that the user has permissions to view where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.

      Specified by:
      filterFindByUuid in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of password policies
      end - the upper bound of the range of password policies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching password policies that the user has permission to view
    • filterFindByUuid_PrevAndNext

      public com.liferay.portal.kernel.model.PasswordPolicy[] filterFindByUuid_PrevAndNext(long passwordPolicyId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
      Returns the password policies before and after the current password policy in the ordered set of password policies that the user has permission to view where uuid = ?.
      Specified by:
      filterFindByUuid_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      passwordPolicyId - the primary key of the current password policy
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next password policy
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a password policy with the primary key could not be found
    • filterGetByUuid_PrevAndNext

      protected com.liferay.portal.kernel.model.PasswordPolicy filterGetByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean previous)
    • removeByUuid

      public void removeByUuid(String uuid)
      Removes all the password policies where uuid = ? from the database.
      Specified by:
      removeByUuid in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
    • countByUuid

      public int countByUuid(String uuid)
      Returns the number of password policies where uuid = ?.
      Specified by:
      countByUuid in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching password policies
    • filterCountByUuid

      public int filterCountByUuid(String uuid)
      Returns the number of password policies that the user has permission to view where uuid = ?.
      Specified by:
      filterCountByUuid in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching password policies that the user has permission to view
    • findByUuid_C

      public List<com.liferay.portal.kernel.model.PasswordPolicy> findByUuid_C(String uuid, long companyId)
      Returns all the password policies where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching password policies
    • findByUuid_C

      public List<com.liferay.portal.kernel.model.PasswordPolicy> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the password policies where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of password policies
      end - the upper bound of the range of password policies (not inclusive)
      Returns:
      the range of matching password policies
    • findByUuid_C

      public List<com.liferay.portal.kernel.model.PasswordPolicy> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
      Returns an ordered range of all the password policies where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of password policies
      end - the upper bound of the range of password policies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching password policies
    • findByUuid_C

      public List<com.liferay.portal.kernel.model.PasswordPolicy> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the password policies where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of password policies
      end - the upper bound of the range of password policies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching password policies
    • findByUuid_C_First

      public com.liferay.portal.kernel.model.PasswordPolicy findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
      Returns the first password policy in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C_First in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching password policy
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a matching password policy could not be found
    • fetchByUuid_C_First

      public com.liferay.portal.kernel.model.PasswordPolicy fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
      Returns the first password policy in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      fetchByUuid_C_First in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching password policy, or null if a matching password policy could not be found
    • findByUuid_C_Last

      public com.liferay.portal.kernel.model.PasswordPolicy findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
      Returns the last password policy in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C_Last in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching password policy
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a matching password policy could not be found
    • fetchByUuid_C_Last

      public com.liferay.portal.kernel.model.PasswordPolicy fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
      Returns the last password policy in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      fetchByUuid_C_Last in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching password policy, or null if a matching password policy could not be found
    • findByUuid_C_PrevAndNext

      public com.liferay.portal.kernel.model.PasswordPolicy[] findByUuid_C_PrevAndNext(long passwordPolicyId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
      Returns the password policies before and after the current password policy in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      passwordPolicyId - the primary key of the current password policy
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next password policy
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a password policy with the primary key could not be found
    • getByUuid_C_PrevAndNext

      protected com.liferay.portal.kernel.model.PasswordPolicy getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean previous)
    • filterFindByUuid_C

      public List<com.liferay.portal.kernel.model.PasswordPolicy> filterFindByUuid_C(String uuid, long companyId)
      Returns all the password policies that the user has permission to view where uuid = ? and companyId = ?.
      Specified by:
      filterFindByUuid_C in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching password policies that the user has permission to view
    • filterFindByUuid_C

      public List<com.liferay.portal.kernel.model.PasswordPolicy> filterFindByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the password policies that the user has permission to view where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.

      Specified by:
      filterFindByUuid_C in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of password policies
      end - the upper bound of the range of password policies (not inclusive)
      Returns:
      the range of matching password policies that the user has permission to view
    • filterFindByUuid_C

      public List<com.liferay.portal.kernel.model.PasswordPolicy> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
      Returns an ordered range of all the password policies that the user has permissions to view where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.

      Specified by:
      filterFindByUuid_C in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of password policies
      end - the upper bound of the range of password policies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching password policies that the user has permission to view
    • filterFindByUuid_C_PrevAndNext

      public com.liferay.portal.kernel.model.PasswordPolicy[] filterFindByUuid_C_PrevAndNext(long passwordPolicyId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
      Returns the password policies before and after the current password policy in the ordered set of password policies that the user has permission to view where uuid = ? and companyId = ?.
      Specified by:
      filterFindByUuid_C_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      passwordPolicyId - the primary key of the current password policy
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next password policy
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a password policy with the primary key could not be found
    • filterGetByUuid_C_PrevAndNext

      protected com.liferay.portal.kernel.model.PasswordPolicy filterGetByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean previous)
    • removeByUuid_C

      public void removeByUuid_C(String uuid, long companyId)
      Removes all the password policies where uuid = ? and companyId = ? from the database.
      Specified by:
      removeByUuid_C in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public int countByUuid_C(String uuid, long companyId)
      Returns the number of password policies where uuid = ? and companyId = ?.
      Specified by:
      countByUuid_C in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching password policies
    • filterCountByUuid_C

      public int filterCountByUuid_C(String uuid, long companyId)
      Returns the number of password policies that the user has permission to view where uuid = ? and companyId = ?.
      Specified by:
      filterCountByUuid_C in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching password policies that the user has permission to view
    • findByCompanyId

      public List<com.liferay.portal.kernel.model.PasswordPolicy> findByCompanyId(long companyId)
      Returns all the password policies where companyId = ?.
      Specified by:
      findByCompanyId in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      Returns:
      the matching password policies
    • findByCompanyId

      public List<com.liferay.portal.kernel.model.PasswordPolicy> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the password policies where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.

      Specified by:
      findByCompanyId in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of password policies
      end - the upper bound of the range of password policies (not inclusive)
      Returns:
      the range of matching password policies
    • findByCompanyId

      public List<com.liferay.portal.kernel.model.PasswordPolicy> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
      Returns an ordered range of all the password policies where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.

      Specified by:
      findByCompanyId in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of password policies
      end - the upper bound of the range of password policies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching password policies
    • findByCompanyId

      public List<com.liferay.portal.kernel.model.PasswordPolicy> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the password policies where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.

      Specified by:
      findByCompanyId in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of password policies
      end - the upper bound of the range of password policies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching password policies
    • findByCompanyId_First

      public com.liferay.portal.kernel.model.PasswordPolicy findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
      Returns the first password policy in the ordered set where companyId = ?.
      Specified by:
      findByCompanyId_First in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching password policy
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a matching password policy could not be found
    • fetchByCompanyId_First

      public com.liferay.portal.kernel.model.PasswordPolicy fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
      Returns the first password policy in the ordered set where companyId = ?.
      Specified by:
      fetchByCompanyId_First in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching password policy, or null if a matching password policy could not be found
    • findByCompanyId_Last

      public com.liferay.portal.kernel.model.PasswordPolicy findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
      Returns the last password policy in the ordered set where companyId = ?.
      Specified by:
      findByCompanyId_Last in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching password policy
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a matching password policy could not be found
    • fetchByCompanyId_Last

      public com.liferay.portal.kernel.model.PasswordPolicy fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
      Returns the last password policy in the ordered set where companyId = ?.
      Specified by:
      fetchByCompanyId_Last in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching password policy, or null if a matching password policy could not be found
    • findByCompanyId_PrevAndNext

      public com.liferay.portal.kernel.model.PasswordPolicy[] findByCompanyId_PrevAndNext(long passwordPolicyId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
      Returns the password policies before and after the current password policy in the ordered set where companyId = ?.
      Specified by:
      findByCompanyId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      passwordPolicyId - the primary key of the current password policy
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next password policy
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a password policy with the primary key could not be found
    • getByCompanyId_PrevAndNext

      protected com.liferay.portal.kernel.model.PasswordPolicy getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean previous)
    • filterFindByCompanyId

      public List<com.liferay.portal.kernel.model.PasswordPolicy> filterFindByCompanyId(long companyId)
      Returns all the password policies that the user has permission to view where companyId = ?.
      Specified by:
      filterFindByCompanyId in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      Returns:
      the matching password policies that the user has permission to view
    • filterFindByCompanyId

      public List<com.liferay.portal.kernel.model.PasswordPolicy> filterFindByCompanyId(long companyId, int start, int end)
      Returns a range of all the password policies that the user has permission to view where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.

      Specified by:
      filterFindByCompanyId in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of password policies
      end - the upper bound of the range of password policies (not inclusive)
      Returns:
      the range of matching password policies that the user has permission to view
    • filterFindByCompanyId

      public List<com.liferay.portal.kernel.model.PasswordPolicy> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
      Returns an ordered range of all the password policies that the user has permissions to view where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.

      Specified by:
      filterFindByCompanyId in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of password policies
      end - the upper bound of the range of password policies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching password policies that the user has permission to view
    • filterFindByCompanyId_PrevAndNext

      public com.liferay.portal.kernel.model.PasswordPolicy[] filterFindByCompanyId_PrevAndNext(long passwordPolicyId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
      Returns the password policies before and after the current password policy in the ordered set of password policies that the user has permission to view where companyId = ?.
      Specified by:
      filterFindByCompanyId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      passwordPolicyId - the primary key of the current password policy
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next password policy
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a password policy with the primary key could not be found
    • filterGetByCompanyId_PrevAndNext

      protected com.liferay.portal.kernel.model.PasswordPolicy filterGetByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean previous)
    • removeByCompanyId

      public void removeByCompanyId(long companyId)
      Removes all the password policies where companyId = ? from the database.
      Specified by:
      removeByCompanyId in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
    • countByCompanyId

      public int countByCompanyId(long companyId)
      Returns the number of password policies where companyId = ?.
      Specified by:
      countByCompanyId in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching password policies
    • filterCountByCompanyId

      public int filterCountByCompanyId(long companyId)
      Returns the number of password policies that the user has permission to view where companyId = ?.
      Specified by:
      filterCountByCompanyId in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching password policies that the user has permission to view
    • findByC_DP

      public com.liferay.portal.kernel.model.PasswordPolicy findByC_DP(long companyId, boolean defaultPolicy) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
      Returns the password policy where companyId = ? and defaultPolicy = ? or throws a NoSuchPasswordPolicyException if it could not be found.
      Specified by:
      findByC_DP in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      defaultPolicy - the default policy
      Returns:
      the matching password policy
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a matching password policy could not be found
    • fetchByC_DP

      public com.liferay.portal.kernel.model.PasswordPolicy fetchByC_DP(long companyId, boolean defaultPolicy)
      Returns the password policy where companyId = ? and defaultPolicy = ? or returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByC_DP in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      defaultPolicy - the default policy
      Returns:
      the matching password policy, or null if a matching password policy could not be found
    • fetchByC_DP

      public com.liferay.portal.kernel.model.PasswordPolicy fetchByC_DP(long companyId, boolean defaultPolicy, boolean useFinderCache)
      Returns the password policy where companyId = ? and defaultPolicy = ? or returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByC_DP in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      defaultPolicy - the default policy
      useFinderCache - whether to use the finder cache
      Returns:
      the matching password policy, or null if a matching password policy could not be found
    • removeByC_DP

      public com.liferay.portal.kernel.model.PasswordPolicy removeByC_DP(long companyId, boolean defaultPolicy) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
      Removes the password policy where companyId = ? and defaultPolicy = ? from the database.
      Specified by:
      removeByC_DP in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      defaultPolicy - the default policy
      Returns:
      the password policy that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
    • countByC_DP

      public int countByC_DP(long companyId, boolean defaultPolicy)
      Returns the number of password policies where companyId = ? and defaultPolicy = ?.
      Specified by:
      countByC_DP in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      defaultPolicy - the default policy
      Returns:
      the number of matching password policies
    • findByC_N

      public com.liferay.portal.kernel.model.PasswordPolicy findByC_N(long companyId, String name) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
      Returns the password policy where companyId = ? and name = ? or throws a NoSuchPasswordPolicyException if it could not be found.
      Specified by:
      findByC_N in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the matching password policy
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a matching password policy could not be found
    • fetchByC_N

      public com.liferay.portal.kernel.model.PasswordPolicy fetchByC_N(long companyId, String name)
      Returns the password policy where companyId = ? and name = ? or returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByC_N in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the matching password policy, or null if a matching password policy could not be found
    • fetchByC_N

      public com.liferay.portal.kernel.model.PasswordPolicy fetchByC_N(long companyId, String name, boolean useFinderCache)
      Returns the password policy where companyId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByC_N in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      name - the name
      useFinderCache - whether to use the finder cache
      Returns:
      the matching password policy, or null if a matching password policy could not be found
    • removeByC_N

      public com.liferay.portal.kernel.model.PasswordPolicy removeByC_N(long companyId, String name) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
      Removes the password policy where companyId = ? and name = ? from the database.
      Specified by:
      removeByC_N in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the password policy that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
    • countByC_N

      public int countByC_N(long companyId, String name)
      Returns the number of password policies where companyId = ? and name = ?.
      Specified by:
      countByC_N in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the number of matching password policies
    • cacheResult

      public void cacheResult(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy)
      Caches the password policy in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Overrides:
      cacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
      Parameters:
      passwordPolicy - the password policy
    • cacheResult

      public void cacheResult(List<com.liferay.portal.kernel.model.PasswordPolicy> passwordPolicies)
      Caches the password policies in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      passwordPolicies - the password policies
    • clearCache

      public void clearCache()
      Clears the cache for all password policies.

      The EntityCache and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
    • clearCache

      public void clearCache(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy)
      Clears the cache for the password policy.

      The EntityCache and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
    • clearCache

      public void clearCache(List<com.liferay.portal.kernel.model.PasswordPolicy> passwordPolicies)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
    • clearCache

      public void clearCache(Set<Serializable> primaryKeys)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>
    • cacheUniqueFindersCache

      protected void cacheUniqueFindersCache(PasswordPolicyModelImpl passwordPolicyModelImpl)
    • create

      public com.liferay.portal.kernel.model.PasswordPolicy create(long passwordPolicyId)
      Creates a new password policy with the primary key. Does not add the password policy to the database.
      Specified by:
      create in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      passwordPolicyId - the primary key for the new password policy
      Returns:
      the new password policy
    • remove

      public com.liferay.portal.kernel.model.PasswordPolicy remove(long passwordPolicyId) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
      Removes the password policy with the primary key from the database. Also notifies the appropriate model listeners.
      Specified by:
      remove in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      passwordPolicyId - the primary key of the password policy
      Returns:
      the password policy that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a password policy with the primary key could not be found
    • remove

      public com.liferay.portal.kernel.model.PasswordPolicy remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
      Removes the password policy with the primary key from the database. Also notifies the appropriate model listeners.
      Specified by:
      remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>
      Overrides:
      remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
      Parameters:
      primaryKey - the primary key of the password policy
      Returns:
      the password policy that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a password policy with the primary key could not be found
    • removeImpl

      protected com.liferay.portal.kernel.model.PasswordPolicy removeImpl(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy)
      Overrides:
      removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
    • updateImpl

      public com.liferay.portal.kernel.model.PasswordPolicy updateImpl(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy)
      Specified by:
      updateImpl in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Overrides:
      updateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
    • findByPrimaryKey

      public com.liferay.portal.kernel.model.PasswordPolicy findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
      Returns the password policy with the primary key or throws a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>
      Overrides:
      findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
      Parameters:
      primaryKey - the primary key of the password policy
      Returns:
      the password policy
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a password policy with the primary key could not be found
    • findByPrimaryKey

      public com.liferay.portal.kernel.model.PasswordPolicy findByPrimaryKey(long passwordPolicyId) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
      Returns the password policy with the primary key or throws a NoSuchPasswordPolicyException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      passwordPolicyId - the primary key of the password policy
      Returns:
      the password policy
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a password policy with the primary key could not be found
    • fetchByPrimaryKey

      public com.liferay.portal.kernel.model.PasswordPolicy fetchByPrimaryKey(long passwordPolicyId)
      Returns the password policy with the primary key or returns null if it could not be found.
      Specified by:
      fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      passwordPolicyId - the primary key of the password policy
      Returns:
      the password policy, or null if a password policy with the primary key could not be found
    • findAll

      public List<com.liferay.portal.kernel.model.PasswordPolicy> findAll()
      Returns all the password policies.
      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Returns:
      the password policies
    • findAll

      public List<com.liferay.portal.kernel.model.PasswordPolicy> findAll(int start, int end)
      Returns a range of all the password policies.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      start - the lower bound of the range of password policies
      end - the upper bound of the range of password policies (not inclusive)
      Returns:
      the range of password policies
    • findAll

      public List<com.liferay.portal.kernel.model.PasswordPolicy> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
      Returns an ordered range of all the password policies.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      start - the lower bound of the range of password policies
      end - the upper bound of the range of password policies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of password policies
    • findAll

      public List<com.liferay.portal.kernel.model.PasswordPolicy> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the password policies.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Parameters:
      start - the lower bound of the range of password policies
      end - the upper bound of the range of password policies (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of password policies
    • removeAll

      public void removeAll()
      Removes all the password policies from the database.
      Specified by:
      removeAll in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
    • countAll

      public int countAll()
      Returns the number of password policies.
      Specified by:
      countAll in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
      Returns:
      the number of password policies
    • getBadColumnNames

      public Set<String> getBadColumnNames()
      Specified by:
      getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>
      Overrides:
      getBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
    • getEntityCache

      protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
      Overrides:
      getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
    • getPKDBName

      protected String getPKDBName()
      Overrides:
      getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
    • getSelectSQL

      protected String getSelectSQL()
      Overrides:
      getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
    • getTableColumnsMap

      protected Map<String,Integer> getTableColumnsMap()
      Overrides:
      getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
    • afterPropertiesSet

      public void afterPropertiesSet()
      Initializes the password policy persistence.
    • destroy

      public void destroy()
    • getFinderCache

      protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()
      Overrides:
      getFinderCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>