Liferay 6.0.3

com.liferay.portal.service.persistence
Class AddressUtil

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

public class AddressUtil
extends Object

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

Constructor Summary
AddressUtil()
           
 
Method Summary
static void cacheResult(Address address)
           
static void cacheResult(List<Address> addresses)
           
static void clearCache()
           
static void clearCache(Address address)
           
static int countAll()
           
static int countByC_C_C_M(long companyId, long classNameId, long classPK, boolean mailing)
           
static int countByC_C_C_P(long companyId, long classNameId, long classPK, boolean primary)
           
static int countByC_C_C(long companyId, long classNameId, long classPK)
           
static int countByC_C(long companyId, long classNameId)
           
static int countByCompanyId(long companyId)
           
static int countByUserId(long userId)
           
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static Address create(long addressId)
           
static Address fetchByPrimaryKey(long addressId)
           
static List<Address> findAll()
           
static List<Address> findAll(int start, int end)
           
static List<Address> findAll(int start, int end, OrderByComparator orderByComparator)
           
static Address findByC_C_C_First(long companyId, long classNameId, long classPK, OrderByComparator orderByComparator)
           
static Address findByC_C_C_Last(long companyId, long classNameId, long classPK, OrderByComparator orderByComparator)
           
static Address findByC_C_C_M_First(long companyId, long classNameId, long classPK, boolean mailing, OrderByComparator orderByComparator)
           
static Address findByC_C_C_M_Last(long companyId, long classNameId, long classPK, boolean mailing, OrderByComparator orderByComparator)
           
static Address[] findByC_C_C_M_PrevAndNext(long addressId, long companyId, long classNameId, long classPK, boolean mailing, OrderByComparator orderByComparator)
           
static List<Address> findByC_C_C_M(long companyId, long classNameId, long classPK, boolean mailing)
           
static List<Address> findByC_C_C_M(long companyId, long classNameId, long classPK, boolean mailing, int start, int end)
           
static List<Address> findByC_C_C_M(long companyId, long classNameId, long classPK, boolean mailing, int start, int end, OrderByComparator orderByComparator)
           
static Address findByC_C_C_P_First(long companyId, long classNameId, long classPK, boolean primary, OrderByComparator orderByComparator)
           
static Address findByC_C_C_P_Last(long companyId, long classNameId, long classPK, boolean primary, OrderByComparator orderByComparator)
           
static Address[] findByC_C_C_P_PrevAndNext(long addressId, long companyId, long classNameId, long classPK, boolean primary, OrderByComparator orderByComparator)
           
static List<Address> findByC_C_C_P(long companyId, long classNameId, long classPK, boolean primary)
           
static List<Address> findByC_C_C_P(long companyId, long classNameId, long classPK, boolean primary, int start, int end)
           
static List<Address> findByC_C_C_P(long companyId, long classNameId, long classPK, boolean primary, int start, int end, OrderByComparator orderByComparator)
           
static Address[] findByC_C_C_PrevAndNext(long addressId, long companyId, long classNameId, long classPK, OrderByComparator orderByComparator)
           
static List<Address> findByC_C_C(long companyId, long classNameId, long classPK)
           
static List<Address> findByC_C_C(long companyId, long classNameId, long classPK, int start, int end)
           
static List<Address> findByC_C_C(long companyId, long classNameId, long classPK, int start, int end, OrderByComparator orderByComparator)
           
static Address findByC_C_First(long companyId, long classNameId, OrderByComparator orderByComparator)
           
static Address findByC_C_Last(long companyId, long classNameId, OrderByComparator orderByComparator)
           
static Address[] findByC_C_PrevAndNext(long addressId, long companyId, long classNameId, OrderByComparator orderByComparator)
           
static List<Address> findByC_C(long companyId, long classNameId)
           
static List<Address> findByC_C(long companyId, long classNameId, int start, int end)
           
static List<Address> findByC_C(long companyId, long classNameId, int start, int end, OrderByComparator orderByComparator)
           
static Address findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
           
static Address findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
           
static Address[] findByCompanyId_PrevAndNext(long addressId, long companyId, OrderByComparator orderByComparator)
           
static List<Address> findByCompanyId(long companyId)
           
static List<Address> findByCompanyId(long companyId, int start, int end)
           
static List<Address> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
           
static Address findByPrimaryKey(long addressId)
           
static Address findByUserId_First(long userId, OrderByComparator orderByComparator)
           
static Address findByUserId_Last(long userId, OrderByComparator orderByComparator)
           
static Address[] findByUserId_PrevAndNext(long addressId, long userId, OrderByComparator orderByComparator)
           
static List<Address> findByUserId(long userId)
           
static List<Address> findByUserId(long userId, int start, int end)
           
static List<Address> findByUserId(long userId, int start, int end, OrderByComparator orderByComparator)
           
static List<Address> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static List<Address> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static List<Address> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static AddressPersistence getPersistence()
           
static Address remove(Address address)
           
static Address remove(long addressId)
           
static void removeAll()
           
static void removeByC_C_C_M(long companyId, long classNameId, long classPK, boolean mailing)
           
static void removeByC_C_C_P(long companyId, long classNameId, long classPK, boolean primary)
           
static void removeByC_C_C(long companyId, long classNameId, long classPK)
           
static void removeByC_C(long companyId, long classNameId)
           
static void removeByCompanyId(long companyId)
           
static void removeByUserId(long userId)
           
 void setPersistence(AddressPersistence persistence)
           
static Address update(Address address, boolean merge)
           
static Address update(Address address, boolean merge, ServiceContext serviceContext)
           
static Address updateImpl(Address address, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddressUtil

public AddressUtil()
Method Detail

clearCache

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

clearCache

public static void clearCache(Address address)
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<Address> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                          throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

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

findWithDynamicQuery

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

remove

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

update

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

update

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

cacheResult

public static void cacheResult(Address address)

cacheResult

public static void cacheResult(List<Address> addresses)

create

public static Address create(long addressId)

remove

public static Address remove(long addressId)
                      throws NoSuchAddressException,
                             SystemException
Throws:
NoSuchAddressException
SystemException

updateImpl

public static Address updateImpl(Address address,
                                 boolean merge)
                          throws SystemException
Throws:
SystemException

findByPrimaryKey

public static Address findByPrimaryKey(long addressId)
                                throws NoSuchAddressException,
                                       SystemException
Throws:
NoSuchAddressException
SystemException

fetchByPrimaryKey

public static Address fetchByPrimaryKey(long addressId)
                                 throws SystemException
Throws:
SystemException

findByCompanyId

public static List<Address> findByCompanyId(long companyId)
                                     throws SystemException
Throws:
SystemException

findByCompanyId

public static List<Address> findByCompanyId(long companyId,
                                            int start,
                                            int end)
                                     throws SystemException
Throws:
SystemException

findByCompanyId

public static List<Address> findByCompanyId(long companyId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Throws:
SystemException

findByCompanyId_First

public static Address findByCompanyId_First(long companyId,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchAddressException,
                                            SystemException
Throws:
NoSuchAddressException
SystemException

findByCompanyId_Last

public static Address findByCompanyId_Last(long companyId,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchAddressException,
                                           SystemException
Throws:
NoSuchAddressException
SystemException

findByCompanyId_PrevAndNext

public static Address[] findByCompanyId_PrevAndNext(long addressId,
                                                    long companyId,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchAddressException,
                                                    SystemException
Throws:
NoSuchAddressException
SystemException

findByUserId

public static List<Address> findByUserId(long userId)
                                  throws SystemException
Throws:
SystemException

findByUserId

public static List<Address> findByUserId(long userId,
                                         int start,
                                         int end)
                                  throws SystemException
Throws:
SystemException

findByUserId

public static List<Address> findByUserId(long userId,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Throws:
SystemException

findByUserId_First

public static Address findByUserId_First(long userId,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchAddressException,
                                         SystemException
Throws:
NoSuchAddressException
SystemException

findByUserId_Last

public static Address findByUserId_Last(long userId,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchAddressException,
                                        SystemException
Throws:
NoSuchAddressException
SystemException

findByUserId_PrevAndNext

public static Address[] findByUserId_PrevAndNext(long addressId,
                                                 long userId,
                                                 OrderByComparator orderByComparator)
                                          throws NoSuchAddressException,
                                                 SystemException
Throws:
NoSuchAddressException
SystemException

findByC_C

public static List<Address> findByC_C(long companyId,
                                      long classNameId)
                               throws SystemException
Throws:
SystemException

findByC_C

public static List<Address> findByC_C(long companyId,
                                      long classNameId,
                                      int start,
                                      int end)
                               throws SystemException
Throws:
SystemException

findByC_C

public static List<Address> findByC_C(long companyId,
                                      long classNameId,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Throws:
SystemException

findByC_C_First

public static Address findByC_C_First(long companyId,
                                      long classNameId,
                                      OrderByComparator orderByComparator)
                               throws NoSuchAddressException,
                                      SystemException
Throws:
NoSuchAddressException
SystemException

findByC_C_Last

public static Address findByC_C_Last(long companyId,
                                     long classNameId,
                                     OrderByComparator orderByComparator)
                              throws NoSuchAddressException,
                                     SystemException
Throws:
NoSuchAddressException
SystemException

findByC_C_PrevAndNext

public static Address[] findByC_C_PrevAndNext(long addressId,
                                              long companyId,
                                              long classNameId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchAddressException,
                                              SystemException
Throws:
NoSuchAddressException
SystemException

findByC_C_C

public static List<Address> findByC_C_C(long companyId,
                                        long classNameId,
                                        long classPK)
                                 throws SystemException
Throws:
SystemException

findByC_C_C

public static List<Address> findByC_C_C(long companyId,
                                        long classNameId,
                                        long classPK,
                                        int start,
                                        int end)
                                 throws SystemException
Throws:
SystemException

findByC_C_C

public static List<Address> findByC_C_C(long companyId,
                                        long classNameId,
                                        long classPK,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Throws:
SystemException

findByC_C_C_First

public static Address findByC_C_C_First(long companyId,
                                        long classNameId,
                                        long classPK,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchAddressException,
                                        SystemException
Throws:
NoSuchAddressException
SystemException

findByC_C_C_Last

public static Address findByC_C_C_Last(long companyId,
                                       long classNameId,
                                       long classPK,
                                       OrderByComparator orderByComparator)
                                throws NoSuchAddressException,
                                       SystemException
Throws:
NoSuchAddressException
SystemException

findByC_C_C_PrevAndNext

public static Address[] findByC_C_C_PrevAndNext(long addressId,
                                                long companyId,
                                                long classNameId,
                                                long classPK,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchAddressException,
                                                SystemException
Throws:
NoSuchAddressException
SystemException

findByC_C_C_M

public static List<Address> findByC_C_C_M(long companyId,
                                          long classNameId,
                                          long classPK,
                                          boolean mailing)
                                   throws SystemException
Throws:
SystemException

findByC_C_C_M

public static List<Address> findByC_C_C_M(long companyId,
                                          long classNameId,
                                          long classPK,
                                          boolean mailing,
                                          int start,
                                          int end)
                                   throws SystemException
Throws:
SystemException

findByC_C_C_M

public static List<Address> findByC_C_C_M(long companyId,
                                          long classNameId,
                                          long classPK,
                                          boolean mailing,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Throws:
SystemException

findByC_C_C_M_First

public static Address findByC_C_C_M_First(long companyId,
                                          long classNameId,
                                          long classPK,
                                          boolean mailing,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchAddressException,
                                          SystemException
Throws:
NoSuchAddressException
SystemException

findByC_C_C_M_Last

public static Address findByC_C_C_M_Last(long companyId,
                                         long classNameId,
                                         long classPK,
                                         boolean mailing,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchAddressException,
                                         SystemException
Throws:
NoSuchAddressException
SystemException

findByC_C_C_M_PrevAndNext

public static Address[] findByC_C_C_M_PrevAndNext(long addressId,
                                                  long companyId,
                                                  long classNameId,
                                                  long classPK,
                                                  boolean mailing,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchAddressException,
                                                  SystemException
Throws:
NoSuchAddressException
SystemException

findByC_C_C_P

public static List<Address> findByC_C_C_P(long companyId,
                                          long classNameId,
                                          long classPK,
                                          boolean primary)
                                   throws SystemException
Throws:
SystemException

findByC_C_C_P

public static List<Address> findByC_C_C_P(long companyId,
                                          long classNameId,
                                          long classPK,
                                          boolean primary,
                                          int start,
                                          int end)
                                   throws SystemException
Throws:
SystemException

findByC_C_C_P

public static List<Address> findByC_C_C_P(long companyId,
                                          long classNameId,
                                          long classPK,
                                          boolean primary,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Throws:
SystemException

findByC_C_C_P_First

public static Address findByC_C_C_P_First(long companyId,
                                          long classNameId,
                                          long classPK,
                                          boolean primary,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchAddressException,
                                          SystemException
Throws:
NoSuchAddressException
SystemException

findByC_C_C_P_Last

public static Address findByC_C_C_P_Last(long companyId,
                                         long classNameId,
                                         long classPK,
                                         boolean primary,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchAddressException,
                                         SystemException
Throws:
NoSuchAddressException
SystemException

findByC_C_C_P_PrevAndNext

public static Address[] findByC_C_C_P_PrevAndNext(long addressId,
                                                  long companyId,
                                                  long classNameId,
                                                  long classPK,
                                                  boolean primary,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchAddressException,
                                                  SystemException
Throws:
NoSuchAddressException
SystemException

findAll

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

findAll

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

findAll

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

removeByCompanyId

public static void removeByCompanyId(long companyId)
                              throws SystemException
Throws:
SystemException

removeByUserId

public static void removeByUserId(long userId)
                           throws SystemException
Throws:
SystemException

removeByC_C

public static void removeByC_C(long companyId,
                               long classNameId)
                        throws SystemException
Throws:
SystemException

removeByC_C_C

public static void removeByC_C_C(long companyId,
                                 long classNameId,
                                 long classPK)
                          throws SystemException
Throws:
SystemException

removeByC_C_C_M

public static void removeByC_C_C_M(long companyId,
                                   long classNameId,
                                   long classPK,
                                   boolean mailing)
                            throws SystemException
Throws:
SystemException

removeByC_C_C_P

public static void removeByC_C_C_P(long companyId,
                                   long classNameId,
                                   long classPK,
                                   boolean primary)
                            throws SystemException
Throws:
SystemException

removeAll

public static void removeAll()
                      throws SystemException
Throws:
SystemException

countByCompanyId

public static int countByCompanyId(long companyId)
                            throws SystemException
Throws:
SystemException

countByUserId

public static int countByUserId(long userId)
                         throws SystemException
Throws:
SystemException

countByC_C

public static int countByC_C(long companyId,
                             long classNameId)
                      throws SystemException
Throws:
SystemException

countByC_C_C

public static int countByC_C_C(long companyId,
                               long classNameId,
                               long classPK)
                        throws SystemException
Throws:
SystemException

countByC_C_C_M

public static int countByC_C_C_M(long companyId,
                                 long classNameId,
                                 long classPK,
                                 boolean mailing)
                          throws SystemException
Throws:
SystemException

countByC_C_C_P

public static int countByC_C_C_P(long companyId,
                                 long classNameId,
                                 long classPK,
                                 boolean primary)
                          throws SystemException
Throws:
SystemException

countAll

public static int countAll()
                    throws SystemException
Throws:
SystemException

getPersistence

public static AddressPersistence getPersistence()

setPersistence

public void setPersistence(AddressPersistence persistence)

Liferay 6.0.3