public class RegionLocalizationPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RegionLocalization>
implements com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistence
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 |
|---|
RegionLocalizationPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the region localization persistence.
|
void |
cacheResult(List<com.liferay.portal.kernel.model.RegionLocalization> regionLocalizations)
Caches the region localizations in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.portal.kernel.model.RegionLocalization regionLocalization)
Caches the region localization in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(RegionLocalizationModelImpl regionLocalizationModelImpl) |
void |
clearCache()
Clears the cache for all region localizations.
|
void |
clearCache(List<com.liferay.portal.kernel.model.RegionLocalization> regionLocalizations) |
void |
clearCache(com.liferay.portal.kernel.model.RegionLocalization regionLocalization)
Clears the cache for the region localization.
|
void |
clearCache(Set<Serializable> primaryKeys) |
int |
countAll()
Returns the number of region localizations.
|
int |
countByRegionId_LanguageId(long regionId,
String languageId)
Returns the number of region localizations where regionId = ? and languageId = ?.
|
int |
countByRegionId(long regionId)
Returns the number of region localizations where regionId = ?.
|
com.liferay.portal.kernel.model.RegionLocalization |
create(long regionLocalizationId)
Creates a new region localization with the primary key.
|
void |
destroy() |
com.liferay.portal.kernel.model.RegionLocalization |
fetchByPrimaryKey(long regionLocalizationId)
Returns the region localization with the primary key or returns
null if it could not be found. |
com.liferay.portal.kernel.model.RegionLocalization |
fetchByRegionId_First(long regionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RegionLocalization> orderByComparator)
Returns the first region localization in the ordered set where regionId = ?.
|
com.liferay.portal.kernel.model.RegionLocalization |
fetchByRegionId_LanguageId(long regionId,
String languageId)
Returns the region localization where regionId = ? and languageId = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.RegionLocalization |
fetchByRegionId_LanguageId(long regionId,
String languageId,
boolean useFinderCache)
Returns the region localization where regionId = ? and languageId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.RegionLocalization |
fetchByRegionId_Last(long regionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RegionLocalization> orderByComparator)
Returns the last region localization in the ordered set where regionId = ?.
|
List<com.liferay.portal.kernel.model.RegionLocalization> |
findAll()
Returns all the region localizations.
|
List<com.liferay.portal.kernel.model.RegionLocalization> |
findAll(int start,
int end)
Returns a range of all the region localizations.
|
List<com.liferay.portal.kernel.model.RegionLocalization> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RegionLocalization> orderByComparator)
Returns an ordered range of all the region localizations.
|
List<com.liferay.portal.kernel.model.RegionLocalization> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RegionLocalization> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the region localizations.
|
com.liferay.portal.kernel.model.RegionLocalization |
findByPrimaryKey(long regionLocalizationId)
Returns the region localization with the primary key or throws a
NoSuchRegionLocalizationException if it could not be found. |
com.liferay.portal.kernel.model.RegionLocalization |
findByPrimaryKey(Serializable primaryKey)
Returns the region localization with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
com.liferay.portal.kernel.model.RegionLocalization |
findByRegionId_First(long regionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RegionLocalization> orderByComparator)
Returns the first region localization in the ordered set where regionId = ?.
|
com.liferay.portal.kernel.model.RegionLocalization |
findByRegionId_LanguageId(long regionId,
String languageId)
Returns the region localization where regionId = ? and languageId = ? or throws a
NoSuchRegionLocalizationException if it could not be found. |
com.liferay.portal.kernel.model.RegionLocalization |
findByRegionId_Last(long regionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RegionLocalization> orderByComparator)
Returns the last region localization in the ordered set where regionId = ?.
|
com.liferay.portal.kernel.model.RegionLocalization[] |
findByRegionId_PrevAndNext(long regionLocalizationId,
long regionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RegionLocalization> orderByComparator)
Returns the region localizations before and after the current region localization in the ordered set where regionId = ?.
|
List<com.liferay.portal.kernel.model.RegionLocalization> |
findByRegionId(long regionId)
Returns all the region localizations where regionId = ?.
|
List<com.liferay.portal.kernel.model.RegionLocalization> |
findByRegionId(long regionId,
int start,
int end)
Returns a range of all the region localizations where regionId = ?.
|
List<com.liferay.portal.kernel.model.RegionLocalization> |
findByRegionId(long regionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RegionLocalization> orderByComparator)
Returns an ordered range of all the region localizations where regionId = ?.
|
List<com.liferay.portal.kernel.model.RegionLocalization> |
findByRegionId(long regionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RegionLocalization> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the region localizations where regionId = ?.
|
protected com.liferay.portal.kernel.model.RegionLocalization |
getByRegionId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.RegionLocalization regionLocalization,
long regionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RegionLocalization> 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.RegionLocalization |
remove(long regionLocalizationId)
Removes the region localization with the primary key from the database.
|
com.liferay.portal.kernel.model.RegionLocalization |
remove(Serializable primaryKey)
Removes the region localization with the primary key from the database.
|
void |
removeAll()
Removes all the region localizations from the database.
|
com.liferay.portal.kernel.model.RegionLocalization |
removeByRegionId_LanguageId(long regionId,
String languageId)
Removes the region localization where regionId = ? and languageId = ? from the database.
|
void |
removeByRegionId(long regionId)
Removes all the region localizations where regionId = ? from the database.
|
protected com.liferay.portal.kernel.model.RegionLocalization |
removeImpl(com.liferay.portal.kernel.model.RegionLocalization regionLocalization) |
com.liferay.portal.kernel.model.RegionLocalization |
updateImpl(com.liferay.portal.kernel.model.RegionLocalization regionLocalization) |
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, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic 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.RegionLocalization> findByRegionId(long regionId)
findByRegionId in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceregionId - the region IDpublic List<com.liferay.portal.kernel.model.RegionLocalization> findByRegionId(long regionId,
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 RegionLocalizationModelImpl.
findByRegionId in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceregionId - the region IDstart - the lower bound of the range of region localizationsend - the upper bound of the range of region localizations (not inclusive)public List<com.liferay.portal.kernel.model.RegionLocalization> findByRegionId(long regionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RegionLocalization> 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 RegionLocalizationModelImpl.
findByRegionId in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceregionId - the region IDstart - the lower bound of the range of region localizationsend - the upper bound of the range of region localizations (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.RegionLocalization> findByRegionId(long regionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RegionLocalization> 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 RegionLocalizationModelImpl.
findByRegionId in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceregionId - the region IDstart - the lower bound of the range of region localizationsend - the upper bound of the range of region localizations (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.RegionLocalization findByRegionId_First(long regionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RegionLocalization> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchRegionLocalizationException
findByRegionId_First in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceregionId - the region IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchRegionLocalizationException - if a matching region localization could not be foundpublic com.liferay.portal.kernel.model.RegionLocalization fetchByRegionId_First(long regionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RegionLocalization> orderByComparator)
fetchByRegionId_First in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceregionId - the region IDorderByComparator - the comparator to order the set by (optionally null)null if a matching region localization could not be foundpublic com.liferay.portal.kernel.model.RegionLocalization findByRegionId_Last(long regionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RegionLocalization> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchRegionLocalizationException
findByRegionId_Last in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceregionId - the region IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchRegionLocalizationException - if a matching region localization could not be foundpublic com.liferay.portal.kernel.model.RegionLocalization fetchByRegionId_Last(long regionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RegionLocalization> orderByComparator)
fetchByRegionId_Last in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceregionId - the region IDorderByComparator - the comparator to order the set by (optionally null)null if a matching region localization could not be foundpublic com.liferay.portal.kernel.model.RegionLocalization[] findByRegionId_PrevAndNext(long regionLocalizationId,
long regionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RegionLocalization> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchRegionLocalizationException
findByRegionId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceregionLocalizationId - the primary key of the current region localizationregionId - the region IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchRegionLocalizationException - if a region localization with the primary key could not be foundprotected com.liferay.portal.kernel.model.RegionLocalization getByRegionId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.RegionLocalization regionLocalization,
long regionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RegionLocalization> orderByComparator,
boolean previous)
public void removeByRegionId(long regionId)
removeByRegionId in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceregionId - the region IDpublic int countByRegionId(long regionId)
countByRegionId in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceregionId - the region IDpublic com.liferay.portal.kernel.model.RegionLocalization findByRegionId_LanguageId(long regionId,
String languageId)
throws com.liferay.portal.kernel.exception.NoSuchRegionLocalizationException
NoSuchRegionLocalizationException if it could not be found.findByRegionId_LanguageId in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceregionId - the region IDlanguageId - the language IDcom.liferay.portal.kernel.exception.NoSuchRegionLocalizationException - if a matching region localization could not be foundpublic com.liferay.portal.kernel.model.RegionLocalization fetchByRegionId_LanguageId(long regionId,
String languageId)
null if it could not be found. Uses the finder cache.fetchByRegionId_LanguageId in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceregionId - the region IDlanguageId - the language IDnull if a matching region localization could not be foundpublic com.liferay.portal.kernel.model.RegionLocalization fetchByRegionId_LanguageId(long regionId,
String languageId,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByRegionId_LanguageId in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceregionId - the region IDlanguageId - the language IDuseFinderCache - whether to use the finder cachenull if a matching region localization could not be foundpublic com.liferay.portal.kernel.model.RegionLocalization removeByRegionId_LanguageId(long regionId,
String languageId)
throws com.liferay.portal.kernel.exception.NoSuchRegionLocalizationException
removeByRegionId_LanguageId in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceregionId - the region IDlanguageId - the language IDcom.liferay.portal.kernel.exception.NoSuchRegionLocalizationExceptionpublic int countByRegionId_LanguageId(long regionId,
String languageId)
countByRegionId_LanguageId in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceregionId - the region IDlanguageId - the language IDpublic void cacheResult(com.liferay.portal.kernel.model.RegionLocalization regionLocalization)
cacheResult in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistencecacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RegionLocalization>regionLocalization - the region localizationpublic void cacheResult(List<com.liferay.portal.kernel.model.RegionLocalization> regionLocalizations)
cacheResult in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceregionLocalizations - the region localizationspublic 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.RegionLocalization>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RegionLocalization>public void clearCache(com.liferay.portal.kernel.model.RegionLocalization regionLocalization)
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.RegionLocalization>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RegionLocalization>public void clearCache(List<com.liferay.portal.kernel.model.RegionLocalization> regionLocalizations)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.RegionLocalization>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RegionLocalization>public void clearCache(Set<Serializable> primaryKeys)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.RegionLocalization>protected void cacheUniqueFindersCache(RegionLocalizationModelImpl regionLocalizationModelImpl)
public com.liferay.portal.kernel.model.RegionLocalization create(long regionLocalizationId)
create in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceregionLocalizationId - the primary key for the new region localizationpublic com.liferay.portal.kernel.model.RegionLocalization remove(long regionLocalizationId)
throws com.liferay.portal.kernel.exception.NoSuchRegionLocalizationException
remove in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceregionLocalizationId - the primary key of the region localizationcom.liferay.portal.kernel.exception.NoSuchRegionLocalizationException - if a region localization with the primary key could not be foundpublic com.liferay.portal.kernel.model.RegionLocalization remove(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchRegionLocalizationException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.RegionLocalization>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RegionLocalization>primaryKey - the primary key of the region localizationcom.liferay.portal.kernel.exception.NoSuchRegionLocalizationException - if a region localization with the primary key could not be foundprotected com.liferay.portal.kernel.model.RegionLocalization removeImpl(com.liferay.portal.kernel.model.RegionLocalization regionLocalization)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RegionLocalization>public com.liferay.portal.kernel.model.RegionLocalization updateImpl(com.liferay.portal.kernel.model.RegionLocalization regionLocalization)
updateImpl in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RegionLocalization>public com.liferay.portal.kernel.model.RegionLocalization findByPrimaryKey(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchRegionLocalizationException
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.RegionLocalization>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RegionLocalization>primaryKey - the primary key of the region localizationcom.liferay.portal.kernel.exception.NoSuchRegionLocalizationException - if a region localization with the primary key could not be foundpublic com.liferay.portal.kernel.model.RegionLocalization findByPrimaryKey(long regionLocalizationId)
throws com.liferay.portal.kernel.exception.NoSuchRegionLocalizationException
NoSuchRegionLocalizationException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceregionLocalizationId - the primary key of the region localizationcom.liferay.portal.kernel.exception.NoSuchRegionLocalizationException - if a region localization with the primary key could not be foundpublic com.liferay.portal.kernel.model.RegionLocalization fetchByPrimaryKey(long regionLocalizationId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceregionLocalizationId - the primary key of the region localizationnull if a region localization with the primary key could not be foundpublic List<com.liferay.portal.kernel.model.RegionLocalization> findAll()
findAll in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistencepublic List<com.liferay.portal.kernel.model.RegionLocalization> 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 RegionLocalizationModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistencestart - the lower bound of the range of region localizationsend - the upper bound of the range of region localizations (not inclusive)public List<com.liferay.portal.kernel.model.RegionLocalization> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RegionLocalization> 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 RegionLocalizationModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistencestart - the lower bound of the range of region localizationsend - the upper bound of the range of region localizations (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.RegionLocalization> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RegionLocalization> 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 RegionLocalizationModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistencestart - the lower bound of the range of region localizationsend - the upper bound of the range of region localizations (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.RegionLocalizationPersistencepublic int countAll()
countAll in interface com.liferay.portal.kernel.service.persistence.RegionLocalizationPersistenceprotected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RegionLocalization>protected String getPKDBName()
getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RegionLocalization>protected String getSelectSQL()
getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RegionLocalization>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RegionLocalization>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.RegionLocalization>