Class 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
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsFields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Initializes the password policy persistence.void
cacheResult
(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy) Caches the password policy in the entity cache if it is enabled.void
cacheResult
(List<com.liferay.portal.kernel.model.PasswordPolicy> passwordPolicies) Caches the password policies in the entity cache if it is enabled.protected void
cacheUniqueFindersCache
(PasswordPolicyModelImpl passwordPolicyModelImpl) void
Clears the cache for all password policies.void
clearCache
(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy) Clears the cache for the password policy.void
clearCache
(List<com.liferay.portal.kernel.model.PasswordPolicy> passwordPolicies) void
clearCache
(Set<Serializable> primaryKeys) int
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
(String uuid) Returns the number of password policies where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of password policies where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.PasswordPolicy
create
(long passwordPolicyId) Creates a new password policy with the primary key.void
destroy()
com.liferay.portal.kernel.model.PasswordPolicy
fetchByC_DP
(long companyId, boolean defaultPolicy) Returns the password policy where companyId = ? and defaultPolicy = ? or returnsnull
if it could not be found.com.liferay.portal.kernel.model.PasswordPolicy
fetchByC_DP
(long companyId, boolean defaultPolicy, boolean useFinderCache) Returns the password policy where companyId = ? and defaultPolicy = ? or returnsnull
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 returnsnull
if it could not be found.com.liferay.portal.kernel.model.PasswordPolicy
fetchByC_N
(long companyId, String name, boolean useFinderCache) Returns the password policy where companyId = ? and name = ? or returnsnull
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 returnsnull
if it could not be found.com.liferay.portal.kernel.model.PasswordPolicy
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) Returns the first password policy in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.PasswordPolicy
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) Returns the last password policy in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.PasswordPolicy
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) Returns the first password policy in the ordered set where uuid = ?.com.liferay.portal.kernel.model.PasswordPolicy
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) Returns the last password policy in the ordered set where uuid = ?.int
filterCountByCompanyId
(long companyId) Returns the number of password policies that the user has permission to view where companyId = ?.int
filterCountByUuid
(String uuid) Returns the number of password policies that the user has permission to view where uuid = ?.int
filterCountByUuid_C
(String uuid, long companyId) Returns the number of password policies that the user has permission to view where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.PasswordPolicy>
filterFindByCompanyId
(long companyId) Returns all the password policies that the user has permission to view where companyId = ?.List<com.liferay.portal.kernel.model.PasswordPolicy>
filterFindByCompanyId
(long companyId, int start, int end) Returns a range of all the password policies that the user has permission to view where companyId = ?.List<com.liferay.portal.kernel.model.PasswordPolicy>
filterFindByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) Returns an ordered range of all the password policies that the user has permissions to view where companyId = ?.com.liferay.portal.kernel.model.PasswordPolicy[]
filterFindByCompanyId_PrevAndNext
(long passwordPolicyId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) Returns the password policies before and after the current password policy in the ordered set of password policies that the user has permission to view where companyId = ?.List<com.liferay.portal.kernel.model.PasswordPolicy>
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 = ?.List<com.liferay.portal.kernel.model.PasswordPolicy>
filterFindByUuid_C
(String uuid, long companyId) Returns all the password policies that the user has permission to view where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.PasswordPolicy>
filterFindByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the password policies that the user has permission to view where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.PasswordPolicy>
filterFindByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) Returns an ordered range of all the password policies that the user has permissions to view where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.PasswordPolicy[]
filterFindByUuid_C_PrevAndNext
(long passwordPolicyId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) Returns the password policies before and after the current password policy in the ordered set of password policies that the user has permission to view where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.PasswordPolicy[]
filterFindByUuid_PrevAndNext
(long passwordPolicyId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) Returns the password policies before and after the current password policy in the ordered set of password policies that the user has permission to view where uuid = ?.protected com.liferay.portal.kernel.model.PasswordPolicy
filterGetByCompanyId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.PasswordPolicy
filterGetByUuid_C_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.PasswordPolicy
filterGetByUuid_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean previous) List<com.liferay.portal.kernel.model.PasswordPolicy>
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 useFinderCache) Returns an ordered range of all the password policies.com.liferay.portal.kernel.model.PasswordPolicy
findByC_DP
(long companyId, boolean defaultPolicy) Returns the password policy where companyId = ? and defaultPolicy = ? or throws aNoSuchPasswordPolicyException
if it could not be found.com.liferay.portal.kernel.model.PasswordPolicy
Returns the password policy where companyId = ? and name = ? or throws aNoSuchPasswordPolicyException
if it could not be found.List<com.liferay.portal.kernel.model.PasswordPolicy>
findByCompanyId
(long companyId) Returns all the password policies where companyId = ?.List<com.liferay.portal.kernel.model.PasswordPolicy>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the password policies where companyId = ?.List<com.liferay.portal.kernel.model.PasswordPolicy>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) Returns an ordered range of all the password policies where companyId = ?.List<com.liferay.portal.kernel.model.PasswordPolicy>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean useFinderCache) Returns an ordered range of all the password policies where companyId = ?.com.liferay.portal.kernel.model.PasswordPolicy
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) Returns the first password policy in the ordered set where companyId = ?.com.liferay.portal.kernel.model.PasswordPolicy
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) Returns the last password policy in the ordered set where companyId = ?.com.liferay.portal.kernel.model.PasswordPolicy[]
findByCompanyId_PrevAndNext
(long passwordPolicyId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) Returns the password policies before and after the current password policy in the ordered set where companyId = ?.com.liferay.portal.kernel.model.PasswordPolicy
findByPrimaryKey
(long passwordPolicyId) Returns the password policy with the primary key or throws aNoSuchPasswordPolicyException
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 acom.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.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 useFinderCache) Returns an ordered range of all the password policies where uuid = ?.List<com.liferay.portal.kernel.model.PasswordPolicy>
findByUuid_C
(String uuid, long companyId) Returns all the password policies where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.PasswordPolicy>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the password policies where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.PasswordPolicy>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) Returns an ordered range of all the password policies where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.PasswordPolicy>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean useFinderCache) Returns an ordered range of all the password policies where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.PasswordPolicy
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) Returns the first password policy in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.PasswordPolicy
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) Returns the last password policy in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.PasswordPolicy[]
findByUuid_C_PrevAndNext
(long passwordPolicyId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) Returns the password policies before and after the current password policy in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.PasswordPolicy
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) Returns the first password policy in the ordered set where uuid = ?.com.liferay.portal.kernel.model.PasswordPolicy
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) Returns the last password policy in the ordered set where uuid = ?.com.liferay.portal.kernel.model.PasswordPolicy[]
findByUuid_PrevAndNext
(long passwordPolicyId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) Returns the password policies before and after the current password policy in the ordered set where uuid = ?.protected com.liferay.portal.kernel.model.PasswordPolicy
getByCompanyId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.PasswordPolicy
getByUuid_C_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.PasswordPolicy
getByUuid_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean previous) protected com.liferay.portal.kernel.dao.orm.EntityCache
protected com.liferay.portal.kernel.dao.orm.FinderCache
protected String
protected String
com.liferay.portal.kernel.model.PasswordPolicy
remove
(long passwordPolicyId) Removes the password policy with the primary key from the database.com.liferay.portal.kernel.model.PasswordPolicy
remove
(Serializable primaryKey) Removes the password policy with the primary key from the database.void
Removes all the password policies from the database.com.liferay.portal.kernel.model.PasswordPolicy
removeByC_DP
(long companyId, boolean defaultPolicy) Removes the password policy where companyId = ? and defaultPolicy = ? from the database.com.liferay.portal.kernel.model.PasswordPolicy
removeByC_N
(long companyId, String name) Removes the password policy where companyId = ? and name = ? from the database.void
removeByCompanyId
(long companyId) Removes all the password policies where companyId = ? from the database.void
removeByUuid
(String uuid) Removes all the password policies where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the password policies where uuid = ? and companyId = ? from the database.protected com.liferay.portal.kernel.model.PasswordPolicy
removeImpl
(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy) com.liferay.portal.kernel.model.PasswordPolicy
updateImpl
(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
-
Constructor Details
-
PasswordPolicyPersistenceImpl
public PasswordPolicyPersistenceImpl()
-
-
Method Details
-
findByUuid
Returns all the password policies where uuid = ?.- Specified by:
findByUuid
in interfacecom.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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPasswordPolicyModelImpl
.- Specified by:
findByUuid
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidstart
- the lower bound of the range of password policiesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPasswordPolicyModelImpl
.- Specified by:
findByUuid
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching password policies
-
findByUuid
public List<com.liferay.portal.kernel.model.PasswordPolicy> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean useFinderCache) Returns an ordered range of all the password policies where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPasswordPolicyModelImpl
.- Specified by:
findByUuid
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching password policies
-
findByUuid_First
public com.liferay.portal.kernel.model.PasswordPolicy findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException Returns the first password policy in the ordered set where uuid = ?.- Specified by:
findByUuid_First
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
passwordPolicyId
- the primary key of the current password policyuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Returns all the password policies that the user has permission to view where uuid = ?.- Specified by:
filterFindByUuid
in interfacecom.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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPasswordPolicyModelImpl
.- Specified by:
filterFindByUuid
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidstart
- the lower bound of the range of password policiesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPasswordPolicyModelImpl
.- Specified by:
filterFindByUuid
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
passwordPolicyId
- the primary key of the current password policyuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Removes all the password policies where uuid = ? from the database.- Specified by:
removeByUuid
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of password policies where uuid = ?.- Specified by:
countByUuid
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuid- Returns:
- the number of matching password policies
-
filterCountByUuid
Returns the number of password policies that the user has permission to view where uuid = ?.- Specified by:
filterCountByUuid
in interfacecom.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 interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidcompanyId
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPasswordPolicyModelImpl
.- Specified by:
findByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of password policiesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPasswordPolicyModelImpl
.- Specified by:
findByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching password policies
-
findByUuid_C
public List<com.liferay.portal.kernel.model.PasswordPolicy> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean useFinderCache) Returns an ordered range of all the password policies where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPasswordPolicyModelImpl
.- Specified by:
findByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching password policies
-
findByUuid_C_First
public com.liferay.portal.kernel.model.PasswordPolicy findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException Returns the first password policy in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_First
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
passwordPolicyId
- the primary key of the current password policyuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidcompanyId
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPasswordPolicyModelImpl
.- Specified by:
filterFindByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of password policiesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPasswordPolicyModelImpl
.- Specified by:
filterFindByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
passwordPolicyId
- the primary key of the current password policyuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Removes all the password policies where uuid = ? and companyId = ? from the database.- Specified by:
removeByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of password policies where uuid = ? and companyId = ?.- Specified by:
countByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching password policies
-
filterCountByUuid_C
Returns the number of password policies that the user has permission to view where uuid = ? and companyId = ?.- Specified by:
filterCountByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching password policies that the user has permission to view
-
findByCompanyId
Returns all the password policies where companyId = ?.- Specified by:
findByCompanyId
in interfacecom.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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPasswordPolicyModelImpl
.- Specified by:
findByCompanyId
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of password policiesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPasswordPolicyModelImpl
.- Specified by:
findByCompanyId
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching password policies
-
findByCompanyId
public List<com.liferay.portal.kernel.model.PasswordPolicy> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean useFinderCache) Returns an ordered range of all the password policies where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPasswordPolicyModelImpl
.- Specified by:
findByCompanyId
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching password policies
-
findByCompanyId_First
public com.liferay.portal.kernel.model.PasswordPolicy findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException Returns the first password policy in the ordered set where companyId = ?.- Specified by:
findByCompanyId_First
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
passwordPolicyId
- the primary key of the current password policycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Returns all the password policies that the user has permission to view where companyId = ?.- Specified by:
filterFindByCompanyId
in interfacecom.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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPasswordPolicyModelImpl
.- Specified by:
filterFindByCompanyId
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of password policiesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPasswordPolicyModelImpl
.- Specified by:
filterFindByCompanyId
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
passwordPolicyId
- the primary key of the current password policycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.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 interfacecom.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 interfacecom.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 aNoSuchPasswordPolicyException
if it could not be found.- Specified by:
findByC_DP
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
companyId
- the company IDdefaultPolicy
- 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 returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByC_DP
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
companyId
- the company IDdefaultPolicy
- the default policy- Returns:
- the matching password policy, or
null
if a matching password policy could not be found
-
fetchByC_DP
public com.liferay.portal.kernel.model.PasswordPolicy fetchByC_DP(long companyId, boolean defaultPolicy, boolean useFinderCache) Returns the password policy where companyId = ? and defaultPolicy = ? or returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByC_DP
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
companyId
- the company IDdefaultPolicy
- the default policyuseFinderCache
- whether to use the finder cache- Returns:
- the matching password policy, or
null
if a matching password policy could not be found
-
removeByC_DP
public com.liferay.portal.kernel.model.PasswordPolicy removeByC_DP(long companyId, boolean defaultPolicy) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException Removes the password policy where companyId = ? and defaultPolicy = ? from the database.- Specified by:
removeByC_DP
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
companyId
- the company IDdefaultPolicy
- 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 interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
companyId
- the company IDdefaultPolicy
- 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 aNoSuchPasswordPolicyException
if it could not be found.- Specified by:
findByC_N
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
companyId
- the company IDname
- 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
Returns the password policy where companyId = ? and name = ? or returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByC_N
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
companyId
- the company IDname
- the name- Returns:
- the matching password policy, or
null
if a matching password policy could not be found
-
fetchByC_N
public com.liferay.portal.kernel.model.PasswordPolicy fetchByC_N(long companyId, String name, boolean useFinderCache) Returns the password policy where companyId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByC_N
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
companyId
- the company IDname
- the nameuseFinderCache
- whether to use the finder cache- Returns:
- the matching password policy, or
null
if a matching password policy could not be found
-
removeByC_N
public com.liferay.portal.kernel.model.PasswordPolicy removeByC_N(long companyId, String name) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException Removes the password policy where companyId = ? and name = ? from the database.- Specified by:
removeByC_N
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
companyId
- the company IDname
- the name- Returns:
- the password policy that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
-
countByC_N
Returns the number of password policies where companyId = ? and name = ?.- Specified by:
countByC_N
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
companyId
- the company IDname
- 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 interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Overrides:
cacheResult
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
- Parameters:
passwordPolicy
- the password policy
-
cacheResult
Caches the password policies in the entity cache if it is enabled.- Specified by:
cacheResult
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
passwordPolicies
- the password policies
-
clearCache
public void clearCache()Clears the cache for all password policies.The
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>
- Overrides:
clearCache
in classcom.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
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
-
clearCache
- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
-
clearCache
- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>
-
cacheUniqueFindersCache
-
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 interfacecom.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 interfacecom.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 interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>
- Overrides:
remove
in classcom.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 classcom.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 interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Overrides:
updateImpl
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
-
findByPrimaryKey
public com.liferay.portal.kernel.model.PasswordPolicy findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException Returns the password policy with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>
- Overrides:
findByPrimaryKey
in classcom.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 aNoSuchPasswordPolicyException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
passwordPolicyId
- the primary key of the password policy- Returns:
- the password policy
- Throws:
com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
- if a password policy with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.portal.kernel.model.PasswordPolicy fetchByPrimaryKey(long passwordPolicyId) Returns the password policy with the primary key or returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
passwordPolicyId
- the primary key of the password policy- Returns:
- the password policy, or
null
if a password policy with the primary key could not be found
-
findAll
Returns all the password policies.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Returns:
- the password policies
-
findAll
Returns a range of all the password policies.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPasswordPolicyModelImpl
.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
start
- the lower bound of the range of password policiesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPasswordPolicyModelImpl
.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
start
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of password policies
-
findAll
public List<com.liferay.portal.kernel.model.PasswordPolicy> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator, boolean useFinderCache) Returns an ordered range of all the password policies.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPasswordPolicyModelImpl
.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Parameters:
start
- the lower bound of the range of password policiesend
- the upper bound of the range of password policies (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of password policies
-
removeAll
public void removeAll()Removes all the password policies from the database.- Specified by:
removeAll
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
-
countAll
public int countAll()Returns the number of password policies.- Specified by:
countAll
in interfacecom.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence
- Returns:
- the number of password policies
-
getBadColumnNames
- Specified by:
getBadColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>
- Overrides:
getBadColumnNames
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
-
getPKDBName
- Overrides:
getPKDBName
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
-
getSelectSQL
- Overrides:
getSelectSQL
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
-
getTableColumnsMap
- Overrides:
getTableColumnsMap
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the password policy persistence. -
destroy
public void destroy() -
getFinderCache
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()- Overrides:
getFinderCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>
-