Class CSDiagramEntryUtil
com.liferay.commerce.shop.by.diagram.service.persistence.impl.CSDiagramEntryPersistenceImpl 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 voidcacheResult(CSDiagramEntry csDiagramEntry) Caches the cs diagram entry in the entity cache if it is enabled.static voidcacheResult(List<CSDiagramEntry> csDiagramEntries) Caches the cs diagram entries in the entity cache if it is enabled.static voidstatic voidclearCache(CSDiagramEntry csDiagramEntry) static intcountAll()Returns the number of cs diagram entries.static intcountByCPDefinitionId(long CPDefinitionId) Returns the number of cs diagram entries where CPDefinitionId = ?.static intcountByCPDI_S(long CPDefinitionId, String sequence) Returns the number of cs diagram entries where CPDefinitionId = ? and sequence = ?.static intcountByCPInstanceId(long CPInstanceId) Returns the number of cs diagram entries where CPInstanceId = ?.static intcountByCProductId(long CProductId) Returns the number of cs diagram entries where CProductId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CSDiagramEntrycreate(long CSDiagramEntryId) Creates a new cs diagram entry with the primary key.static CSDiagramEntryfetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns the first cs diagram entry in the ordered set where CPDefinitionId = ?.static CSDiagramEntryfetchByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns the last cs diagram entry in the ordered set where CPDefinitionId = ?.static CSDiagramEntryfetchByCPDI_S(long CPDefinitionId, String sequence) Returns the cs diagram entry where CPDefinitionId = ? and sequence = ? or returnsnullif it could not be found.static CSDiagramEntryfetchByCPDI_S(long CPDefinitionId, String sequence, boolean useFinderCache) Returns the cs diagram entry where CPDefinitionId = ? and sequence = ? or returnsnullif it could not be found, optionally using the finder cache.static CSDiagramEntryfetchByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns the first cs diagram entry in the ordered set where CPInstanceId = ?.static CSDiagramEntryfetchByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns the last cs diagram entry in the ordered set where CPInstanceId = ?.static CSDiagramEntryfetchByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns the first cs diagram entry in the ordered set where CProductId = ?.static CSDiagramEntryfetchByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns the last cs diagram entry in the ordered set where CProductId = ?.static CSDiagramEntryfetchByPrimaryKey(long CSDiagramEntryId) Returns the cs diagram entry with the primary key or returnsnullif it could not be found.static Map<Serializable, CSDiagramEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static List<CSDiagramEntry> findAll()Returns all the cs diagram entries.static List<CSDiagramEntry> findAll(int start, int end) Returns a range of all the cs diagram entries.static List<CSDiagramEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns an ordered range of all the cs diagram entries.static List<CSDiagramEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cs diagram entries.static List<CSDiagramEntry> findByCPDefinitionId(long CPDefinitionId) Returns all the cs diagram entries where CPDefinitionId = ?.static List<CSDiagramEntry> findByCPDefinitionId(long CPDefinitionId, int start, int end) Returns a range of all the cs diagram entries where CPDefinitionId = ?.static List<CSDiagramEntry> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns an ordered range of all the cs diagram entries where CPDefinitionId = ?.static List<CSDiagramEntry> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cs diagram entries where CPDefinitionId = ?.static CSDiagramEntryfindByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns the first cs diagram entry in the ordered set where CPDefinitionId = ?.static CSDiagramEntryfindByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns the last cs diagram entry in the ordered set where CPDefinitionId = ?.static CSDiagramEntry[]findByCPDefinitionId_PrevAndNext(long CSDiagramEntryId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns the cs diagram entries before and after the current cs diagram entry in the ordered set where CPDefinitionId = ?.static CSDiagramEntryfindByCPDI_S(long CPDefinitionId, String sequence) Returns the cs diagram entry where CPDefinitionId = ? and sequence = ? or throws aNoSuchCSDiagramEntryExceptionif it could not be found.static List<CSDiagramEntry> findByCPInstanceId(long CPInstanceId) Returns all the cs diagram entries where CPInstanceId = ?.static List<CSDiagramEntry> findByCPInstanceId(long CPInstanceId, int start, int end) Returns a range of all the cs diagram entries where CPInstanceId = ?.static List<CSDiagramEntry> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns an ordered range of all the cs diagram entries where CPInstanceId = ?.static List<CSDiagramEntry> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cs diagram entries where CPInstanceId = ?.static CSDiagramEntryfindByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns the first cs diagram entry in the ordered set where CPInstanceId = ?.static CSDiagramEntryfindByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns the last cs diagram entry in the ordered set where CPInstanceId = ?.static CSDiagramEntry[]findByCPInstanceId_PrevAndNext(long CSDiagramEntryId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns the cs diagram entries before and after the current cs diagram entry in the ordered set where CPInstanceId = ?.static List<CSDiagramEntry> findByCProductId(long CProductId) Returns all the cs diagram entries where CProductId = ?.static List<CSDiagramEntry> findByCProductId(long CProductId, int start, int end) Returns a range of all the cs diagram entries where CProductId = ?.static List<CSDiagramEntry> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns an ordered range of all the cs diagram entries where CProductId = ?.static List<CSDiagramEntry> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cs diagram entries where CProductId = ?.static CSDiagramEntryfindByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns the first cs diagram entry in the ordered set where CProductId = ?.static CSDiagramEntryfindByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns the last cs diagram entry in the ordered set where CProductId = ?.static CSDiagramEntry[]findByCProductId_PrevAndNext(long CSDiagramEntryId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns the cs diagram entries before and after the current cs diagram entry in the ordered set where CProductId = ?.static CSDiagramEntryfindByPrimaryKey(long CSDiagramEntryId) Returns the cs diagram entry with the primary key or throws aNoSuchCSDiagramEntryExceptionif it could not be found.static List<CSDiagramEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CSDiagramEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CSDiagramEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) static CSDiagramEntryPersistencestatic CSDiagramEntryremove(long CSDiagramEntryId) Removes the cs diagram entry with the primary key from the database.static voidRemoves all the cs diagram entries from the database.static voidremoveByCPDefinitionId(long CPDefinitionId) Removes all the cs diagram entries where CPDefinitionId = ? from the database.static CSDiagramEntryremoveByCPDI_S(long CPDefinitionId, String sequence) Removes the cs diagram entry where CPDefinitionId = ? and sequence = ? from the database.static voidremoveByCPInstanceId(long CPInstanceId) Removes all the cs diagram entries where CPInstanceId = ? from the database.static voidremoveByCProductId(long CProductId) Removes all the cs diagram entries where CProductId = ? from the database.static voidsetPersistence(CSDiagramEntryPersistence persistence) static CSDiagramEntryupdate(CSDiagramEntry csDiagramEntry) static CSDiagramEntryupdate(CSDiagramEntry csDiagramEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CSDiagramEntryupdateImpl(CSDiagramEntry csDiagramEntry)
-
Constructor Details
-
CSDiagramEntryUtil
public CSDiagramEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
public static List<CSDiagramEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<CSDiagramEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<CSDiagramEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static CSDiagramEntry update(CSDiagramEntry csDiagramEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByCPDefinitionId
Returns all the cs diagram entries where CPDefinitionId = ?.- Parameters:
CPDefinitionId- the cp definition ID- Returns:
- the matching cs diagram entries
-
findByCPDefinitionId
Returns a range of all the cs diagram entries where CPDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCSDiagramEntryModelImpl.- Parameters:
CPDefinitionId- the cp definition IDstart- the lower bound of the range of cs diagram entriesend- the upper bound of the range of cs diagram entries (not inclusive)- Returns:
- the range of matching cs diagram entries
-
findByCPDefinitionId
public static List<CSDiagramEntry> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns an ordered range of all the cs diagram entries where CPDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCSDiagramEntryModelImpl.- Parameters:
CPDefinitionId- the cp definition IDstart- the lower bound of the range of cs diagram entriesend- the upper bound of the range of cs diagram entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cs diagram entries
-
findByCPDefinitionId
public static List<CSDiagramEntry> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cs diagram entries where CPDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCSDiagramEntryModelImpl.- Parameters:
CPDefinitionId- the cp definition IDstart- the lower bound of the range of cs diagram entriesend- the upper bound of the range of cs diagram 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 cs diagram entries
-
findByCPDefinitionId_First
public static CSDiagramEntry findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) throws NoSuchCSDiagramEntryException Returns the first cs diagram entry in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId- the cp definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cs diagram entry
-
fetchByCPDefinitionId_First
public static CSDiagramEntry fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns the first cs diagram entry in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId- the cp definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cs diagram entry, or
nullif a matching cs diagram entry could not be found
-
findByCPDefinitionId_Last
public static CSDiagramEntry findByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) throws NoSuchCSDiagramEntryException Returns the last cs diagram entry in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId- the cp definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cs diagram entry
-
fetchByCPDefinitionId_Last
public static CSDiagramEntry fetchByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns the last cs diagram entry in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId- the cp definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cs diagram entry, or
nullif a matching cs diagram entry could not be found
-
findByCPDefinitionId_PrevAndNext
public static CSDiagramEntry[] findByCPDefinitionId_PrevAndNext(long CSDiagramEntryId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) throws NoSuchCSDiagramEntryException Returns the cs diagram entries before and after the current cs diagram entry in the ordered set where CPDefinitionId = ?.- Parameters:
CSDiagramEntryId- the primary key of the current cs diagram entryCPDefinitionId- the cp definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cs diagram entry
-
removeByCPDefinitionId
public static void removeByCPDefinitionId(long CPDefinitionId) Removes all the cs diagram entries where CPDefinitionId = ? from the database.- Parameters:
CPDefinitionId- the cp definition ID
-
countByCPDefinitionId
public static int countByCPDefinitionId(long CPDefinitionId) Returns the number of cs diagram entries where CPDefinitionId = ?.- Parameters:
CPDefinitionId- the cp definition ID- Returns:
- the number of matching cs diagram entries
-
findByCPInstanceId
Returns all the cs diagram entries where CPInstanceId = ?.- Parameters:
CPInstanceId- the cp instance ID- Returns:
- the matching cs diagram entries
-
findByCPInstanceId
Returns a range of all the cs diagram entries where CPInstanceId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCSDiagramEntryModelImpl.- Parameters:
CPInstanceId- the cp instance IDstart- the lower bound of the range of cs diagram entriesend- the upper bound of the range of cs diagram entries (not inclusive)- Returns:
- the range of matching cs diagram entries
-
findByCPInstanceId
public static List<CSDiagramEntry> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns an ordered range of all the cs diagram entries where CPInstanceId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCSDiagramEntryModelImpl.- Parameters:
CPInstanceId- the cp instance IDstart- the lower bound of the range of cs diagram entriesend- the upper bound of the range of cs diagram entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cs diagram entries
-
findByCPInstanceId
public static List<CSDiagramEntry> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cs diagram entries where CPInstanceId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCSDiagramEntryModelImpl.- Parameters:
CPInstanceId- the cp instance IDstart- the lower bound of the range of cs diagram entriesend- the upper bound of the range of cs diagram 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 cs diagram entries
-
findByCPInstanceId_First
public static CSDiagramEntry findByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) throws NoSuchCSDiagramEntryException Returns the first cs diagram entry in the ordered set where CPInstanceId = ?.- Parameters:
CPInstanceId- the cp instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cs diagram entry
-
fetchByCPInstanceId_First
public static CSDiagramEntry fetchByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns the first cs diagram entry in the ordered set where CPInstanceId = ?.- Parameters:
CPInstanceId- the cp instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cs diagram entry, or
nullif a matching cs diagram entry could not be found
-
findByCPInstanceId_Last
public static CSDiagramEntry findByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) throws NoSuchCSDiagramEntryException Returns the last cs diagram entry in the ordered set where CPInstanceId = ?.- Parameters:
CPInstanceId- the cp instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cs diagram entry
-
fetchByCPInstanceId_Last
public static CSDiagramEntry fetchByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns the last cs diagram entry in the ordered set where CPInstanceId = ?.- Parameters:
CPInstanceId- the cp instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cs diagram entry, or
nullif a matching cs diagram entry could not be found
-
findByCPInstanceId_PrevAndNext
public static CSDiagramEntry[] findByCPInstanceId_PrevAndNext(long CSDiagramEntryId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) throws NoSuchCSDiagramEntryException Returns the cs diagram entries before and after the current cs diagram entry in the ordered set where CPInstanceId = ?.- Parameters:
CSDiagramEntryId- the primary key of the current cs diagram entryCPInstanceId- the cp instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cs diagram entry
-
removeByCPInstanceId
public static void removeByCPInstanceId(long CPInstanceId) Removes all the cs diagram entries where CPInstanceId = ? from the database.- Parameters:
CPInstanceId- the cp instance ID
-
countByCPInstanceId
public static int countByCPInstanceId(long CPInstanceId) Returns the number of cs diagram entries where CPInstanceId = ?.- Parameters:
CPInstanceId- the cp instance ID- Returns:
- the number of matching cs diagram entries
-
findByCProductId
Returns all the cs diagram entries where CProductId = ?.- Parameters:
CProductId- the c product ID- Returns:
- the matching cs diagram entries
-
findByCProductId
Returns a range of all the cs diagram entries where CProductId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCSDiagramEntryModelImpl.- Parameters:
CProductId- the c product IDstart- the lower bound of the range of cs diagram entriesend- the upper bound of the range of cs diagram entries (not inclusive)- Returns:
- the range of matching cs diagram entries
-
findByCProductId
public static List<CSDiagramEntry> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns an ordered range of all the cs diagram entries where CProductId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCSDiagramEntryModelImpl.- Parameters:
CProductId- the c product IDstart- the lower bound of the range of cs diagram entriesend- the upper bound of the range of cs diagram entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cs diagram entries
-
findByCProductId
public static List<CSDiagramEntry> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cs diagram entries where CProductId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCSDiagramEntryModelImpl.- Parameters:
CProductId- the c product IDstart- the lower bound of the range of cs diagram entriesend- the upper bound of the range of cs diagram 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 cs diagram entries
-
findByCProductId_First
public static CSDiagramEntry findByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) throws NoSuchCSDiagramEntryException Returns the first cs diagram entry in the ordered set where CProductId = ?.- Parameters:
CProductId- the c product IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cs diagram entry
-
fetchByCProductId_First
public static CSDiagramEntry fetchByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns the first cs diagram entry in the ordered set where CProductId = ?.- Parameters:
CProductId- the c product IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cs diagram entry, or
nullif a matching cs diagram entry could not be found
-
findByCProductId_Last
public static CSDiagramEntry findByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) throws NoSuchCSDiagramEntryException Returns the last cs diagram entry in the ordered set where CProductId = ?.- Parameters:
CProductId- the c product IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cs diagram entry
-
fetchByCProductId_Last
public static CSDiagramEntry fetchByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns the last cs diagram entry in the ordered set where CProductId = ?.- Parameters:
CProductId- the c product IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cs diagram entry, or
nullif a matching cs diagram entry could not be found
-
findByCProductId_PrevAndNext
public static CSDiagramEntry[] findByCProductId_PrevAndNext(long CSDiagramEntryId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) throws NoSuchCSDiagramEntryException Returns the cs diagram entries before and after the current cs diagram entry in the ordered set where CProductId = ?.- Parameters:
CSDiagramEntryId- the primary key of the current cs diagram entryCProductId- the c product IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cs diagram entry
-
removeByCProductId
public static void removeByCProductId(long CProductId) Removes all the cs diagram entries where CProductId = ? from the database.- Parameters:
CProductId- the c product ID
-
countByCProductId
public static int countByCProductId(long CProductId) Returns the number of cs diagram entries where CProductId = ?.- Parameters:
CProductId- the c product ID- Returns:
- the number of matching cs diagram entries
-
findByCPDI_S
public static CSDiagramEntry findByCPDI_S(long CPDefinitionId, String sequence) throws NoSuchCSDiagramEntryException Returns the cs diagram entry where CPDefinitionId = ? and sequence = ? or throws aNoSuchCSDiagramEntryExceptionif it could not be found.- Parameters:
CPDefinitionId- the cp definition IDsequence- the sequence- Returns:
- the matching cs diagram entry
-
fetchByCPDI_S
Returns the cs diagram entry where CPDefinitionId = ? and sequence = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
CPDefinitionId- the cp definition IDsequence- the sequence- Returns:
- the matching cs diagram entry, or
nullif a matching cs diagram entry could not be found
-
fetchByCPDI_S
public static CSDiagramEntry fetchByCPDI_S(long CPDefinitionId, String sequence, boolean useFinderCache) Returns the cs diagram entry where CPDefinitionId = ? and sequence = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
CPDefinitionId- the cp definition IDsequence- the sequenceuseFinderCache- whether to use the finder cache- Returns:
- the matching cs diagram entry, or
nullif a matching cs diagram entry could not be found
-
removeByCPDI_S
public static CSDiagramEntry removeByCPDI_S(long CPDefinitionId, String sequence) throws NoSuchCSDiagramEntryException Removes the cs diagram entry where CPDefinitionId = ? and sequence = ? from the database.- Parameters:
CPDefinitionId- the cp definition IDsequence- the sequence- Returns:
- the cs diagram entry that was removed
- Throws:
NoSuchCSDiagramEntryException
-
countByCPDI_S
Returns the number of cs diagram entries where CPDefinitionId = ? and sequence = ?.- Parameters:
CPDefinitionId- the cp definition IDsequence- the sequence- Returns:
- the number of matching cs diagram entries
-
cacheResult
Caches the cs diagram entry in the entity cache if it is enabled.- Parameters:
csDiagramEntry- the cs diagram entry
-
cacheResult
Caches the cs diagram entries in the entity cache if it is enabled.- Parameters:
csDiagramEntries- the cs diagram entries
-
create
Creates a new cs diagram entry with the primary key. Does not add the cs diagram entry to the database.- Parameters:
CSDiagramEntryId- the primary key for the new cs diagram entry- Returns:
- the new cs diagram entry
-
remove
Removes the cs diagram entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CSDiagramEntryId- the primary key of the cs diagram entry- Returns:
- the cs diagram entry that was removed
-
updateImpl
-
findByPrimaryKey
public static CSDiagramEntry findByPrimaryKey(long CSDiagramEntryId) throws NoSuchCSDiagramEntryException Returns the cs diagram entry with the primary key or throws aNoSuchCSDiagramEntryExceptionif it could not be found.- Parameters:
CSDiagramEntryId- the primary key of the cs diagram entry- Returns:
- the cs diagram entry
-
fetchByPrimaryKey
Returns the cs diagram entry with the primary key or returnsnullif it could not be found.- Parameters:
CSDiagramEntryId- the primary key of the cs diagram entry- Returns:
- the cs diagram entry, or
nullif a cs diagram entry with the primary key could not be found
-
findAll
Returns all the cs diagram entries.- Returns:
- the cs diagram entries
-
findAll
Returns a range of all the cs diagram entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCSDiagramEntryModelImpl.- Parameters:
start- the lower bound of the range of cs diagram entriesend- the upper bound of the range of cs diagram entries (not inclusive)- Returns:
- the range of cs diagram entries
-
findAll
public static List<CSDiagramEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) Returns an ordered range of all the cs diagram entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCSDiagramEntryModelImpl.- Parameters:
start- the lower bound of the range of cs diagram entriesend- the upper bound of the range of cs diagram entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of cs diagram entries
-
findAll
public static List<CSDiagramEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cs diagram entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCSDiagramEntryModelImpl.- Parameters:
start- the lower bound of the range of cs diagram entriesend- the upper bound of the range of cs diagram entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of cs diagram entries
-
removeAll
public static void removeAll()Removes all the cs diagram entries from the database. -
countAll
public static int countAll()Returns the number of cs diagram entries.- Returns:
- the number of cs diagram entries
-
getPersistence
-
setPersistence
-