com.liferay.portal.service.persistence
Interface RegionPersistence
- All Superinterfaces:
- BasePersistence<Region>
public interface RegionPersistence
- extends BasePersistence<Region>
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:
RegionPersistenceImpl
,
RegionUtil
- Generated:
Method Summary |
void |
cacheResult(java.util.List<Region> regions)
|
void |
cacheResult(Region region)
|
int |
countAll()
|
int |
countByActive(boolean active)
|
int |
countByC_A(long countryId,
boolean active)
|
int |
countByCountryId(long countryId)
|
Region |
create(long regionId)
|
Region |
fetchByPrimaryKey(long regionId)
|
java.util.List<Region> |
findAll()
|
java.util.List<Region> |
findAll(int start,
int end)
|
java.util.List<Region> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
Region |
findByActive_First(boolean active,
OrderByComparator orderByComparator)
|
Region |
findByActive_Last(boolean active,
OrderByComparator orderByComparator)
|
Region[] |
findByActive_PrevAndNext(long regionId,
boolean active,
OrderByComparator orderByComparator)
|
java.util.List<Region> |
findByActive(boolean active)
|
java.util.List<Region> |
findByActive(boolean active,
int start,
int end)
|
java.util.List<Region> |
findByActive(boolean active,
int start,
int end,
OrderByComparator orderByComparator)
|
Region |
findByC_A_First(long countryId,
boolean active,
OrderByComparator orderByComparator)
|
Region |
findByC_A_Last(long countryId,
boolean active,
OrderByComparator orderByComparator)
|
Region[] |
findByC_A_PrevAndNext(long regionId,
long countryId,
boolean active,
OrderByComparator orderByComparator)
|
java.util.List<Region> |
findByC_A(long countryId,
boolean active)
|
java.util.List<Region> |
findByC_A(long countryId,
boolean active,
int start,
int end)
|
java.util.List<Region> |
findByC_A(long countryId,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
|
Region |
findByCountryId_First(long countryId,
OrderByComparator orderByComparator)
|
Region |
findByCountryId_Last(long countryId,
OrderByComparator orderByComparator)
|
Region[] |
findByCountryId_PrevAndNext(long regionId,
long countryId,
OrderByComparator orderByComparator)
|
java.util.List<Region> |
findByCountryId(long countryId)
|
java.util.List<Region> |
findByCountryId(long countryId,
int start,
int end)
|
java.util.List<Region> |
findByCountryId(long countryId,
int start,
int end,
OrderByComparator orderByComparator)
|
Region |
findByPrimaryKey(long regionId)
|
Region |
remove(long regionId)
|
void |
removeAll()
|
void |
removeByActive(boolean active)
|
void |
removeByC_A(long countryId,
boolean active)
|
void |
removeByCountryId(long countryId)
|
Region |
updateImpl(Region region,
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(Region region)
cacheResult
void cacheResult(java.util.List<Region> regions)
create
Region create(long regionId)
remove
Region remove(long regionId)
throws NoSuchRegionException,
SystemException
- Throws:
NoSuchRegionException
SystemException
updateImpl
Region updateImpl(Region region,
boolean merge)
throws SystemException
- Throws:
SystemException
findByPrimaryKey
Region findByPrimaryKey(long regionId)
throws NoSuchRegionException,
SystemException
- Throws:
NoSuchRegionException
SystemException
fetchByPrimaryKey
Region fetchByPrimaryKey(long regionId)
throws SystemException
- Throws:
SystemException
findByCountryId
java.util.List<Region> findByCountryId(long countryId)
throws SystemException
- Throws:
SystemException
findByCountryId
java.util.List<Region> findByCountryId(long countryId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByCountryId
java.util.List<Region> findByCountryId(long countryId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByCountryId_First
Region findByCountryId_First(long countryId,
OrderByComparator orderByComparator)
throws NoSuchRegionException,
SystemException
- Throws:
NoSuchRegionException
SystemException
findByCountryId_Last
Region findByCountryId_Last(long countryId,
OrderByComparator orderByComparator)
throws NoSuchRegionException,
SystemException
- Throws:
NoSuchRegionException
SystemException
findByCountryId_PrevAndNext
Region[] findByCountryId_PrevAndNext(long regionId,
long countryId,
OrderByComparator orderByComparator)
throws NoSuchRegionException,
SystemException
- Throws:
NoSuchRegionException
SystemException
findByActive
java.util.List<Region> findByActive(boolean active)
throws SystemException
- Throws:
SystemException
findByActive
java.util.List<Region> findByActive(boolean active,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByActive
java.util.List<Region> findByActive(boolean active,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByActive_First
Region findByActive_First(boolean active,
OrderByComparator orderByComparator)
throws NoSuchRegionException,
SystemException
- Throws:
NoSuchRegionException
SystemException
findByActive_Last
Region findByActive_Last(boolean active,
OrderByComparator orderByComparator)
throws NoSuchRegionException,
SystemException
- Throws:
NoSuchRegionException
SystemException
findByActive_PrevAndNext
Region[] findByActive_PrevAndNext(long regionId,
boolean active,
OrderByComparator orderByComparator)
throws NoSuchRegionException,
SystemException
- Throws:
NoSuchRegionException
SystemException
findByC_A
java.util.List<Region> findByC_A(long countryId,
boolean active)
throws SystemException
- Throws:
SystemException
findByC_A
java.util.List<Region> findByC_A(long countryId,
boolean active,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByC_A
java.util.List<Region> findByC_A(long countryId,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByC_A_First
Region findByC_A_First(long countryId,
boolean active,
OrderByComparator orderByComparator)
throws NoSuchRegionException,
SystemException
- Throws:
NoSuchRegionException
SystemException
findByC_A_Last
Region findByC_A_Last(long countryId,
boolean active,
OrderByComparator orderByComparator)
throws NoSuchRegionException,
SystemException
- Throws:
NoSuchRegionException
SystemException
findByC_A_PrevAndNext
Region[] findByC_A_PrevAndNext(long regionId,
long countryId,
boolean active,
OrderByComparator orderByComparator)
throws NoSuchRegionException,
SystemException
- Throws:
NoSuchRegionException
SystemException
findAll
java.util.List<Region> findAll()
throws SystemException
- Throws:
SystemException
findAll
java.util.List<Region> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
java.util.List<Region> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
removeByCountryId
void removeByCountryId(long countryId)
throws SystemException
- Throws:
SystemException
removeByActive
void removeByActive(boolean active)
throws SystemException
- Throws:
SystemException
removeByC_A
void removeByC_A(long countryId,
boolean active)
throws SystemException
- Throws:
SystemException
removeAll
void removeAll()
throws SystemException
- Throws:
SystemException
countByCountryId
int countByCountryId(long countryId)
throws SystemException
- Throws:
SystemException
countByActive
int countByActive(boolean active)
throws SystemException
- Throws:
SystemException
countByC_A
int countByC_A(long countryId,
boolean active)
throws SystemException
- Throws:
SystemException
countAll
int countAll()
throws SystemException
- Throws:
SystemException