|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.OrgLaborUtil
public class OrgLaborUtil
The persistence utility for the org labor service.
Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regnerate this class.
OrgLaborPersistence,
OrgLaborPersistenceImpl| Constructor Summary | |
|---|---|
OrgLaborUtil()
|
|
| Method Summary | |
|---|---|
static void |
cacheResult(List<OrgLabor> orgLabors)
Caches the org labors in the entity cache if it is enabled. |
static void |
cacheResult(OrgLabor orgLabor)
Caches the org labor in the entity cache if it is enabled. |
static void |
clearCache()
|
static void |
clearCache(OrgLabor orgLabor)
|
static int |
countAll()
Counts all the org labors. |
static int |
countByOrganizationId(long organizationId)
Counts all the org labors where organizationId = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static OrgLabor |
create(long orgLaborId)
Creates a new org labor with the primary key. |
static OrgLabor |
fetchByPrimaryKey(long orgLaborId)
Finds the org labor with the primary key or returns null if it could not be found. |
static List<OrgLabor> |
findAll()
Finds all the org labors. |
static List<OrgLabor> |
findAll(int start,
int end)
Finds a range of all the org labors. |
static List<OrgLabor> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the org labors. |
static OrgLabor |
findByOrganizationId_First(long organizationId,
OrderByComparator orderByComparator)
Finds the first org labor in the ordered set where organizationId = ?. |
static OrgLabor |
findByOrganizationId_Last(long organizationId,
OrderByComparator orderByComparator)
Finds the last org labor in the ordered set where organizationId = ?. |
static OrgLabor[] |
findByOrganizationId_PrevAndNext(long orgLaborId,
long organizationId,
OrderByComparator orderByComparator)
Finds the org labors before and after the current org labor in the ordered set where organizationId = ?. |
static List<OrgLabor> |
findByOrganizationId(long organizationId)
Finds all the org labors where organizationId = ?. |
static List<OrgLabor> |
findByOrganizationId(long organizationId,
int start,
int end)
Finds a range of all the org labors where organizationId = ?. |
static List<OrgLabor> |
findByOrganizationId(long organizationId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the org labors where organizationId = ?. |
static OrgLabor |
findByPrimaryKey(long orgLaborId)
Finds the org labor with the primary key or throws a NoSuchOrgLaborException if it could not be found. |
static List<OrgLabor> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<OrgLabor> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<OrgLabor> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static OrgLaborPersistence |
getPersistence()
|
static OrgLabor |
remove(long orgLaborId)
Removes the org labor with the primary key from the database. |
static OrgLabor |
remove(OrgLabor orgLabor)
|
static void |
removeAll()
Removes all the org labors from the database. |
static void |
removeByOrganizationId(long organizationId)
Removes all the org labors where organizationId = ? from the database. |
void |
setPersistence(OrgLaborPersistence persistence)
|
static OrgLabor |
update(OrgLabor orgLabor,
boolean merge)
|
static OrgLabor |
update(OrgLabor orgLabor,
boolean merge,
ServiceContext serviceContext)
|
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 |
|---|
public OrgLaborUtil()
| Method Detail |
|---|
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(OrgLabor orgLabor)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<OrgLabor> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<OrgLabor> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<OrgLabor> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static OrgLabor remove(OrgLabor orgLabor)
throws SystemException
SystemExceptionBasePersistence.remove(com.liferay.portal.model.BaseModel)
public static OrgLabor update(OrgLabor orgLabor,
boolean merge)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static OrgLabor update(OrgLabor orgLabor,
boolean merge,
ServiceContext serviceContext)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)public static void cacheResult(OrgLabor orgLabor)
orgLabor - the org labor to cachepublic static void cacheResult(List<OrgLabor> orgLabors)
orgLabors - the org labors to cachepublic static OrgLabor create(long orgLaborId)
orgLaborId - the primary key for the new org labor
public static OrgLabor remove(long orgLaborId)
throws NoSuchOrgLaborException,
SystemException
orgLaborId - the primary key of the org labor to remove
NoSuchOrgLaborException - if a org labor with the primary key could not be found
SystemException - if a system exception occurred
public static OrgLabor updateImpl(OrgLabor orgLabor,
boolean merge)
throws SystemException
SystemException
public static OrgLabor findByPrimaryKey(long orgLaborId)
throws NoSuchOrgLaborException,
SystemException
NoSuchOrgLaborException if it could not be found.
orgLaborId - the primary key of the org labor to find
NoSuchOrgLaborException - if a org labor with the primary key could not be found
SystemException - if a system exception occurred
public static OrgLabor fetchByPrimaryKey(long orgLaborId)
throws SystemException
null if it could not be found.
orgLaborId - the primary key of the org labor to find
null if a org labor with the primary key could not be found
SystemException - if a system exception occurred
public static List<OrgLabor> findByOrganizationId(long organizationId)
throws SystemException
organizationId - the organization id to search with
SystemException - if a system exception occurred
public static List<OrgLabor> findByOrganizationId(long organizationId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
organizationId - the organization id to search withstart - the lower bound of the range of org labors to returnend - the upper bound of the range of org labors to return (not inclusive)
SystemException - if a system exception occurred
public static List<OrgLabor> findByOrganizationId(long organizationId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
organizationId - the organization id to search withstart - the lower bound of the range of org labors to returnend - the upper bound of the range of org labors to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static OrgLabor findByOrganizationId_First(long organizationId,
OrderByComparator orderByComparator)
throws NoSuchOrgLaborException,
SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
organizationId - the organization id to search withorderByComparator - the comparator to order the set by
NoSuchOrgLaborException - if a matching org labor could not be found
SystemException - if a system exception occurred
public static OrgLabor findByOrganizationId_Last(long organizationId,
OrderByComparator orderByComparator)
throws NoSuchOrgLaborException,
SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
organizationId - the organization id to search withorderByComparator - the comparator to order the set by
NoSuchOrgLaborException - if a matching org labor could not be found
SystemException - if a system exception occurred
public static OrgLabor[] findByOrganizationId_PrevAndNext(long orgLaborId,
long organizationId,
OrderByComparator orderByComparator)
throws NoSuchOrgLaborException,
SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
orgLaborId - the primary key of the current org labororganizationId - the organization id to search withorderByComparator - the comparator to order the set by
NoSuchOrgLaborException - if a org labor with the primary key could not be found
SystemException - if a system exception occurred
public static List<OrgLabor> findAll()
throws SystemException
SystemException - if a system exception occurred
public static List<OrgLabor> findAll(int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
start - the lower bound of the range of org labors to returnend - the upper bound of the range of org labors to return (not inclusive)
SystemException - if a system exception occurred
public static List<OrgLabor> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
start - the lower bound of the range of org labors to returnend - the upper bound of the range of org labors to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static void removeByOrganizationId(long organizationId)
throws SystemException
organizationId - the organization id to search with
SystemException - if a system exception occurred
public static void removeAll()
throws SystemException
SystemException - if a system exception occurred
public static int countByOrganizationId(long organizationId)
throws SystemException
organizationId - the organization id to search with
SystemException - if a system exception occurred
public static int countAll()
throws SystemException
SystemException - if a system exception occurredpublic static OrgLaborPersistence getPersistence()
public void setPersistence(OrgLaborPersistence persistence)
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||