Interface CPInstanceUnitOfMeasurePersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPInstanceUnitOfMeasure>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPInstanceUnitOfMeasure>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CPInstanceUnitOfMeasure cpInstanceUnitOfMeasure) Caches the cp instance unit of measure in the entity cache if it is enabled.void
cacheResult
(List<CPInstanceUnitOfMeasure> cpInstanceUnitOfMeasures) Caches the cp instance unit of measures in the entity cache if it is enabled.int
countAll()
Returns the number of cp instance unit of measures.int
countByC_A
(long CPInstanceId, boolean active) Returns the number of cp instance unit of measures where CPInstanceId = ? and active = ?.int
countByC_K
(long CPInstanceId, String key) Returns the number of cp instance unit of measures where CPInstanceId = ? and key = ?.int
countByC_K_S
(long companyId, String key, String sku) Returns the number of cp instance unit of measures where companyId = ? and key = ? and sku = ?.int
countByC_P
(long CPInstanceId, boolean primary) Returns the number of cp instance unit of measures where CPInstanceId = ? and primary = ?.int
countByC_S
(long companyId, String sku) Returns the number of cp instance unit of measures where companyId = ? and sku = ?.int
countByCPInstanceId
(long CPInstanceId) Returns the number of cp instance unit of measures where CPInstanceId = ?.int
countByUuid
(String uuid) Returns the number of cp instance unit of measures where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of cp instance unit of measures where uuid = ? and companyId = ?.create
(long CPInstanceUnitOfMeasureId) Creates a new cp instance unit of measure with the primary key.fetchByC_A_First
(long CPInstanceId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the first cp instance unit of measure in the ordered set where CPInstanceId = ? and active = ?.fetchByC_A_Last
(long CPInstanceId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the last cp instance unit of measure in the ordered set where CPInstanceId = ? and active = ?.fetchByC_K
(long CPInstanceId, String key) Returns the cp instance unit of measure where CPInstanceId = ? and key = ? or returnsnull
if it could not be found.fetchByC_K
(long CPInstanceId, String key, boolean useFinderCache) Returns the cp instance unit of measure where CPInstanceId = ? and key = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByC_K_S_First
(long companyId, String key, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the first cp instance unit of measure in the ordered set where companyId = ? and key = ? and sku = ?.fetchByC_K_S_Last
(long companyId, String key, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the last cp instance unit of measure in the ordered set where companyId = ? and key = ? and sku = ?.fetchByC_P_First
(long CPInstanceId, boolean primary, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the first cp instance unit of measure in the ordered set where CPInstanceId = ? and primary = ?.fetchByC_P_Last
(long CPInstanceId, boolean primary, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the last cp instance unit of measure in the ordered set where CPInstanceId = ? and primary = ?.fetchByC_S_First
(long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the first cp instance unit of measure in the ordered set where companyId = ? and sku = ?.fetchByC_S_Last
(long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the last cp instance unit of measure in the ordered set where companyId = ? and sku = ?.fetchByCPInstanceId_First
(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the first cp instance unit of measure in the ordered set where CPInstanceId = ?.fetchByCPInstanceId_Last
(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the last cp instance unit of measure in the ordered set where CPInstanceId = ?.fetchByPrimaryKey
(long CPInstanceUnitOfMeasureId) Returns the cp instance unit of measure with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the first cp instance unit of measure in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the last cp instance unit of measure in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the first cp instance unit of measure in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the last cp instance unit of measure in the ordered set where uuid = ?.findAll()
Returns all the cp instance unit of measures.findAll
(int start, int end) Returns a range of all the cp instance unit of measures.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns an ordered range of all the cp instance unit of measures.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance unit of measures.findByC_A
(long CPInstanceId, boolean active) Returns all the cp instance unit of measures where CPInstanceId = ? and active = ?.findByC_A
(long CPInstanceId, boolean active, int start, int end) Returns a range of all the cp instance unit of measures where CPInstanceId = ? and active = ?.findByC_A
(long CPInstanceId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns an ordered range of all the cp instance unit of measures where CPInstanceId = ? and active = ?.findByC_A
(long CPInstanceId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance unit of measures where CPInstanceId = ? and active = ?.findByC_A_First
(long CPInstanceId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the first cp instance unit of measure in the ordered set where CPInstanceId = ? and active = ?.findByC_A_Last
(long CPInstanceId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the last cp instance unit of measure in the ordered set where CPInstanceId = ? and active = ?.findByC_A_PrevAndNext
(long CPInstanceUnitOfMeasureId, long CPInstanceId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the cp instance unit of measures before and after the current cp instance unit of measure in the ordered set where CPInstanceId = ? and active = ?.Returns the cp instance unit of measure where CPInstanceId = ? and key = ? or throws aNoSuchCPInstanceUnitOfMeasureException
if it could not be found.findByC_K_S
(long companyId, String key, String sku) Returns all the cp instance unit of measures where companyId = ? and key = ? and sku = ?.findByC_K_S
(long companyId, String key, String sku, int start, int end) Returns a range of all the cp instance unit of measures where companyId = ? and key = ? and sku = ?.findByC_K_S
(long companyId, String key, String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns an ordered range of all the cp instance unit of measures where companyId = ? and key = ? and sku = ?.findByC_K_S
(long companyId, String key, String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance unit of measures where companyId = ? and key = ? and sku = ?.findByC_K_S_First
(long companyId, String key, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the first cp instance unit of measure in the ordered set where companyId = ? and key = ? and sku = ?.findByC_K_S_Last
(long companyId, String key, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the last cp instance unit of measure in the ordered set where companyId = ? and key = ? and sku = ?.findByC_K_S_PrevAndNext
(long CPInstanceUnitOfMeasureId, long companyId, String key, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the cp instance unit of measures before and after the current cp instance unit of measure in the ordered set where companyId = ? and key = ? and sku = ?.findByC_P
(long CPInstanceId, boolean primary) Returns all the cp instance unit of measures where CPInstanceId = ? and primary = ?.findByC_P
(long CPInstanceId, boolean primary, int start, int end) Returns a range of all the cp instance unit of measures where CPInstanceId = ? and primary = ?.findByC_P
(long CPInstanceId, boolean primary, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns an ordered range of all the cp instance unit of measures where CPInstanceId = ? and primary = ?.findByC_P
(long CPInstanceId, boolean primary, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance unit of measures where CPInstanceId = ? and primary = ?.findByC_P_First
(long CPInstanceId, boolean primary, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the first cp instance unit of measure in the ordered set where CPInstanceId = ? and primary = ?.findByC_P_Last
(long CPInstanceId, boolean primary, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the last cp instance unit of measure in the ordered set where CPInstanceId = ? and primary = ?.findByC_P_PrevAndNext
(long CPInstanceUnitOfMeasureId, long CPInstanceId, boolean primary, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the cp instance unit of measures before and after the current cp instance unit of measure in the ordered set where CPInstanceId = ? and primary = ?.Returns all the cp instance unit of measures where companyId = ? and sku = ?.Returns a range of all the cp instance unit of measures where companyId = ? and sku = ?.findByC_S
(long companyId, String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns an ordered range of all the cp instance unit of measures where companyId = ? and sku = ?.findByC_S
(long companyId, String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance unit of measures where companyId = ? and sku = ?.findByC_S_First
(long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the first cp instance unit of measure in the ordered set where companyId = ? and sku = ?.findByC_S_Last
(long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the last cp instance unit of measure in the ordered set where companyId = ? and sku = ?.findByC_S_PrevAndNext
(long CPInstanceUnitOfMeasureId, long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the cp instance unit of measures before and after the current cp instance unit of measure in the ordered set where companyId = ? and sku = ?.findByCPInstanceId
(long CPInstanceId) Returns all the cp instance unit of measures where CPInstanceId = ?.findByCPInstanceId
(long CPInstanceId, int start, int end) Returns a range of all the cp instance unit of measures where CPInstanceId = ?.findByCPInstanceId
(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns an ordered range of all the cp instance unit of measures where CPInstanceId = ?.findByCPInstanceId
(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance unit of measures where CPInstanceId = ?.findByCPInstanceId_First
(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the first cp instance unit of measure in the ordered set where CPInstanceId = ?.findByCPInstanceId_Last
(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the last cp instance unit of measure in the ordered set where CPInstanceId = ?.findByCPInstanceId_PrevAndNext
(long CPInstanceUnitOfMeasureId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the cp instance unit of measures before and after the current cp instance unit of measure in the ordered set where CPInstanceId = ?.findByPrimaryKey
(long CPInstanceUnitOfMeasureId) Returns the cp instance unit of measure with the primary key or throws aNoSuchCPInstanceUnitOfMeasureException
if it could not be found.findByUuid
(String uuid) Returns all the cp instance unit of measures where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the cp instance unit of measures where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns an ordered range of all the cp instance unit of measures where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance unit of measures where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the cp instance unit of measures where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the cp instance unit of measures where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns an ordered range of all the cp instance unit of measures where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance unit of measures where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the first cp instance unit of measure in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the last cp instance unit of measure in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long CPInstanceUnitOfMeasureId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the cp instance unit of measures before and after the current cp instance unit of measure in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the first cp instance unit of measure in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the last cp instance unit of measure in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long CPInstanceUnitOfMeasureId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the cp instance unit of measures before and after the current cp instance unit of measure in the ordered set where uuid = ?.remove
(long CPInstanceUnitOfMeasureId) Removes the cp instance unit of measure with the primary key from the database.void
Removes all the cp instance unit of measures from the database.void
removeByC_A
(long CPInstanceId, boolean active) Removes all the cp instance unit of measures where CPInstanceId = ? and active = ? from the database.removeByC_K
(long CPInstanceId, String key) Removes the cp instance unit of measure where CPInstanceId = ? and key = ? from the database.void
removeByC_K_S
(long companyId, String key, String sku) Removes all the cp instance unit of measures where companyId = ? and key = ? and sku = ? from the database.void
removeByC_P
(long CPInstanceId, boolean primary) Removes all the cp instance unit of measures where CPInstanceId = ? and primary = ? from the database.void
removeByC_S
(long companyId, String sku) Removes all the cp instance unit of measures where companyId = ? and sku = ? from the database.void
removeByCPInstanceId
(long CPInstanceId) Removes all the cp instance unit of measures where CPInstanceId = ? from the database.void
removeByUuid
(String uuid) Removes all the cp instance unit of measures where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the cp instance unit of measures where uuid = ? and companyId = ? from the database.updateImpl
(CPInstanceUnitOfMeasure cpInstanceUnitOfMeasure) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the cp instance unit of measures where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching cp instance unit of measures
-
findByUuid
Returns a range of all the cp instance unit of measures where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)- Returns:
- the range of matching cp instance unit of measures
-
findByUuid
List<CPInstanceUnitOfMeasure> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns an ordered range of all the cp instance unit of measures where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp instance unit of measures
-
findByUuid
List<CPInstanceUnitOfMeasure> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance unit of measures where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp instance unit of measures
-
findByUuid_First
CPInstanceUnitOfMeasure findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException Returns the first cp instance unit of measure in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a matching cp instance unit of measure could not be found
-
fetchByUuid_First
CPInstanceUnitOfMeasure fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the first cp instance unit of measure in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance unit of measure, or
null
if a matching cp instance unit of measure could not be found
-
findByUuid_Last
CPInstanceUnitOfMeasure findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException Returns the last cp instance unit of measure in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a matching cp instance unit of measure could not be found
-
fetchByUuid_Last
CPInstanceUnitOfMeasure fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the last cp instance unit of measure in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance unit of measure, or
null
if a matching cp instance unit of measure could not be found
-
findByUuid_PrevAndNext
CPInstanceUnitOfMeasure[] findByUuid_PrevAndNext(long CPInstanceUnitOfMeasureId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException Returns the cp instance unit of measures before and after the current cp instance unit of measure in the ordered set where uuid = ?.- Parameters:
CPInstanceUnitOfMeasureId
- the primary key of the current cp instance unit of measureuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a cp instance unit of measure with the primary key could not be found
-
removeByUuid
Removes all the cp instance unit of measures where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of cp instance unit of measures where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching cp instance unit of measures
-
findByUuid_C
Returns all the cp instance unit of measures where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching cp instance unit of measures
-
findByUuid_C
Returns a range of all the cp instance unit of measures where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)- Returns:
- the range of matching cp instance unit of measures
-
findByUuid_C
List<CPInstanceUnitOfMeasure> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns an ordered range of all the cp instance unit of measures where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp instance unit of measures
-
findByUuid_C
List<CPInstanceUnitOfMeasure> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance unit of measures where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp instance unit of measures
-
findByUuid_C_First
CPInstanceUnitOfMeasure findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException Returns the first cp instance unit of measure in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a matching cp instance unit of measure could not be found
-
fetchByUuid_C_First
CPInstanceUnitOfMeasure fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the first cp instance unit of measure in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance unit of measure, or
null
if a matching cp instance unit of measure could not be found
-
findByUuid_C_Last
CPInstanceUnitOfMeasure findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException Returns the last cp instance unit of measure in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a matching cp instance unit of measure could not be found
-
fetchByUuid_C_Last
CPInstanceUnitOfMeasure fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the last cp instance unit of measure in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance unit of measure, or
null
if a matching cp instance unit of measure could not be found
-
findByUuid_C_PrevAndNext
CPInstanceUnitOfMeasure[] findByUuid_C_PrevAndNext(long CPInstanceUnitOfMeasureId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException Returns the cp instance unit of measures before and after the current cp instance unit of measure in the ordered set where uuid = ? and companyId = ?.- Parameters:
CPInstanceUnitOfMeasureId
- the primary key of the current cp instance unit of measureuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a cp instance unit of measure with the primary key could not be found
-
removeByUuid_C
Removes all the cp instance unit of measures where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of cp instance unit of measures where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching cp instance unit of measures
-
findByCPInstanceId
Returns all the cp instance unit of measures where CPInstanceId = ?.- Parameters:
CPInstanceId
- the cp instance ID- Returns:
- the matching cp instance unit of measures
-
findByCPInstanceId
Returns a range of all the cp instance unit of measures where CPInstanceId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
CPInstanceId
- the cp instance IDstart
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)- Returns:
- the range of matching cp instance unit of measures
-
findByCPInstanceId
List<CPInstanceUnitOfMeasure> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns an ordered range of all the cp instance unit of measures where CPInstanceId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
CPInstanceId
- the cp instance IDstart
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp instance unit of measures
-
findByCPInstanceId
List<CPInstanceUnitOfMeasure> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance unit of measures where CPInstanceId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
CPInstanceId
- the cp instance IDstart
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp instance unit of measures
-
findByCPInstanceId_First
CPInstanceUnitOfMeasure findByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException Returns the first cp instance unit of measure in the ordered set where CPInstanceId = ?.- Parameters:
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a matching cp instance unit of measure could not be found
-
fetchByCPInstanceId_First
CPInstanceUnitOfMeasure fetchByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the first cp instance unit of measure in the ordered set where CPInstanceId = ?.- Parameters:
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance unit of measure, or
null
if a matching cp instance unit of measure could not be found
-
findByCPInstanceId_Last
CPInstanceUnitOfMeasure findByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException Returns the last cp instance unit of measure in the ordered set where CPInstanceId = ?.- Parameters:
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a matching cp instance unit of measure could not be found
-
fetchByCPInstanceId_Last
CPInstanceUnitOfMeasure fetchByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the last cp instance unit of measure in the ordered set where CPInstanceId = ?.- Parameters:
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance unit of measure, or
null
if a matching cp instance unit of measure could not be found
-
findByCPInstanceId_PrevAndNext
CPInstanceUnitOfMeasure[] findByCPInstanceId_PrevAndNext(long CPInstanceUnitOfMeasureId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException Returns the cp instance unit of measures before and after the current cp instance unit of measure in the ordered set where CPInstanceId = ?.- Parameters:
CPInstanceUnitOfMeasureId
- the primary key of the current cp instance unit of measureCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a cp instance unit of measure with the primary key could not be found
-
removeByCPInstanceId
void removeByCPInstanceId(long CPInstanceId) Removes all the cp instance unit of measures where CPInstanceId = ? from the database.- Parameters:
CPInstanceId
- the cp instance ID
-
countByCPInstanceId
int countByCPInstanceId(long CPInstanceId) Returns the number of cp instance unit of measures where CPInstanceId = ?.- Parameters:
CPInstanceId
- the cp instance ID- Returns:
- the number of matching cp instance unit of measures
-
findByC_S
Returns all the cp instance unit of measures where companyId = ? and sku = ?.- Parameters:
companyId
- the company IDsku
- the sku- Returns:
- the matching cp instance unit of measures
-
findByC_S
Returns a range of all the cp instance unit of measures where companyId = ? and sku = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
companyId
- the company IDsku
- the skustart
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)- Returns:
- the range of matching cp instance unit of measures
-
findByC_S
List<CPInstanceUnitOfMeasure> findByC_S(long companyId, String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns an ordered range of all the cp instance unit of measures where companyId = ? and sku = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
companyId
- the company IDsku
- the skustart
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp instance unit of measures
-
findByC_S
List<CPInstanceUnitOfMeasure> findByC_S(long companyId, String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance unit of measures where companyId = ? and sku = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
companyId
- the company IDsku
- the skustart
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp instance unit of measures
-
findByC_S_First
CPInstanceUnitOfMeasure findByC_S_First(long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException Returns the first cp instance unit of measure in the ordered set where companyId = ? and sku = ?.- Parameters:
companyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a matching cp instance unit of measure could not be found
-
fetchByC_S_First
CPInstanceUnitOfMeasure fetchByC_S_First(long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the first cp instance unit of measure in the ordered set where companyId = ? and sku = ?.- Parameters:
companyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance unit of measure, or
null
if a matching cp instance unit of measure could not be found
-
findByC_S_Last
CPInstanceUnitOfMeasure findByC_S_Last(long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException Returns the last cp instance unit of measure in the ordered set where companyId = ? and sku = ?.- Parameters:
companyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a matching cp instance unit of measure could not be found
-
fetchByC_S_Last
CPInstanceUnitOfMeasure fetchByC_S_Last(long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the last cp instance unit of measure in the ordered set where companyId = ? and sku = ?.- Parameters:
companyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance unit of measure, or
null
if a matching cp instance unit of measure could not be found
-
findByC_S_PrevAndNext
CPInstanceUnitOfMeasure[] findByC_S_PrevAndNext(long CPInstanceUnitOfMeasureId, long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException Returns the cp instance unit of measures before and after the current cp instance unit of measure in the ordered set where companyId = ? and sku = ?.- Parameters:
CPInstanceUnitOfMeasureId
- the primary key of the current cp instance unit of measurecompanyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a cp instance unit of measure with the primary key could not be found
-
removeByC_S
Removes all the cp instance unit of measures where companyId = ? and sku = ? from the database.- Parameters:
companyId
- the company IDsku
- the sku
-
countByC_S
Returns the number of cp instance unit of measures where companyId = ? and sku = ?.- Parameters:
companyId
- the company IDsku
- the sku- Returns:
- the number of matching cp instance unit of measures
-
findByC_A
Returns all the cp instance unit of measures where CPInstanceId = ? and active = ?.- Parameters:
CPInstanceId
- the cp instance IDactive
- the active- Returns:
- the matching cp instance unit of measures
-
findByC_A
Returns a range of all the cp instance unit of measures where CPInstanceId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
CPInstanceId
- the cp instance IDactive
- the activestart
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)- Returns:
- the range of matching cp instance unit of measures
-
findByC_A
List<CPInstanceUnitOfMeasure> findByC_A(long CPInstanceId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns an ordered range of all the cp instance unit of measures where CPInstanceId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
CPInstanceId
- the cp instance IDactive
- the activestart
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp instance unit of measures
-
findByC_A
List<CPInstanceUnitOfMeasure> findByC_A(long CPInstanceId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance unit of measures where CPInstanceId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
CPInstanceId
- the cp instance IDactive
- the activestart
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp instance unit of measures
-
findByC_A_First
CPInstanceUnitOfMeasure findByC_A_First(long CPInstanceId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException Returns the first cp instance unit of measure in the ordered set where CPInstanceId = ? and active = ?.- Parameters:
CPInstanceId
- the cp instance IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a matching cp instance unit of measure could not be found
-
fetchByC_A_First
CPInstanceUnitOfMeasure fetchByC_A_First(long CPInstanceId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the first cp instance unit of measure in the ordered set where CPInstanceId = ? and active = ?.- Parameters:
CPInstanceId
- the cp instance IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance unit of measure, or
null
if a matching cp instance unit of measure could not be found
-
findByC_A_Last
CPInstanceUnitOfMeasure findByC_A_Last(long CPInstanceId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException Returns the last cp instance unit of measure in the ordered set where CPInstanceId = ? and active = ?.- Parameters:
CPInstanceId
- the cp instance IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a matching cp instance unit of measure could not be found
-
fetchByC_A_Last
CPInstanceUnitOfMeasure fetchByC_A_Last(long CPInstanceId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the last cp instance unit of measure in the ordered set where CPInstanceId = ? and active = ?.- Parameters:
CPInstanceId
- the cp instance IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance unit of measure, or
null
if a matching cp instance unit of measure could not be found
-
findByC_A_PrevAndNext
CPInstanceUnitOfMeasure[] findByC_A_PrevAndNext(long CPInstanceUnitOfMeasureId, long CPInstanceId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException Returns the cp instance unit of measures before and after the current cp instance unit of measure in the ordered set where CPInstanceId = ? and active = ?.- Parameters:
CPInstanceUnitOfMeasureId
- the primary key of the current cp instance unit of measureCPInstanceId
- the cp instance IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a cp instance unit of measure with the primary key could not be found
-
removeByC_A
void removeByC_A(long CPInstanceId, boolean active) Removes all the cp instance unit of measures where CPInstanceId = ? and active = ? from the database.- Parameters:
CPInstanceId
- the cp instance IDactive
- the active
-
countByC_A
int countByC_A(long CPInstanceId, boolean active) Returns the number of cp instance unit of measures where CPInstanceId = ? and active = ?.- Parameters:
CPInstanceId
- the cp instance IDactive
- the active- Returns:
- the number of matching cp instance unit of measures
-
findByC_K
CPInstanceUnitOfMeasure findByC_K(long CPInstanceId, String key) throws NoSuchCPInstanceUnitOfMeasureException Returns the cp instance unit of measure where CPInstanceId = ? and key = ? or throws aNoSuchCPInstanceUnitOfMeasureException
if it could not be found.- Parameters:
CPInstanceId
- the cp instance IDkey
- the key- Returns:
- the matching cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a matching cp instance unit of measure could not be found
-
fetchByC_K
Returns the cp instance unit of measure where CPInstanceId = ? and key = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
CPInstanceId
- the cp instance IDkey
- the key- Returns:
- the matching cp instance unit of measure, or
null
if a matching cp instance unit of measure could not be found
-
fetchByC_K
Returns the cp instance unit of measure where CPInstanceId = ? and key = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
CPInstanceId
- the cp instance IDkey
- the keyuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp instance unit of measure, or
null
if a matching cp instance unit of measure could not be found
-
removeByC_K
CPInstanceUnitOfMeasure removeByC_K(long CPInstanceId, String key) throws NoSuchCPInstanceUnitOfMeasureException Removes the cp instance unit of measure where CPInstanceId = ? and key = ? from the database.- Parameters:
CPInstanceId
- the cp instance IDkey
- the key- Returns:
- the cp instance unit of measure that was removed
- Throws:
NoSuchCPInstanceUnitOfMeasureException
-
countByC_K
Returns the number of cp instance unit of measures where CPInstanceId = ? and key = ?.- Parameters:
CPInstanceId
- the cp instance IDkey
- the key- Returns:
- the number of matching cp instance unit of measures
-
findByC_P
Returns all the cp instance unit of measures where CPInstanceId = ? and primary = ?.- Parameters:
CPInstanceId
- the cp instance IDprimary
- the primary- Returns:
- the matching cp instance unit of measures
-
findByC_P
Returns a range of all the cp instance unit of measures where CPInstanceId = ? and primary = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
CPInstanceId
- the cp instance IDprimary
- the primarystart
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)- Returns:
- the range of matching cp instance unit of measures
-
findByC_P
List<CPInstanceUnitOfMeasure> findByC_P(long CPInstanceId, boolean primary, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns an ordered range of all the cp instance unit of measures where CPInstanceId = ? and primary = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
CPInstanceId
- the cp instance IDprimary
- the primarystart
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp instance unit of measures
-
findByC_P
List<CPInstanceUnitOfMeasure> findByC_P(long CPInstanceId, boolean primary, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance unit of measures where CPInstanceId = ? and primary = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
CPInstanceId
- the cp instance IDprimary
- the primarystart
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp instance unit of measures
-
findByC_P_First
CPInstanceUnitOfMeasure findByC_P_First(long CPInstanceId, boolean primary, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException Returns the first cp instance unit of measure in the ordered set where CPInstanceId = ? and primary = ?.- Parameters:
CPInstanceId
- the cp instance IDprimary
- the primaryorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a matching cp instance unit of measure could not be found
-
fetchByC_P_First
CPInstanceUnitOfMeasure fetchByC_P_First(long CPInstanceId, boolean primary, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the first cp instance unit of measure in the ordered set where CPInstanceId = ? and primary = ?.- Parameters:
CPInstanceId
- the cp instance IDprimary
- the primaryorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance unit of measure, or
null
if a matching cp instance unit of measure could not be found
-
findByC_P_Last
CPInstanceUnitOfMeasure findByC_P_Last(long CPInstanceId, boolean primary, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException Returns the last cp instance unit of measure in the ordered set where CPInstanceId = ? and primary = ?.- Parameters:
CPInstanceId
- the cp instance IDprimary
- the primaryorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a matching cp instance unit of measure could not be found
-
fetchByC_P_Last
CPInstanceUnitOfMeasure fetchByC_P_Last(long CPInstanceId, boolean primary, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the last cp instance unit of measure in the ordered set where CPInstanceId = ? and primary = ?.- Parameters:
CPInstanceId
- the cp instance IDprimary
- the primaryorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance unit of measure, or
null
if a matching cp instance unit of measure could not be found
-
findByC_P_PrevAndNext
CPInstanceUnitOfMeasure[] findByC_P_PrevAndNext(long CPInstanceUnitOfMeasureId, long CPInstanceId, boolean primary, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException Returns the cp instance unit of measures before and after the current cp instance unit of measure in the ordered set where CPInstanceId = ? and primary = ?.- Parameters:
CPInstanceUnitOfMeasureId
- the primary key of the current cp instance unit of measureCPInstanceId
- the cp instance IDprimary
- the primaryorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a cp instance unit of measure with the primary key could not be found
-
removeByC_P
void removeByC_P(long CPInstanceId, boolean primary) Removes all the cp instance unit of measures where CPInstanceId = ? and primary = ? from the database.- Parameters:
CPInstanceId
- the cp instance IDprimary
- the primary
-
countByC_P
int countByC_P(long CPInstanceId, boolean primary) Returns the number of cp instance unit of measures where CPInstanceId = ? and primary = ?.- Parameters:
CPInstanceId
- the cp instance IDprimary
- the primary- Returns:
- the number of matching cp instance unit of measures
-
findByC_K_S
Returns all the cp instance unit of measures where companyId = ? and key = ? and sku = ?.- Parameters:
companyId
- the company IDkey
- the keysku
- the sku- Returns:
- the matching cp instance unit of measures
-
findByC_K_S
List<CPInstanceUnitOfMeasure> findByC_K_S(long companyId, String key, String sku, int start, int end) Returns a range of all the cp instance unit of measures where companyId = ? and key = ? and sku = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
companyId
- the company IDkey
- the keysku
- the skustart
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)- Returns:
- the range of matching cp instance unit of measures
-
findByC_K_S
List<CPInstanceUnitOfMeasure> findByC_K_S(long companyId, String key, String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns an ordered range of all the cp instance unit of measures where companyId = ? and key = ? and sku = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
companyId
- the company IDkey
- the keysku
- the skustart
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp instance unit of measures
-
findByC_K_S
List<CPInstanceUnitOfMeasure> findByC_K_S(long companyId, String key, String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance unit of measures where companyId = ? and key = ? and sku = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
companyId
- the company IDkey
- the keysku
- the skustart
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp instance unit of measures
-
findByC_K_S_First
CPInstanceUnitOfMeasure findByC_K_S_First(long companyId, String key, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException Returns the first cp instance unit of measure in the ordered set where companyId = ? and key = ? and sku = ?.- Parameters:
companyId
- the company IDkey
- the keysku
- the skuorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a matching cp instance unit of measure could not be found
-
fetchByC_K_S_First
CPInstanceUnitOfMeasure fetchByC_K_S_First(long companyId, String key, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the first cp instance unit of measure in the ordered set where companyId = ? and key = ? and sku = ?.- Parameters:
companyId
- the company IDkey
- the keysku
- the skuorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance unit of measure, or
null
if a matching cp instance unit of measure could not be found
-
findByC_K_S_Last
CPInstanceUnitOfMeasure findByC_K_S_Last(long companyId, String key, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException Returns the last cp instance unit of measure in the ordered set where companyId = ? and key = ? and sku = ?.- Parameters:
companyId
- the company IDkey
- the keysku
- the skuorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a matching cp instance unit of measure could not be found
-
fetchByC_K_S_Last
CPInstanceUnitOfMeasure fetchByC_K_S_Last(long companyId, String key, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns the last cp instance unit of measure in the ordered set where companyId = ? and key = ? and sku = ?.- Parameters:
companyId
- the company IDkey
- the keysku
- the skuorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance unit of measure, or
null
if a matching cp instance unit of measure could not be found
-
findByC_K_S_PrevAndNext
CPInstanceUnitOfMeasure[] findByC_K_S_PrevAndNext(long CPInstanceUnitOfMeasureId, long companyId, String key, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException Returns the cp instance unit of measures before and after the current cp instance unit of measure in the ordered set where companyId = ? and key = ? and sku = ?.- Parameters:
CPInstanceUnitOfMeasureId
- the primary key of the current cp instance unit of measurecompanyId
- the company IDkey
- the keysku
- the skuorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a cp instance unit of measure with the primary key could not be found
-
removeByC_K_S
Removes all the cp instance unit of measures where companyId = ? and key = ? and sku = ? from the database.- Parameters:
companyId
- the company IDkey
- the keysku
- the sku
-
countByC_K_S
Returns the number of cp instance unit of measures where companyId = ? and key = ? and sku = ?.- Parameters:
companyId
- the company IDkey
- the keysku
- the sku- Returns:
- the number of matching cp instance unit of measures
-
cacheResult
Caches the cp instance unit of measure in the entity cache if it is enabled.- Parameters:
cpInstanceUnitOfMeasure
- the cp instance unit of measure
-
cacheResult
Caches the cp instance unit of measures in the entity cache if it is enabled.- Parameters:
cpInstanceUnitOfMeasures
- the cp instance unit of measures
-
create
Creates a new cp instance unit of measure with the primary key. Does not add the cp instance unit of measure to the database.- Parameters:
CPInstanceUnitOfMeasureId
- the primary key for the new cp instance unit of measure- Returns:
- the new cp instance unit of measure
-
remove
CPInstanceUnitOfMeasure remove(long CPInstanceUnitOfMeasureId) throws NoSuchCPInstanceUnitOfMeasureException Removes the cp instance unit of measure with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPInstanceUnitOfMeasureId
- the primary key of the cp instance unit of measure- Returns:
- the cp instance unit of measure that was removed
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a cp instance unit of measure with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CPInstanceUnitOfMeasure findByPrimaryKey(long CPInstanceUnitOfMeasureId) throws NoSuchCPInstanceUnitOfMeasureException Returns the cp instance unit of measure with the primary key or throws aNoSuchCPInstanceUnitOfMeasureException
if it could not be found.- Parameters:
CPInstanceUnitOfMeasureId
- the primary key of the cp instance unit of measure- Returns:
- the cp instance unit of measure
- Throws:
NoSuchCPInstanceUnitOfMeasureException
- if a cp instance unit of measure with the primary key could not be found
-
fetchByPrimaryKey
Returns the cp instance unit of measure with the primary key or returnsnull
if it could not be found.- Parameters:
CPInstanceUnitOfMeasureId
- the primary key of the cp instance unit of measure- Returns:
- the cp instance unit of measure, or
null
if a cp instance unit of measure with the primary key could not be found
-
findAll
List<CPInstanceUnitOfMeasure> findAll()Returns all the cp instance unit of measures.- Returns:
- the cp instance unit of measures
-
findAll
Returns a range of all the cp instance unit of measures.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
start
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)- Returns:
- the range of cp instance unit of measures
-
findAll
List<CPInstanceUnitOfMeasure> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) Returns an ordered range of all the cp instance unit of measures.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
start
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of cp instance unit of measures
-
findAll
List<CPInstanceUnitOfMeasure> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instance unit of measures.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceUnitOfMeasureModelImpl
.- Parameters:
start
- the lower bound of the range of cp instance unit of measuresend
- the upper bound of the range of cp instance unit of measures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of cp instance unit of measures
-
removeAll
void removeAll()Removes all the cp instance unit of measures from the database. -
countAll
int countAll()Returns the number of cp instance unit of measures.- Returns:
- the number of cp instance unit of measures
-