Class LayoutRevisionUtil
com.liferay.portal.service.persistence.impl.LayoutRevisionPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(LayoutRevision layoutRevision) Caches the layout revision in the entity cache if it is enabled.static voidcacheResult(List<LayoutRevision> layoutRevisions) Caches the layout revisions in the entity cache if it is enabled.static voidstatic voidclearCache(LayoutRevision layoutRevision) static intcountAll()Returns the number of layout revisions.static intcountByH_P(boolean head, long plid) Returns the number of layout revisions where head = ? and plid = ?.static intcountByL_H(long layoutSetBranchId, boolean head) Returns the number of layout revisions where layoutSetBranchId = ? and head = ?.static intcountByL_H_P(long layoutSetBranchId, boolean head, long plid) Returns the number of layout revisions where layoutSetBranchId = ? and head = ? and plid = ?.static intcountByL_H_P_Collection(long layoutSetBranchId, boolean head, long plid) Returns the number of layout revisions where layoutSetBranchId = ? and head = ? and plid = ?.static intcountByL_H_S(long layoutSetBranchId, boolean head, int status) Returns the number of layout revisions where layoutSetBranchId = ? and head = ? and status = ?.static intcountByL_L_H_P(long layoutSetBranchId, long layoutBranchId, boolean head, long plid) Returns the number of layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and head = ? and plid = ?.static intcountByL_L_P(long layoutSetBranchId, long layoutBranchId, long plid) Returns the number of layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.static intcountByL_P(long layoutSetBranchId, long plid) Returns the number of layout revisions where layoutSetBranchId = ? and plid = ?.static intcountByL_P_P(long layoutSetBranchId, long parentLayoutRevisionId, long plid) Returns the number of layout revisions where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.static intcountByL_P_S(long layoutSetBranchId, long plid, int status) Returns the number of layout revisions where layoutSetBranchId = ? and plid = ? and status = ?.static intcountByL_S(long layoutSetBranchId, int status) Returns the number of layout revisions where layoutSetBranchId = ? and status = ?.static intcountByLayoutSetBranchId(long layoutSetBranchId) Returns the number of layout revisions where layoutSetBranchId = ?.static intcountByP_NotS(long plid, int status) Returns the number of layout revisions where plid = ? and status ≠ ?.static intcountByPlid(long plid) Returns the number of layout revisions where plid = ?.static intcountByStatus(int status) Returns the number of layout revisions where status = ?.static longcountWithDynamicQuery(DynamicQuery dynamicQuery) static LayoutRevisioncreate(long layoutRevisionId) Creates a new layout revision with the primary key.static LayoutRevisionfetchByH_P_First(boolean head, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where head = ? and plid = ?.static LayoutRevisionfetchByH_P_Last(boolean head, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where head = ? and plid = ?.static LayoutRevisionfetchByL_H_First(long layoutSetBranchId, boolean head, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and head = ?.static LayoutRevisionfetchByL_H_Last(long layoutSetBranchId, boolean head, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and head = ?.static LayoutRevisionfetchByL_H_P(long layoutSetBranchId, boolean head, long plid) Returns the layout revision where layoutSetBranchId = ? and head = ? and plid = ? or returnsnullif it could not be found.static LayoutRevisionfetchByL_H_P(long layoutSetBranchId, boolean head, long plid, boolean useFinderCache) Returns the layout revision where layoutSetBranchId = ? and head = ? and plid = ? or returnsnullif it could not be found, optionally using the finder cache.static LayoutRevisionfetchByL_H_P_Collection_First(long layoutSetBranchId, boolean head, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and head = ? and plid = ?.static LayoutRevisionfetchByL_H_P_Collection_Last(long layoutSetBranchId, boolean head, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and head = ? and plid = ?.static LayoutRevisionfetchByL_H_S_First(long layoutSetBranchId, boolean head, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and head = ? and status = ?.static LayoutRevisionfetchByL_H_S_Last(long layoutSetBranchId, boolean head, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and head = ? and status = ?.static LayoutRevisionfetchByL_L_H_P(long layoutSetBranchId, long layoutBranchId, boolean head, long plid) Returns the layout revision where layoutSetBranchId = ? and layoutBranchId = ? and head = ? and plid = ? or returnsnullif it could not be found.static LayoutRevisionfetchByL_L_H_P(long layoutSetBranchId, long layoutBranchId, boolean head, long plid, boolean useFinderCache) Returns the layout revision where layoutSetBranchId = ? and layoutBranchId = ? and head = ? and plid = ? or returnsnullif it could not be found, optionally using the finder cache.static LayoutRevisionfetchByL_L_P_First(long layoutSetBranchId, long layoutBranchId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.static LayoutRevisionfetchByL_L_P_Last(long layoutSetBranchId, long layoutBranchId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.static LayoutRevisionfetchByL_P_First(long layoutSetBranchId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and plid = ?.static LayoutRevisionfetchByL_P_Last(long layoutSetBranchId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and plid = ?.static LayoutRevisionfetchByL_P_P_First(long layoutSetBranchId, long parentLayoutRevisionId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.static LayoutRevisionfetchByL_P_P_Last(long layoutSetBranchId, long parentLayoutRevisionId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.static LayoutRevisionfetchByL_P_S_First(long layoutSetBranchId, long plid, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and plid = ? and status = ?.static LayoutRevisionfetchByL_P_S_Last(long layoutSetBranchId, long plid, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and plid = ? and status = ?.static LayoutRevisionfetchByL_S_First(long layoutSetBranchId, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and status = ?.static LayoutRevisionfetchByL_S_Last(long layoutSetBranchId, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and status = ?.static LayoutRevisionfetchByLayoutSetBranchId_First(long layoutSetBranchId, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ?.static LayoutRevisionfetchByLayoutSetBranchId_Last(long layoutSetBranchId, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ?.static LayoutRevisionfetchByP_NotS_First(long plid, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where plid = ? and status ≠ ?.static LayoutRevisionfetchByP_NotS_Last(long plid, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where plid = ? and status ≠ ?.static LayoutRevisionfetchByPlid_First(long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where plid = ?.static LayoutRevisionfetchByPlid_Last(long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where plid = ?.static LayoutRevisionfetchByPrimaryKey(long layoutRevisionId) Returns the layout revision with the primary key or returnsnullif it could not be found.static Map<Serializable,LayoutRevision> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static LayoutRevisionfetchByStatus_First(int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where status = ?.static LayoutRevisionfetchByStatus_Last(int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where status = ?.static List<LayoutRevision>findAll()Returns all the layout revisions.static List<LayoutRevision>findAll(int start, int end) Returns a range of all the layout revisions.static List<LayoutRevision>findAll(int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions.static List<LayoutRevision>findAll(int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions.static List<LayoutRevision>findByH_P(boolean head, long plid) Returns all the layout revisions where head = ? and plid = ?.static List<LayoutRevision>findByH_P(boolean head, long plid, int start, int end) Returns a range of all the layout revisions where head = ? and plid = ?.static List<LayoutRevision>findByH_P(boolean head, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where head = ? and plid = ?.static List<LayoutRevision>findByH_P(boolean head, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where head = ? and plid = ?.static LayoutRevisionfindByH_P_First(boolean head, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where head = ? and plid = ?.static LayoutRevisionfindByH_P_Last(boolean head, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where head = ? and plid = ?.static LayoutRevision[]findByH_P_PrevAndNext(long layoutRevisionId, boolean head, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the layout revisions before and after the current layout revision in the ordered set where head = ? and plid = ?.static List<LayoutRevision>findByL_H(long layoutSetBranchId, boolean head) Returns all the layout revisions where layoutSetBranchId = ? and head = ?.static List<LayoutRevision>findByL_H(long layoutSetBranchId, boolean head, int start, int end) Returns a range of all the layout revisions where layoutSetBranchId = ? and head = ?.static List<LayoutRevision>findByL_H(long layoutSetBranchId, boolean head, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and head = ?.static List<LayoutRevision>findByL_H(long layoutSetBranchId, boolean head, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and head = ?.static LayoutRevisionfindByL_H_First(long layoutSetBranchId, boolean head, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and head = ?.static LayoutRevisionfindByL_H_Last(long layoutSetBranchId, boolean head, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and head = ?.static LayoutRevisionfindByL_H_P(long layoutSetBranchId, boolean head, long plid) Returns the layout revision where layoutSetBranchId = ? and head = ? and plid = ? or throws aNoSuchLayoutRevisionExceptionif it could not be found.static List<LayoutRevision>findByL_H_P_Collection(long layoutSetBranchId, boolean head, long plid) Returns all the layout revisions where layoutSetBranchId = ? and head = ? and plid = ?.static List<LayoutRevision>findByL_H_P_Collection(long layoutSetBranchId, boolean head, long plid, int start, int end) Returns a range of all the layout revisions where layoutSetBranchId = ? and head = ? and plid = ?.static List<LayoutRevision>findByL_H_P_Collection(long layoutSetBranchId, boolean head, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and head = ? and plid = ?.static List<LayoutRevision>findByL_H_P_Collection(long layoutSetBranchId, boolean head, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and head = ? and plid = ?.static LayoutRevisionfindByL_H_P_Collection_First(long layoutSetBranchId, boolean head, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and head = ? and plid = ?.static LayoutRevisionfindByL_H_P_Collection_Last(long layoutSetBranchId, boolean head, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and head = ? and plid = ?.static LayoutRevision[]findByL_H_P_Collection_PrevAndNext(long layoutRevisionId, long layoutSetBranchId, boolean head, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and head = ? and plid = ?.static LayoutRevision[]findByL_H_PrevAndNext(long layoutRevisionId, long layoutSetBranchId, boolean head, OrderByComparator<LayoutRevision> orderByComparator) Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and head = ?.static List<LayoutRevision>findByL_H_S(long layoutSetBranchId, boolean head, int status) Returns all the layout revisions where layoutSetBranchId = ? and head = ? and status = ?.static List<LayoutRevision>findByL_H_S(long layoutSetBranchId, boolean head, int status, int start, int end) Returns a range of all the layout revisions where layoutSetBranchId = ? and head = ? and status = ?.static List<LayoutRevision>findByL_H_S(long layoutSetBranchId, boolean head, int status, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and head = ? and status = ?.static List<LayoutRevision>findByL_H_S(long layoutSetBranchId, boolean head, int status, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and head = ? and status = ?.static LayoutRevisionfindByL_H_S_First(long layoutSetBranchId, boolean head, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and head = ? and status = ?.static LayoutRevisionfindByL_H_S_Last(long layoutSetBranchId, boolean head, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and head = ? and status = ?.static LayoutRevision[]findByL_H_S_PrevAndNext(long layoutRevisionId, long layoutSetBranchId, boolean head, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and head = ? and status = ?.static LayoutRevisionfindByL_L_H_P(long layoutSetBranchId, long layoutBranchId, boolean head, long plid) Returns the layout revision where layoutSetBranchId = ? and layoutBranchId = ? and head = ? and plid = ? or throws aNoSuchLayoutRevisionExceptionif it could not be found.static List<LayoutRevision>findByL_L_P(long layoutSetBranchId, long layoutBranchId, long plid) Returns all the layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.static List<LayoutRevision>findByL_L_P(long layoutSetBranchId, long layoutBranchId, long plid, int start, int end) Returns a range of all the layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.static List<LayoutRevision>findByL_L_P(long layoutSetBranchId, long layoutBranchId, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.static List<LayoutRevision>findByL_L_P(long layoutSetBranchId, long layoutBranchId, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.static LayoutRevisionfindByL_L_P_First(long layoutSetBranchId, long layoutBranchId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.static LayoutRevisionfindByL_L_P_Last(long layoutSetBranchId, long layoutBranchId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.static LayoutRevision[]findByL_L_P_PrevAndNext(long layoutRevisionId, long layoutSetBranchId, long layoutBranchId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.static List<LayoutRevision>findByL_P(long layoutSetBranchId, long plid) Returns all the layout revisions where layoutSetBranchId = ? and plid = ?.static List<LayoutRevision>findByL_P(long layoutSetBranchId, long plid, int start, int end) Returns a range of all the layout revisions where layoutSetBranchId = ? and plid = ?.static List<LayoutRevision>findByL_P(long layoutSetBranchId, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and plid = ?.static List<LayoutRevision>findByL_P(long layoutSetBranchId, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and plid = ?.static LayoutRevisionfindByL_P_First(long layoutSetBranchId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and plid = ?.static LayoutRevisionfindByL_P_Last(long layoutSetBranchId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and plid = ?.static List<LayoutRevision>findByL_P_P(long layoutSetBranchId, long parentLayoutRevisionId, long plid) Returns all the layout revisions where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.static List<LayoutRevision>findByL_P_P(long layoutSetBranchId, long parentLayoutRevisionId, long plid, int start, int end) Returns a range of all the layout revisions where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.static List<LayoutRevision>findByL_P_P(long layoutSetBranchId, long parentLayoutRevisionId, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.static List<LayoutRevision>findByL_P_P(long layoutSetBranchId, long parentLayoutRevisionId, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.static LayoutRevisionfindByL_P_P_First(long layoutSetBranchId, long parentLayoutRevisionId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.static LayoutRevisionfindByL_P_P_Last(long layoutSetBranchId, long parentLayoutRevisionId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.static LayoutRevision[]findByL_P_P_PrevAndNext(long layoutRevisionId, long layoutSetBranchId, long parentLayoutRevisionId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.static LayoutRevision[]findByL_P_PrevAndNext(long layoutRevisionId, long layoutSetBranchId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and plid = ?.static List<LayoutRevision>findByL_P_S(long layoutSetBranchId, long plid, int status) Returns all the layout revisions where layoutSetBranchId = ? and plid = ? and status = ?.static List<LayoutRevision>findByL_P_S(long layoutSetBranchId, long plid, int status, int start, int end) Returns a range of all the layout revisions where layoutSetBranchId = ? and plid = ? and status = ?.static List<LayoutRevision>findByL_P_S(long layoutSetBranchId, long plid, int status, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and plid = ? and status = ?.static List<LayoutRevision>findByL_P_S(long layoutSetBranchId, long plid, int status, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and plid = ? and status = ?.static LayoutRevisionfindByL_P_S_First(long layoutSetBranchId, long plid, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and plid = ? and status = ?.static LayoutRevisionfindByL_P_S_Last(long layoutSetBranchId, long plid, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and plid = ? and status = ?.static LayoutRevision[]findByL_P_S_PrevAndNext(long layoutRevisionId, long layoutSetBranchId, long plid, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and plid = ? and status = ?.static List<LayoutRevision>findByL_S(long layoutSetBranchId, int status) Returns all the layout revisions where layoutSetBranchId = ? and status = ?.static List<LayoutRevision>findByL_S(long layoutSetBranchId, int status, int start, int end) Returns a range of all the layout revisions where layoutSetBranchId = ? and status = ?.static List<LayoutRevision>findByL_S(long layoutSetBranchId, int status, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and status = ?.static List<LayoutRevision>findByL_S(long layoutSetBranchId, int status, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and status = ?.static LayoutRevisionfindByL_S_First(long layoutSetBranchId, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and status = ?.static LayoutRevisionfindByL_S_Last(long layoutSetBranchId, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and status = ?.static LayoutRevision[]findByL_S_PrevAndNext(long layoutRevisionId, long layoutSetBranchId, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and status = ?.static List<LayoutRevision>findByLayoutSetBranchId(long layoutSetBranchId) Returns all the layout revisions where layoutSetBranchId = ?.static List<LayoutRevision>findByLayoutSetBranchId(long layoutSetBranchId, int start, int end) Returns a range of all the layout revisions where layoutSetBranchId = ?.static List<LayoutRevision>findByLayoutSetBranchId(long layoutSetBranchId, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where layoutSetBranchId = ?.static List<LayoutRevision>findByLayoutSetBranchId(long layoutSetBranchId, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where layoutSetBranchId = ?.static LayoutRevisionfindByLayoutSetBranchId_First(long layoutSetBranchId, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ?.static LayoutRevisionfindByLayoutSetBranchId_Last(long layoutSetBranchId, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ?.static LayoutRevision[]findByLayoutSetBranchId_PrevAndNext(long layoutRevisionId, long layoutSetBranchId, OrderByComparator<LayoutRevision> orderByComparator) Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ?.static List<LayoutRevision>findByP_NotS(long plid, int status) Returns all the layout revisions where plid = ? and status ≠ ?.static List<LayoutRevision>findByP_NotS(long plid, int status, int start, int end) Returns a range of all the layout revisions where plid = ? and status ≠ ?.static List<LayoutRevision>findByP_NotS(long plid, int status, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where plid = ? and status ≠ ?.static List<LayoutRevision>findByP_NotS(long plid, int status, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where plid = ? and status ≠ ?.static LayoutRevisionfindByP_NotS_First(long plid, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where plid = ? and status ≠ ?.static LayoutRevisionfindByP_NotS_Last(long plid, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where plid = ? and status ≠ ?.static LayoutRevision[]findByP_NotS_PrevAndNext(long layoutRevisionId, long plid, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the layout revisions before and after the current layout revision in the ordered set where plid = ? and status ≠ ?.static List<LayoutRevision>findByPlid(long plid) Returns all the layout revisions where plid = ?.static List<LayoutRevision>findByPlid(long plid, int start, int end) Returns a range of all the layout revisions where plid = ?.static List<LayoutRevision>findByPlid(long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where plid = ?.static List<LayoutRevision>findByPlid(long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where plid = ?.static LayoutRevisionfindByPlid_First(long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where plid = ?.static LayoutRevisionfindByPlid_Last(long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where plid = ?.static LayoutRevision[]findByPlid_PrevAndNext(long layoutRevisionId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the layout revisions before and after the current layout revision in the ordered set where plid = ?.static LayoutRevisionfindByPrimaryKey(long layoutRevisionId) Returns the layout revision with the primary key or throws aNoSuchLayoutRevisionExceptionif it could not be found.static List<LayoutRevision>findByStatus(int status) Returns all the layout revisions where status = ?.static List<LayoutRevision>findByStatus(int status, int start, int end) Returns a range of all the layout revisions where status = ?.static List<LayoutRevision>findByStatus(int status, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where status = ?.static List<LayoutRevision>findByStatus(int status, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where status = ?.static LayoutRevisionfindByStatus_First(int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where status = ?.static LayoutRevisionfindByStatus_Last(int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where status = ?.static LayoutRevision[]findByStatus_PrevAndNext(long layoutRevisionId, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the layout revisions before and after the current layout revision in the ordered set where status = ?.static List<LayoutRevision>findWithDynamicQuery(DynamicQuery dynamicQuery) static List<LayoutRevision>findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) static List<LayoutRevision>findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) static LayoutRevisionPersistencestatic LayoutRevisionremove(long layoutRevisionId) Removes the layout revision with the primary key from the database.static voidRemoves all the layout revisions from the database.static voidremoveByH_P(boolean head, long plid) Removes all the layout revisions where head = ? and plid = ? from the database.static voidremoveByL_H(long layoutSetBranchId, boolean head) Removes all the layout revisions where layoutSetBranchId = ? and head = ? from the database.static LayoutRevisionremoveByL_H_P(long layoutSetBranchId, boolean head, long plid) Removes the layout revision where layoutSetBranchId = ? and head = ? and plid = ? from the database.static voidremoveByL_H_P_Collection(long layoutSetBranchId, boolean head, long plid) Removes all the layout revisions where layoutSetBranchId = ? and head = ? and plid = ? from the database.static voidremoveByL_H_S(long layoutSetBranchId, boolean head, int status) Removes all the layout revisions where layoutSetBranchId = ? and head = ? and status = ? from the database.static LayoutRevisionremoveByL_L_H_P(long layoutSetBranchId, long layoutBranchId, boolean head, long plid) Removes the layout revision where layoutSetBranchId = ? and layoutBranchId = ? and head = ? and plid = ? from the database.static voidremoveByL_L_P(long layoutSetBranchId, long layoutBranchId, long plid) Removes all the layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and plid = ? from the database.static voidremoveByL_P(long layoutSetBranchId, long plid) Removes all the layout revisions where layoutSetBranchId = ? and plid = ? from the database.static voidremoveByL_P_P(long layoutSetBranchId, long parentLayoutRevisionId, long plid) Removes all the layout revisions where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ? from the database.static voidremoveByL_P_S(long layoutSetBranchId, long plid, int status) Removes all the layout revisions where layoutSetBranchId = ? and plid = ? and status = ? from the database.static voidremoveByL_S(long layoutSetBranchId, int status) Removes all the layout revisions where layoutSetBranchId = ? and status = ? from the database.static voidremoveByLayoutSetBranchId(long layoutSetBranchId) Removes all the layout revisions where layoutSetBranchId = ? from the database.static voidremoveByP_NotS(long plid, int status) Removes all the layout revisions where plid = ? and status ≠ ? from the database.static voidremoveByPlid(long plid) Removes all the layout revisions where plid = ? from the database.static voidremoveByStatus(int status) Removes all the layout revisions where status = ? from the database.static voidsetPersistence(LayoutRevisionPersistence persistence) static LayoutRevisionupdate(LayoutRevision layoutRevision) static LayoutRevisionupdate(LayoutRevision layoutRevision, ServiceContext serviceContext) static LayoutRevisionupdateImpl(LayoutRevision layoutRevision)
-
Constructor Details
-
LayoutRevisionUtil
public LayoutRevisionUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
-
countWithDynamicQuery
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
-
findWithDynamicQuery
public static List<LayoutRevision> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) -
findWithDynamicQuery
public static List<LayoutRevision> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) -
update
-
update
-
findByLayoutSetBranchId
Returns all the layout revisions where layoutSetBranchId = ?.- Parameters:
layoutSetBranchId- the layout set branch ID- Returns:
- the matching layout revisions
-
findByLayoutSetBranchId
public static List<LayoutRevision> findByLayoutSetBranchId(long layoutSetBranchId, int start, int end) Returns a range of all the layout revisions where layoutSetBranchId = ?.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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)- Returns:
- the range of matching layout revisions
-
findByLayoutSetBranchId
public static List<LayoutRevision> findByLayoutSetBranchId(long layoutSetBranchId, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where layoutSetBranchId = ?.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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout revisions
-
findByLayoutSetBranchId
public static List<LayoutRevision> findByLayoutSetBranchId(long layoutSetBranchId, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where layoutSetBranchId = ?.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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (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 revisions
-
findByLayoutSetBranchId_First
public static LayoutRevision findByLayoutSetBranchId_First(long layoutSetBranchId, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the first layout revision in the ordered set where layoutSetBranchId = ?.- Parameters:
layoutSetBranchId- the layout set branch IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByLayoutSetBranchId_First
public static LayoutRevision fetchByLayoutSetBranchId_First(long layoutSetBranchId, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ?.- Parameters:
layoutSetBranchId- the layout set branch IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision, or
nullif a matching layout revision could not be found
-
findByLayoutSetBranchId_Last
public static LayoutRevision findByLayoutSetBranchId_Last(long layoutSetBranchId, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the last layout revision in the ordered set where layoutSetBranchId = ?.- Parameters:
layoutSetBranchId- the layout set branch IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByLayoutSetBranchId_Last
public static LayoutRevision fetchByLayoutSetBranchId_Last(long layoutSetBranchId, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ?.- Parameters:
layoutSetBranchId- the layout set branch IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision, or
nullif a matching layout revision could not be found
-
findByLayoutSetBranchId_PrevAndNext
public static LayoutRevision[] findByLayoutSetBranchId_PrevAndNext(long layoutRevisionId, long layoutSetBranchId, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ?.- Parameters:
layoutRevisionId- the primary key of the current layout revisionlayoutSetBranchId- the layout set branch IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout revision
- Throws:
NoSuchLayoutRevisionException- if a layout revision with the primary key could not be foundNoSuchLayoutRevisionException
-
removeByLayoutSetBranchId
public static void removeByLayoutSetBranchId(long layoutSetBranchId) Removes all the layout revisions where layoutSetBranchId = ? from the database.- Parameters:
layoutSetBranchId- the layout set branch ID
-
countByLayoutSetBranchId
public static int countByLayoutSetBranchId(long layoutSetBranchId) Returns the number of layout revisions where layoutSetBranchId = ?.- Parameters:
layoutSetBranchId- the layout set branch ID- Returns:
- the number of matching layout revisions
-
findByPlid
Returns all the layout revisions where plid = ?.- Parameters:
plid- the plid- Returns:
- the matching layout revisions
-
findByPlid
Returns a range of all the layout revisions 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 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 fromLayoutRevisionModelImpl.- Parameters:
plid- the plidstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)- Returns:
- the range of matching layout revisions
-
findByPlid
public static List<LayoutRevision> findByPlid(long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions 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 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 fromLayoutRevisionModelImpl.- Parameters:
plid- the plidstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout revisions
-
findByPlid
public static List<LayoutRevision> findByPlid(long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions 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 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 fromLayoutRevisionModelImpl.- Parameters:
plid- the plidstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (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 revisions
-
findByPlid_First
public static LayoutRevision findByPlid_First(long plid, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the first layout revision in the ordered set where plid = ?.- Parameters:
plid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByPlid_First
public static LayoutRevision fetchByPlid_First(long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where plid = ?.- Parameters:
plid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision, or
nullif a matching layout revision could not be found
-
findByPlid_Last
public static LayoutRevision findByPlid_Last(long plid, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the last layout revision in the ordered set where plid = ?.- Parameters:
plid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByPlid_Last
public static LayoutRevision fetchByPlid_Last(long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where plid = ?.- Parameters:
plid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision, or
nullif a matching layout revision could not be found
-
findByPlid_PrevAndNext
public static LayoutRevision[] findByPlid_PrevAndNext(long layoutRevisionId, long plid, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the layout revisions before and after the current layout revision in the ordered set where plid = ?.- Parameters:
layoutRevisionId- the primary key of the current layout revisionplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout revision
- Throws:
NoSuchLayoutRevisionException- if a layout revision with the primary key could not be foundNoSuchLayoutRevisionException
-
removeByPlid
public static void removeByPlid(long plid) Removes all the layout revisions where plid = ? from the database.- Parameters:
plid- the plid
-
countByPlid
public static int countByPlid(long plid) Returns the number of layout revisions where plid = ?.- Parameters:
plid- the plid- Returns:
- the number of matching layout revisions
-
findByStatus
Returns all the layout revisions where status = ?.- Parameters:
status- the status- Returns:
- the matching layout revisions
-
findByStatus
Returns a range of all the layout revisions where 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 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 fromLayoutRevisionModelImpl.- Parameters:
status- the statusstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)- Returns:
- the range of matching layout revisions
-
findByStatus
public static List<LayoutRevision> findByStatus(int status, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where 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 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 fromLayoutRevisionModelImpl.- Parameters:
status- the statusstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout revisions
-
findByStatus
public static List<LayoutRevision> findByStatus(int status, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where 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 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 fromLayoutRevisionModelImpl.- Parameters:
status- the statusstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (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 revisions
-
findByStatus_First
public static LayoutRevision findByStatus_First(int status, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the first layout revision in the ordered set where status = ?.- Parameters:
status- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByStatus_First
public static LayoutRevision fetchByStatus_First(int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where status = ?.- Parameters:
status- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision, or
nullif a matching layout revision could not be found
-
findByStatus_Last
public static LayoutRevision findByStatus_Last(int status, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the last layout revision in the ordered set where status = ?.- Parameters:
status- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByStatus_Last
public static LayoutRevision fetchByStatus_Last(int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where status = ?.- Parameters:
status- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision, or
nullif a matching layout revision could not be found
-
findByStatus_PrevAndNext
public static LayoutRevision[] findByStatus_PrevAndNext(long layoutRevisionId, int status, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the layout revisions before and after the current layout revision in the ordered set where status = ?.- Parameters:
layoutRevisionId- the primary key of the current layout revisionstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout revision
- Throws:
NoSuchLayoutRevisionException- if a layout revision with the primary key could not be foundNoSuchLayoutRevisionException
-
removeByStatus
public static void removeByStatus(int status) Removes all the layout revisions where status = ? from the database.- Parameters:
status- the status
-
countByStatus
public static int countByStatus(int status) Returns the number of layout revisions where status = ?.- Parameters:
status- the status- Returns:
- the number of matching layout revisions
-
findByL_H
Returns all the layout revisions where layoutSetBranchId = ? and head = ?.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the head- Returns:
- the matching layout revisions
-
findByL_H
public static List<LayoutRevision> findByL_H(long layoutSetBranchId, boolean head, int start, int end) Returns a range of all the layout revisions where layoutSetBranchId = ? and head = ?.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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)- Returns:
- the range of matching layout revisions
-
findByL_H
public static List<LayoutRevision> findByL_H(long layoutSetBranchId, boolean head, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and head = ?.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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout revisions
-
findByL_H
public static List<LayoutRevision> findByL_H(long layoutSetBranchId, boolean head, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and head = ?.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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (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 revisions
-
findByL_H_First
public static LayoutRevision findByL_H_First(long layoutSetBranchId, boolean head, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the first layout revision in the ordered set where layoutSetBranchId = ? and head = ?.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByL_H_First
public static LayoutRevision fetchByL_H_First(long layoutSetBranchId, boolean head, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and head = ?.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision, or
nullif a matching layout revision could not be found
-
findByL_H_Last
public static LayoutRevision findByL_H_Last(long layoutSetBranchId, boolean head, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the last layout revision in the ordered set where layoutSetBranchId = ? and head = ?.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByL_H_Last
public static LayoutRevision fetchByL_H_Last(long layoutSetBranchId, boolean head, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and head = ?.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision, or
nullif a matching layout revision could not be found
-
findByL_H_PrevAndNext
public static LayoutRevision[] findByL_H_PrevAndNext(long layoutRevisionId, long layoutSetBranchId, boolean head, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and head = ?.- Parameters:
layoutRevisionId- the primary key of the current layout revisionlayoutSetBranchId- the layout set branch IDhead- the headorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout revision
- Throws:
NoSuchLayoutRevisionException- if a layout revision with the primary key could not be foundNoSuchLayoutRevisionException
-
removeByL_H
public static void removeByL_H(long layoutSetBranchId, boolean head) Removes all the layout revisions where layoutSetBranchId = ? and head = ? from the database.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the head
-
countByL_H
public static int countByL_H(long layoutSetBranchId, boolean head) Returns the number of layout revisions where layoutSetBranchId = ? and head = ?.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the head- Returns:
- the number of matching layout revisions
-
findByL_P
Returns all the layout revisions where layoutSetBranchId = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDplid- the plid- Returns:
- the matching layout revisions
-
findByL_P
Returns a range of all the layout revisions where layoutSetBranchId = ? and 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 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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDplid- the plidstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)- Returns:
- the range of matching layout revisions
-
findByL_P
public static List<LayoutRevision> findByL_P(long layoutSetBranchId, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and 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 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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDplid- the plidstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout revisions
-
findByL_P
public static List<LayoutRevision> findByL_P(long layoutSetBranchId, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and 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 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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDplid- the plidstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (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 revisions
-
findByL_P_First
public static LayoutRevision findByL_P_First(long layoutSetBranchId, long plid, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the first layout revision in the ordered set where layoutSetBranchId = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByL_P_First
public static LayoutRevision fetchByL_P_First(long layoutSetBranchId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision, or
nullif a matching layout revision could not be found
-
findByL_P_Last
public static LayoutRevision findByL_P_Last(long layoutSetBranchId, long plid, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the last layout revision in the ordered set where layoutSetBranchId = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByL_P_Last
public static LayoutRevision fetchByL_P_Last(long layoutSetBranchId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision, or
nullif a matching layout revision could not be found
-
findByL_P_PrevAndNext
public static LayoutRevision[] findByL_P_PrevAndNext(long layoutRevisionId, long layoutSetBranchId, long plid, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and plid = ?.- Parameters:
layoutRevisionId- the primary key of the current layout revisionlayoutSetBranchId- the layout set branch IDplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout revision
- Throws:
NoSuchLayoutRevisionException- if a layout revision with the primary key could not be foundNoSuchLayoutRevisionException
-
removeByL_P
public static void removeByL_P(long layoutSetBranchId, long plid) Removes all the layout revisions where layoutSetBranchId = ? and plid = ? from the database.- Parameters:
layoutSetBranchId- the layout set branch IDplid- the plid
-
countByL_P
public static int countByL_P(long layoutSetBranchId, long plid) Returns the number of layout revisions where layoutSetBranchId = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDplid- the plid- Returns:
- the number of matching layout revisions
-
findByL_S
Returns all the layout revisions where layoutSetBranchId = ? and status = ?.- Parameters:
layoutSetBranchId- the layout set branch IDstatus- the status- Returns:
- the matching layout revisions
-
findByL_S
public static List<LayoutRevision> findByL_S(long layoutSetBranchId, int status, int start, int end) Returns a range of all the layout revisions where layoutSetBranchId = ? 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 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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDstatus- the statusstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)- Returns:
- the range of matching layout revisions
-
findByL_S
public static List<LayoutRevision> findByL_S(long layoutSetBranchId, int status, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? 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 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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDstatus- the statusstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout revisions
-
findByL_S
public static List<LayoutRevision> findByL_S(long layoutSetBranchId, int status, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? 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 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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDstatus- the statusstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (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 revisions
-
findByL_S_First
public static LayoutRevision findByL_S_First(long layoutSetBranchId, int status, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the first layout revision in the ordered set where layoutSetBranchId = ? and status = ?.- Parameters:
layoutSetBranchId- the layout set branch IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByL_S_First
public static LayoutRevision fetchByL_S_First(long layoutSetBranchId, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and status = ?.- Parameters:
layoutSetBranchId- the layout set branch IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision, or
nullif a matching layout revision could not be found
-
findByL_S_Last
public static LayoutRevision findByL_S_Last(long layoutSetBranchId, int status, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the last layout revision in the ordered set where layoutSetBranchId = ? and status = ?.- Parameters:
layoutSetBranchId- the layout set branch IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByL_S_Last
public static LayoutRevision fetchByL_S_Last(long layoutSetBranchId, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and status = ?.- Parameters:
layoutSetBranchId- the layout set branch IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision, or
nullif a matching layout revision could not be found
-
findByL_S_PrevAndNext
public static LayoutRevision[] findByL_S_PrevAndNext(long layoutRevisionId, long layoutSetBranchId, int status, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and status = ?.- Parameters:
layoutRevisionId- the primary key of the current layout revisionlayoutSetBranchId- the layout set branch IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout revision
- Throws:
NoSuchLayoutRevisionException- if a layout revision with the primary key could not be foundNoSuchLayoutRevisionException
-
removeByL_S
public static void removeByL_S(long layoutSetBranchId, int status) Removes all the layout revisions where layoutSetBranchId = ? and status = ? from the database.- Parameters:
layoutSetBranchId- the layout set branch IDstatus- the status
-
countByL_S
public static int countByL_S(long layoutSetBranchId, int status) Returns the number of layout revisions where layoutSetBranchId = ? and status = ?.- Parameters:
layoutSetBranchId- the layout set branch IDstatus- the status- Returns:
- the number of matching layout revisions
-
findByH_P
Returns all the layout revisions where head = ? and plid = ?.- Parameters:
head- the headplid- the plid- Returns:
- the matching layout revisions
-
findByH_P
Returns a range of all the layout revisions where head = ? and 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 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 fromLayoutRevisionModelImpl.- Parameters:
head- the headplid- the plidstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)- Returns:
- the range of matching layout revisions
-
findByH_P
public static List<LayoutRevision> findByH_P(boolean head, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where head = ? and 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 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 fromLayoutRevisionModelImpl.- Parameters:
head- the headplid- the plidstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout revisions
-
findByH_P
public static List<LayoutRevision> findByH_P(boolean head, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where head = ? and 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 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 fromLayoutRevisionModelImpl.- Parameters:
head- the headplid- the plidstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (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 revisions
-
findByH_P_First
public static LayoutRevision findByH_P_First(boolean head, long plid, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the first layout revision in the ordered set where head = ? and plid = ?.- Parameters:
head- the headplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByH_P_First
public static LayoutRevision fetchByH_P_First(boolean head, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where head = ? and plid = ?.- Parameters:
head- the headplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision, or
nullif a matching layout revision could not be found
-
findByH_P_Last
public static LayoutRevision findByH_P_Last(boolean head, long plid, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the last layout revision in the ordered set where head = ? and plid = ?.- Parameters:
head- the headplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByH_P_Last
public static LayoutRevision fetchByH_P_Last(boolean head, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where head = ? and plid = ?.- Parameters:
head- the headplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision, or
nullif a matching layout revision could not be found
-
findByH_P_PrevAndNext
public static LayoutRevision[] findByH_P_PrevAndNext(long layoutRevisionId, boolean head, long plid, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the layout revisions before and after the current layout revision in the ordered set where head = ? and plid = ?.- Parameters:
layoutRevisionId- the primary key of the current layout revisionhead- the headplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout revision
- Throws:
NoSuchLayoutRevisionException- if a layout revision with the primary key could not be foundNoSuchLayoutRevisionException
-
removeByH_P
public static void removeByH_P(boolean head, long plid) Removes all the layout revisions where head = ? and plid = ? from the database.- Parameters:
head- the headplid- the plid
-
countByH_P
public static int countByH_P(boolean head, long plid) Returns the number of layout revisions where head = ? and plid = ?.- Parameters:
head- the headplid- the plid- Returns:
- the number of matching layout revisions
-
findByP_NotS
Returns all the layout revisions where plid = ? and status ≠ ?.- Parameters:
plid- the plidstatus- the status- Returns:
- the matching layout revisions
-
findByP_NotS
Returns a range of all the layout revisions 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 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 fromLayoutRevisionModelImpl.- Parameters:
plid- the plidstatus- the statusstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)- Returns:
- the range of matching layout revisions
-
findByP_NotS
public static List<LayoutRevision> findByP_NotS(long plid, int status, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions 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 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 fromLayoutRevisionModelImpl.- Parameters:
plid- the plidstatus- the statusstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout revisions
-
findByP_NotS
public static List<LayoutRevision> findByP_NotS(long plid, int status, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions 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 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 fromLayoutRevisionModelImpl.- Parameters:
plid- the plidstatus- the statusstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (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 revisions
-
findByP_NotS_First
public static LayoutRevision findByP_NotS_First(long plid, int status, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the first layout revision 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 revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByP_NotS_First
public static LayoutRevision fetchByP_NotS_First(long plid, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision 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 revision, or
nullif a matching layout revision could not be found
-
findByP_NotS_Last
public static LayoutRevision findByP_NotS_Last(long plid, int status, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the last layout revision in the ordered set where plid = ? and status ≠ ?.- Parameters:
plid- the plidstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByP_NotS_Last
public static LayoutRevision fetchByP_NotS_Last(long plid, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where plid = ? and status ≠ ?.- Parameters:
plid- the plidstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision, or
nullif a matching layout revision could not be found
-
findByP_NotS_PrevAndNext
public static LayoutRevision[] findByP_NotS_PrevAndNext(long layoutRevisionId, long plid, int status, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the layout revisions before and after the current layout revision in the ordered set where plid = ? and status ≠ ?.- Parameters:
layoutRevisionId- the primary key of the current layout revisionplid- the plidstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout revision
- Throws:
NoSuchLayoutRevisionException- if a layout revision with the primary key could not be foundNoSuchLayoutRevisionException
-
removeByP_NotS
public static void removeByP_NotS(long plid, int status) Removes all the layout revisions where plid = ? and status ≠ ? from the database.- Parameters:
plid- the plidstatus- the status
-
countByP_NotS
public static int countByP_NotS(long plid, int status) Returns the number of layout revisions where plid = ? and status ≠ ?.- Parameters:
plid- the plidstatus- the status- Returns:
- the number of matching layout revisions
-
findByL_L_P
public static List<LayoutRevision> findByL_L_P(long layoutSetBranchId, long layoutBranchId, long plid) Returns all the layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDlayoutBranchId- the layout branch IDplid- the plid- Returns:
- the matching layout revisions
-
findByL_L_P
public static List<LayoutRevision> findByL_L_P(long layoutSetBranchId, long layoutBranchId, long plid, int start, int end) Returns a range of all the layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and 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 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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDlayoutBranchId- the layout branch IDplid- the plidstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)- Returns:
- the range of matching layout revisions
-
findByL_L_P
public static List<LayoutRevision> findByL_L_P(long layoutSetBranchId, long layoutBranchId, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and 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 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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDlayoutBranchId- the layout branch IDplid- the plidstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout revisions
-
findByL_L_P
public static List<LayoutRevision> findByL_L_P(long layoutSetBranchId, long layoutBranchId, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and 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 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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDlayoutBranchId- the layout branch IDplid- the plidstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (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 revisions
-
findByL_L_P_First
public static LayoutRevision findByL_L_P_First(long layoutSetBranchId, long layoutBranchId, long plid, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the first layout revision in the ordered set where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDlayoutBranchId- the layout branch IDplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByL_L_P_First
public static LayoutRevision fetchByL_L_P_First(long layoutSetBranchId, long layoutBranchId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDlayoutBranchId- the layout branch IDplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision, or
nullif a matching layout revision could not be found
-
findByL_L_P_Last
public static LayoutRevision findByL_L_P_Last(long layoutSetBranchId, long layoutBranchId, long plid, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the last layout revision in the ordered set where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDlayoutBranchId- the layout branch IDplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByL_L_P_Last
public static LayoutRevision fetchByL_L_P_Last(long layoutSetBranchId, long layoutBranchId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDlayoutBranchId- the layout branch IDplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision, or
nullif a matching layout revision could not be found
-
findByL_L_P_PrevAndNext
public static LayoutRevision[] findByL_L_P_PrevAndNext(long layoutRevisionId, long layoutSetBranchId, long layoutBranchId, long plid, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.- Parameters:
layoutRevisionId- the primary key of the current layout revisionlayoutSetBranchId- the layout set branch IDlayoutBranchId- the layout branch IDplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout revision
- Throws:
NoSuchLayoutRevisionException- if a layout revision with the primary key could not be foundNoSuchLayoutRevisionException
-
removeByL_L_P
public static void removeByL_L_P(long layoutSetBranchId, long layoutBranchId, long plid) Removes all the layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and plid = ? from the database.- Parameters:
layoutSetBranchId- the layout set branch IDlayoutBranchId- the layout branch IDplid- the plid
-
countByL_L_P
public static int countByL_L_P(long layoutSetBranchId, long layoutBranchId, long plid) Returns the number of layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDlayoutBranchId- the layout branch IDplid- the plid- Returns:
- the number of matching layout revisions
-
findByL_P_P
public static List<LayoutRevision> findByL_P_P(long layoutSetBranchId, long parentLayoutRevisionId, long plid) Returns all the layout revisions where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDparentLayoutRevisionId- the parent layout revision IDplid- the plid- Returns:
- the matching layout revisions
-
findByL_P_P
public static List<LayoutRevision> findByL_P_P(long layoutSetBranchId, long parentLayoutRevisionId, long plid, int start, int end) Returns a range of all the layout revisions where layoutSetBranchId = ? and parentLayoutRevisionId = ? and 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 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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDparentLayoutRevisionId- the parent layout revision IDplid- the plidstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)- Returns:
- the range of matching layout revisions
-
findByL_P_P
public static List<LayoutRevision> findByL_P_P(long layoutSetBranchId, long parentLayoutRevisionId, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and parentLayoutRevisionId = ? and 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 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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDparentLayoutRevisionId- the parent layout revision IDplid- the plidstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout revisions
-
findByL_P_P
public static List<LayoutRevision> findByL_P_P(long layoutSetBranchId, long parentLayoutRevisionId, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and parentLayoutRevisionId = ? and 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 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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDparentLayoutRevisionId- the parent layout revision IDplid- the plidstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (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 revisions
-
findByL_P_P_First
public static LayoutRevision findByL_P_P_First(long layoutSetBranchId, long parentLayoutRevisionId, long plid, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the first layout revision in the ordered set where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDparentLayoutRevisionId- the parent layout revision IDplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByL_P_P_First
public static LayoutRevision fetchByL_P_P_First(long layoutSetBranchId, long parentLayoutRevisionId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDparentLayoutRevisionId- the parent layout revision IDplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision, or
nullif a matching layout revision could not be found
-
findByL_P_P_Last
public static LayoutRevision findByL_P_P_Last(long layoutSetBranchId, long parentLayoutRevisionId, long plid, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the last layout revision in the ordered set where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDparentLayoutRevisionId- the parent layout revision IDplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByL_P_P_Last
public static LayoutRevision fetchByL_P_P_Last(long layoutSetBranchId, long parentLayoutRevisionId, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDparentLayoutRevisionId- the parent layout revision IDplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision, or
nullif a matching layout revision could not be found
-
findByL_P_P_PrevAndNext
public static LayoutRevision[] findByL_P_P_PrevAndNext(long layoutRevisionId, long layoutSetBranchId, long parentLayoutRevisionId, long plid, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.- Parameters:
layoutRevisionId- the primary key of the current layout revisionlayoutSetBranchId- the layout set branch IDparentLayoutRevisionId- the parent layout revision IDplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout revision
- Throws:
NoSuchLayoutRevisionException- if a layout revision with the primary key could not be foundNoSuchLayoutRevisionException
-
removeByL_P_P
public static void removeByL_P_P(long layoutSetBranchId, long parentLayoutRevisionId, long plid) Removes all the layout revisions where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ? from the database.- Parameters:
layoutSetBranchId- the layout set branch IDparentLayoutRevisionId- the parent layout revision IDplid- the plid
-
countByL_P_P
public static int countByL_P_P(long layoutSetBranchId, long parentLayoutRevisionId, long plid) Returns the number of layout revisions where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDparentLayoutRevisionId- the parent layout revision IDplid- the plid- Returns:
- the number of matching layout revisions
-
findByL_H_P
public static LayoutRevision findByL_H_P(long layoutSetBranchId, boolean head, long plid) throws NoSuchLayoutRevisionException Returns the layout revision where layoutSetBranchId = ? and head = ? and plid = ? or throws aNoSuchLayoutRevisionExceptionif it could not be found.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headplid- the plid- Returns:
- the matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByL_H_P
Returns the layout revision where layoutSetBranchId = ? and head = ? and plid = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headplid- the plid- Returns:
- the matching layout revision, or
nullif a matching layout revision could not be found
-
fetchByL_H_P
public static LayoutRevision fetchByL_H_P(long layoutSetBranchId, boolean head, long plid, boolean useFinderCache) Returns the layout revision where layoutSetBranchId = ? and head = ? and plid = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headplid- the pliduseFinderCache- whether to use the finder cache- Returns:
- the matching layout revision, or
nullif a matching layout revision could not be found
-
removeByL_H_P
public static LayoutRevision removeByL_H_P(long layoutSetBranchId, boolean head, long plid) throws NoSuchLayoutRevisionException Removes the layout revision where layoutSetBranchId = ? and head = ? and plid = ? from the database.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headplid- the plid- Returns:
- the layout revision that was removed
- Throws:
NoSuchLayoutRevisionException
-
countByL_H_P
public static int countByL_H_P(long layoutSetBranchId, boolean head, long plid) Returns the number of layout revisions where layoutSetBranchId = ? and head = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headplid- the plid- Returns:
- the number of matching layout revisions
-
findByL_H_P_Collection
public static List<LayoutRevision> findByL_H_P_Collection(long layoutSetBranchId, boolean head, long plid) Returns all the layout revisions where layoutSetBranchId = ? and head = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headplid- the plid- Returns:
- the matching layout revisions
-
findByL_H_P_Collection
public static List<LayoutRevision> findByL_H_P_Collection(long layoutSetBranchId, boolean head, long plid, int start, int end) Returns a range of all the layout revisions where layoutSetBranchId = ? and head = ? and 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 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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headplid- the plidstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)- Returns:
- the range of matching layout revisions
-
findByL_H_P_Collection
public static List<LayoutRevision> findByL_H_P_Collection(long layoutSetBranchId, boolean head, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and head = ? and 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 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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headplid- the plidstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout revisions
-
findByL_H_P_Collection
public static List<LayoutRevision> findByL_H_P_Collection(long layoutSetBranchId, boolean head, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and head = ? and 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 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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headplid- the plidstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (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 revisions
-
findByL_H_P_Collection_First
public static LayoutRevision findByL_H_P_Collection_First(long layoutSetBranchId, boolean head, long plid, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the first layout revision in the ordered set where layoutSetBranchId = ? and head = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByL_H_P_Collection_First
public static LayoutRevision fetchByL_H_P_Collection_First(long layoutSetBranchId, boolean head, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and head = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision, or
nullif a matching layout revision could not be found
-
findByL_H_P_Collection_Last
public static LayoutRevision findByL_H_P_Collection_Last(long layoutSetBranchId, boolean head, long plid, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the last layout revision in the ordered set where layoutSetBranchId = ? and head = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByL_H_P_Collection_Last
public static LayoutRevision fetchByL_H_P_Collection_Last(long layoutSetBranchId, boolean head, long plid, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and head = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision, or
nullif a matching layout revision could not be found
-
findByL_H_P_Collection_PrevAndNext
public static LayoutRevision[] findByL_H_P_Collection_PrevAndNext(long layoutRevisionId, long layoutSetBranchId, boolean head, long plid, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and head = ? and plid = ?.- Parameters:
layoutRevisionId- the primary key of the current layout revisionlayoutSetBranchId- the layout set branch IDhead- the headplid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout revision
- Throws:
NoSuchLayoutRevisionException- if a layout revision with the primary key could not be foundNoSuchLayoutRevisionException
-
removeByL_H_P_Collection
public static void removeByL_H_P_Collection(long layoutSetBranchId, boolean head, long plid) Removes all the layout revisions where layoutSetBranchId = ? and head = ? and plid = ? from the database.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headplid- the plid
-
countByL_H_P_Collection
public static int countByL_H_P_Collection(long layoutSetBranchId, boolean head, long plid) Returns the number of layout revisions where layoutSetBranchId = ? and head = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headplid- the plid- Returns:
- the number of matching layout revisions
-
findByL_H_S
Returns all the layout revisions where layoutSetBranchId = ? and head = ? and status = ?.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headstatus- the status- Returns:
- the matching layout revisions
-
findByL_H_S
public static List<LayoutRevision> findByL_H_S(long layoutSetBranchId, boolean head, int status, int start, int end) Returns a range of all the layout revisions where layoutSetBranchId = ? and head = ? 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 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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headstatus- the statusstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)- Returns:
- the range of matching layout revisions
-
findByL_H_S
public static List<LayoutRevision> findByL_H_S(long layoutSetBranchId, boolean head, int status, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and head = ? 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 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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headstatus- the statusstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout revisions
-
findByL_H_S
public static List<LayoutRevision> findByL_H_S(long layoutSetBranchId, boolean head, int status, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and head = ? 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 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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headstatus- the statusstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (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 revisions
-
findByL_H_S_First
public static LayoutRevision findByL_H_S_First(long layoutSetBranchId, boolean head, int status, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the first layout revision in the ordered set where layoutSetBranchId = ? and head = ? and status = ?.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByL_H_S_First
public static LayoutRevision fetchByL_H_S_First(long layoutSetBranchId, boolean head, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and head = ? and status = ?.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision, or
nullif a matching layout revision could not be found
-
findByL_H_S_Last
public static LayoutRevision findByL_H_S_Last(long layoutSetBranchId, boolean head, int status, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the last layout revision in the ordered set where layoutSetBranchId = ? and head = ? and status = ?.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByL_H_S_Last
public static LayoutRevision fetchByL_H_S_Last(long layoutSetBranchId, boolean head, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and head = ? and status = ?.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision, or
nullif a matching layout revision could not be found
-
findByL_H_S_PrevAndNext
public static LayoutRevision[] findByL_H_S_PrevAndNext(long layoutRevisionId, long layoutSetBranchId, boolean head, int status, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and head = ? and status = ?.- Parameters:
layoutRevisionId- the primary key of the current layout revisionlayoutSetBranchId- the layout set branch IDhead- the headstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout revision
- Throws:
NoSuchLayoutRevisionException- if a layout revision with the primary key could not be foundNoSuchLayoutRevisionException
-
removeByL_H_S
public static void removeByL_H_S(long layoutSetBranchId, boolean head, int status) Removes all the layout revisions where layoutSetBranchId = ? and head = ? and status = ? from the database.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headstatus- the status
-
countByL_H_S
public static int countByL_H_S(long layoutSetBranchId, boolean head, int status) Returns the number of layout revisions where layoutSetBranchId = ? and head = ? and status = ?.- Parameters:
layoutSetBranchId- the layout set branch IDhead- the headstatus- the status- Returns:
- the number of matching layout revisions
-
findByL_P_S
Returns all the layout revisions where layoutSetBranchId = ? and plid = ? and status = ?.- Parameters:
layoutSetBranchId- the layout set branch IDplid- the plidstatus- the status- Returns:
- the matching layout revisions
-
findByL_P_S
public static List<LayoutRevision> findByL_P_S(long layoutSetBranchId, long plid, int status, int start, int end) Returns a range of all the layout revisions where layoutSetBranchId = ? and 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 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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDplid- the plidstatus- the statusstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)- Returns:
- the range of matching layout revisions
-
findByL_P_S
public static List<LayoutRevision> findByL_P_S(long layoutSetBranchId, long plid, int status, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and 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 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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDplid- the plidstatus- the statusstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout revisions
-
findByL_P_S
public static List<LayoutRevision> findByL_P_S(long layoutSetBranchId, long plid, int status, int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and 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 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 fromLayoutRevisionModelImpl.- Parameters:
layoutSetBranchId- the layout set branch IDplid- the plidstatus- the statusstart- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (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 revisions
-
findByL_P_S_First
public static LayoutRevision findByL_P_S_First(long layoutSetBranchId, long plid, int status, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the first layout revision in the ordered set where layoutSetBranchId = ? and plid = ? and status = ?.- Parameters:
layoutSetBranchId- the layout set branch IDplid- the plidstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByL_P_S_First
public static LayoutRevision fetchByL_P_S_First(long layoutSetBranchId, long plid, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the first layout revision in the ordered set where layoutSetBranchId = ? and plid = ? and status = ?.- Parameters:
layoutSetBranchId- the layout set branch IDplid- the plidstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout revision, or
nullif a matching layout revision could not be found
-
findByL_P_S_Last
public static LayoutRevision findByL_P_S_Last(long layoutSetBranchId, long plid, int status, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the last layout revision in the ordered set where layoutSetBranchId = ? and plid = ? and status = ?.- Parameters:
layoutSetBranchId- the layout set branch IDplid- the plidstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByL_P_S_Last
public static LayoutRevision fetchByL_P_S_Last(long layoutSetBranchId, long plid, int status, OrderByComparator<LayoutRevision> orderByComparator) Returns the last layout revision in the ordered set where layoutSetBranchId = ? and plid = ? and status = ?.- Parameters:
layoutSetBranchId- the layout set branch IDplid- the plidstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout revision, or
nullif a matching layout revision could not be found
-
findByL_P_S_PrevAndNext
public static LayoutRevision[] findByL_P_S_PrevAndNext(long layoutRevisionId, long layoutSetBranchId, long plid, int status, OrderByComparator<LayoutRevision> orderByComparator) throws NoSuchLayoutRevisionException Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and plid = ? and status = ?.- Parameters:
layoutRevisionId- the primary key of the current layout revisionlayoutSetBranchId- the layout set branch IDplid- the plidstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout revision
- Throws:
NoSuchLayoutRevisionException- if a layout revision with the primary key could not be foundNoSuchLayoutRevisionException
-
removeByL_P_S
public static void removeByL_P_S(long layoutSetBranchId, long plid, int status) Removes all the layout revisions where layoutSetBranchId = ? and plid = ? and status = ? from the database.- Parameters:
layoutSetBranchId- the layout set branch IDplid- the plidstatus- the status
-
countByL_P_S
public static int countByL_P_S(long layoutSetBranchId, long plid, int status) Returns the number of layout revisions where layoutSetBranchId = ? and plid = ? and status = ?.- Parameters:
layoutSetBranchId- the layout set branch IDplid- the plidstatus- the status- Returns:
- the number of matching layout revisions
-
findByL_L_H_P
public static LayoutRevision findByL_L_H_P(long layoutSetBranchId, long layoutBranchId, boolean head, long plid) throws NoSuchLayoutRevisionException Returns the layout revision where layoutSetBranchId = ? and layoutBranchId = ? and head = ? and plid = ? or throws aNoSuchLayoutRevisionExceptionif it could not be found.- Parameters:
layoutSetBranchId- the layout set branch IDlayoutBranchId- the layout branch IDhead- the headplid- the plid- Returns:
- the matching layout revision
- Throws:
NoSuchLayoutRevisionException- if a matching layout revision could not be foundNoSuchLayoutRevisionException
-
fetchByL_L_H_P
public static LayoutRevision fetchByL_L_H_P(long layoutSetBranchId, long layoutBranchId, boolean head, long plid) Returns the layout revision where layoutSetBranchId = ? and layoutBranchId = ? and head = ? and plid = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
layoutSetBranchId- the layout set branch IDlayoutBranchId- the layout branch IDhead- the headplid- the plid- Returns:
- the matching layout revision, or
nullif a matching layout revision could not be found
-
fetchByL_L_H_P
public static LayoutRevision fetchByL_L_H_P(long layoutSetBranchId, long layoutBranchId, boolean head, long plid, boolean useFinderCache) Returns the layout revision where layoutSetBranchId = ? and layoutBranchId = ? and head = ? and plid = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
layoutSetBranchId- the layout set branch IDlayoutBranchId- the layout branch IDhead- the headplid- the pliduseFinderCache- whether to use the finder cache- Returns:
- the matching layout revision, or
nullif a matching layout revision could not be found
-
removeByL_L_H_P
public static LayoutRevision removeByL_L_H_P(long layoutSetBranchId, long layoutBranchId, boolean head, long plid) throws NoSuchLayoutRevisionException Removes the layout revision where layoutSetBranchId = ? and layoutBranchId = ? and head = ? and plid = ? from the database.- Parameters:
layoutSetBranchId- the layout set branch IDlayoutBranchId- the layout branch IDhead- the headplid- the plid- Returns:
- the layout revision that was removed
- Throws:
NoSuchLayoutRevisionException
-
countByL_L_H_P
public static int countByL_L_H_P(long layoutSetBranchId, long layoutBranchId, boolean head, long plid) Returns the number of layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and head = ? and plid = ?.- Parameters:
layoutSetBranchId- the layout set branch IDlayoutBranchId- the layout branch IDhead- the headplid- the plid- Returns:
- the number of matching layout revisions
-
cacheResult
Caches the layout revision in the entity cache if it is enabled.- Parameters:
layoutRevision- the layout revision
-
cacheResult
Caches the layout revisions in the entity cache if it is enabled.- Parameters:
layoutRevisions- the layout revisions
-
create
Creates a new layout revision with the primary key. Does not add the layout revision to the database.- Parameters:
layoutRevisionId- the primary key for the new layout revision- Returns:
- the new layout revision
-
remove
Removes the layout revision with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
layoutRevisionId- the primary key of the layout revision- Returns:
- the layout revision that was removed
- Throws:
NoSuchLayoutRevisionException- if a layout revision with the primary key could not be foundNoSuchLayoutRevisionException
-
updateImpl
-
findByPrimaryKey
public static LayoutRevision findByPrimaryKey(long layoutRevisionId) throws NoSuchLayoutRevisionException Returns the layout revision with the primary key or throws aNoSuchLayoutRevisionExceptionif it could not be found.- Parameters:
layoutRevisionId- the primary key of the layout revision- Returns:
- the layout revision
- Throws:
NoSuchLayoutRevisionException- if a layout revision with the primary key could not be foundNoSuchLayoutRevisionException
-
fetchByPrimaryKey
Returns the layout revision with the primary key or returnsnullif it could not be found.- Parameters:
layoutRevisionId- the primary key of the layout revision- Returns:
- the layout revision, or
nullif a layout revision with the primary key could not be found
-
findAll
Returns all the layout revisions.- Returns:
- the layout revisions
-
findAll
Returns a range of all the layout revisions.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 fromLayoutRevisionModelImpl.- Parameters:
start- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)- Returns:
- the range of layout revisions
-
findAll
public static List<LayoutRevision> findAll(int start, int end, OrderByComparator<LayoutRevision> orderByComparator) Returns an ordered range of all the layout revisions.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 fromLayoutRevisionModelImpl.- Parameters:
start- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of layout revisions
-
findAll
public static List<LayoutRevision> findAll(int start, int end, OrderByComparator<LayoutRevision> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout revisions.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 fromLayoutRevisionModelImpl.- Parameters:
start- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of layout revisions
-
removeAll
public static void removeAll()Removes all the layout revisions from the database. -
countAll
public static int countAll()Returns the number of layout revisions.- Returns:
- the number of layout revisions
-
getPersistence
-
setPersistence
-