Liferay 7.0-ce-b7 portal-impl

com.liferay.portal.service.persistence.impl
Class PasswordPolicyPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
      extended by 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

@ProviderType
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

See Also:
PasswordPolicyPersistence, PasswordPolicyUtil
{$generated.description}

Field Summary
protected  com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
           
protected  com.liferay.portal.kernel.dao.orm.EntityCache entityCache
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_DP
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_N
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_C
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_DP
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_N
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
           
protected  com.liferay.portal.kernel.dao.orm.FinderCache finderCache
           
 
Fields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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
PasswordPolicyPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the password policy persistence.
 void cacheResult(List<com.liferay.portal.kernel.model.PasswordPolicy> passwordPolicies)
          Caches the password policies in the entity cache if it is enabled.
 void cacheResult(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy)
          Caches the password policy in the entity cache if it is enabled.
protected  void cacheUniqueFindersCache(PasswordPolicyModelImpl passwordPolicyModelImpl, boolean isNew)
           
 void clearCache()
          Clears the cache for all password policies.
 void clearCache(List<com.liferay.portal.kernel.model.PasswordPolicy> passwordPolicies)
           
 void clearCache(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy)
          Clears the cache for the password policy.
protected  void clearUniqueFindersCache(PasswordPolicyModelImpl passwordPolicyModelImpl)
           
 int countAll()
          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 countByUuid_C(String uuid, long companyId)
          Returns the number of password policies where uuid = ? and companyId = ?.
 int countByUuid(String uuid)
          Returns the number of password policies where uuid = ?.
 com.liferay.portal.kernel.model.PasswordPolicy create(long passwordPolicyId)
          Creates a new password policy with the primary key.
 void destroy()
           
 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 retrieveFromCache)
          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 retrieveFromCache)
          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 fetchByPrimaryKey(Serializable primaryKey)
          Returns the password policy with the primary key or returns null if it could not be found.
 Map<Serializable,com.liferay.portal.kernel.model.PasswordPolicy> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
           
 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 filterCountByUuid_C(String uuid, long companyId)
          Returns the number of password policies that the user has permission to view where uuid = ? and companyId = ?.
 int filterCountByUuid(String uuid)
          Returns the number of password policies that the user has permission to view where uuid = ?.
 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> 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[] 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 = ?.
 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_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 = ?.
 List<com.liferay.portal.kernel.model.PasswordPolicy> filterFindByUuid(String uuid)
          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 = ?.
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> findAll()
          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 retrieveFromCache)
          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.
 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 = ?.
 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 retrieveFromCache)
          Returns an ordered range of all the password policies 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 findByPrimaryKey(Serializable primaryKey)
          Returns the password policy with the primary key or throws a NoSuchModelException if it could not be found.
 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 = ?.
 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 retrieveFromCache)
          Returns an ordered range of all the password policies 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 = ?.
 List<com.liferay.portal.kernel.model.PasswordPolicy> findByUuid(String uuid)
          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 retrieveFromCache)
          Returns an ordered range of all the password policies where uuid = ?.
 Set<String> getBadColumnNames()
           
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  Map<String,Integer> getTableColumnsMap()
           
 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 removeAll()
          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 removeByUuid_C(String uuid, long companyId)
          Removes all the password policies where uuid = ? and companyId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the password policies where uuid = ? from the database.
protected  com.liferay.portal.kernel.model.PasswordPolicy removeImpl(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy)
           
protected  com.liferay.portal.kernel.model.PasswordPolicy toUnwrappedModel(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, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl
 
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, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update
 

Field Detail

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

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_COUNT_BY_UUID_C

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_C

FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_FETCH_BY_C_DP

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_DP

FINDER_PATH_COUNT_BY_C_DP

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_DP

FINDER_PATH_FETCH_BY_C_N

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_N

FINDER_PATH_COUNT_BY_C_N

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_N

companyProvider

@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class)
protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider

entityCache

protected com.liferay.portal.kernel.dao.orm.EntityCache entityCache

finderCache

protected com.liferay.portal.kernel.dao.orm.FinderCache finderCache
Constructor Detail

PasswordPolicyPersistenceImpl

public PasswordPolicyPersistenceImpl()
Method Detail

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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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 retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)
retrieveFromCache - whether to retrieve from 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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 retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)
retrieveFromCache - whether to retrieve from 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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 retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)
retrieveFromCache - whether to retrieve from 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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 retrieveFromCache)
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
retrieveFromCache - whether to retrieve from 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 retrieveFromCache)
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
retrieveFromCache - whether to retrieve from 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
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>

cacheUniqueFindersCache

protected void cacheUniqueFindersCache(PasswordPolicyModelImpl passwordPolicyModelImpl,
                                       boolean isNew)

clearUniqueFindersCache

protected void clearUniqueFindersCache(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>

toUnwrappedModel

protected com.liferay.portal.kernel.model.PasswordPolicy toUnwrappedModel(com.liferay.portal.kernel.model.PasswordPolicy 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 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(Serializable primaryKey)
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.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>
Overrides:
fetchByPrimaryKey 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, or null 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

fetchByPrimaryKeys

public Map<Serializable,com.liferay.portal.kernel.model.PasswordPolicy> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
Specified by:
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>
Specified by:
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
Overrides:
fetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>

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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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 retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from PasswordPolicyModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)
retrieveFromCache - whether to retrieve from 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>
Specified by:
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
Overrides:
getBadColumnNames 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()

Liferay 7.0-ce-b7 portal-impl