Interface LayoutContentVersionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<LayoutContentVersion>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByERC_G(String externalReferenceCode, long groupId) Returns the number of layout content versions where externalReferenceCode = ? and groupId = ?.intcountByG_DH(long groupId, String dataHash) Returns the number of layout content versions where groupId = ? and dataHash = ?.intcountByG_S(long groupId, int status) Returns the number of layout content versions where groupId = ? and status = ?.intcountByP_S(long plid, int status) Returns the number of layout content versions where plid = ? and status = ?.intcountByP_V(long plid, int version) Returns the number of layout content versions where plid = ? and version = ?.intcountByPlid(long plid) Returns the number of layout content versions where plid = ?.create(long layoutContentVersionId) Creates a new layout content version with the primary key.default LayoutContentVersionfetchByERC_G(String externalReferenceCode, long groupId) Returns the layout content version where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found.fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the layout content version where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByG_DH_First(long groupId, String dataHash, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) Returns the first layout content version in the ordered set where groupId = ? and dataHash = ?.fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) Returns the first layout content version in the ordered set where groupId = ? and status = ?.fetchByP_S_First(long plid, int status, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) Returns the first layout content version in the ordered set where plid = ? and status = ?.default LayoutContentVersionfetchByP_V(long plid, int version) Returns the layout content version where plid = ? and version = ? or returnsnullif it could not be found.fetchByP_V(long plid, int version, boolean useFinderCache) Returns the layout content version where plid = ? and version = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) Returns the first layout content version in the ordered set where plid = ?.fetchByPrimaryKey(long layoutContentVersionId) Returns the layout content version with the primary key or returnsnullif it could not be found.findByERC_G(String externalReferenceCode, long groupId) Returns the layout content version where externalReferenceCode = ? and groupId = ? or throws aNoSuchLayoutContentVersionExceptionif it could not be found.default List<LayoutContentVersion> findByG_DH(long groupId, String dataHash) Returns all the layout content versions where groupId = ? and dataHash = ?.default List<LayoutContentVersion> findByG_DH(long groupId, String dataHash, int start, int end) Returns a range of all the layout content versions where groupId = ? and dataHash = ?.default List<LayoutContentVersion> findByG_DH(long groupId, String dataHash, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) Returns an ordered range of all the layout content versions where groupId = ? and dataHash = ?.findByG_DH(long groupId, String dataHash, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout content versions where groupId = ? and dataHash = ?.findByG_DH_First(long groupId, String dataHash, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) Returns the first layout content version in the ordered set where groupId = ? and dataHash = ?.default List<LayoutContentVersion> findByG_S(long groupId, int status) Returns all the layout content versions where groupId = ? and status = ?.default List<LayoutContentVersion> findByG_S(long groupId, int status, int start, int end) Returns a range of all the layout content versions where groupId = ? and status = ?.default List<LayoutContentVersion> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) Returns an ordered range of all the layout content versions where groupId = ? and status = ?.findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout content versions where groupId = ? and status = ?.findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) Returns the first layout content version in the ordered set where groupId = ? and status = ?.default List<LayoutContentVersion> findByP_S(long plid, int status) Returns all the layout content versions where plid = ? and status = ?.default List<LayoutContentVersion> findByP_S(long plid, int status, int start, int end) Returns a range of all the layout content versions where plid = ? and status = ?.default List<LayoutContentVersion> findByP_S(long plid, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) Returns an ordered range of all the layout content versions where plid = ? and status = ?.findByP_S(long plid, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout content versions where plid = ? and status = ?.findByP_S_First(long plid, int status, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) Returns the first layout content version in the ordered set where plid = ? and status = ?.findByP_V(long plid, int version) Returns the layout content version where plid = ? and version = ? or throws aNoSuchLayoutContentVersionExceptionif it could not be found.default List<LayoutContentVersion> findByPlid(long plid) Returns all the layout content versions where plid = ?.default List<LayoutContentVersion> findByPlid(long plid, int start, int end) Returns a range of all the layout content versions where plid = ?.default List<LayoutContentVersion> findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) Returns an ordered range of all the layout content versions where plid = ?.findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout content versions where plid = ?.findByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) Returns the first layout content version in the ordered set where plid = ?.findByPrimaryKey(long layoutContentVersionId) Returns the layout content version with the primary key or throws aNoSuchLayoutContentVersionExceptionif it could not be found.remove(long layoutContentVersionId) Removes the layout content version with the primary key from the database.removeByERC_G(String externalReferenceCode, long groupId) Removes the layout content version where externalReferenceCode = ? and groupId = ? from the database.voidremoveByG_DH(long groupId, String dataHash) Removes all the layout content versions where groupId = ? and dataHash = ? from the database.voidremoveByG_S(long groupId, int status) Removes all the layout content versions where groupId = ? and status = ? from the database.voidremoveByP_S(long plid, int status) Removes all the layout content versions where plid = ? and status = ? from the database.removeByP_V(long plid, int version) Removes the layout content version where plid = ? and version = ? from the database.voidremoveByPlid(long plid) Removes all the layout content versions where plid = ? from the database.updateImpl(LayoutContentVersion layoutContentVersion) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByPlid
List<LayoutContentVersion> findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout content versions where plid = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.layout.content.model.impl.LayoutContentVersionModelImpl.- Parameters:
plid- the plidstart- the lower bound of the range of layout content versionsend- the upper bound of the range of layout content versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout content versions
-
findByPlid_First
LayoutContentVersion findByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) throws NoSuchLayoutContentVersionException Returns the first layout content version in the ordered set where plid = ?.- Parameters:
plid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout content version
- Throws:
NoSuchLayoutContentVersionException- if a matching layout content version could not be found
-
fetchByPlid_First
LayoutContentVersion fetchByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) Returns the first layout content version in the ordered set where plid = ?.- Parameters:
plid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout content version, or
nullif a matching layout content version could not be found
-
removeByPlid
void removeByPlid(long plid) Removes all the layout content versions where plid = ? from the database.- Parameters:
plid- the plid
-
countByPlid
int countByPlid(long plid) Returns the number of layout content versions where plid = ?.- Parameters:
plid- the plid- Returns:
- the number of matching layout content versions
-
findByG_DH
List<LayoutContentVersion> findByG_DH(long groupId, String dataHash, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout content versions where groupId = ? and dataHash = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.layout.content.model.impl.LayoutContentVersionModelImpl.- Parameters:
groupId- the group IDdataHash- the data hashstart- the lower bound of the range of layout content versionsend- the upper bound of the range of layout content versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout content versions
-
findByG_DH_First
LayoutContentVersion findByG_DH_First(long groupId, String dataHash, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) throws NoSuchLayoutContentVersionException Returns the first layout content version in the ordered set where groupId = ? and dataHash = ?.- Parameters:
groupId- the group IDdataHash- the data hashorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout content version
- Throws:
NoSuchLayoutContentVersionException- if a matching layout content version could not be found
-
fetchByG_DH_First
LayoutContentVersion fetchByG_DH_First(long groupId, String dataHash, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) Returns the first layout content version in the ordered set where groupId = ? and dataHash = ?.- Parameters:
groupId- the group IDdataHash- the data hashorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout content version, or
nullif a matching layout content version could not be found
-
removeByG_DH
Removes all the layout content versions where groupId = ? and dataHash = ? from the database.- Parameters:
groupId- the group IDdataHash- the data hash
-
countByG_DH
Returns the number of layout content versions where groupId = ? and dataHash = ?.- Parameters:
groupId- the group IDdataHash- the data hash- Returns:
- the number of matching layout content versions
-
findByG_S
List<LayoutContentVersion> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout content versions where groupId = ? and status = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.layout.content.model.impl.LayoutContentVersionModelImpl.- Parameters:
groupId- the group IDstatus- the statusstart- the lower bound of the range of layout content versionsend- the upper bound of the range of layout content versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout content versions
-
findByG_S_First
LayoutContentVersion findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) throws NoSuchLayoutContentVersionException Returns the first layout content version in the ordered set where groupId = ? and status = ?.- Parameters:
groupId- the group IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout content version
- Throws:
NoSuchLayoutContentVersionException- if a matching layout content version could not be found
-
fetchByG_S_First
LayoutContentVersion fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) Returns the first layout content version in the ordered set where groupId = ? and status = ?.- Parameters:
groupId- the group IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout content version, or
nullif a matching layout content version could not be found
-
removeByG_S
void removeByG_S(long groupId, int status) Removes all the layout content versions where groupId = ? and status = ? from the database.- Parameters:
groupId- the group IDstatus- the status
-
countByG_S
int countByG_S(long groupId, int status) Returns the number of layout content versions where groupId = ? and status = ?.- Parameters:
groupId- the group IDstatus- the status- Returns:
- the number of matching layout content versions
-
findByP_V
Returns the layout content version where plid = ? and version = ? or throws aNoSuchLayoutContentVersionExceptionif it could not be found.- Parameters:
plid- the plidversion- the version- Returns:
- the matching layout content version
- Throws:
NoSuchLayoutContentVersionException- if a matching layout content version could not be found
-
fetchByP_V
Returns the layout content version where plid = ? and version = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
plid- the plidversion- the versionuseFinderCache- whether to use the finder cache- Returns:
- the matching layout content version, or
nullif a matching layout content version could not be found
-
removeByP_V
Removes the layout content version where plid = ? and version = ? from the database.- Parameters:
plid- the plidversion- the version- Returns:
- the layout content version that was removed
- Throws:
NoSuchLayoutContentVersionException
-
countByP_V
int countByP_V(long plid, int version) Returns the number of layout content versions where plid = ? and version = ?.- Parameters:
plid- the plidversion- the version- Returns:
- the number of matching layout content versions
-
findByP_S
List<LayoutContentVersion> findByP_S(long plid, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout content versions where plid = ? and status = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.layout.content.model.impl.LayoutContentVersionModelImpl.- Parameters:
plid- the plidstatus- the statusstart- the lower bound of the range of layout content versionsend- the upper bound of the range of layout content versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout content versions
-
findByP_S_First
LayoutContentVersion findByP_S_First(long plid, int status, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) throws NoSuchLayoutContentVersionException Returns the first layout content version in the ordered set where plid = ? and status = ?.- Parameters:
plid- the plidstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout content version
- Throws:
NoSuchLayoutContentVersionException- if a matching layout content version could not be found
-
fetchByP_S_First
LayoutContentVersion fetchByP_S_First(long plid, int status, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) Returns the first layout content version in the ordered set where plid = ? and status = ?.- Parameters:
plid- the plidstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout content version, or
nullif a matching layout content version could not be found
-
removeByP_S
void removeByP_S(long plid, int status) Removes all the layout content versions where plid = ? and status = ? from the database.- Parameters:
plid- the plidstatus- the status
-
countByP_S
int countByP_S(long plid, int status) Returns the number of layout content versions where plid = ? and status = ?.- Parameters:
plid- the plidstatus- the status- Returns:
- the number of matching layout content versions
-
findByERC_G
LayoutContentVersion findByERC_G(String externalReferenceCode, long groupId) throws NoSuchLayoutContentVersionException Returns the layout content version where externalReferenceCode = ? and groupId = ? or throws aNoSuchLayoutContentVersionExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the matching layout content version
- Throws:
NoSuchLayoutContentVersionException- if a matching layout content version could not be found
-
fetchByERC_G
LayoutContentVersion fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the layout content version where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching layout content version, or
nullif a matching layout content version could not be found
-
removeByERC_G
LayoutContentVersion removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchLayoutContentVersionException Removes the layout content version where externalReferenceCode = ? and groupId = ? from the database.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the layout content version that was removed
- Throws:
NoSuchLayoutContentVersionException
-
countByERC_G
Returns the number of layout content versions where externalReferenceCode = ? and groupId = ?.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the number of matching layout content versions
-
create
Creates a new layout content version with the primary key. Does not add the layout content version to the database.- Parameters:
layoutContentVersionId- the primary key for the new layout content version- Returns:
- the new layout content version
-
remove
Removes the layout content version with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
layoutContentVersionId- the primary key of the layout content version- Returns:
- the layout content version that was removed
- Throws:
NoSuchLayoutContentVersionException- if a layout content version with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
LayoutContentVersion findByPrimaryKey(long layoutContentVersionId) throws NoSuchLayoutContentVersionException Returns the layout content version with the primary key or throws aNoSuchLayoutContentVersionExceptionif it could not be found.- Parameters:
layoutContentVersionId- the primary key of the layout content version- Returns:
- the layout content version
- Throws:
NoSuchLayoutContentVersionException- if a layout content version with the primary key could not be found
-
fetchByPrimaryKey
Returns the layout content version with the primary key or returnsnullif it could not be found.- Parameters:
layoutContentVersionId- the primary key of the layout content version- Returns:
- the layout content version, or
nullif a layout content version with the primary key could not be found
-
fetchByP_V
Returns the layout content version where plid = ? and version = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
plid- the plidversion- the version- Returns:
- the matching layout content version, or
nullif a matching layout content version could not be found
-
fetchByERC_G
Returns the layout content version where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the matching layout content version, or
nullif a matching layout content version could not be found
-
findByPlid
Returns all the layout content versions where plid = ?.- Parameters:
plid- the plid- Returns:
- the matching layout content versions
-
findByPlid
Returns a range of all the layout content versions where plid = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.layout.content.model.impl.LayoutContentVersionModelImpl.- Parameters:
plid- the plidstart- the lower bound of the range of layout content versionsend- the upper bound of the range of layout content versions (not inclusive)- Returns:
- the range of matching layout content versions
-
findByPlid
default List<LayoutContentVersion> findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) Returns an ordered range of all the layout content versions where plid = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.layout.content.model.impl.LayoutContentVersionModelImpl.- Parameters:
plid- the plidstart- the lower bound of the range of layout content versionsend- the upper bound of the range of layout content versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout content versions
-
findByG_DH
Returns all the layout content versions where groupId = ? and dataHash = ?.- Parameters:
groupId- the group IDdataHash- the data hash- Returns:
- the matching layout content versions
-
findByG_DH
Returns a range of all the layout content versions where groupId = ? and dataHash = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.layout.content.model.impl.LayoutContentVersionModelImpl.- Parameters:
groupId- the group IDdataHash- the data hashstart- the lower bound of the range of layout content versionsend- the upper bound of the range of layout content versions (not inclusive)- Returns:
- the range of matching layout content versions
-
findByG_DH
default List<LayoutContentVersion> findByG_DH(long groupId, String dataHash, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) Returns an ordered range of all the layout content versions where groupId = ? and dataHash = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.layout.content.model.impl.LayoutContentVersionModelImpl.- Parameters:
groupId- the group IDdataHash- the data hashstart- the lower bound of the range of layout content versionsend- the upper bound of the range of layout content versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout content versions
-
findByG_S
Returns all the layout content versions where groupId = ? and status = ?.- Parameters:
groupId- the group IDstatus- the status- Returns:
- the matching layout content versions
-
findByG_S
Returns a range of all the layout content versions where groupId = ? and status = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.layout.content.model.impl.LayoutContentVersionModelImpl.- Parameters:
groupId- the group IDstatus- the statusstart- the lower bound of the range of layout content versionsend- the upper bound of the range of layout content versions (not inclusive)- Returns:
- the range of matching layout content versions
-
findByG_S
default List<LayoutContentVersion> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) Returns an ordered range of all the layout content versions where groupId = ? and status = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.layout.content.model.impl.LayoutContentVersionModelImpl.- Parameters:
groupId- the group IDstatus- the statusstart- the lower bound of the range of layout content versionsend- the upper bound of the range of layout content versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout content versions
-
findByP_S
Returns all the layout content versions where plid = ? and status = ?.- Parameters:
plid- the plidstatus- the status- Returns:
- the matching layout content versions
-
findByP_S
Returns a range of all the layout content versions where plid = ? and status = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.layout.content.model.impl.LayoutContentVersionModelImpl.- Parameters:
plid- the plidstatus- the statusstart- the lower bound of the range of layout content versionsend- the upper bound of the range of layout content versions (not inclusive)- Returns:
- the range of matching layout content versions
-
findByP_S
default List<LayoutContentVersion> findByP_S(long plid, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) Returns an ordered range of all the layout content versions where plid = ? and status = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.layout.content.model.impl.LayoutContentVersionModelImpl.- Parameters:
plid- the plidstatus- the statusstart- the lower bound of the range of layout content versionsend- the upper bound of the range of layout content versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout content versions
-