com.liferay.portal.service.persistence
Class OrgLaborUtil

java.lang.Object
  extended bycom.liferay.portal.service.persistence.OrgLaborUtil

public class OrgLaborUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
OrgLaborUtil()
           
 
Method Summary
static int countAll()
           
static int countByOrganizationId(long organizationId)
           
static com.liferay.portal.model.OrgLabor create(long orgLaborId)
           
static com.liferay.portal.model.OrgLabor fetchByPrimaryKey(long orgLaborId)
           
static java.util.List findAll()
           
static java.util.List findAll(int begin, int end)
           
static java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portal.model.OrgLabor findByOrganizationId_First(long organizationId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portal.model.OrgLabor findByOrganizationId_Last(long organizationId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portal.model.OrgLabor[] findByOrganizationId_PrevAndNext(long orgLaborId, long organizationId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List findByOrganizationId(long organizationId)
           
static java.util.List findByOrganizationId(long organizationId, int begin, int end)
           
static java.util.List findByOrganizationId(long organizationId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portal.model.OrgLabor findByPrimaryKey(long orgLaborId)
           
static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static OrgLaborPersistence getPersistence()
           
static com.liferay.portal.model.OrgLabor remove(long orgLaborId)
           
static com.liferay.portal.model.OrgLabor remove(com.liferay.portal.model.OrgLabor orgLabor)
           
static void removeAll()
           
static void removeByOrganizationId(long organizationId)
           
 void setPersistence(OrgLaborPersistence persistence)
           
static com.liferay.portal.model.OrgLabor update(com.liferay.portal.model.OrgLabor orgLabor)
           
static com.liferay.portal.model.OrgLabor update(com.liferay.portal.model.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

create

public static com.liferay.portal.model.OrgLabor create(long orgLaborId)

remove

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

remove

public static com.liferay.portal.model.OrgLabor remove(com.liferay.portal.model.OrgLabor orgLabor)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public static com.liferay.portal.model.OrgLabor update(com.liferay.portal.model.OrgLabor orgLabor)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public static com.liferay.portal.model.OrgLabor update(com.liferay.portal.model.OrgLabor orgLabor,
                                                       boolean merge)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

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

fetchByPrimaryKey

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

findByOrganizationId

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

findByOrganizationId

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

findByOrganizationId

public static java.util.List findByOrganizationId(long organizationId,
                                                  int begin,
                                                  int end,
                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByOrganizationId_First

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

findByOrganizationId_Last

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

findByOrganizationId_PrevAndNext

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

findWithDynamicQuery

public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                                  int begin,
                                                  int end)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

public static java.util.List findAll(int begin,
                                     int end)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List findAll(int begin,
                                     int end,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                              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)