com.liferay.portal.service.persistence
Class OrgLaborUtil

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

public class OrgLaborUtil
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:
OrgLaborPersistence, OrgLaborPersistenceImpl
Generated:

Constructor Summary
OrgLaborUtil()
           
 
Method Summary
static void cacheResult(java.util.List<OrgLabor> orgLabors)
           
static void cacheResult(OrgLabor orgLabor)
           
static void clearCache()
           
static void clearCache(OrgLabor orgLabor)
           
static int countAll()
           
static int countByOrganizationId(long organizationId)
           
 int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static OrgLabor create(long orgLaborId)
           
static OrgLabor fetchByPrimaryKey(long orgLaborId)
           
static java.util.List<OrgLabor> findAll()
           
static java.util.List<OrgLabor> findAll(int start, int end)
           
static java.util.List<OrgLabor> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static OrgLabor findByOrganizationId_First(long organizationId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static OrgLabor findByOrganizationId_Last(long organizationId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static OrgLabor[] findByOrganizationId_PrevAndNext(long orgLaborId, long organizationId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static java.util.List<OrgLabor> findByOrganizationId(long organizationId)
           
static java.util.List<OrgLabor> findByOrganizationId(long organizationId, int start, int end)
           
static java.util.List<OrgLabor> findByOrganizationId(long organizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static OrgLabor findByPrimaryKey(long orgLaborId)
           
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 OrgLaborPersistence getPersistence()
           
static OrgLabor remove(long orgLaborId)
           
static OrgLabor remove(OrgLabor orgLabor)
           
static void removeAll()
           
static void removeByOrganizationId(long organizationId)
           
 void setPersistence(OrgLaborPersistence persistence)
           
static OrgLabor update(OrgLabor orgLabor)
          Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean).
static OrgLabor update(OrgLabor orgLabor, boolean merge)
           
static OrgLabor updateImpl(OrgLabor orgLabor, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrgLaborUtil

public OrgLaborUtil()
Method Detail

clearCache

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

clearCache

public static void clearCache(OrgLabor orgLabor)
See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(OrgLabor)

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 OrgLabor remove(OrgLabor orgLabor)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static OrgLabor update(OrgLabor orgLabor,
                              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(OrgLabor orgLabor)

cacheResult

public static void cacheResult(java.util.List<OrgLabor> orgLabors)

create

public static OrgLabor create(long orgLaborId)

remove

public static OrgLabor remove(long orgLaborId)
                       throws NoSuchOrgLaborException,
                              com.liferay.portal.SystemException
Throws:
NoSuchOrgLaborException
com.liferay.portal.SystemException

update

public static OrgLabor update(OrgLabor orgLabor)
                       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 OrgLabor updateImpl(OrgLabor orgLabor,
                                  boolean merge)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public static OrgLabor findByPrimaryKey(long orgLaborId)
                                 throws NoSuchOrgLaborException,
                                        com.liferay.portal.SystemException
Throws:
NoSuchOrgLaborException
com.liferay.portal.SystemException

fetchByPrimaryKey

public static OrgLabor fetchByPrimaryKey(long orgLaborId)
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByOrganizationId

public static java.util.List<OrgLabor> findByOrganizationId(long organizationId)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByOrganizationId

public static java.util.List<OrgLabor> findByOrganizationId(long organizationId,
                                                            int start,
                                                            int end)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByOrganizationId

public static java.util.List<OrgLabor> findByOrganizationId(long organizationId,
                                                            int start,
                                                            int end,
                                                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByOrganizationId_First

public static OrgLabor findByOrganizationId_First(long organizationId,
                                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                           throws NoSuchOrgLaborException,
                                                  com.liferay.portal.SystemException
Throws:
NoSuchOrgLaborException
com.liferay.portal.SystemException

findByOrganizationId_Last

public static OrgLabor findByOrganizationId_Last(long organizationId,
                                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                          throws NoSuchOrgLaborException,
                                                 com.liferay.portal.SystemException
Throws:
NoSuchOrgLaborException
com.liferay.portal.SystemException

findByOrganizationId_PrevAndNext

public static OrgLabor[] findByOrganizationId_PrevAndNext(long orgLaborId,
                                                          long organizationId,
                                                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                   throws NoSuchOrgLaborException,
                                                          com.liferay.portal.SystemException
Throws:
NoSuchOrgLaborException
com.liferay.portal.SystemException

findAll

public static java.util.List<OrgLabor> findAll()
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List<OrgLabor> findAll(int start,
                                               int end)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List<OrgLabor> findAll(int start,
                                               int end,
                                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByOrganizationId

public static void removeByOrganizationId(long organizationId)
                                   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

countByOrganizationId

public static int countByOrganizationId(long organizationId)
                                 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 OrgLaborPersistence getPersistence()

setPersistence

public void setPersistence(OrgLaborPersistence persistence)