com.liferay.portal.service.persistence
Interface OrgLaborPersistence
- All Superinterfaces:
- BasePersistence<OrgLabor>
- All Known Implementing Classes:
- OrgLaborPersistenceImpl
public interface OrgLaborPersistence
- extends BasePersistence<OrgLabor>
- See Also:
OrgLaborPersistenceImpl,
OrgLaborUtil- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
void |
cacheResult(List<OrgLabor> orgLabors)
|
void |
cacheResult(OrgLabor orgLabor)
|
int |
countAll()
|
int |
countByOrganizationId(long organizationId)
|
OrgLabor |
create(long orgLaborId)
|
OrgLabor |
fetchByPrimaryKey(long orgLaborId)
|
List<OrgLabor> |
findAll()
|
List<OrgLabor> |
findAll(int start,
int end)
|
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)
|
List<OrgLabor> |
findByOrganizationId(long organizationId)
|
List<OrgLabor> |
findByOrganizationId(long organizationId,
int start,
int end)
|
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, update |
cacheResult
void cacheResult(OrgLabor orgLabor)
cacheResult
void cacheResult(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
List<OrgLabor> findByOrganizationId(long organizationId)
throws SystemException
- Throws:
SystemException
findByOrganizationId
List<OrgLabor> findByOrganizationId(long organizationId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByOrganizationId
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
List<OrgLabor> findAll()
throws SystemException
- Throws:
SystemException
findAll
List<OrgLabor> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
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