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
Caching information and settings can be found in portal.properties
| Modifier and Type | Field and Description |
|---|---|
static String |
FINDER_CLASS_NAME_ENTITY
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, 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 and Description |
|---|
PasswordPolicyPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
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) |
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,
boolean clearCurrent) |
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 useFinderCache)
Returns the password policy where companyId = ? and defaultPolicy = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.PasswordPolicy |
fetchByC_N(long companyId,
String name)
Returns the password policy where companyId = ? and name = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.PasswordPolicy |
fetchByC_N(long companyId,
String name,
boolean useFinderCache)
Returns the password policy where companyId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.PasswordPolicy |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
Returns the first password policy in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.PasswordPolicy |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
Returns the last password policy in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.PasswordPolicy |
fetchByPrimaryKey(long passwordPolicyId)
Returns the password policy with the primary key or returns
null if it could not be found. |
com.liferay.portal.kernel.model.PasswordPolicy |
fetchByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
Returns the first password policy in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.PasswordPolicy |
fetchByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
Returns the last password policy in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.PasswordPolicy |
fetchByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
Returns the first password policy in the ordered set where uuid = ?.
|
com.liferay.portal.kernel.model.PasswordPolicy |
fetchByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
Returns the last password policy in the ordered set where uuid = ?.
|
int |
filterCountByCompanyId(long companyId)
Returns the number of password policies that the user has permission to view where companyId = ?.
|
int |
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 useFinderCache)
Returns an ordered range of all the password policies.
|
com.liferay.portal.kernel.model.PasswordPolicy |
findByC_DP(long companyId,
boolean defaultPolicy)
Returns the password policy where companyId = ? and defaultPolicy = ? or throws a
NoSuchPasswordPolicyException if it could not be found. |
com.liferay.portal.kernel.model.PasswordPolicy |
findByC_N(long companyId,
String name)
Returns the password policy where companyId = ? and name = ? or throws a
NoSuchPasswordPolicyException if it could not be found. |
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 useFinderCache)
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
com.liferay.portal.kernel.exception.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 useFinderCache)
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 useFinderCache)
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 com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
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) |
com.liferay.portal.kernel.model.PasswordPolicy |
updateImpl(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy) |
appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic static final String FINDER_CLASS_NAME_ENTITY
PasswordPolicyUtil to access the password policy persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class.public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public List<com.liferay.portal.kernel.model.PasswordPolicy> findByUuid(String uuid)
findByUuid in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - the uuidpublic List<com.liferay.portal.kernel.model.PasswordPolicy> findByUuid(String uuid,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.
findByUuid in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - the uuidstart - the lower bound of the range of password policiesend - the upper bound of the range of password policies (not inclusive)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.
findByUuid in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - 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 (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.
findByUuid in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - 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 (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByUuid_First in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a matching password policy could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicy fetchByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
fetchByUuid_First in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching password policy could not be foundpublic 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
findByUuid_Last in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a matching password policy could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicy fetchByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
fetchByUuid_Last in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching password policy could not be foundpublic 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
findByUuid_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencepasswordPolicyId - the primary key of the current password policyuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a password policy with the primary key could not be foundprotected 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)
public List<com.liferay.portal.kernel.model.PasswordPolicy> filterFindByUuid(String uuid)
filterFindByUuid in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - the uuidpublic List<com.liferay.portal.kernel.model.PasswordPolicy> filterFindByUuid(String uuid,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.
filterFindByUuid in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - the uuidstart - the lower bound of the range of password policiesend - the upper bound of the range of password policies (not inclusive)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.
filterFindByUuid in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - 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 (optionally null)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
filterFindByUuid_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencepasswordPolicyId - the primary key of the current password policyuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a password policy with the primary key could not be foundprotected 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)
public void removeByUuid(String uuid)
removeByUuid in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - the uuidpublic int countByUuid(String uuid)
countByUuid in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - the uuidpublic int filterCountByUuid(String uuid)
filterCountByUuid in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - the uuidpublic List<com.liferay.portal.kernel.model.PasswordPolicy> findByUuid_C(String uuid,
long companyId)
findByUuid_C in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - the uuidcompanyId - the company IDpublic List<com.liferay.portal.kernel.model.PasswordPolicy> findByUuid_C(String uuid,
long companyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.
findByUuid_C in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - 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)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.
findByUuid_C in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - 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 (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.
findByUuid_C in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - 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 (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByUuid_C_First in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a matching password policy could not be foundpublic 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)
fetchByUuid_C_First in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching password policy could not be foundpublic 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
findByUuid_C_Last in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a matching password policy could not be foundpublic 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)
fetchByUuid_C_Last in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching password policy could not be foundpublic 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
findByUuid_C_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencepasswordPolicyId - the primary key of the current password policyuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a password policy with the primary key could not be foundprotected 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)
public List<com.liferay.portal.kernel.model.PasswordPolicy> filterFindByUuid_C(String uuid,
long companyId)
filterFindByUuid_C in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - the uuidcompanyId - the company IDpublic List<com.liferay.portal.kernel.model.PasswordPolicy> filterFindByUuid_C(String uuid,
long companyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.
filterFindByUuid_C in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - 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)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.
filterFindByUuid_C in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - 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 (optionally null)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
filterFindByUuid_C_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencepasswordPolicyId - the primary key of the current password policyuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a password policy with the primary key could not be foundprotected 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)
public void removeByUuid_C(String uuid,
long companyId)
removeByUuid_C in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - the uuidcompanyId - the company IDpublic int countByUuid_C(String uuid,
long companyId)
countByUuid_C in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - the uuidcompanyId - the company IDpublic int filterCountByUuid_C(String uuid,
long companyId)
filterCountByUuid_C in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceuuid - the uuidcompanyId - the company IDpublic List<com.liferay.portal.kernel.model.PasswordPolicy> findByCompanyId(long companyId)
findByCompanyId in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - the company IDpublic List<com.liferay.portal.kernel.model.PasswordPolicy> findByCompanyId(long companyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.
findByCompanyId in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - the company IDstart - the lower bound of the range of password policiesend - the upper bound of the range of password policies (not inclusive)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.
findByCompanyId in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - 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 (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.
findByCompanyId in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - 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 (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByCompanyId_First in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a matching password policy could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicy fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
fetchByCompanyId_First in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching password policy could not be foundpublic 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
findByCompanyId_Last in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a matching password policy could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicy fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicy> orderByComparator)
fetchByCompanyId_Last in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching password policy could not be foundpublic 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
findByCompanyId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencepasswordPolicyId - the primary key of the current password policycompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a password policy with the primary key could not be foundprotected 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)
public List<com.liferay.portal.kernel.model.PasswordPolicy> filterFindByCompanyId(long companyId)
filterFindByCompanyId in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - the company IDpublic List<com.liferay.portal.kernel.model.PasswordPolicy> filterFindByCompanyId(long companyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.
filterFindByCompanyId in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - the company IDstart - the lower bound of the range of password policiesend - the upper bound of the range of password policies (not inclusive)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.
filterFindByCompanyId in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - 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 (optionally null)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
filterFindByCompanyId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencepasswordPolicyId - the primary key of the current password policycompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a password policy with the primary key could not be foundprotected 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)
public void removeByCompanyId(long companyId)
removeByCompanyId in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - the company IDpublic int filterCountByCompanyId(long companyId)
filterCountByCompanyId in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - the company IDpublic com.liferay.portal.kernel.model.PasswordPolicy findByC_DP(long companyId,
boolean defaultPolicy)
throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
NoSuchPasswordPolicyException if it could not be found.findByC_DP in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - the company IDdefaultPolicy - the default policycom.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a matching password policy could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicy fetchByC_DP(long companyId,
boolean defaultPolicy)
null if it could not be found. Uses the finder cache.fetchByC_DP in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - the company IDdefaultPolicy - the default policynull if a matching password policy could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicy fetchByC_DP(long companyId,
boolean defaultPolicy,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_DP in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - the company IDdefaultPolicy - the default policyuseFinderCache - whether to use the finder cachenull if a matching password policy could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicy removeByC_DP(long companyId,
boolean defaultPolicy)
throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
removeByC_DP in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - the company IDdefaultPolicy - the default policycom.liferay.portal.kernel.exception.NoSuchPasswordPolicyExceptionpublic int countByC_DP(long companyId,
boolean defaultPolicy)
countByC_DP in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - the company IDdefaultPolicy - the default policypublic com.liferay.portal.kernel.model.PasswordPolicy findByC_N(long companyId,
String name)
throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
NoSuchPasswordPolicyException if it could not be found.findByC_N in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - the company IDname - the namecom.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a matching password policy could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicy fetchByC_N(long companyId,
String name)
null if it could not be found. Uses the finder cache.fetchByC_N in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - the company IDname - the namenull if a matching password policy could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicy fetchByC_N(long companyId,
String name,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_N in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - the company IDname - the nameuseFinderCache - whether to use the finder cachenull if a matching password policy could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicy removeByC_N(long companyId,
String name)
throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
removeByC_N in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - the company IDname - the namecom.liferay.portal.kernel.exception.NoSuchPasswordPolicyExceptionpublic int countByC_N(long companyId,
String name)
countByC_N in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecompanyId - the company IDname - the namepublic void cacheResult(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy)
cacheResult in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencecacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>passwordPolicy - the password policypublic void cacheResult(List<com.liferay.portal.kernel.model.PasswordPolicy> passwordPolicies)
cacheResult in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencepasswordPolicies - the password policiespublic void clearCache()
The EntityCache and com.liferay.portal.kernel.dao.orm.FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>public void clearCache(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy)
The EntityCache and com.liferay.portal.kernel.dao.orm.FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>public void clearCache(List<com.liferay.portal.kernel.model.PasswordPolicy> passwordPolicies)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>protected void cacheUniqueFindersCache(PasswordPolicyModelImpl passwordPolicyModelImpl)
protected void clearUniqueFindersCache(PasswordPolicyModelImpl passwordPolicyModelImpl, boolean clearCurrent)
public com.liferay.portal.kernel.model.PasswordPolicy create(long passwordPolicyId)
create in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencepasswordPolicyId - the primary key for the new password policypublic com.liferay.portal.kernel.model.PasswordPolicy remove(long passwordPolicyId)
throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
remove in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencepasswordPolicyId - the primary key of the password policycom.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a password policy with the primary key could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicy remove(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>primaryKey - the primary key of the password policycom.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a password policy with the primary key could not be foundprotected com.liferay.portal.kernel.model.PasswordPolicy removeImpl(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>public com.liferay.portal.kernel.model.PasswordPolicy updateImpl(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy)
updateImpl in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>public com.liferay.portal.kernel.model.PasswordPolicy findByPrimaryKey(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>primaryKey - the primary key of the password policycom.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a password policy with the primary key could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicy findByPrimaryKey(long passwordPolicyId)
throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyException
NoSuchPasswordPolicyException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencepasswordPolicyId - the primary key of the password policycom.liferay.portal.kernel.exception.NoSuchPasswordPolicyException - if a password policy with the primary key could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicy fetchByPrimaryKey(long passwordPolicyId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencepasswordPolicyId - the primary key of the password policynull if a password policy with the primary key could not be foundpublic List<com.liferay.portal.kernel.model.PasswordPolicy> findAll()
findAll in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencepublic List<com.liferay.portal.kernel.model.PasswordPolicy> findAll(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencestart - the lower bound of the range of password policiesend - the upper bound of the range of password policies (not inclusive)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencestart - 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 (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PasswordPolicyModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencestart - 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 (optionally null)useFinderCache - whether to use the finder cachepublic void removeAll()
removeAll in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencepublic int countAll()
countAll in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistencepublic Set<String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicy>getBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>protected String getPKDBName()
getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>protected String getSelectSQL()
getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicy>public void afterPropertiesSet()
public void destroy()