com.liferay.portal.service.persistence
Class RegionUtil
java.lang.Object
com.liferay.portal.service.persistence.RegionUtil
public class RegionUtil
- extends java.lang.Object
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:
RegionPersistence
,
RegionPersistenceImpl
- Generated:
Method Summary |
static void |
cacheResult(java.util.List<Region> regions)
|
static void |
cacheResult(Region region)
|
static void |
clearCache()
|
static void |
clearCache(Region region)
|
static int |
countAll()
|
static int |
countByActive(boolean active)
|
static int |
countByC_A(long countryId,
boolean active)
|
static int |
countByCountryId(long countryId)
|
int |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static Region |
create(long regionId)
|
static Region |
fetchByPrimaryKey(long regionId)
|
static java.util.List<Region> |
findAll()
|
static java.util.List<Region> |
findAll(int start,
int end)
|
static java.util.List<Region> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Region |
findByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Region |
findByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Region[] |
findByActive_PrevAndNext(long regionId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<Region> |
findByActive(boolean active)
|
static java.util.List<Region> |
findByActive(boolean active,
int start,
int end)
|
static java.util.List<Region> |
findByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Region |
findByC_A_First(long countryId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Region |
findByC_A_Last(long countryId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Region[] |
findByC_A_PrevAndNext(long regionId,
long countryId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<Region> |
findByC_A(long countryId,
boolean active)
|
static java.util.List<Region> |
findByC_A(long countryId,
boolean active,
int start,
int end)
|
static java.util.List<Region> |
findByC_A(long countryId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Region |
findByCountryId_First(long countryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Region |
findByCountryId_Last(long countryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Region[] |
findByCountryId_PrevAndNext(long regionId,
long countryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<Region> |
findByCountryId(long countryId)
|
static java.util.List<Region> |
findByCountryId(long countryId,
int start,
int end)
|
static java.util.List<Region> |
findByCountryId(long countryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Region |
findByPrimaryKey(long regionId)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static RegionPersistence |
getPersistence()
|
static Region |
remove(long regionId)
|
static Region |
remove(Region region)
|
static void |
removeAll()
|
static void |
removeByActive(boolean active)
|
static void |
removeByC_A(long countryId,
boolean active)
|
static void |
removeByCountryId(long countryId)
|
void |
setPersistence(RegionPersistence persistence)
|
static Region |
update(Region region)
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean) . |
static Region |
update(Region region,
boolean merge)
|
static Region |
updateImpl(Region region,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegionUtil
public RegionUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(Region region)
- See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(Region)
countWithDynamicQuery
public int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static Region remove(Region region)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static Region update(Region region,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(Region region)
cacheResult
public static void cacheResult(java.util.List<Region> regions)
create
public static Region create(long regionId)
remove
public static Region remove(long regionId)
throws NoSuchRegionException,
com.liferay.portal.SystemException
- Throws:
NoSuchRegionException
com.liferay.portal.SystemException
update
public static Region update(Region region)
throws com.liferay.portal.SystemException
- Deprecated. Use
com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
public static Region updateImpl(Region region,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static Region findByPrimaryKey(long regionId)
throws NoSuchRegionException,
com.liferay.portal.SystemException
- Throws:
NoSuchRegionException
com.liferay.portal.SystemException
fetchByPrimaryKey
public static Region fetchByPrimaryKey(long regionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCountryId
public static java.util.List<Region> findByCountryId(long countryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCountryId
public static java.util.List<Region> findByCountryId(long countryId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCountryId
public static java.util.List<Region> findByCountryId(long countryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCountryId_First
public static Region findByCountryId_First(long countryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchRegionException,
com.liferay.portal.SystemException
- Throws:
NoSuchRegionException
com.liferay.portal.SystemException
findByCountryId_Last
public static Region findByCountryId_Last(long countryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchRegionException,
com.liferay.portal.SystemException
- Throws:
NoSuchRegionException
com.liferay.portal.SystemException
findByCountryId_PrevAndNext
public static Region[] findByCountryId_PrevAndNext(long regionId,
long countryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchRegionException,
com.liferay.portal.SystemException
- Throws:
NoSuchRegionException
com.liferay.portal.SystemException
findByActive
public static java.util.List<Region> findByActive(boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByActive
public static java.util.List<Region> findByActive(boolean active,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByActive
public static java.util.List<Region> 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
public static Region findByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchRegionException,
com.liferay.portal.SystemException
- Throws:
NoSuchRegionException
com.liferay.portal.SystemException
findByActive_Last
public static Region findByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchRegionException,
com.liferay.portal.SystemException
- Throws:
NoSuchRegionException
com.liferay.portal.SystemException
findByActive_PrevAndNext
public static Region[] findByActive_PrevAndNext(long regionId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchRegionException,
com.liferay.portal.SystemException
- Throws:
NoSuchRegionException
com.liferay.portal.SystemException
findByC_A
public static java.util.List<Region> findByC_A(long countryId,
boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_A
public static java.util.List<Region> findByC_A(long countryId,
boolean active,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_A
public static java.util.List<Region> findByC_A(long countryId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_A_First
public static Region findByC_A_First(long countryId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchRegionException,
com.liferay.portal.SystemException
- Throws:
NoSuchRegionException
com.liferay.portal.SystemException
findByC_A_Last
public static Region findByC_A_Last(long countryId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchRegionException,
com.liferay.portal.SystemException
- Throws:
NoSuchRegionException
com.liferay.portal.SystemException
findByC_A_PrevAndNext
public static Region[] findByC_A_PrevAndNext(long regionId,
long countryId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchRegionException,
com.liferay.portal.SystemException
- Throws:
NoSuchRegionException
com.liferay.portal.SystemException
findAll
public static java.util.List<Region> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<Region> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<Region> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCountryId
public static void removeByCountryId(long countryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByActive
public static void removeByActive(boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_A
public static void removeByC_A(long countryId,
boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCountryId
public static int countByCountryId(long countryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByActive
public static int countByActive(boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_A
public static int countByC_A(long countryId,
boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static RegionPersistence getPersistence()
setPersistence
public void setPersistence(RegionPersistence persistence)