@ProviderType public interface CTSContentPersistence extends 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
CTSContentUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CTSContent ctsContent)
Caches the cts content in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CTSContent> ctsContents)
Caches the cts contents in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of cts contents.
|
int |
countByC_R_LikeP_S(long companyId,
long repositoryId,
java.lang.String path,
java.lang.String storeType)
Returns the number of cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.
|
int |
countByC_R_P_S(long companyId,
long repositoryId,
java.lang.String path,
java.lang.String storeType)
Returns the number of cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.
|
int |
countByC_R_P_V_S(long companyId,
long repositoryId,
java.lang.String path,
java.lang.String version,
java.lang.String storeType)
Returns the number of cts contents where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ?.
|
int |
countByC_R_S(long companyId,
long repositoryId,
java.lang.String storeType)
Returns the number of cts contents where companyId = ? and repositoryId = ? and storeType = ?.
|
CTSContent |
create(long ctsContentId)
Creates a new cts content with the primary key.
|
CTSContent |
fetchByC_R_LikeP_S_First(long companyId,
long repositoryId,
java.lang.String path,
java.lang.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 = ?.
|
CTSContent |
fetchByC_R_LikeP_S_Last(long companyId,
long repositoryId,
java.lang.String path,
java.lang.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 = ?.
|
CTSContent |
fetchByC_R_P_S_First(long companyId,
long repositoryId,
java.lang.String path,
java.lang.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 = ?.
|
CTSContent |
fetchByC_R_P_S_Last(long companyId,
long repositoryId,
java.lang.String path,
java.lang.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 = ?.
|
CTSContent |
fetchByC_R_P_V_S(long companyId,
long repositoryId,
java.lang.String path,
java.lang.String version,
java.lang.String storeType)
Returns the cts content where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ? or returns
null if it could not be found. |
CTSContent |
fetchByC_R_P_V_S(long companyId,
long repositoryId,
java.lang.String path,
java.lang.String version,
java.lang.String storeType,
boolean useFinderCache)
Returns the cts content where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ? or returns
null if it could not be found, optionally using the finder cache. |
CTSContent |
fetchByC_R_S_First(long companyId,
long repositoryId,
java.lang.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 = ?.
|
CTSContent |
fetchByC_R_S_Last(long companyId,
long repositoryId,
java.lang.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 = ?.
|
CTSContent |
fetchByPrimaryKey(long ctsContentId)
Returns the cts content with the primary key or returns
null if it could not be found. |
java.util.List<CTSContent> |
findAll()
Returns all the cts contents.
|
java.util.List<CTSContent> |
findAll(int start,
int end)
Returns a range of all the cts contents.
|
java.util.List<CTSContent> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
Returns an ordered range of all the cts contents.
|
java.util.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.
|
CTSContent |
findByC_R_LikeP_S_First(long companyId,
long repositoryId,
java.lang.String path,
java.lang.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 = ?.
|
CTSContent |
findByC_R_LikeP_S_Last(long companyId,
long repositoryId,
java.lang.String path,
java.lang.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 = ?.
|
CTSContent[] |
findByC_R_LikeP_S_PrevAndNext(long ctsContentId,
long companyId,
long repositoryId,
java.lang.String path,
java.lang.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 = ?.
|
java.util.List<CTSContent> |
findByC_R_LikeP_S(long companyId,
long repositoryId,
java.lang.String path,
java.lang.String storeType)
Returns all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.
|
java.util.List<CTSContent> |
findByC_R_LikeP_S(long companyId,
long repositoryId,
java.lang.String path,
java.lang.String storeType,
int start,
int end)
Returns a range of all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.
|
java.util.List<CTSContent> |
findByC_R_LikeP_S(long companyId,
long repositoryId,
java.lang.String path,
java.lang.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 = ?.
|
java.util.List<CTSContent> |
findByC_R_LikeP_S(long companyId,
long repositoryId,
java.lang.String path,
java.lang.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 = ?.
|
CTSContent |
findByC_R_P_S_First(long companyId,
long repositoryId,
java.lang.String path,
java.lang.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 = ?.
|
CTSContent |
findByC_R_P_S_Last(long companyId,
long repositoryId,
java.lang.String path,
java.lang.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 = ?.
|
CTSContent[] |
findByC_R_P_S_PrevAndNext(long ctsContentId,
long companyId,
long repositoryId,
java.lang.String path,
java.lang.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 = ?.
|
java.util.List<CTSContent> |
findByC_R_P_S(long companyId,
long repositoryId,
java.lang.String path,
java.lang.String storeType)
Returns all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.
|
java.util.List<CTSContent> |
findByC_R_P_S(long companyId,
long repositoryId,
java.lang.String path,
java.lang.String storeType,
int start,
int end)
Returns a range of all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.
|
java.util.List<CTSContent> |
findByC_R_P_S(long companyId,
long repositoryId,
java.lang.String path,
java.lang.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 = ?.
|
java.util.List<CTSContent> |
findByC_R_P_S(long companyId,
long repositoryId,
java.lang.String path,
java.lang.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 = ?.
|
CTSContent |
findByC_R_P_V_S(long companyId,
long repositoryId,
java.lang.String path,
java.lang.String version,
java.lang.String storeType)
Returns the cts content where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ? or throws a
NoSuchContentException if it could not be found. |
CTSContent |
findByC_R_S_First(long companyId,
long repositoryId,
java.lang.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 = ?.
|
CTSContent |
findByC_R_S_Last(long companyId,
long repositoryId,
java.lang.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 = ?.
|
CTSContent[] |
findByC_R_S_PrevAndNext(long ctsContentId,
long companyId,
long repositoryId,
java.lang.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 = ?.
|
java.util.List<CTSContent> |
findByC_R_S(long companyId,
long repositoryId,
java.lang.String storeType)
Returns all the cts contents where companyId = ? and repositoryId = ? and storeType = ?.
|
java.util.List<CTSContent> |
findByC_R_S(long companyId,
long repositoryId,
java.lang.String storeType,
int start,
int end)
Returns a range of all the cts contents where companyId = ? and repositoryId = ? and storeType = ?.
|
java.util.List<CTSContent> |
findByC_R_S(long companyId,
long repositoryId,
java.lang.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 = ?.
|
java.util.List<CTSContent> |
findByC_R_S(long companyId,
long repositoryId,
java.lang.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 = ?.
|
CTSContent |
findByPrimaryKey(long ctsContentId)
Returns the cts content with the primary key or throws a
NoSuchContentException if it could not be found. |
CTSContent |
remove(long ctsContentId)
Removes the cts content with the primary key from the database.
|
void |
removeAll()
Removes all the cts contents from the database.
|
void |
removeByC_R_LikeP_S(long companyId,
long repositoryId,
java.lang.String path,
java.lang.String storeType)
Removes all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ? from the database.
|
void |
removeByC_R_P_S(long companyId,
long repositoryId,
java.lang.String path,
java.lang.String storeType)
Removes all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ? from the database.
|
CTSContent |
removeByC_R_P_V_S(long companyId,
long repositoryId,
java.lang.String path,
java.lang.String version,
java.lang.String storeType)
Removes the cts content where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ? from the database.
|
void |
removeByC_R_S(long companyId,
long repositoryId,
java.lang.String storeType)
Removes all the cts contents where companyId = ? and repositoryId = ? and storeType = ? from the database.
|
CTSContent |
updateImpl(CTSContent ctsContent) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
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, setDataSource, unregisterListener, update, update
java.util.List<CTSContent> findByC_R_S(long companyId, long repositoryId, java.lang.String storeType)
companyId
- the company IDrepositoryId
- the repository IDstoreType
- the store typejava.util.List<CTSContent> findByC_R_S(long companyId, long repositoryId, java.lang.String storeType, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTSContentModelImpl
.
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)java.util.List<CTSContent> findByC_R_S(long companyId, long repositoryId, java.lang.String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTSContentModelImpl
.
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 (optionally null
)java.util.List<CTSContent> findByC_R_S(long companyId, long repositoryId, java.lang.String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTSContentModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCTSContent findByC_R_S_First(long companyId, long repositoryId, java.lang.String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException
companyId
- the company IDrepositoryId
- the repository IDstoreType
- the store typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentException
- if a matching cts content could not be foundCTSContent fetchByC_R_S_First(long companyId, long repositoryId, java.lang.String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
companyId
- the company IDrepositoryId
- the repository IDstoreType
- the store typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cts content could not be foundCTSContent findByC_R_S_Last(long companyId, long repositoryId, java.lang.String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException
companyId
- the company IDrepositoryId
- the repository IDstoreType
- the store typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentException
- if a matching cts content could not be foundCTSContent fetchByC_R_S_Last(long companyId, long repositoryId, java.lang.String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
companyId
- the company IDrepositoryId
- the repository IDstoreType
- the store typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cts content could not be foundCTSContent[] findByC_R_S_PrevAndNext(long ctsContentId, long companyId, long repositoryId, java.lang.String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException
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 (optionally null
)NoSuchContentException
- if a cts content with the primary key could not be foundvoid removeByC_R_S(long companyId, long repositoryId, java.lang.String storeType)
companyId
- the company IDrepositoryId
- the repository IDstoreType
- the store typeint countByC_R_S(long companyId, long repositoryId, java.lang.String storeType)
companyId
- the company IDrepositoryId
- the repository IDstoreType
- the store typejava.util.List<CTSContent> findByC_R_P_S(long companyId, long repositoryId, java.lang.String path, java.lang.String storeType)
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathstoreType
- the store typejava.util.List<CTSContent> findByC_R_P_S(long companyId, long repositoryId, java.lang.String path, java.lang.String storeType, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTSContentModelImpl
.
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)java.util.List<CTSContent> findByC_R_P_S(long companyId, long repositoryId, java.lang.String path, java.lang.String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTSContentModelImpl
.
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 (optionally null
)java.util.List<CTSContent> findByC_R_P_S(long companyId, long repositoryId, java.lang.String path, java.lang.String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTSContentModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCTSContent findByC_R_P_S_First(long companyId, long repositoryId, java.lang.String path, java.lang.String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathstoreType
- the store typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentException
- if a matching cts content could not be foundCTSContent fetchByC_R_P_S_First(long companyId, long repositoryId, java.lang.String path, java.lang.String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathstoreType
- the store typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cts content could not be foundCTSContent findByC_R_P_S_Last(long companyId, long repositoryId, java.lang.String path, java.lang.String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathstoreType
- the store typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentException
- if a matching cts content could not be foundCTSContent fetchByC_R_P_S_Last(long companyId, long repositoryId, java.lang.String path, java.lang.String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathstoreType
- the store typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cts content could not be foundCTSContent[] findByC_R_P_S_PrevAndNext(long ctsContentId, long companyId, long repositoryId, java.lang.String path, java.lang.String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException
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 (optionally null
)NoSuchContentException
- if a cts content with the primary key could not be foundvoid removeByC_R_P_S(long companyId, long repositoryId, java.lang.String path, java.lang.String storeType)
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathstoreType
- the store typeint countByC_R_P_S(long companyId, long repositoryId, java.lang.String path, java.lang.String storeType)
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathstoreType
- the store typejava.util.List<CTSContent> findByC_R_LikeP_S(long companyId, long repositoryId, java.lang.String path, java.lang.String storeType)
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathstoreType
- the store typejava.util.List<CTSContent> findByC_R_LikeP_S(long companyId, long repositoryId, java.lang.String path, java.lang.String storeType, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTSContentModelImpl
.
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)java.util.List<CTSContent> findByC_R_LikeP_S(long companyId, long repositoryId, java.lang.String path, java.lang.String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTSContentModelImpl
.
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 (optionally null
)java.util.List<CTSContent> findByC_R_LikeP_S(long companyId, long repositoryId, java.lang.String path, java.lang.String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTSContentModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCTSContent findByC_R_LikeP_S_First(long companyId, long repositoryId, java.lang.String path, java.lang.String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathstoreType
- the store typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentException
- if a matching cts content could not be foundCTSContent fetchByC_R_LikeP_S_First(long companyId, long repositoryId, java.lang.String path, java.lang.String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathstoreType
- the store typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cts content could not be foundCTSContent findByC_R_LikeP_S_Last(long companyId, long repositoryId, java.lang.String path, java.lang.String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathstoreType
- the store typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchContentException
- if a matching cts content could not be foundCTSContent fetchByC_R_LikeP_S_Last(long companyId, long repositoryId, java.lang.String path, java.lang.String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathstoreType
- the store typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cts content could not be foundCTSContent[] findByC_R_LikeP_S_PrevAndNext(long ctsContentId, long companyId, long repositoryId, java.lang.String path, java.lang.String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException
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 (optionally null
)NoSuchContentException
- if a cts content with the primary key could not be foundvoid removeByC_R_LikeP_S(long companyId, long repositoryId, java.lang.String path, java.lang.String storeType)
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathstoreType
- the store typeint countByC_R_LikeP_S(long companyId, long repositoryId, java.lang.String path, java.lang.String storeType)
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathstoreType
- the store typeCTSContent findByC_R_P_V_S(long companyId, long repositoryId, java.lang.String path, java.lang.String version, java.lang.String storeType) throws NoSuchContentException
NoSuchContentException
if it could not be found.companyId
- the company IDrepositoryId
- the repository IDpath
- the pathversion
- the versionstoreType
- the store typeNoSuchContentException
- if a matching cts content could not be foundCTSContent fetchByC_R_P_V_S(long companyId, long repositoryId, java.lang.String path, java.lang.String version, java.lang.String storeType)
null
if it could not be found. Uses the finder cache.companyId
- the company IDrepositoryId
- the repository IDpath
- the pathversion
- the versionstoreType
- the store typenull
if a matching cts content could not be foundCTSContent fetchByC_R_P_V_S(long companyId, long repositoryId, java.lang.String path, java.lang.String version, java.lang.String storeType, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDrepositoryId
- the repository IDpath
- the pathversion
- the versionstoreType
- the store typeuseFinderCache
- whether to use the finder cachenull
if a matching cts content could not be foundCTSContent removeByC_R_P_V_S(long companyId, long repositoryId, java.lang.String path, java.lang.String version, java.lang.String storeType) throws NoSuchContentException
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathversion
- the versionstoreType
- the store typeNoSuchContentException
int countByC_R_P_V_S(long companyId, long repositoryId, java.lang.String path, java.lang.String version, java.lang.String storeType)
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathversion
- the versionstoreType
- the store typevoid cacheResult(CTSContent ctsContent)
ctsContent
- the cts contentvoid cacheResult(java.util.List<CTSContent> ctsContents)
ctsContents
- the cts contentsCTSContent create(long ctsContentId)
ctsContentId
- the primary key for the new cts contentCTSContent remove(long ctsContentId) throws NoSuchContentException
ctsContentId
- the primary key of the cts contentNoSuchContentException
- if a cts content with the primary key could not be foundCTSContent updateImpl(CTSContent ctsContent)
CTSContent findByPrimaryKey(long ctsContentId) throws NoSuchContentException
NoSuchContentException
if it could not be found.ctsContentId
- the primary key of the cts contentNoSuchContentException
- if a cts content with the primary key could not be foundCTSContent fetchByPrimaryKey(long ctsContentId)
null
if it could not be found.ctsContentId
- the primary key of the cts contentnull
if a cts content with the primary key could not be foundjava.util.List<CTSContent> findAll()
java.util.List<CTSContent> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTSContentModelImpl
.
start
- the lower bound of the range of cts contentsend
- the upper bound of the range of cts contents (not inclusive)java.util.List<CTSContent> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTSContentModelImpl
.
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 (optionally null
)java.util.List<CTSContent> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CTSContentModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()