Liferay 6.0.3

com.liferay.portal.service.persistence
Class RegionUtil

java.lang.Object
  extended by com.liferay.portal.service.persistence.RegionUtil

public class RegionUtil
extends Object

See Also:
RegionPersistence, RegionPersistenceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
RegionUtil()
           
 
Method Summary
static void cacheResult(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)
           
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static Region create(long regionId)
           
static Region fetchByPrimaryKey(long regionId)
           
static List<Region> findAll()
           
static List<Region> findAll(int start, int end)
           
static List<Region> findAll(int start, int end, OrderByComparator orderByComparator)
           
static Region findByActive_First(boolean active, OrderByComparator orderByComparator)
           
static Region findByActive_Last(boolean active, OrderByComparator orderByComparator)
           
static Region[] findByActive_PrevAndNext(long regionId, boolean active, OrderByComparator orderByComparator)
           
static List<Region> findByActive(boolean active)
           
static List<Region> findByActive(boolean active, int start, int end)
           
static List<Region> findByActive(boolean active, int start, int end, OrderByComparator orderByComparator)
           
static Region findByC_A_First(long countryId, boolean active, OrderByComparator orderByComparator)
           
static Region findByC_A_Last(long countryId, boolean active, OrderByComparator orderByComparator)
           
static Region[] findByC_A_PrevAndNext(long regionId, long countryId, boolean active, OrderByComparator orderByComparator)
           
static List<Region> findByC_A(long countryId, boolean active)
           
static List<Region> findByC_A(long countryId, boolean active, int start, int end)
           
static List<Region> findByC_A(long countryId, boolean active, int start, int end, OrderByComparator orderByComparator)
           
static Region findByCountryId_First(long countryId, OrderByComparator orderByComparator)
           
static Region findByCountryId_Last(long countryId, OrderByComparator orderByComparator)
           
static Region[] findByCountryId_PrevAndNext(long regionId, long countryId, OrderByComparator orderByComparator)
           
static List<Region> findByCountryId(long countryId)
           
static List<Region> findByCountryId(long countryId, int start, int end)
           
static List<Region> findByCountryId(long countryId, int start, int end, OrderByComparator orderByComparator)
           
static Region findByPrimaryKey(long regionId)
           
static List<Region> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static List<Region> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static List<Region> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
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, boolean merge)
           
static Region update(Region region, boolean merge, ServiceContext serviceContext)
           
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
 

Constructor Detail

RegionUtil

public RegionUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(Region region)
See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)

countWithDynamicQuery

public long countWithDynamicQuery(DynamicQuery dynamicQuery)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<Region> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                         throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<Region> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                int start,
                                                int end)
                                         throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

findWithDynamicQuery

public static List<Region> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)

remove

public static Region remove(Region region)
                     throws SystemException
Throws:
SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static Region update(Region region,
                            boolean merge)
                     throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

update

public static Region update(Region region,
                            boolean merge,
                            ServiceContext serviceContext)
                     throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)

cacheResult

public static void cacheResult(Region region)

cacheResult

public static void cacheResult(List<Region> regions)

create

public static Region create(long regionId)

remove

public static Region remove(long regionId)
                     throws NoSuchRegionException,
                            SystemException
Throws:
NoSuchRegionException
SystemException

updateImpl

public static Region updateImpl(Region region,
                                boolean merge)
                         throws SystemException
Throws:
SystemException

findByPrimaryKey

public static Region findByPrimaryKey(long regionId)
                               throws NoSuchRegionException,
                                      SystemException
Throws:
NoSuchRegionException
SystemException

fetchByPrimaryKey

public static Region fetchByPrimaryKey(long regionId)
                                throws SystemException
Throws:
SystemException

findByCountryId

public static List<Region> findByCountryId(long countryId)
                                    throws SystemException
Throws:
SystemException

findByCountryId

public static List<Region> findByCountryId(long countryId,
                                           int start,
                                           int end)
                                    throws SystemException
Throws:
SystemException

findByCountryId

public static List<Region> findByCountryId(long countryId,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Throws:
SystemException

findByCountryId_First

public static Region findByCountryId_First(long countryId,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchRegionException,
                                           SystemException
Throws:
NoSuchRegionException
SystemException

findByCountryId_Last

public static Region findByCountryId_Last(long countryId,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchRegionException,
                                          SystemException
Throws:
NoSuchRegionException
SystemException

findByCountryId_PrevAndNext

public static Region[] findByCountryId_PrevAndNext(long regionId,
                                                   long countryId,
                                                   OrderByComparator orderByComparator)
                                            throws NoSuchRegionException,
                                                   SystemException
Throws:
NoSuchRegionException
SystemException

findByActive

public static List<Region> findByActive(boolean active)
                                 throws SystemException
Throws:
SystemException

findByActive

public static List<Region> findByActive(boolean active,
                                        int start,
                                        int end)
                                 throws SystemException
Throws:
SystemException

findByActive

public static List<Region> findByActive(boolean active,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Throws:
SystemException

findByActive_First

public static Region findByActive_First(boolean active,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchRegionException,
                                        SystemException
Throws:
NoSuchRegionException
SystemException

findByActive_Last

public static Region findByActive_Last(boolean active,
                                       OrderByComparator orderByComparator)
                                throws NoSuchRegionException,
                                       SystemException
Throws:
NoSuchRegionException
SystemException

findByActive_PrevAndNext

public static Region[] findByActive_PrevAndNext(long regionId,
                                                boolean active,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchRegionException,
                                                SystemException
Throws:
NoSuchRegionException
SystemException

findByC_A

public static List<Region> findByC_A(long countryId,
                                     boolean active)
                              throws SystemException
Throws:
SystemException

findByC_A

public static List<Region> findByC_A(long countryId,
                                     boolean active,
                                     int start,
                                     int end)
                              throws SystemException
Throws:
SystemException

findByC_A

public static List<Region> findByC_A(long countryId,
                                     boolean active,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Throws:
SystemException

findByC_A_First

public static Region findByC_A_First(long countryId,
                                     boolean active,
                                     OrderByComparator orderByComparator)
                              throws NoSuchRegionException,
                                     SystemException
Throws:
NoSuchRegionException
SystemException

findByC_A_Last

public static Region findByC_A_Last(long countryId,
                                    boolean active,
                                    OrderByComparator orderByComparator)
                             throws NoSuchRegionException,
                                    SystemException
Throws:
NoSuchRegionException
SystemException

findByC_A_PrevAndNext

public static Region[] findByC_A_PrevAndNext(long regionId,
                                             long countryId,
                                             boolean active,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchRegionException,
                                             SystemException
Throws:
NoSuchRegionException
SystemException

findAll

public static List<Region> findAll()
                            throws SystemException
Throws:
SystemException

findAll

public static List<Region> findAll(int start,
                                   int end)
                            throws SystemException
Throws:
SystemException

findAll

public static List<Region> findAll(int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Throws:
SystemException

removeByCountryId

public static void removeByCountryId(long countryId)
                              throws SystemException
Throws:
SystemException

removeByActive

public static void removeByActive(boolean active)
                           throws SystemException
Throws:
SystemException

removeByC_A

public static void removeByC_A(long countryId,
                               boolean active)
                        throws SystemException
Throws:
SystemException

removeAll

public static void removeAll()
                      throws SystemException
Throws:
SystemException

countByCountryId

public static int countByCountryId(long countryId)
                            throws SystemException
Throws:
SystemException

countByActive

public static int countByActive(boolean active)
                         throws SystemException
Throws:
SystemException

countByC_A

public static int countByC_A(long countryId,
                             boolean active)
                      throws SystemException
Throws:
SystemException

countAll

public static int countAll()
                    throws SystemException
Throws:
SystemException

getPersistence

public static RegionPersistence getPersistence()

setPersistence

public void setPersistence(RegionPersistence persistence)

Liferay 6.0.3