com.liferay.portal.service.persistence
Interface CountryPersistence
- All Superinterfaces:
- BasePersistence<Country>
public interface CountryPersistence
- extends BasePersistence<Country>
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
CountryPersistenceImpl
,
CountryUtil
- Generated:
Method Summary |
void |
cacheResult(Country country)
|
void |
cacheResult(java.util.List<Country> countries)
|
int |
countAll()
|
int |
countByA2(java.lang.String a2)
|
int |
countByA3(java.lang.String a3)
|
int |
countByActive(boolean active)
|
int |
countByName(java.lang.String name)
|
Country |
create(long countryId)
|
Country |
fetchByA2(java.lang.String a2)
|
Country |
fetchByA2(java.lang.String a2,
boolean retrieveFromCache)
|
Country |
fetchByA3(java.lang.String a3)
|
Country |
fetchByA3(java.lang.String a3,
boolean retrieveFromCache)
|
Country |
fetchByName(java.lang.String name)
|
Country |
fetchByName(java.lang.String name,
boolean retrieveFromCache)
|
Country |
fetchByPrimaryKey(long countryId)
|
java.util.List<Country> |
findAll()
|
java.util.List<Country> |
findAll(int start,
int end)
|
java.util.List<Country> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
Country |
findByA2(java.lang.String a2)
|
Country |
findByA3(java.lang.String a3)
|
Country |
findByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
Country |
findByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
Country[] |
findByActive_PrevAndNext(long countryId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
java.util.List<Country> |
findByActive(boolean active)
|
java.util.List<Country> |
findByActive(boolean active,
int start,
int end)
|
java.util.List<Country> |
findByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
Country |
findByName(java.lang.String name)
|
Country |
findByPrimaryKey(long countryId)
|
Country |
remove(long countryId)
|
void |
removeAll()
|
void |
removeByA2(java.lang.String a2)
|
void |
removeByA3(java.lang.String a3)
|
void |
removeByActive(boolean active)
|
void |
removeByName(java.lang.String name)
|
Country |
update(Country country)
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean) . |
Country |
updateImpl(Country country,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update |
cacheResult
void cacheResult(Country country)
cacheResult
void cacheResult(java.util.List<Country> countries)
create
Country create(long countryId)
remove
Country remove(long countryId)
throws NoSuchCountryException,
com.liferay.portal.SystemException
- Throws:
NoSuchCountryException
com.liferay.portal.SystemException
update
Country update(Country country)
throws com.liferay.portal.SystemException
- Deprecated. Use
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
Country updateImpl(Country country,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
Country findByPrimaryKey(long countryId)
throws NoSuchCountryException,
com.liferay.portal.SystemException
- Throws:
NoSuchCountryException
com.liferay.portal.SystemException
fetchByPrimaryKey
Country fetchByPrimaryKey(long countryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByName
Country findByName(java.lang.String name)
throws NoSuchCountryException,
com.liferay.portal.SystemException
- Throws:
NoSuchCountryException
com.liferay.portal.SystemException
fetchByName
Country fetchByName(java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByName
Country fetchByName(java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByA2
Country findByA2(java.lang.String a2)
throws NoSuchCountryException,
com.liferay.portal.SystemException
- Throws:
NoSuchCountryException
com.liferay.portal.SystemException
fetchByA2
Country fetchByA2(java.lang.String a2)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByA2
Country fetchByA2(java.lang.String a2,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByA3
Country findByA3(java.lang.String a3)
throws NoSuchCountryException,
com.liferay.portal.SystemException
- Throws:
NoSuchCountryException
com.liferay.portal.SystemException
fetchByA3
Country fetchByA3(java.lang.String a3)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByA3
Country fetchByA3(java.lang.String a3,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByActive
java.util.List<Country> findByActive(boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByActive
java.util.List<Country> findByActive(boolean active,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByActive
java.util.List<Country> findByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByActive_First
Country findByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchCountryException,
com.liferay.portal.SystemException
- Throws:
NoSuchCountryException
com.liferay.portal.SystemException
findByActive_Last
Country findByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchCountryException,
com.liferay.portal.SystemException
- Throws:
NoSuchCountryException
com.liferay.portal.SystemException
findByActive_PrevAndNext
Country[] findByActive_PrevAndNext(long countryId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchCountryException,
com.liferay.portal.SystemException
- Throws:
NoSuchCountryException
com.liferay.portal.SystemException
findAll
java.util.List<Country> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<Country> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<Country> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByName
void removeByName(java.lang.String name)
throws NoSuchCountryException,
com.liferay.portal.SystemException
- Throws:
NoSuchCountryException
com.liferay.portal.SystemException
removeByA2
void removeByA2(java.lang.String a2)
throws NoSuchCountryException,
com.liferay.portal.SystemException
- Throws:
NoSuchCountryException
com.liferay.portal.SystemException
removeByA3
void removeByA3(java.lang.String a3)
throws NoSuchCountryException,
com.liferay.portal.SystemException
- Throws:
NoSuchCountryException
com.liferay.portal.SystemException
removeByActive
void removeByActive(boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByName
int countByName(java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByA2
int countByA2(java.lang.String a2)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByA3
int countByA3(java.lang.String a3)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByActive
int countByActive(boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException