Interface CTSContentPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CTSContent>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CTSContent>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(CTSContent ctsContent) Caches the cts content in the entity cache if it is enabled.voidcacheResult(List<CTSContent> ctsContents) Caches the cts contents in the entity cache if it is enabled.intcountAll()Returns the number of cts contents.intcountByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType) Returns the number of cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.intcountByC_R_P_S(long companyId, long repositoryId, String path, String storeType) Returns the number of cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.intcountByC_R_P_V_S(long companyId, long repositoryId, String path, String version, String storeType) Returns the number of cts contents where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ?.intcountByC_R_S(long companyId, long repositoryId, String storeType) Returns the number of cts contents where companyId = ? and repositoryId = ? and storeType = ?.create(long ctsContentId) Creates a new cts content with the primary key.fetchByC_R_LikeP_S_First(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.fetchByC_R_LikeP_S_Last(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.fetchByC_R_P_S_First(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and path = ? and storeType = ?.fetchByC_R_P_S_Last(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and path = ? and storeType = ?.fetchByC_R_P_V_S(long companyId, long repositoryId, String path, String version, String storeType) Returns the cts content where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ? or returnsnullif it could not be found.fetchByC_R_P_V_S(long companyId, long repositoryId, String path, String version, String storeType, boolean useFinderCache) Returns the cts content where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByC_R_S_First(long companyId, long repositoryId, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and storeType = ?.fetchByC_R_S_Last(long companyId, long repositoryId, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and storeType = ?.fetchByPrimaryKey(long ctsContentId) Returns the cts content with the primary key or returnsnullif it could not be found.findAll()Returns all the cts contents.findAll(int start, int end) Returns a range of all the cts contents.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns an ordered range of all the cts contents.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cts contents.findByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType) Returns all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.findByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType, int start, int end) Returns a range of all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.findByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.findByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.findByC_R_LikeP_S_First(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.findByC_R_LikeP_S_Last(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.findByC_R_LikeP_S_PrevAndNext(long ctsContentId, long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns the cts contents before and after the current cts content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.findByC_R_P_S(long companyId, long repositoryId, String path, String storeType) Returns all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.findByC_R_P_S(long companyId, long repositoryId, String path, String storeType, int start, int end) Returns a range of all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.findByC_R_P_S(long companyId, long repositoryId, String path, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.findByC_R_P_S(long companyId, long repositoryId, String path, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.findByC_R_P_S_First(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and path = ? and storeType = ?.findByC_R_P_S_Last(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and path = ? and storeType = ?.findByC_R_P_S_PrevAndNext(long ctsContentId, long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns the cts contents before and after the current cts content in the ordered set where companyId = ? and repositoryId = ? and path = ? and storeType = ?.findByC_R_P_V_S(long companyId, long repositoryId, String path, String version, String storeType) Returns the cts content where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ? or throws aNoSuchContentExceptionif it could not be found.findByC_R_S(long companyId, long repositoryId, String storeType) Returns all the cts contents where companyId = ? and repositoryId = ? and storeType = ?.findByC_R_S(long companyId, long repositoryId, String storeType, int start, int end) Returns a range of all the cts contents where companyId = ? and repositoryId = ? and storeType = ?.findByC_R_S(long companyId, long repositoryId, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and storeType = ?.findByC_R_S(long companyId, long repositoryId, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and storeType = ?.findByC_R_S_First(long companyId, long repositoryId, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and storeType = ?.findByC_R_S_Last(long companyId, long repositoryId, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and storeType = ?.findByC_R_S_PrevAndNext(long ctsContentId, long companyId, long repositoryId, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns the cts contents before and after the current cts content in the ordered set where companyId = ? and repositoryId = ? and storeType = ?.findByPrimaryKey(long ctsContentId) Returns the cts content with the primary key or throws aNoSuchContentExceptionif it could not be found.remove(long ctsContentId) Removes the cts content with the primary key from the database.voidRemoves all the cts contents from the database.voidremoveByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType) Removes all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ? from the database.voidremoveByC_R_P_S(long companyId, long repositoryId, String path, String storeType) Removes all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ? from the database.removeByC_R_P_V_S(long companyId, long repositoryId, String path, String version, String storeType) Removes the cts content where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ? from the database.voidremoveByC_R_S(long companyId, long repositoryId, String storeType) Removes all the cts contents where companyId = ? and repositoryId = ? and storeType = ? from the database.updateImpl(CTSContent ctsContent) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByC_R_S
Returns all the cts contents where companyId = ? and repositoryId = ? and storeType = ?.- Parameters:
companyId- the company IDrepositoryId- the repository IDstoreType- the store type- Returns:
- the matching cts contents
-
findByC_R_S
List<CTSContent> findByC_R_S(long companyId, long repositoryId, String storeType, int start, int end) Returns a range of all the cts contents where companyId = ? and repositoryId = ? and storeType = ?.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 fromCTSContentModelImpl.- Parameters:
companyId- the company IDrepositoryId- the repository IDstoreType- the store typestart- the lower bound of the range of cts contentsend- the upper bound of the range of cts contents (not inclusive)- Returns:
- the range of matching cts contents
-
findByC_R_S
List<CTSContent> findByC_R_S(long companyId, long repositoryId, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and storeType = ?.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 fromCTSContentModelImpl.- Parameters:
companyId- the company IDrepositoryId- the repository IDstoreType- the store typestart- the lower bound of the range of cts contentsend- the upper bound of the range of cts contents (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cts contents
-
findByC_R_S
List<CTSContent> findByC_R_S(long companyId, long repositoryId, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and storeType = ?.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 fromCTSContentModelImpl.- Parameters:
companyId- the company IDrepositoryId- the repository IDstoreType- the store typestart- the lower bound of the range of cts contentsend- the upper bound of the range of cts contents (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching cts contents
-
findByC_R_S_First
CTSContent findByC_R_S_First(long companyId, long repositoryId, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and storeType = ?.- Parameters:
companyId- the company IDrepositoryId- the repository IDstoreType- the store typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cts content
- Throws:
NoSuchContentException- if a matching cts content could not be found
-
fetchByC_R_S_First
CTSContent fetchByC_R_S_First(long companyId, long repositoryId, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and storeType = ?.- Parameters:
companyId- the company IDrepositoryId- the repository IDstoreType- the store typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cts content, or
nullif a matching cts content could not be found
-
findByC_R_S_Last
CTSContent findByC_R_S_Last(long companyId, long repositoryId, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and storeType = ?.- Parameters:
companyId- the company IDrepositoryId- the repository IDstoreType- the store typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cts content
- Throws:
NoSuchContentException- if a matching cts content could not be found
-
fetchByC_R_S_Last
CTSContent fetchByC_R_S_Last(long companyId, long repositoryId, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and storeType = ?.- Parameters:
companyId- the company IDrepositoryId- the repository IDstoreType- the store typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cts content, or
nullif a matching cts content could not be found
-
findByC_R_S_PrevAndNext
CTSContent[] findByC_R_S_PrevAndNext(long ctsContentId, long companyId, long repositoryId, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException Returns the cts contents before and after the current cts content in the ordered set where companyId = ? and repositoryId = ? and storeType = ?.- Parameters:
ctsContentId- the primary key of the current cts contentcompanyId- the company IDrepositoryId- the repository IDstoreType- the store typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cts content
- Throws:
NoSuchContentException- if a cts content with the primary key could not be found
-
removeByC_R_S
Removes all the cts contents where companyId = ? and repositoryId = ? and storeType = ? from the database.- Parameters:
companyId- the company IDrepositoryId- the repository IDstoreType- the store type
-
countByC_R_S
Returns the number of cts contents where companyId = ? and repositoryId = ? and storeType = ?.- Parameters:
companyId- the company IDrepositoryId- the repository IDstoreType- the store type- Returns:
- the number of matching cts contents
-
findByC_R_P_S
Returns all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store type- Returns:
- the matching cts contents
-
findByC_R_P_S
List<CTSContent> findByC_R_P_S(long companyId, long repositoryId, String path, String storeType, int start, int end) Returns a range of all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.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 fromCTSContentModelImpl.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store typestart- the lower bound of the range of cts contentsend- the upper bound of the range of cts contents (not inclusive)- Returns:
- the range of matching cts contents
-
findByC_R_P_S
List<CTSContent> findByC_R_P_S(long companyId, long repositoryId, String path, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.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 fromCTSContentModelImpl.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store typestart- the lower bound of the range of cts contentsend- the upper bound of the range of cts contents (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cts contents
-
findByC_R_P_S
List<CTSContent> findByC_R_P_S(long companyId, long repositoryId, String path, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.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 fromCTSContentModelImpl.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store typestart- the lower bound of the range of cts contentsend- the upper bound of the range of cts contents (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching cts contents
-
findByC_R_P_S_First
CTSContent findByC_R_P_S_First(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and path = ? and storeType = ?.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cts content
- Throws:
NoSuchContentException- if a matching cts content could not be found
-
fetchByC_R_P_S_First
CTSContent fetchByC_R_P_S_First(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and path = ? and storeType = ?.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cts content, or
nullif a matching cts content could not be found
-
findByC_R_P_S_Last
CTSContent findByC_R_P_S_Last(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and path = ? and storeType = ?.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cts content
- Throws:
NoSuchContentException- if a matching cts content could not be found
-
fetchByC_R_P_S_Last
CTSContent fetchByC_R_P_S_Last(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and path = ? and storeType = ?.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cts content, or
nullif a matching cts content could not be found
-
findByC_R_P_S_PrevAndNext
CTSContent[] findByC_R_P_S_PrevAndNext(long ctsContentId, long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException Returns the cts contents before and after the current cts content in the ordered set where companyId = ? and repositoryId = ? and path = ? and storeType = ?.- Parameters:
ctsContentId- the primary key of the current cts contentcompanyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cts content
- Throws:
NoSuchContentException- if a cts content with the primary key could not be found
-
removeByC_R_P_S
Removes all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ? from the database.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store type
-
countByC_R_P_S
Returns the number of cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store type- Returns:
- the number of matching cts contents
-
findByC_R_LikeP_S
List<CTSContent> findByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType) Returns all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store type- Returns:
- the matching cts contents
-
findByC_R_LikeP_S
List<CTSContent> findByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType, int start, int end) Returns a range of all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.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 fromCTSContentModelImpl.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store typestart- the lower bound of the range of cts contentsend- the upper bound of the range of cts contents (not inclusive)- Returns:
- the range of matching cts contents
-
findByC_R_LikeP_S
List<CTSContent> findByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.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 fromCTSContentModelImpl.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store typestart- the lower bound of the range of cts contentsend- the upper bound of the range of cts contents (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cts contents
-
findByC_R_LikeP_S
List<CTSContent> findByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.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 fromCTSContentModelImpl.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store typestart- the lower bound of the range of cts contentsend- the upper bound of the range of cts contents (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching cts contents
-
findByC_R_LikeP_S_First
CTSContent findByC_R_LikeP_S_First(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cts content
- Throws:
NoSuchContentException- if a matching cts content could not be found
-
fetchByC_R_LikeP_S_First
CTSContent fetchByC_R_LikeP_S_First(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cts content, or
nullif a matching cts content could not be found
-
findByC_R_LikeP_S_Last
CTSContent findByC_R_LikeP_S_Last(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cts content
- Throws:
NoSuchContentException- if a matching cts content could not be found
-
fetchByC_R_LikeP_S_Last
CTSContent fetchByC_R_LikeP_S_Last(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cts content, or
nullif a matching cts content could not be found
-
findByC_R_LikeP_S_PrevAndNext
CTSContent[] findByC_R_LikeP_S_PrevAndNext(long ctsContentId, long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException Returns the cts contents before and after the current cts content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.- Parameters:
ctsContentId- the primary key of the current cts contentcompanyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cts content
- Throws:
NoSuchContentException- if a cts content with the primary key could not be found
-
removeByC_R_LikeP_S
Removes all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ? from the database.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store type
-
countByC_R_LikeP_S
Returns the number of cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathstoreType- the store type- Returns:
- the number of matching cts contents
-
findByC_R_P_V_S
CTSContent findByC_R_P_V_S(long companyId, long repositoryId, String path, String version, String storeType) throws NoSuchContentException Returns the cts content where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ? or throws aNoSuchContentExceptionif it could not be found.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathversion- the versionstoreType- the store type- Returns:
- the matching cts content
- Throws:
NoSuchContentException- if a matching cts content could not be found
-
fetchByC_R_P_V_S
CTSContent fetchByC_R_P_V_S(long companyId, long repositoryId, String path, String version, String storeType) Returns the cts content where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathversion- the versionstoreType- the store type- Returns:
- the matching cts content, or
nullif a matching cts content could not be found
-
fetchByC_R_P_V_S
CTSContent fetchByC_R_P_V_S(long companyId, long repositoryId, String path, String version, String storeType, boolean useFinderCache) Returns the cts content where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathversion- the versionstoreType- the store typeuseFinderCache- whether to use the finder cache- Returns:
- the matching cts content, or
nullif a matching cts content could not be found
-
removeByC_R_P_V_S
CTSContent removeByC_R_P_V_S(long companyId, long repositoryId, String path, String version, String storeType) throws NoSuchContentException Removes the cts content where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ? from the database.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathversion- the versionstoreType- the store type- Returns:
- the cts content that was removed
- Throws:
NoSuchContentException
-
countByC_R_P_V_S
int countByC_R_P_V_S(long companyId, long repositoryId, String path, String version, String storeType) Returns the number of cts contents where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ?.- Parameters:
companyId- the company IDrepositoryId- the repository IDpath- the pathversion- the versionstoreType- the store type- Returns:
- the number of matching cts contents
-
cacheResult
Caches the cts content in the entity cache if it is enabled.- Parameters:
ctsContent- the cts content
-
cacheResult
Caches the cts contents in the entity cache if it is enabled.- Parameters:
ctsContents- the cts contents
-
create
Creates a new cts content with the primary key. Does not add the cts content to the database.- Parameters:
ctsContentId- the primary key for the new cts content- Returns:
- the new cts content
-
remove
Removes the cts content with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
ctsContentId- the primary key of the cts content- Returns:
- the cts content that was removed
- Throws:
NoSuchContentException- if a cts content with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the cts content with the primary key or throws aNoSuchContentExceptionif it could not be found.- Parameters:
ctsContentId- the primary key of the cts content- Returns:
- the cts content
- Throws:
NoSuchContentException- if a cts content with the primary key could not be found
-
fetchByPrimaryKey
Returns the cts content with the primary key or returnsnullif it could not be found.- Parameters:
ctsContentId- the primary key of the cts content- Returns:
- the cts content, or
nullif a cts content with the primary key could not be found
-
findAll
List<CTSContent> findAll()Returns all the cts contents.- Returns:
- the cts contents
-
findAll
Returns a range of all the cts contents.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 fromCTSContentModelImpl.- Parameters:
start- the lower bound of the range of cts contentsend- the upper bound of the range of cts contents (not inclusive)- Returns:
- the range of cts contents
-
findAll
List<CTSContent> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) Returns an ordered range of all the cts contents.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 fromCTSContentModelImpl.- Parameters:
start- the lower bound of the range of cts contentsend- the upper bound of the range of cts contents (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of cts contents
-
findAll
List<CTSContent> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cts contents.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 fromCTSContentModelImpl.- Parameters:
start- the lower bound of the range of cts contentsend- the upper bound of the range of cts contents (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of cts contents
-
removeAll
void removeAll()Removes all the cts contents from the database. -
countAll
int countAll()Returns the number of cts contents.- Returns:
- the number of cts contents
-