public class CountryLocalizationPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.CountryLocalization>
implements com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistence
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 |
|---|
CountryLocalizationPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the country localization persistence.
|
void |
cacheResult(com.liferay.portal.kernel.model.CountryLocalization countryLocalization)
Caches the country localization in the entity cache if it is enabled.
|
void |
cacheResult(List<com.liferay.portal.kernel.model.CountryLocalization> countryLocalizations)
Caches the country localizations in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(CountryLocalizationModelImpl countryLocalizationModelImpl) |
void |
clearCache()
Clears the cache for all country localizations.
|
void |
clearCache(com.liferay.portal.kernel.model.CountryLocalization countryLocalization)
Clears the cache for the country localization.
|
void |
clearCache(List<com.liferay.portal.kernel.model.CountryLocalization> countryLocalizations) |
void |
clearCache(Set<Serializable> primaryKeys) |
int |
countAll()
Returns the number of country localizations.
|
int |
countByCountryId_LanguageId(long countryId,
String languageId)
Returns the number of country localizations where countryId = ? and languageId = ?.
|
int |
countByCountryId(long countryId)
Returns the number of country localizations where countryId = ?.
|
com.liferay.portal.kernel.model.CountryLocalization |
create(long countryLocalizationId)
Creates a new country localization with the primary key.
|
void |
destroy() |
com.liferay.portal.kernel.model.CountryLocalization |
fetchByCountryId_First(long countryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.CountryLocalization> orderByComparator)
Returns the first country localization in the ordered set where countryId = ?.
|
com.liferay.portal.kernel.model.CountryLocalization |
fetchByCountryId_LanguageId(long countryId,
String languageId)
Returns the country localization where countryId = ? and languageId = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.CountryLocalization |
fetchByCountryId_LanguageId(long countryId,
String languageId,
boolean useFinderCache)
Returns the country localization where countryId = ? and languageId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.CountryLocalization |
fetchByCountryId_Last(long countryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.CountryLocalization> orderByComparator)
Returns the last country localization in the ordered set where countryId = ?.
|
com.liferay.portal.kernel.model.CountryLocalization |
fetchByPrimaryKey(long countryLocalizationId)
Returns the country localization with the primary key or returns
null if it could not be found. |
List<com.liferay.portal.kernel.model.CountryLocalization> |
findAll()
Returns all the country localizations.
|
List<com.liferay.portal.kernel.model.CountryLocalization> |
findAll(int start,
int end)
Returns a range of all the country localizations.
|
List<com.liferay.portal.kernel.model.CountryLocalization> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.CountryLocalization> orderByComparator)
Returns an ordered range of all the country localizations.
|
List<com.liferay.portal.kernel.model.CountryLocalization> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.CountryLocalization> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the country localizations.
|
com.liferay.portal.kernel.model.CountryLocalization |
findByCountryId_First(long countryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.CountryLocalization> orderByComparator)
Returns the first country localization in the ordered set where countryId = ?.
|
com.liferay.portal.kernel.model.CountryLocalization |
findByCountryId_LanguageId(long countryId,
String languageId)
Returns the country localization where countryId = ? and languageId = ? or throws a
NoSuchCountryLocalizationException if it could not be found. |
com.liferay.portal.kernel.model.CountryLocalization |
findByCountryId_Last(long countryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.CountryLocalization> orderByComparator)
Returns the last country localization in the ordered set where countryId = ?.
|
com.liferay.portal.kernel.model.CountryLocalization[] |
findByCountryId_PrevAndNext(long countryLocalizationId,
long countryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.CountryLocalization> orderByComparator)
Returns the country localizations before and after the current country localization in the ordered set where countryId = ?.
|
List<com.liferay.portal.kernel.model.CountryLocalization> |
findByCountryId(long countryId)
Returns all the country localizations where countryId = ?.
|
List<com.liferay.portal.kernel.model.CountryLocalization> |
findByCountryId(long countryId,
int start,
int end)
Returns a range of all the country localizations where countryId = ?.
|
List<com.liferay.portal.kernel.model.CountryLocalization> |
findByCountryId(long countryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.CountryLocalization> orderByComparator)
Returns an ordered range of all the country localizations where countryId = ?.
|
List<com.liferay.portal.kernel.model.CountryLocalization> |
findByCountryId(long countryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.CountryLocalization> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the country localizations where countryId = ?.
|
com.liferay.portal.kernel.model.CountryLocalization |
findByPrimaryKey(long countryLocalizationId)
Returns the country localization with the primary key or throws a
NoSuchCountryLocalizationException if it could not be found. |
com.liferay.portal.kernel.model.CountryLocalization |
findByPrimaryKey(Serializable primaryKey)
Returns the country localization 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.CountryLocalization |
getByCountryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.CountryLocalization countryLocalization,
long countryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.CountryLocalization> 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.CountryLocalization |
remove(long countryLocalizationId)
Removes the country localization with the primary key from the database.
|
com.liferay.portal.kernel.model.CountryLocalization |
remove(Serializable primaryKey)
Removes the country localization with the primary key from the database.
|
void |
removeAll()
Removes all the country localizations from the database.
|
com.liferay.portal.kernel.model.CountryLocalization |
removeByCountryId_LanguageId(long countryId,
String languageId)
Removes the country localization where countryId = ? and languageId = ? from the database.
|
void |
removeByCountryId(long countryId)
Removes all the country localizations where countryId = ? from the database.
|
protected com.liferay.portal.kernel.model.CountryLocalization |
removeImpl(com.liferay.portal.kernel.model.CountryLocalization countryLocalization) |
com.liferay.portal.kernel.model.CountryLocalization |
updateImpl(com.liferay.portal.kernel.model.CountryLocalization countryLocalization) |
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.CountryLocalization> findByCountryId(long countryId)
findByCountryId in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecountryId - the country IDpublic List<com.liferay.portal.kernel.model.CountryLocalization> findByCountryId(long countryId,
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 CountryLocalizationModelImpl.
findByCountryId in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecountryId - the country IDstart - the lower bound of the range of country localizationsend - the upper bound of the range of country localizations (not inclusive)public List<com.liferay.portal.kernel.model.CountryLocalization> findByCountryId(long countryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.CountryLocalization> 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 CountryLocalizationModelImpl.
findByCountryId in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecountryId - the country IDstart - the lower bound of the range of country localizationsend - the upper bound of the range of country localizations (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.CountryLocalization> findByCountryId(long countryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.CountryLocalization> 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 CountryLocalizationModelImpl.
findByCountryId in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecountryId - the country IDstart - the lower bound of the range of country localizationsend - the upper bound of the range of country 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.CountryLocalization findByCountryId_First(long countryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.CountryLocalization> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryLocalizationException
findByCountryId_First in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecountryId - the country IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryLocalizationException - if a matching country localization could not be foundpublic com.liferay.portal.kernel.model.CountryLocalization fetchByCountryId_First(long countryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.CountryLocalization> orderByComparator)
fetchByCountryId_First in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecountryId - the country IDorderByComparator - the comparator to order the set by (optionally null)null if a matching country localization could not be foundpublic com.liferay.portal.kernel.model.CountryLocalization findByCountryId_Last(long countryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.CountryLocalization> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryLocalizationException
findByCountryId_Last in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecountryId - the country IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryLocalizationException - if a matching country localization could not be foundpublic com.liferay.portal.kernel.model.CountryLocalization fetchByCountryId_Last(long countryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.CountryLocalization> orderByComparator)
fetchByCountryId_Last in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecountryId - the country IDorderByComparator - the comparator to order the set by (optionally null)null if a matching country localization could not be foundpublic com.liferay.portal.kernel.model.CountryLocalization[] findByCountryId_PrevAndNext(long countryLocalizationId,
long countryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.CountryLocalization> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryLocalizationException
findByCountryId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecountryLocalizationId - the primary key of the current country localizationcountryId - the country IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryLocalizationException - if a country localization with the primary key could not be foundprotected com.liferay.portal.kernel.model.CountryLocalization getByCountryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.CountryLocalization countryLocalization,
long countryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.CountryLocalization> orderByComparator,
boolean previous)
public void removeByCountryId(long countryId)
removeByCountryId in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecountryId - the country IDpublic int countByCountryId(long countryId)
countByCountryId in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecountryId - the country IDpublic com.liferay.portal.kernel.model.CountryLocalization findByCountryId_LanguageId(long countryId,
String languageId)
throws com.liferay.portal.kernel.exception.NoSuchCountryLocalizationException
NoSuchCountryLocalizationException if it could not be found.findByCountryId_LanguageId in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecountryId - the country IDlanguageId - the language IDcom.liferay.portal.kernel.exception.NoSuchCountryLocalizationException - if a matching country localization could not be foundpublic com.liferay.portal.kernel.model.CountryLocalization fetchByCountryId_LanguageId(long countryId,
String languageId)
null if it could not be found. Uses the finder cache.fetchByCountryId_LanguageId in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecountryId - the country IDlanguageId - the language IDnull if a matching country localization could not be foundpublic com.liferay.portal.kernel.model.CountryLocalization fetchByCountryId_LanguageId(long countryId,
String languageId,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByCountryId_LanguageId in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecountryId - the country IDlanguageId - the language IDuseFinderCache - whether to use the finder cachenull if a matching country localization could not be foundpublic com.liferay.portal.kernel.model.CountryLocalization removeByCountryId_LanguageId(long countryId,
String languageId)
throws com.liferay.portal.kernel.exception.NoSuchCountryLocalizationException
removeByCountryId_LanguageId in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecountryId - the country IDlanguageId - the language IDcom.liferay.portal.kernel.exception.NoSuchCountryLocalizationExceptionpublic int countByCountryId_LanguageId(long countryId,
String languageId)
countByCountryId_LanguageId in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecountryId - the country IDlanguageId - the language IDpublic void cacheResult(com.liferay.portal.kernel.model.CountryLocalization countryLocalization)
cacheResult in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.CountryLocalization>countryLocalization - the country localizationpublic void cacheResult(List<com.liferay.portal.kernel.model.CountryLocalization> countryLocalizations)
cacheResult in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecountryLocalizations - the country 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.CountryLocalization>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.CountryLocalization>public void clearCache(com.liferay.portal.kernel.model.CountryLocalization countryLocalization)
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.CountryLocalization>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.CountryLocalization>public void clearCache(List<com.liferay.portal.kernel.model.CountryLocalization> countryLocalizations)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.CountryLocalization>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.CountryLocalization>public void clearCache(Set<Serializable> primaryKeys)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.CountryLocalization>protected void cacheUniqueFindersCache(CountryLocalizationModelImpl countryLocalizationModelImpl)
public com.liferay.portal.kernel.model.CountryLocalization create(long countryLocalizationId)
create in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecountryLocalizationId - the primary key for the new country localizationpublic com.liferay.portal.kernel.model.CountryLocalization remove(long countryLocalizationId)
throws com.liferay.portal.kernel.exception.NoSuchCountryLocalizationException
remove in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecountryLocalizationId - the primary key of the country localizationcom.liferay.portal.kernel.exception.NoSuchCountryLocalizationException - if a country localization with the primary key could not be foundpublic com.liferay.portal.kernel.model.CountryLocalization remove(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchCountryLocalizationException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.CountryLocalization>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.CountryLocalization>primaryKey - the primary key of the country localizationcom.liferay.portal.kernel.exception.NoSuchCountryLocalizationException - if a country localization with the primary key could not be foundprotected com.liferay.portal.kernel.model.CountryLocalization removeImpl(com.liferay.portal.kernel.model.CountryLocalization countryLocalization)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.CountryLocalization>public com.liferay.portal.kernel.model.CountryLocalization updateImpl(com.liferay.portal.kernel.model.CountryLocalization countryLocalization)
updateImpl in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.CountryLocalization>public com.liferay.portal.kernel.model.CountryLocalization findByPrimaryKey(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchCountryLocalizationException
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.CountryLocalization>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.CountryLocalization>primaryKey - the primary key of the country localizationcom.liferay.portal.kernel.exception.NoSuchCountryLocalizationException - if a country localization with the primary key could not be foundpublic com.liferay.portal.kernel.model.CountryLocalization findByPrimaryKey(long countryLocalizationId)
throws com.liferay.portal.kernel.exception.NoSuchCountryLocalizationException
NoSuchCountryLocalizationException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecountryLocalizationId - the primary key of the country localizationcom.liferay.portal.kernel.exception.NoSuchCountryLocalizationException - if a country localization with the primary key could not be foundpublic com.liferay.portal.kernel.model.CountryLocalization fetchByPrimaryKey(long countryLocalizationId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencecountryLocalizationId - the primary key of the country localizationnull if a country localization with the primary key could not be foundpublic List<com.liferay.portal.kernel.model.CountryLocalization> findAll()
findAll in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencepublic List<com.liferay.portal.kernel.model.CountryLocalization> 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 CountryLocalizationModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencestart - the lower bound of the range of country localizationsend - the upper bound of the range of country localizations (not inclusive)public List<com.liferay.portal.kernel.model.CountryLocalization> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.CountryLocalization> 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 CountryLocalizationModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencestart - the lower bound of the range of country localizationsend - the upper bound of the range of country localizations (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.CountryLocalization> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.CountryLocalization> 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 CountryLocalizationModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistencestart - the lower bound of the range of country localizationsend - the upper bound of the range of country 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.CountryLocalizationPersistencepublic int countAll()
countAll in interface com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistenceprotected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.CountryLocalization>protected String getPKDBName()
getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.CountryLocalization>protected String getSelectSQL()
getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.CountryLocalization>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.CountryLocalization>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.CountryLocalization>