public class PasswordPolicyRelPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicyRel>
implements com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
Caching information and settings can be found in portal.properties
Modifier and Type | Field and Description |
---|---|
static String |
FINDER_CLASS_NAME_ENTITY |
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, 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 and Description |
---|
PasswordPolicyRelPersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Initializes the password policy rel persistence.
|
void |
cacheResult(List<com.liferay.portal.kernel.model.PasswordPolicyRel> passwordPolicyRels)
Caches the password policy rels in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.portal.kernel.model.PasswordPolicyRel passwordPolicyRel)
Caches the password policy rel in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(PasswordPolicyRelModelImpl passwordPolicyRelModelImpl) |
void |
clearCache()
Clears the cache for all password policy rels.
|
void |
clearCache(List<com.liferay.portal.kernel.model.PasswordPolicyRel> passwordPolicyRels) |
void |
clearCache(com.liferay.portal.kernel.model.PasswordPolicyRel passwordPolicyRel)
Clears the cache for the password policy rel.
|
void |
clearCache(Set<Serializable> primaryKeys) |
int |
countAll()
Returns the number of password policy rels.
|
int |
countByC_C(long classNameId,
long classPK)
Returns the number of password policy rels where classNameId = ? and classPK = ?.
|
int |
countByPasswordPolicyId(long passwordPolicyId)
Returns the number of password policy rels where passwordPolicyId = ?.
|
com.liferay.portal.kernel.model.PasswordPolicyRel |
create(long passwordPolicyRelId)
Creates a new password policy rel with the primary key.
|
void |
destroy() |
com.liferay.portal.kernel.model.PasswordPolicyRel |
fetchByC_C(long classNameId,
long classPK)
Returns the password policy rel where classNameId = ? and classPK = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.PasswordPolicyRel |
fetchByC_C(long classNameId,
long classPK,
boolean useFinderCache)
Returns the password policy rel where classNameId = ? and classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.PasswordPolicyRel |
fetchByPasswordPolicyId_First(long passwordPolicyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicyRel> orderByComparator)
Returns the first password policy rel in the ordered set where passwordPolicyId = ?.
|
com.liferay.portal.kernel.model.PasswordPolicyRel |
fetchByPasswordPolicyId_Last(long passwordPolicyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicyRel> orderByComparator)
Returns the last password policy rel in the ordered set where passwordPolicyId = ?.
|
com.liferay.portal.kernel.model.PasswordPolicyRel |
fetchByPrimaryKey(long passwordPolicyRelId)
Returns the password policy rel with the primary key or returns
null if it could not be found. |
List<com.liferay.portal.kernel.model.PasswordPolicyRel> |
findAll()
Returns all the password policy rels.
|
List<com.liferay.portal.kernel.model.PasswordPolicyRel> |
findAll(int start,
int end)
Returns a range of all the password policy rels.
|
List<com.liferay.portal.kernel.model.PasswordPolicyRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicyRel> orderByComparator)
Returns an ordered range of all the password policy rels.
|
List<com.liferay.portal.kernel.model.PasswordPolicyRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicyRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the password policy rels.
|
com.liferay.portal.kernel.model.PasswordPolicyRel |
findByC_C(long classNameId,
long classPK)
Returns the password policy rel where classNameId = ? and classPK = ? or throws a
NoSuchPasswordPolicyRelException if it could not be found. |
com.liferay.portal.kernel.model.PasswordPolicyRel |
findByPasswordPolicyId_First(long passwordPolicyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicyRel> orderByComparator)
Returns the first password policy rel in the ordered set where passwordPolicyId = ?.
|
com.liferay.portal.kernel.model.PasswordPolicyRel |
findByPasswordPolicyId_Last(long passwordPolicyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicyRel> orderByComparator)
Returns the last password policy rel in the ordered set where passwordPolicyId = ?.
|
com.liferay.portal.kernel.model.PasswordPolicyRel[] |
findByPasswordPolicyId_PrevAndNext(long passwordPolicyRelId,
long passwordPolicyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicyRel> orderByComparator)
Returns the password policy rels before and after the current password policy rel in the ordered set where passwordPolicyId = ?.
|
List<com.liferay.portal.kernel.model.PasswordPolicyRel> |
findByPasswordPolicyId(long passwordPolicyId)
Returns all the password policy rels where passwordPolicyId = ?.
|
List<com.liferay.portal.kernel.model.PasswordPolicyRel> |
findByPasswordPolicyId(long passwordPolicyId,
int start,
int end)
Returns a range of all the password policy rels where passwordPolicyId = ?.
|
List<com.liferay.portal.kernel.model.PasswordPolicyRel> |
findByPasswordPolicyId(long passwordPolicyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicyRel> orderByComparator)
Returns an ordered range of all the password policy rels where passwordPolicyId = ?.
|
List<com.liferay.portal.kernel.model.PasswordPolicyRel> |
findByPasswordPolicyId(long passwordPolicyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicyRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the password policy rels where passwordPolicyId = ?.
|
com.liferay.portal.kernel.model.PasswordPolicyRel |
findByPrimaryKey(long passwordPolicyRelId)
Returns the password policy rel with the primary key or throws a
NoSuchPasswordPolicyRelException if it could not be found. |
com.liferay.portal.kernel.model.PasswordPolicyRel |
findByPrimaryKey(Serializable primaryKey)
Returns the password policy rel with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
protected com.liferay.portal.kernel.model.PasswordPolicyRel |
getByPasswordPolicyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.PasswordPolicyRel passwordPolicyRel,
long passwordPolicyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicyRel> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
protected com.liferay.portal.kernel.dao.orm.FinderCache |
getFinderCache() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.portal.kernel.model.PasswordPolicyRel |
remove(long passwordPolicyRelId)
Removes the password policy rel with the primary key from the database.
|
com.liferay.portal.kernel.model.PasswordPolicyRel |
remove(Serializable primaryKey)
Removes the password policy rel with the primary key from the database.
|
void |
removeAll()
Removes all the password policy rels from the database.
|
com.liferay.portal.kernel.model.PasswordPolicyRel |
removeByC_C(long classNameId,
long classPK)
Removes the password policy rel where classNameId = ? and classPK = ? from the database.
|
void |
removeByPasswordPolicyId(long passwordPolicyId)
Removes all the password policy rels where passwordPolicyId = ? from the database.
|
protected com.liferay.portal.kernel.model.PasswordPolicyRel |
removeImpl(com.liferay.portal.kernel.model.PasswordPolicyRel passwordPolicyRel) |
com.liferay.portal.kernel.model.PasswordPolicyRel |
updateImpl(com.liferay.portal.kernel.model.PasswordPolicyRel passwordPolicyRel) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
public static final String FINDER_CLASS_NAME_ENTITY
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.PasswordPolicyRel> findByPasswordPolicyId(long passwordPolicyId)
findByPasswordPolicyId
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
passwordPolicyId
- the password policy IDpublic List<com.liferay.portal.kernel.model.PasswordPolicyRel> findByPasswordPolicyId(long passwordPolicyId, 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 PasswordPolicyRelModelImpl
.
findByPasswordPolicyId
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
passwordPolicyId
- the password policy IDstart
- the lower bound of the range of password policy relsend
- the upper bound of the range of password policy rels (not inclusive)public List<com.liferay.portal.kernel.model.PasswordPolicyRel> findByPasswordPolicyId(long passwordPolicyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicyRel> 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 PasswordPolicyRelModelImpl
.
findByPasswordPolicyId
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
passwordPolicyId
- the password policy IDstart
- the lower bound of the range of password policy relsend
- the upper bound of the range of password policy rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.PasswordPolicyRel> findByPasswordPolicyId(long passwordPolicyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicyRel> 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 PasswordPolicyRelModelImpl
.
findByPasswordPolicyId
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
passwordPolicyId
- the password policy IDstart
- the lower bound of the range of password policy relsend
- the upper bound of the range of password policy rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.PasswordPolicyRel findByPasswordPolicyId_First(long passwordPolicyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicyRel> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyRelException
findByPasswordPolicyId_First
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
passwordPolicyId
- the password policy IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchPasswordPolicyRelException
- if a matching password policy rel could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicyRel fetchByPasswordPolicyId_First(long passwordPolicyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicyRel> orderByComparator)
fetchByPasswordPolicyId_First
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
passwordPolicyId
- the password policy IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching password policy rel could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicyRel findByPasswordPolicyId_Last(long passwordPolicyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicyRel> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyRelException
findByPasswordPolicyId_Last
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
passwordPolicyId
- the password policy IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchPasswordPolicyRelException
- if a matching password policy rel could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicyRel fetchByPasswordPolicyId_Last(long passwordPolicyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicyRel> orderByComparator)
fetchByPasswordPolicyId_Last
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
passwordPolicyId
- the password policy IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching password policy rel could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicyRel[] findByPasswordPolicyId_PrevAndNext(long passwordPolicyRelId, long passwordPolicyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicyRel> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyRelException
findByPasswordPolicyId_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
passwordPolicyRelId
- the primary key of the current password policy relpasswordPolicyId
- the password policy IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchPasswordPolicyRelException
- if a password policy rel with the primary key could not be foundprotected com.liferay.portal.kernel.model.PasswordPolicyRel getByPasswordPolicyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PasswordPolicyRel passwordPolicyRel, long passwordPolicyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicyRel> orderByComparator, boolean previous)
public void removeByPasswordPolicyId(long passwordPolicyId)
removeByPasswordPolicyId
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
passwordPolicyId
- the password policy IDpublic int countByPasswordPolicyId(long passwordPolicyId)
countByPasswordPolicyId
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
passwordPolicyId
- the password policy IDpublic com.liferay.portal.kernel.model.PasswordPolicyRel findByC_C(long classNameId, long classPK) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyRelException
NoSuchPasswordPolicyRelException
if it could not be found.findByC_C
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
classNameId
- the class name IDclassPK
- the class pkcom.liferay.portal.kernel.exception.NoSuchPasswordPolicyRelException
- if a matching password policy rel could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicyRel fetchByC_C(long classNameId, long classPK)
null
if it could not be found. Uses the finder cache.fetchByC_C
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
classNameId
- the class name IDclassPK
- the class pknull
if a matching password policy rel could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicyRel fetchByC_C(long classNameId, long classPK, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.fetchByC_C
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
classNameId
- the class name IDclassPK
- the class pkuseFinderCache
- whether to use the finder cachenull
if a matching password policy rel could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicyRel removeByC_C(long classNameId, long classPK) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyRelException
removeByC_C
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
classNameId
- the class name IDclassPK
- the class pkcom.liferay.portal.kernel.exception.NoSuchPasswordPolicyRelException
public int countByC_C(long classNameId, long classPK)
countByC_C
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
classNameId
- the class name IDclassPK
- the class pkpublic void cacheResult(com.liferay.portal.kernel.model.PasswordPolicyRel passwordPolicyRel)
cacheResult
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
cacheResult
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicyRel>
passwordPolicyRel
- the password policy relpublic void cacheResult(List<com.liferay.portal.kernel.model.PasswordPolicyRel> passwordPolicyRels)
cacheResult
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
passwordPolicyRels
- the password policy relspublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicyRel>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicyRel>
public void clearCache(com.liferay.portal.kernel.model.PasswordPolicyRel passwordPolicyRel)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicyRel>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicyRel>
public void clearCache(List<com.liferay.portal.kernel.model.PasswordPolicyRel> passwordPolicyRels)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicyRel>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicyRel>
public void clearCache(Set<Serializable> primaryKeys)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicyRel>
protected void cacheUniqueFindersCache(PasswordPolicyRelModelImpl passwordPolicyRelModelImpl)
public com.liferay.portal.kernel.model.PasswordPolicyRel create(long passwordPolicyRelId)
create
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
passwordPolicyRelId
- the primary key for the new password policy relpublic com.liferay.portal.kernel.model.PasswordPolicyRel remove(long passwordPolicyRelId) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyRelException
remove
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
passwordPolicyRelId
- the primary key of the password policy relcom.liferay.portal.kernel.exception.NoSuchPasswordPolicyRelException
- if a password policy rel with the primary key could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicyRel remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyRelException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicyRel>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicyRel>
primaryKey
- the primary key of the password policy relcom.liferay.portal.kernel.exception.NoSuchPasswordPolicyRelException
- if a password policy rel with the primary key could not be foundprotected com.liferay.portal.kernel.model.PasswordPolicyRel removeImpl(com.liferay.portal.kernel.model.PasswordPolicyRel passwordPolicyRel)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicyRel>
public com.liferay.portal.kernel.model.PasswordPolicyRel updateImpl(com.liferay.portal.kernel.model.PasswordPolicyRel passwordPolicyRel)
updateImpl
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicyRel>
public com.liferay.portal.kernel.model.PasswordPolicyRel findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyRelException
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.PasswordPolicyRel>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicyRel>
primaryKey
- the primary key of the password policy relcom.liferay.portal.kernel.exception.NoSuchPasswordPolicyRelException
- if a password policy rel with the primary key could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicyRel findByPrimaryKey(long passwordPolicyRelId) throws com.liferay.portal.kernel.exception.NoSuchPasswordPolicyRelException
NoSuchPasswordPolicyRelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
passwordPolicyRelId
- the primary key of the password policy relcom.liferay.portal.kernel.exception.NoSuchPasswordPolicyRelException
- if a password policy rel with the primary key could not be foundpublic com.liferay.portal.kernel.model.PasswordPolicyRel fetchByPrimaryKey(long passwordPolicyRelId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
passwordPolicyRelId
- the primary key of the password policy relnull
if a password policy rel with the primary key could not be foundpublic List<com.liferay.portal.kernel.model.PasswordPolicyRel> findAll()
findAll
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
public List<com.liferay.portal.kernel.model.PasswordPolicyRel> 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 PasswordPolicyRelModelImpl
.
findAll
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
start
- the lower bound of the range of password policy relsend
- the upper bound of the range of password policy rels (not inclusive)public List<com.liferay.portal.kernel.model.PasswordPolicyRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicyRel> 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 PasswordPolicyRelModelImpl
.
findAll
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
start
- the lower bound of the range of password policy relsend
- the upper bound of the range of password policy rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.PasswordPolicyRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PasswordPolicyRel> 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 PasswordPolicyRelModelImpl
.
findAll
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
start
- the lower bound of the range of password policy relsend
- the upper bound of the range of password policy rels (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.PasswordPolicyRelPersistence
public int countAll()
countAll
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
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.PasswordPolicyRel>
protected String getPKDBName()
getPKDBName
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicyRel>
protected String getSelectSQL()
getSelectSQL
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicyRel>
protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicyRel>
public void afterPropertiesSet()
public void destroy()
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()
getFinderCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicyRel>