Class CPConfigurationEntryUtil
com.liferay.commerce.product.service.persistence.impl.CPConfigurationEntryPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(CPConfigurationEntry cpConfigurationEntry) Caches the cp configuration entry in the entity cache if it is enabled.static void
cacheResult
(List<CPConfigurationEntry> cpConfigurationEntries) Caches the cp configuration entries in the entity cache if it is enabled.static void
static void
clearCache
(CPConfigurationEntry cpConfigurationEntry) static int
countAll()
Returns the number of cp configuration entries.static int
countByC_C
(long classNameId, long classPK) Returns the number of cp configuration entries where classNameId = ? and classPK = ?.static int
countByC_C_C
(long classNameId, long classPK, long CPConfigurationListId) Returns the number of cp configuration entries where classNameId = ? and classPK = ? and CPConfigurationListId = ?.static int
countByC_C_V
(long classNameId, long classPK, boolean visible) Returns the number of cp configuration entries where classNameId = ? and classPK = ? and visible = ?.static int
countByCompanyId
(long companyId) Returns the number of cp configuration entries where companyId = ?.static int
countByCPConfigurationListId
(long CPConfigurationListId) Returns the number of cp configuration entries where CPConfigurationListId = ?.static int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of cp configuration entries where externalReferenceCode = ? and companyId = ?.static int
countByUuid
(String uuid) Returns the number of cp configuration entries where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of cp configuration entries where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of cp configuration entries where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CPConfigurationEntry
create
(long CPConfigurationEntryId) Creates a new cp configuration entry with the primary key.static CPConfigurationEntry
fetchByC_C_C
(long classNameId, long classPK, long CPConfigurationListId) Returns the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? or returnsnull
if it could not be found.static CPConfigurationEntry
fetchByC_C_C
(long classNameId, long classPK, long CPConfigurationListId, boolean useFinderCache) Returns the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? or returnsnull
if it could not be found, optionally using the finder cache.static CPConfigurationEntry
fetchByC_C_First
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where classNameId = ? and classPK = ?.static CPConfigurationEntry
fetchByC_C_Last
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where classNameId = ? and classPK = ?.static CPConfigurationEntry
fetchByC_C_V_First
(long classNameId, long classPK, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where classNameId = ? and classPK = ? and visible = ?.static CPConfigurationEntry
fetchByC_C_V_Last
(long classNameId, long classPK, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where classNameId = ? and classPK = ? and visible = ?.static CPConfigurationEntry
fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where companyId = ?.static CPConfigurationEntry
fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where companyId = ?.static CPConfigurationEntry
fetchByCPConfigurationListId_First
(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where CPConfigurationListId = ?.static CPConfigurationEntry
fetchByCPConfigurationListId_Last
(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where CPConfigurationListId = ?.static CPConfigurationEntry
fetchByERC_C
(String externalReferenceCode, long companyId) Returns the cp configuration entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.static CPConfigurationEntry
fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the cp configuration entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.static CPConfigurationEntry
fetchByPrimaryKey
(long CPConfigurationEntryId) Returns the cp configuration entry with the primary key or returnsnull
if it could not be found.static Map<Serializable,
CPConfigurationEntry> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static CPConfigurationEntry
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where uuid = ? and companyId = ?.static CPConfigurationEntry
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where uuid = ? and companyId = ?.static CPConfigurationEntry
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where uuid = ?.static CPConfigurationEntry
fetchByUUID_G
(String uuid, long groupId) Returns the cp configuration entry where uuid = ? and groupId = ? or returnsnull
if it could not be found.static CPConfigurationEntry
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the cp configuration entry where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static CPConfigurationEntry
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where uuid = ?.static List<CPConfigurationEntry>
findAll()
Returns all the cp configuration entries.static List<CPConfigurationEntry>
findAll
(int start, int end) Returns a range of all the cp configuration entries.static List<CPConfigurationEntry>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries.static List<CPConfigurationEntry>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries.static List<CPConfigurationEntry>
findByC_C
(long classNameId, long classPK) Returns all the cp configuration entries where classNameId = ? and classPK = ?.static List<CPConfigurationEntry>
findByC_C
(long classNameId, long classPK, int start, int end) Returns a range of all the cp configuration entries where classNameId = ? and classPK = ?.static List<CPConfigurationEntry>
findByC_C
(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where classNameId = ? and classPK = ?.static List<CPConfigurationEntry>
findByC_C
(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where classNameId = ? and classPK = ?.static CPConfigurationEntry
findByC_C_C
(long classNameId, long classPK, long CPConfigurationListId) Returns the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? or throws aNoSuchCPConfigurationEntryException
if it could not be found.static CPConfigurationEntry
findByC_C_First
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where classNameId = ? and classPK = ?.static CPConfigurationEntry
findByC_C_Last
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where classNameId = ? and classPK = ?.static CPConfigurationEntry[]
findByC_C_PrevAndNext
(long CPConfigurationEntryId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where classNameId = ? and classPK = ?.static List<CPConfigurationEntry>
findByC_C_V
(long classNameId, long classPK, boolean visible) Returns all the cp configuration entries where classNameId = ? and classPK = ? and visible = ?.static List<CPConfigurationEntry>
findByC_C_V
(long classNameId, long classPK, boolean visible, int start, int end) Returns a range of all the cp configuration entries where classNameId = ? and classPK = ? and visible = ?.static List<CPConfigurationEntry>
findByC_C_V
(long classNameId, long classPK, boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where classNameId = ? and classPK = ? and visible = ?.static List<CPConfigurationEntry>
findByC_C_V
(long classNameId, long classPK, boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where classNameId = ? and classPK = ? and visible = ?.static CPConfigurationEntry
findByC_C_V_First
(long classNameId, long classPK, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where classNameId = ? and classPK = ? and visible = ?.static CPConfigurationEntry
findByC_C_V_Last
(long classNameId, long classPK, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where classNameId = ? and classPK = ? and visible = ?.static CPConfigurationEntry[]
findByC_C_V_PrevAndNext
(long CPConfigurationEntryId, long classNameId, long classPK, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where classNameId = ? and classPK = ? and visible = ?.static List<CPConfigurationEntry>
findByCompanyId
(long companyId) Returns all the cp configuration entries where companyId = ?.static List<CPConfigurationEntry>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the cp configuration entries where companyId = ?.static List<CPConfigurationEntry>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where companyId = ?.static List<CPConfigurationEntry>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where companyId = ?.static CPConfigurationEntry
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where companyId = ?.static CPConfigurationEntry
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where companyId = ?.static CPConfigurationEntry[]
findByCompanyId_PrevAndNext
(long CPConfigurationEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where companyId = ?.static List<CPConfigurationEntry>
findByCPConfigurationListId
(long CPConfigurationListId) Returns all the cp configuration entries where CPConfigurationListId = ?.static List<CPConfigurationEntry>
findByCPConfigurationListId
(long CPConfigurationListId, int start, int end) Returns a range of all the cp configuration entries where CPConfigurationListId = ?.static List<CPConfigurationEntry>
findByCPConfigurationListId
(long CPConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where CPConfigurationListId = ?.static List<CPConfigurationEntry>
findByCPConfigurationListId
(long CPConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where CPConfigurationListId = ?.static CPConfigurationEntry
findByCPConfigurationListId_First
(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where CPConfigurationListId = ?.static CPConfigurationEntry
findByCPConfigurationListId_Last
(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where CPConfigurationListId = ?.static CPConfigurationEntry[]
findByCPConfigurationListId_PrevAndNext
(long CPConfigurationEntryId, long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where CPConfigurationListId = ?.static CPConfigurationEntry
findByERC_C
(String externalReferenceCode, long companyId) Returns the cp configuration entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchCPConfigurationEntryException
if it could not be found.static CPConfigurationEntry
findByPrimaryKey
(long CPConfigurationEntryId) Returns the cp configuration entry with the primary key or throws aNoSuchCPConfigurationEntryException
if it could not be found.static List<CPConfigurationEntry>
findByUuid
(String uuid) Returns all the cp configuration entries where uuid = ?.static List<CPConfigurationEntry>
findByUuid
(String uuid, int start, int end) Returns a range of all the cp configuration entries where uuid = ?.static List<CPConfigurationEntry>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where uuid = ?.static List<CPConfigurationEntry>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where uuid = ?.static List<CPConfigurationEntry>
findByUuid_C
(String uuid, long companyId) Returns all the cp configuration entries where uuid = ? and companyId = ?.static List<CPConfigurationEntry>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the cp configuration entries where uuid = ? and companyId = ?.static List<CPConfigurationEntry>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where uuid = ? and companyId = ?.static List<CPConfigurationEntry>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where uuid = ? and companyId = ?.static CPConfigurationEntry
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where uuid = ? and companyId = ?.static CPConfigurationEntry
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where uuid = ? and companyId = ?.static CPConfigurationEntry[]
findByUuid_C_PrevAndNext
(long CPConfigurationEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where uuid = ? and companyId = ?.static CPConfigurationEntry
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where uuid = ?.static CPConfigurationEntry
findByUUID_G
(String uuid, long groupId) Returns the cp configuration entry where uuid = ? and groupId = ? or throws aNoSuchCPConfigurationEntryException
if it could not be found.static CPConfigurationEntry
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where uuid = ?.static CPConfigurationEntry[]
findByUuid_PrevAndNext
(long CPConfigurationEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where uuid = ?.static List<CPConfigurationEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CPConfigurationEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CPConfigurationEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) static CPConfigurationEntry
remove
(long CPConfigurationEntryId) Removes the cp configuration entry with the primary key from the database.static void
Removes all the cp configuration entries from the database.static void
removeByC_C
(long classNameId, long classPK) Removes all the cp configuration entries where classNameId = ? and classPK = ? from the database.static CPConfigurationEntry
removeByC_C_C
(long classNameId, long classPK, long CPConfigurationListId) Removes the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? from the database.static void
removeByC_C_V
(long classNameId, long classPK, boolean visible) Removes all the cp configuration entries where classNameId = ? and classPK = ? and visible = ? from the database.static void
removeByCompanyId
(long companyId) Removes all the cp configuration entries where companyId = ? from the database.static void
removeByCPConfigurationListId
(long CPConfigurationListId) Removes all the cp configuration entries where CPConfigurationListId = ? from the database.static CPConfigurationEntry
removeByERC_C
(String externalReferenceCode, long companyId) Removes the cp configuration entry where externalReferenceCode = ? and companyId = ? from the database.static void
removeByUuid
(String uuid) Removes all the cp configuration entries where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the cp configuration entries where uuid = ? and companyId = ? from the database.static CPConfigurationEntry
removeByUUID_G
(String uuid, long groupId) Removes the cp configuration entry where uuid = ? and groupId = ? from the database.static void
setPersistence
(CPConfigurationEntryPersistence persistence) static CPConfigurationEntry
update
(CPConfigurationEntry cpConfigurationEntry) static CPConfigurationEntry
update
(CPConfigurationEntry cpConfigurationEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CPConfigurationEntry
updateImpl
(CPConfigurationEntry cpConfigurationEntry)
-
Constructor Details
-
CPConfigurationEntryUtil
public CPConfigurationEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,CPConfigurationEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CPConfigurationEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CPConfigurationEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CPConfigurationEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CPConfigurationEntry update(CPConfigurationEntry cpConfigurationEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the cp configuration entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching cp configuration entries
-
findByUuid
Returns a range of all the cp configuration entries 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 fromCPConfigurationEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)- Returns:
- the range of matching cp configuration entries
-
findByUuid
public static List<CPConfigurationEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries 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 fromCPConfigurationEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp configuration entries
-
findByUuid
public static List<CPConfigurationEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries 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 fromCPConfigurationEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (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 configuration entries
-
findByUuid_First
public static CPConfigurationEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the first cp configuration entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be foundNoSuchCPConfigurationEntryException
-
fetchByUuid_First
public static CPConfigurationEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
findByUuid_Last
public static CPConfigurationEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the last cp configuration entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be foundNoSuchCPConfigurationEntryException
-
fetchByUuid_Last
public static CPConfigurationEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
findByUuid_PrevAndNext
public static CPConfigurationEntry[] findByUuid_PrevAndNext(long CPConfigurationEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where uuid = ?.- Parameters:
CPConfigurationEntryId
- the primary key of the current cp configuration entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a cp configuration entry with the primary key could not be foundNoSuchCPConfigurationEntryException
-
removeByUuid
Removes all the cp configuration entries where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of cp configuration entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching cp configuration entries
-
findByUUID_G
public static CPConfigurationEntry findByUUID_G(String uuid, long groupId) throws NoSuchCPConfigurationEntryException Returns the cp configuration entry where uuid = ? and groupId = ? or throws aNoSuchCPConfigurationEntryException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be foundNoSuchCPConfigurationEntryException
-
fetchByUUID_G
Returns the cp configuration entry where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
fetchByUUID_G
Returns the cp configuration entry where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
removeByUUID_G
public static CPConfigurationEntry removeByUUID_G(String uuid, long groupId) throws NoSuchCPConfigurationEntryException Removes the cp configuration entry where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the cp configuration entry that was removed
- Throws:
NoSuchCPConfigurationEntryException
-
countByUUID_G
Returns the number of cp configuration entries where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching cp configuration entries
-
findByUuid_C
Returns all the cp configuration entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching cp configuration entries
-
findByUuid_C
public static List<CPConfigurationEntry> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the cp configuration entries 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 fromCPConfigurationEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)- Returns:
- the range of matching cp configuration entries
-
findByUuid_C
public static List<CPConfigurationEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries 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 fromCPConfigurationEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp configuration entries
-
findByUuid_C
public static List<CPConfigurationEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries 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 fromCPConfigurationEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (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 configuration entries
-
findByUuid_C_First
public static CPConfigurationEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the first cp configuration entry 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 configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be foundNoSuchCPConfigurationEntryException
-
fetchByUuid_C_First
public static CPConfigurationEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry 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 configuration entry, or
null
if a matching cp configuration entry could not be found
-
findByUuid_C_Last
public static CPConfigurationEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the last cp configuration entry 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 configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be foundNoSuchCPConfigurationEntryException
-
fetchByUuid_C_Last
public static CPConfigurationEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry 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 configuration entry, or
null
if a matching cp configuration entry could not be found
-
findByUuid_C_PrevAndNext
public static CPConfigurationEntry[] findByUuid_C_PrevAndNext(long CPConfigurationEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
CPConfigurationEntryId
- the primary key of the current cp configuration entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a cp configuration entry with the primary key could not be foundNoSuchCPConfigurationEntryException
-
removeByUuid_C
Removes all the cp configuration entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of cp configuration entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching cp configuration entries
-
findByCompanyId
Returns all the cp configuration entries where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching cp configuration entries
-
findByCompanyId
Returns a range of all the cp configuration entries where 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 fromCPConfigurationEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)- Returns:
- the range of matching cp configuration entries
-
findByCompanyId
public static List<CPConfigurationEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where 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 fromCPConfigurationEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp configuration entries
-
findByCompanyId
public static List<CPConfigurationEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where 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 fromCPConfigurationEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (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 configuration entries
-
findByCompanyId_First
public static CPConfigurationEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the first cp configuration entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be foundNoSuchCPConfigurationEntryException
-
fetchByCompanyId_First
public static CPConfigurationEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
findByCompanyId_Last
public static CPConfigurationEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the last cp configuration entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be foundNoSuchCPConfigurationEntryException
-
fetchByCompanyId_Last
public static CPConfigurationEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
findByCompanyId_PrevAndNext
public static CPConfigurationEntry[] findByCompanyId_PrevAndNext(long CPConfigurationEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where companyId = ?.- Parameters:
CPConfigurationEntryId
- the primary key of the current cp configuration entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a cp configuration entry with the primary key could not be foundNoSuchCPConfigurationEntryException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the cp configuration entries where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of cp configuration entries where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching cp configuration entries
-
findByCPConfigurationListId
Returns all the cp configuration entries where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId
- the cp configuration list ID- Returns:
- the matching cp configuration entries
-
findByCPConfigurationListId
public static List<CPConfigurationEntry> findByCPConfigurationListId(long CPConfigurationListId, int start, int end) Returns a range of all the cp configuration entries where CPConfigurationListId = ?.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 fromCPConfigurationEntryModelImpl
.- Parameters:
CPConfigurationListId
- the cp configuration list IDstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)- Returns:
- the range of matching cp configuration entries
-
findByCPConfigurationListId
public static List<CPConfigurationEntry> findByCPConfigurationListId(long CPConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where CPConfigurationListId = ?.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 fromCPConfigurationEntryModelImpl
.- Parameters:
CPConfigurationListId
- the cp configuration list IDstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp configuration entries
-
findByCPConfigurationListId
public static List<CPConfigurationEntry> findByCPConfigurationListId(long CPConfigurationListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where CPConfigurationListId = ?.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 fromCPConfigurationEntryModelImpl
.- Parameters:
CPConfigurationListId
- the cp configuration list IDstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (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 configuration entries
-
findByCPConfigurationListId_First
public static CPConfigurationEntry findByCPConfigurationListId_First(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the first cp configuration entry in the ordered set where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId
- the cp configuration list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be foundNoSuchCPConfigurationEntryException
-
fetchByCPConfigurationListId_First
public static CPConfigurationEntry fetchByCPConfigurationListId_First(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId
- the cp configuration list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
findByCPConfigurationListId_Last
public static CPConfigurationEntry findByCPConfigurationListId_Last(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the last cp configuration entry in the ordered set where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId
- the cp configuration list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be foundNoSuchCPConfigurationEntryException
-
fetchByCPConfigurationListId_Last
public static CPConfigurationEntry fetchByCPConfigurationListId_Last(long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId
- the cp configuration list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
findByCPConfigurationListId_PrevAndNext
public static CPConfigurationEntry[] findByCPConfigurationListId_PrevAndNext(long CPConfigurationEntryId, long CPConfigurationListId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where CPConfigurationListId = ?.- Parameters:
CPConfigurationEntryId
- the primary key of the current cp configuration entryCPConfigurationListId
- the cp configuration list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a cp configuration entry with the primary key could not be foundNoSuchCPConfigurationEntryException
-
removeByCPConfigurationListId
public static void removeByCPConfigurationListId(long CPConfigurationListId) Removes all the cp configuration entries where CPConfigurationListId = ? from the database.- Parameters:
CPConfigurationListId
- the cp configuration list ID
-
countByCPConfigurationListId
public static int countByCPConfigurationListId(long CPConfigurationListId) Returns the number of cp configuration entries where CPConfigurationListId = ?.- Parameters:
CPConfigurationListId
- the cp configuration list ID- Returns:
- the number of matching cp configuration entries
-
findByC_C
Returns all the cp configuration entries where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching cp configuration entries
-
findByC_C
public static List<CPConfigurationEntry> findByC_C(long classNameId, long classPK, int start, int end) Returns a range of all the cp configuration entries where classNameId = ? and classPK = ?.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 fromCPConfigurationEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)- Returns:
- the range of matching cp configuration entries
-
findByC_C
public static List<CPConfigurationEntry> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where classNameId = ? and classPK = ?.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 fromCPConfigurationEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp configuration entries
-
findByC_C
public static List<CPConfigurationEntry> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where classNameId = ? and classPK = ?.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 fromCPConfigurationEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (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 configuration entries
-
findByC_C_First
public static CPConfigurationEntry findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the first cp configuration entry in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be foundNoSuchCPConfigurationEntryException
-
fetchByC_C_First
public static CPConfigurationEntry fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
findByC_C_Last
public static CPConfigurationEntry findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the last cp configuration entry in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be foundNoSuchCPConfigurationEntryException
-
fetchByC_C_Last
public static CPConfigurationEntry fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
findByC_C_PrevAndNext
public static CPConfigurationEntry[] findByC_C_PrevAndNext(long CPConfigurationEntryId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where classNameId = ? and classPK = ?.- Parameters:
CPConfigurationEntryId
- the primary key of the current cp configuration entryclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a cp configuration entry with the primary key could not be foundNoSuchCPConfigurationEntryException
-
removeByC_C
public static void removeByC_C(long classNameId, long classPK) Removes all the cp configuration entries where classNameId = ? and classPK = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pk
-
countByC_C
public static int countByC_C(long classNameId, long classPK) Returns the number of cp configuration entries where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching cp configuration entries
-
findByC_C_C
public static CPConfigurationEntry findByC_C_C(long classNameId, long classPK, long CPConfigurationListId) throws NoSuchCPConfigurationEntryException Returns the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? or throws aNoSuchCPConfigurationEntryException
if it could not be found.- Parameters:
classNameId
- the class name IDclassPK
- the class pkCPConfigurationListId
- the cp configuration list ID- Returns:
- the matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be foundNoSuchCPConfigurationEntryException
-
fetchByC_C_C
public static CPConfigurationEntry fetchByC_C_C(long classNameId, long classPK, long CPConfigurationListId) Returns the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
classNameId
- the class name IDclassPK
- the class pkCPConfigurationListId
- the cp configuration list ID- Returns:
- the matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
fetchByC_C_C
public static CPConfigurationEntry fetchByC_C_C(long classNameId, long classPK, long CPConfigurationListId, boolean useFinderCache) Returns the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
classNameId
- the class name IDclassPK
- the class pkCPConfigurationListId
- the cp configuration list IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
removeByC_C_C
public static CPConfigurationEntry removeByC_C_C(long classNameId, long classPK, long CPConfigurationListId) throws NoSuchCPConfigurationEntryException Removes the cp configuration entry where classNameId = ? and classPK = ? and CPConfigurationListId = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pkCPConfigurationListId
- the cp configuration list ID- Returns:
- the cp configuration entry that was removed
- Throws:
NoSuchCPConfigurationEntryException
-
countByC_C_C
public static int countByC_C_C(long classNameId, long classPK, long CPConfigurationListId) Returns the number of cp configuration entries where classNameId = ? and classPK = ? and CPConfigurationListId = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkCPConfigurationListId
- the cp configuration list ID- Returns:
- the number of matching cp configuration entries
-
findByC_C_V
public static List<CPConfigurationEntry> findByC_C_V(long classNameId, long classPK, boolean visible) Returns all the cp configuration entries where classNameId = ? and classPK = ? and visible = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkvisible
- the visible- Returns:
- the matching cp configuration entries
-
findByC_C_V
public static List<CPConfigurationEntry> findByC_C_V(long classNameId, long classPK, boolean visible, int start, int end) Returns a range of all the cp configuration entries where classNameId = ? and classPK = ? and visible = ?.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 fromCPConfigurationEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkvisible
- the visiblestart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)- Returns:
- the range of matching cp configuration entries
-
findByC_C_V
public static List<CPConfigurationEntry> findByC_C_V(long classNameId, long classPK, boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries where classNameId = ? and classPK = ? and visible = ?.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 fromCPConfigurationEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkvisible
- the visiblestart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp configuration entries
-
findByC_C_V
public static List<CPConfigurationEntry> findByC_C_V(long classNameId, long classPK, boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries where classNameId = ? and classPK = ? and visible = ?.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 fromCPConfigurationEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkvisible
- the visiblestart
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (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 configuration entries
-
findByC_C_V_First
public static CPConfigurationEntry findByC_C_V_First(long classNameId, long classPK, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the first cp configuration entry in the ordered set where classNameId = ? and classPK = ? and visible = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkvisible
- the visibleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be foundNoSuchCPConfigurationEntryException
-
fetchByC_C_V_First
public static CPConfigurationEntry fetchByC_C_V_First(long classNameId, long classPK, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the first cp configuration entry in the ordered set where classNameId = ? and classPK = ? and visible = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkvisible
- the visibleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
findByC_C_V_Last
public static CPConfigurationEntry findByC_C_V_Last(long classNameId, long classPK, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the last cp configuration entry in the ordered set where classNameId = ? and classPK = ? and visible = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkvisible
- the visibleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be foundNoSuchCPConfigurationEntryException
-
fetchByC_C_V_Last
public static CPConfigurationEntry fetchByC_C_V_Last(long classNameId, long classPK, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns the last cp configuration entry in the ordered set where classNameId = ? and classPK = ? and visible = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkvisible
- the visibleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
findByC_C_V_PrevAndNext
public static CPConfigurationEntry[] findByC_C_V_PrevAndNext(long CPConfigurationEntryId, long classNameId, long classPK, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) throws NoSuchCPConfigurationEntryException Returns the cp configuration entries before and after the current cp configuration entry in the ordered set where classNameId = ? and classPK = ? and visible = ?.- Parameters:
CPConfigurationEntryId
- the primary key of the current cp configuration entryclassNameId
- the class name IDclassPK
- the class pkvisible
- the visibleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a cp configuration entry with the primary key could not be foundNoSuchCPConfigurationEntryException
-
removeByC_C_V
public static void removeByC_C_V(long classNameId, long classPK, boolean visible) Removes all the cp configuration entries where classNameId = ? and classPK = ? and visible = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pkvisible
- the visible
-
countByC_C_V
public static int countByC_C_V(long classNameId, long classPK, boolean visible) Returns the number of cp configuration entries where classNameId = ? and classPK = ? and visible = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkvisible
- the visible- Returns:
- the number of matching cp configuration entries
-
findByERC_C
public static CPConfigurationEntry findByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPConfigurationEntryException Returns the cp configuration entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchCPConfigurationEntryException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a matching cp configuration entry could not be foundNoSuchCPConfigurationEntryException
-
fetchByERC_C
Returns the cp configuration entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
fetchByERC_C
public static CPConfigurationEntry fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the cp configuration entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp configuration entry, or
null
if a matching cp configuration entry could not be found
-
removeByERC_C
public static CPConfigurationEntry removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPConfigurationEntryException Removes the cp configuration entry where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the cp configuration entry that was removed
- Throws:
NoSuchCPConfigurationEntryException
-
countByERC_C
Returns the number of cp configuration entries where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching cp configuration entries
-
cacheResult
Caches the cp configuration entry in the entity cache if it is enabled.- Parameters:
cpConfigurationEntry
- the cp configuration entry
-
cacheResult
Caches the cp configuration entries in the entity cache if it is enabled.- Parameters:
cpConfigurationEntries
- the cp configuration entries
-
create
Creates a new cp configuration entry with the primary key. Does not add the cp configuration entry to the database.- Parameters:
CPConfigurationEntryId
- the primary key for the new cp configuration entry- Returns:
- the new cp configuration entry
-
remove
public static CPConfigurationEntry remove(long CPConfigurationEntryId) throws NoSuchCPConfigurationEntryException Removes the cp configuration entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPConfigurationEntryId
- the primary key of the cp configuration entry- Returns:
- the cp configuration entry that was removed
- Throws:
NoSuchCPConfigurationEntryException
- if a cp configuration entry with the primary key could not be foundNoSuchCPConfigurationEntryException
-
updateImpl
-
findByPrimaryKey
public static CPConfigurationEntry findByPrimaryKey(long CPConfigurationEntryId) throws NoSuchCPConfigurationEntryException Returns the cp configuration entry with the primary key or throws aNoSuchCPConfigurationEntryException
if it could not be found.- Parameters:
CPConfigurationEntryId
- the primary key of the cp configuration entry- Returns:
- the cp configuration entry
- Throws:
NoSuchCPConfigurationEntryException
- if a cp configuration entry with the primary key could not be foundNoSuchCPConfigurationEntryException
-
fetchByPrimaryKey
Returns the cp configuration entry with the primary key or returnsnull
if it could not be found.- Parameters:
CPConfigurationEntryId
- the primary key of the cp configuration entry- Returns:
- the cp configuration entry, or
null
if a cp configuration entry with the primary key could not be found
-
findAll
Returns all the cp configuration entries.- Returns:
- the cp configuration entries
-
findAll
Returns a range of all the cp configuration entries.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 fromCPConfigurationEntryModelImpl
.- Parameters:
start
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)- Returns:
- the range of cp configuration entries
-
findAll
public static List<CPConfigurationEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator) Returns an ordered range of all the cp configuration entries.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 fromCPConfigurationEntryModelImpl
.- Parameters:
start
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of cp configuration entries
-
findAll
public static List<CPConfigurationEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp configuration entries.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 fromCPConfigurationEntryModelImpl
.- Parameters:
start
- the lower bound of the range of cp configuration entriesend
- the upper bound of the range of cp configuration entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of cp configuration entries
-
removeAll
public static void removeAll()Removes all the cp configuration entries from the database. -
countAll
public static int countAll()Returns the number of cp configuration entries.- Returns:
- the number of cp configuration entries
-
getPersistence
-
setPersistence
-