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, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 OrgLabor findByOrganizationId_First(long organizationId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 OrgLabor findByOrganizationId_Last(long organizationId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 OrgLabor[] findByOrganizationId_PrevAndNext(long orgLaborId, long organizationId, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 OrgLabor findByPrimaryKey(long orgLaborId)
           
 OrgLabor remove(long orgLaborId)
           
 void removeAll()
           
 void removeByOrganizationId(long organizationId)
           
 OrgLabor update(OrgLabor orgLabor)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 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,
                       com.liferay.portal.SystemException
Throws:
NoSuchOrgLaborException
com.liferay.portal.SystemException

update

OrgLabor update(OrgLabor orgLabor)
                throws com.liferay.portal.SystemException
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

OrgLabor updateImpl(OrgLabor orgLabor,
                    boolean merge)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

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

fetchByPrimaryKey

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

findByOrganizationId

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

findByOrganizationId

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

findByOrganizationId

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

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

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

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

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

findAll

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

findAll

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

void removeByOrganizationId(long organizationId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByOrganizationId

int countByOrganizationId(long organizationId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException