com.liferay.portal.service.persistence
Interface OrgLaborPersistence

All Superinterfaces:
BasePersistence<OrgLabor>

public interface OrgLaborPersistence
extends BasePersistence<OrgLabor>

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

Method Summary
 void cacheResult(java.util.List<OrgLabor> orgLabors)
           
 void cacheResult(OrgLabor orgLabor)
           
 int countAll()
           
 int countByOrganizationId(long organizationId)
           
 OrgLabor create(long orgLaborId)
           
 OrgLabor fetchByPrimaryKey(long orgLaborId)
           
 java.util.List<OrgLabor> findAll()
           
 java.util.List<OrgLabor> findAll(int start, int end)
           
 java.util.List<OrgLabor> findAll(int start, int end, OrderByComparator orderByComparator)
           
 OrgLabor findByOrganizationId_First(long organizationId, OrderByComparator orderByComparator)
           
 OrgLabor findByOrganizationId_Last(long organizationId, OrderByComparator orderByComparator)
           
 OrgLabor[] findByOrganizationId_PrevAndNext(long orgLaborId, long organizationId, OrderByComparator orderByComparator)
           
 java.util.List<OrgLabor> findByOrganizationId(long organizationId)
           
 java.util.List<OrgLabor> findByOrganizationId(long organizationId, int start, int end)
           
 java.util.List<OrgLabor> findByOrganizationId(long organizationId, int start, int end, OrderByComparator orderByComparator)
           
 OrgLabor findByPrimaryKey(long orgLaborId)
           
 OrgLabor remove(long orgLaborId)
           
 void removeAll()
           
 void removeByOrganizationId(long organizationId)
           
 OrgLabor updateImpl(OrgLabor orgLabor, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(OrgLabor orgLabor)

cacheResult

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

create

OrgLabor create(long orgLaborId)

remove

OrgLabor remove(long orgLaborId)
                throws NoSuchOrgLaborException,
                       SystemException
Throws:
NoSuchOrgLaborException
SystemException

updateImpl

OrgLabor updateImpl(OrgLabor orgLabor,
                    boolean merge)
                    throws SystemException
Throws:
SystemException

findByPrimaryKey

OrgLabor findByPrimaryKey(long orgLaborId)
                          throws NoSuchOrgLaborException,
                                 SystemException
Throws:
NoSuchOrgLaborException
SystemException

fetchByPrimaryKey

OrgLabor fetchByPrimaryKey(long orgLaborId)
                           throws SystemException
Throws:
SystemException

findByOrganizationId

java.util.List<OrgLabor> findByOrganizationId(long organizationId)
                                              throws SystemException
Throws:
SystemException

findByOrganizationId

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

findByOrganizationId

java.util.List<OrgLabor> findByOrganizationId(long organizationId,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                              throws SystemException
Throws:
SystemException

findByOrganizationId_First

OrgLabor findByOrganizationId_First(long organizationId,
                                    OrderByComparator orderByComparator)
                                    throws NoSuchOrgLaborException,
                                           SystemException
Throws:
NoSuchOrgLaborException
SystemException

findByOrganizationId_Last

OrgLabor findByOrganizationId_Last(long organizationId,
                                   OrderByComparator orderByComparator)
                                   throws NoSuchOrgLaborException,
                                          SystemException
Throws:
NoSuchOrgLaborException
SystemException

findByOrganizationId_PrevAndNext

OrgLabor[] findByOrganizationId_PrevAndNext(long orgLaborId,
                                            long organizationId,
                                            OrderByComparator orderByComparator)
                                            throws NoSuchOrgLaborException,
                                                   SystemException
Throws:
NoSuchOrgLaborException
SystemException

findAll

java.util.List<OrgLabor> findAll()
                                 throws SystemException
Throws:
SystemException

findAll

java.util.List<OrgLabor> findAll(int start,
                                 int end)
                                 throws SystemException
Throws:
SystemException

findAll

java.util.List<OrgLabor> findAll(int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Throws:
SystemException

removeByOrganizationId

void removeByOrganizationId(long organizationId)
                            throws SystemException
Throws:
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByOrganizationId

int countByOrganizationId(long organizationId)
                          throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException