@ProviderType
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
PasswordPolicyRelPersistence
,
PasswordPolicyRelUtil
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.service.persistence.CompanyProvider |
companyProvider |
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_PASSWORDPOLICYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_C_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_PASSWORDPOLICYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PASSWORDPOLICYID |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, FINDER_ARGS_EMPTY, listeners, 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.
|
protected void |
clearUniqueFindersCache(PasswordPolicyRelModelImpl passwordPolicyRelModelImpl,
boolean clearCurrent) |
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 retrieveFromCache)
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. |
com.liferay.portal.kernel.model.PasswordPolicyRel |
fetchByPrimaryKey(Serializable primaryKey)
Returns the password policy rel with the primary key or returns
null if it could not be found. |
Map<Serializable,com.liferay.portal.kernel.model.PasswordPolicyRel> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
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 retrieveFromCache)
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 retrieveFromCache)
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
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 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, appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, 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 static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PASSWORDPOLICYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PASSWORDPOLICYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_PASSWORDPOLICYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_C
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyRelModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyRelModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyRelModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)retrieveFromCache
- whether to retrieve from 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 retrieveFromCache)
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 pkretrieveFromCache
- whether to retrieve from 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
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>
protected void cacheUniqueFindersCache(PasswordPolicyRelModelImpl passwordPolicyRelModelImpl)
protected void clearUniqueFindersCache(PasswordPolicyRelModelImpl passwordPolicyRelModelImpl, boolean clearCurrent)
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
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(Serializable primaryKey)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicyRel>
fetchByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicyRel>
primaryKey
- the primary key of the password policy relnull
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 Map<Serializable,com.liferay.portal.kernel.model.PasswordPolicyRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PasswordPolicyRel>
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence
fetchByPrimaryKeys
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PasswordPolicyRel>
public 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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyRelModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyRelModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from PasswordPolicyRelModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)retrieveFromCache
- whether to retrieve from 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 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()