|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CountryPersistence
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
CountryPersistenceImpl
,
CountryUtil
Method Summary | |
---|---|
void |
cacheResult(Country country)
|
void |
cacheResult(java.util.List<Country> countries)
|
void |
clearCache()
|
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 obc)
|
Country |
findByA2(java.lang.String a2)
|
Country |
findByA3(java.lang.String a3)
|
Country |
findByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Country |
findByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Country[] |
findByActive_PrevAndNext(long countryId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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 obc)
|
Country |
findByName(java.lang.String name)
|
Country |
findByPrimaryKey(long countryId)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
Country |
remove(Country country)
|
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 update(Country, boolean merge) . |
Country |
update(Country country,
boolean merge)
Add, update, or merge, the entity. |
Country |
updateImpl(Country country,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
getListeners, registerListener, unregisterListener |
Method Detail |
---|
void cacheResult(Country country)
void cacheResult(java.util.List<Country> countries)
void clearCache()
clearCache
in interface BasePersistence
Country create(long countryId)
Country remove(long countryId) throws NoSuchCountryException, com.liferay.portal.SystemException
NoSuchCountryException
com.liferay.portal.SystemException
Country remove(Country country) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Country update(Country country) throws com.liferay.portal.SystemException
update(Country, boolean merge)
.
com.liferay.portal.SystemException
Country update(Country country, boolean merge) throws com.liferay.portal.SystemException
country
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The default
value is false. Setting merge to true is more expensive and
should only be true when country is transient. See
LEP-5473 for a detailed discussion of this method.
com.liferay.portal.SystemException
Country updateImpl(Country country, boolean merge) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Country findByPrimaryKey(long countryId) throws NoSuchCountryException, com.liferay.portal.SystemException
NoSuchCountryException
com.liferay.portal.SystemException
Country fetchByPrimaryKey(long countryId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Country findByName(java.lang.String name) throws NoSuchCountryException, com.liferay.portal.SystemException
NoSuchCountryException
com.liferay.portal.SystemException
Country fetchByName(java.lang.String name) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Country fetchByName(java.lang.String name, boolean retrieveFromCache) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Country findByA2(java.lang.String a2) throws NoSuchCountryException, com.liferay.portal.SystemException
NoSuchCountryException
com.liferay.portal.SystemException
Country fetchByA2(java.lang.String a2) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Country fetchByA2(java.lang.String a2, boolean retrieveFromCache) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Country findByA3(java.lang.String a3) throws NoSuchCountryException, com.liferay.portal.SystemException
NoSuchCountryException
com.liferay.portal.SystemException
Country fetchByA3(java.lang.String a3) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Country fetchByA3(java.lang.String a3, boolean retrieveFromCache) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Country> findByActive(boolean active) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Country> findByActive(boolean active, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Country> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Country findByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator obc) throws NoSuchCountryException, com.liferay.portal.SystemException
NoSuchCountryException
com.liferay.portal.SystemException
Country findByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator obc) throws NoSuchCountryException, com.liferay.portal.SystemException
NoSuchCountryException
com.liferay.portal.SystemException
Country[] findByActive_PrevAndNext(long countryId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc) throws NoSuchCountryException, com.liferay.portal.SystemException
NoSuchCountryException
com.liferay.portal.SystemException
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Country> findAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Country> findAll(int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Country> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByName(java.lang.String name) throws NoSuchCountryException, com.liferay.portal.SystemException
NoSuchCountryException
com.liferay.portal.SystemException
void removeByA2(java.lang.String a2) throws NoSuchCountryException, com.liferay.portal.SystemException
NoSuchCountryException
com.liferay.portal.SystemException
void removeByA3(java.lang.String a3) throws NoSuchCountryException, com.liferay.portal.SystemException
NoSuchCountryException
com.liferay.portal.SystemException
void removeByActive(boolean active) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByName(java.lang.String name) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByA2(java.lang.String a2) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByA3(java.lang.String a3) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByActive(boolean active) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |