public class LayoutRevisionPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutRevision>
implements com.liferay.portal.service.persistence.LayoutRevisionPersistence
Caching information and settings can be found in portal.properties
LayoutRevisionPersistence,
LayoutRevisionUtil| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_H_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_L_H |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_L_H_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_L_L_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_L_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_L_P_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_L_P_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_L_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_LAYOUTSETBRANCHID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_PLID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_L_H_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_COUNT_BY_P_NOTS |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_H_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_L_H |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_L_L_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_L_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_L_P_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_L_P_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_L_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_LAYOUTSETBRANCHID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_P_NOTS |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_PLID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_H_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_L_H |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_L_L_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_L_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_L_P_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_L_P_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_L_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LAYOUTSETBRANCHID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PLID |
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR| Constructor and Description |
|---|
LayoutRevisionPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the layout revision persistence.
|
void |
cacheResult(com.liferay.portal.model.LayoutRevision layoutRevision)
Caches the layout revision in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<com.liferay.portal.model.LayoutRevision> layoutRevisions)
Caches the layout revisions in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(com.liferay.portal.model.LayoutRevision layoutRevision) |
void |
clearCache()
Clears the cache for all layout revisions.
|
void |
clearCache(com.liferay.portal.model.LayoutRevision layoutRevision)
Clears the cache for the layout revision.
|
void |
clearCache(java.util.List<com.liferay.portal.model.LayoutRevision> layoutRevisions) |
protected void |
clearUniqueFindersCache(com.liferay.portal.model.LayoutRevision layoutRevision) |
int |
countAll()
Returns the number of layout revisions.
|
int |
countByH_P(boolean head,
long plid)
Returns the number of layout revisions where head = ? and plid = ?.
|
int |
countByL_H_P(long layoutSetBranchId,
boolean head,
long plid)
Returns the number of layout revisions where layoutSetBranchId = ? and head = ? and plid = ?.
|
int |
countByL_H(long layoutSetBranchId,
boolean head)
Returns the number of layout revisions where layoutSetBranchId = ? and head = ?.
|
int |
countByL_L_P(long layoutSetBranchId,
long layoutBranchId,
long plid)
Returns the number of layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.
|
int |
countByL_P_P(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid)
Returns the number of layout revisions where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.
|
int |
countByL_P_S(long layoutSetBranchId,
long plid,
int status)
Returns the number of layout revisions where layoutSetBranchId = ? and plid = ? and status = ?.
|
int |
countByL_P(long layoutSetBranchId,
long plid)
Returns the number of layout revisions where layoutSetBranchId = ? and plid = ?.
|
int |
countByL_S(long layoutSetBranchId,
int status)
Returns the number of layout revisions where layoutSetBranchId = ? and status = ?.
|
int |
countByLayoutSetBranchId(long layoutSetBranchId)
Returns the number of layout revisions where layoutSetBranchId = ?.
|
int |
countByP_NotS(long plid,
int status)
Returns the number of layout revisions where plid = ? and status ≠ ?.
|
int |
countByPlid(long plid)
Returns the number of layout revisions where plid = ?.
|
com.liferay.portal.model.LayoutRevision |
create(long layoutRevisionId)
Creates a new layout revision with the primary key.
|
void |
destroy() |
com.liferay.portal.model.LayoutRevision |
fetchByH_P_First(boolean head,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout revision in the ordered set where head = ? and plid = ?.
|
com.liferay.portal.model.LayoutRevision |
fetchByH_P_Last(boolean head,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout revision in the ordered set where head = ? and plid = ?.
|
com.liferay.portal.model.LayoutRevision |
fetchByL_H_First(long layoutSetBranchId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout revision in the ordered set where layoutSetBranchId = ? and head = ?.
|
com.liferay.portal.model.LayoutRevision |
fetchByL_H_Last(long layoutSetBranchId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout revision in the ordered set where layoutSetBranchId = ? and head = ?.
|
com.liferay.portal.model.LayoutRevision |
fetchByL_H_P(long layoutSetBranchId,
boolean head,
long plid)
Returns the layout revision where layoutSetBranchId = ? and head = ? and plid = ? or returns
null if it could not be found. |
com.liferay.portal.model.LayoutRevision |
fetchByL_H_P(long layoutSetBranchId,
boolean head,
long plid,
boolean retrieveFromCache)
Returns the layout revision where layoutSetBranchId = ? and head = ? and plid = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.model.LayoutRevision |
fetchByL_L_P_First(long layoutSetBranchId,
long layoutBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout revision in the ordered set where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.
|
com.liferay.portal.model.LayoutRevision |
fetchByL_L_P_Last(long layoutSetBranchId,
long layoutBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout revision in the ordered set where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.
|
com.liferay.portal.model.LayoutRevision |
fetchByL_P_First(long layoutSetBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout revision in the ordered set where layoutSetBranchId = ? and plid = ?.
|
com.liferay.portal.model.LayoutRevision |
fetchByL_P_Last(long layoutSetBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout revision in the ordered set where layoutSetBranchId = ? and plid = ?.
|
com.liferay.portal.model.LayoutRevision |
fetchByL_P_P_First(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout revision in the ordered set where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.
|
com.liferay.portal.model.LayoutRevision |
fetchByL_P_P_Last(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout revision in the ordered set where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.
|
com.liferay.portal.model.LayoutRevision |
fetchByL_P_S_First(long layoutSetBranchId,
long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout revision in the ordered set where layoutSetBranchId = ? and plid = ? and status = ?.
|
com.liferay.portal.model.LayoutRevision |
fetchByL_P_S_Last(long layoutSetBranchId,
long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout revision in the ordered set where layoutSetBranchId = ? and plid = ? and status = ?.
|
com.liferay.portal.model.LayoutRevision |
fetchByL_S_First(long layoutSetBranchId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout revision in the ordered set where layoutSetBranchId = ? and status = ?.
|
com.liferay.portal.model.LayoutRevision |
fetchByL_S_Last(long layoutSetBranchId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout revision in the ordered set where layoutSetBranchId = ? and status = ?.
|
com.liferay.portal.model.LayoutRevision |
fetchByLayoutSetBranchId_First(long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout revision in the ordered set where layoutSetBranchId = ?.
|
com.liferay.portal.model.LayoutRevision |
fetchByLayoutSetBranchId_Last(long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout revision in the ordered set where layoutSetBranchId = ?.
|
com.liferay.portal.model.LayoutRevision |
fetchByP_NotS_First(long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout revision in the ordered set where plid = ? and status ≠ ?.
|
com.liferay.portal.model.LayoutRevision |
fetchByP_NotS_Last(long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout revision in the ordered set where plid = ? and status ≠ ?.
|
com.liferay.portal.model.LayoutRevision |
fetchByPlid_First(long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout revision in the ordered set where plid = ?.
|
com.liferay.portal.model.LayoutRevision |
fetchByPlid_Last(long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout revision in the ordered set where plid = ?.
|
com.liferay.portal.model.LayoutRevision |
fetchByPrimaryKey(long layoutRevisionId)
Returns the layout revision with the primary key or returns
null if it could not be found. |
com.liferay.portal.model.LayoutRevision |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the layout revision with the primary key or returns
null if it could not be found. |
java.util.List<com.liferay.portal.model.LayoutRevision> |
findAll()
Returns all the layout revisions.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findAll(int start,
int end)
Returns a range of all the layout revisions.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout revisions.
|
com.liferay.portal.model.LayoutRevision |
findByH_P_First(boolean head,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout revision in the ordered set where head = ? and plid = ?.
|
com.liferay.portal.model.LayoutRevision |
findByH_P_Last(boolean head,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout revision in the ordered set where head = ? and plid = ?.
|
com.liferay.portal.model.LayoutRevision[] |
findByH_P_PrevAndNext(long layoutRevisionId,
boolean head,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the layout revisions before and after the current layout revision in the ordered set where head = ? and plid = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByH_P(boolean head,
long plid)
Returns all the layout revisions where head = ? and plid = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByH_P(boolean head,
long plid,
int start,
int end)
Returns a range of all the layout revisions where head = ? and plid = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByH_P(boolean head,
long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout revisions where head = ? and plid = ?.
|
com.liferay.portal.model.LayoutRevision |
findByL_H_First(long layoutSetBranchId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout revision in the ordered set where layoutSetBranchId = ? and head = ?.
|
com.liferay.portal.model.LayoutRevision |
findByL_H_Last(long layoutSetBranchId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout revision in the ordered set where layoutSetBranchId = ? and head = ?.
|
com.liferay.portal.model.LayoutRevision |
findByL_H_P(long layoutSetBranchId,
boolean head,
long plid)
Returns the layout revision where layoutSetBranchId = ? and head = ? and plid = ? or throws a
NoSuchLayoutRevisionException if it could not be found. |
com.liferay.portal.model.LayoutRevision[] |
findByL_H_PrevAndNext(long layoutRevisionId,
long layoutSetBranchId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and head = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByL_H(long layoutSetBranchId,
boolean head)
Returns all the layout revisions where layoutSetBranchId = ? and head = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByL_H(long layoutSetBranchId,
boolean head,
int start,
int end)
Returns a range of all the layout revisions where layoutSetBranchId = ? and head = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByL_H(long layoutSetBranchId,
boolean head,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and head = ?.
|
com.liferay.portal.model.LayoutRevision |
findByL_L_P_First(long layoutSetBranchId,
long layoutBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout revision in the ordered set where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.
|
com.liferay.portal.model.LayoutRevision |
findByL_L_P_Last(long layoutSetBranchId,
long layoutBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout revision in the ordered set where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.
|
com.liferay.portal.model.LayoutRevision[] |
findByL_L_P_PrevAndNext(long layoutRevisionId,
long layoutSetBranchId,
long layoutBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByL_L_P(long layoutSetBranchId,
long layoutBranchId,
long plid)
Returns all the layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.
|
java.util.List<com.liferay.portal.model.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 = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByL_L_P(long layoutSetBranchId,
long layoutBranchId,
long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?.
|
com.liferay.portal.model.LayoutRevision |
findByL_P_First(long layoutSetBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout revision in the ordered set where layoutSetBranchId = ? and plid = ?.
|
com.liferay.portal.model.LayoutRevision |
findByL_P_Last(long layoutSetBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout revision in the ordered set where layoutSetBranchId = ? and plid = ?.
|
com.liferay.portal.model.LayoutRevision |
findByL_P_P_First(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout revision in the ordered set where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.
|
com.liferay.portal.model.LayoutRevision |
findByL_P_P_Last(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout revision in the ordered set where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.
|
com.liferay.portal.model.LayoutRevision[] |
findByL_P_P_PrevAndNext(long layoutRevisionId,
long layoutSetBranchId,
long parentLayoutRevisionId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByL_P_P(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid)
Returns all the layout revisions where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.
|
java.util.List<com.liferay.portal.model.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 = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByL_P_P(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?.
|
com.liferay.portal.model.LayoutRevision[] |
findByL_P_PrevAndNext(long layoutRevisionId,
long layoutSetBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and plid = ?.
|
com.liferay.portal.model.LayoutRevision |
findByL_P_S_First(long layoutSetBranchId,
long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout revision in the ordered set where layoutSetBranchId = ? and plid = ? and status = ?.
|
com.liferay.portal.model.LayoutRevision |
findByL_P_S_Last(long layoutSetBranchId,
long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout revision in the ordered set where layoutSetBranchId = ? and plid = ? and status = ?.
|
com.liferay.portal.model.LayoutRevision[] |
findByL_P_S_PrevAndNext(long layoutRevisionId,
long layoutSetBranchId,
long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and plid = ? and status = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByL_P_S(long layoutSetBranchId,
long plid,
int status)
Returns all the layout revisions where layoutSetBranchId = ? and plid = ? and status = ?.
|
java.util.List<com.liferay.portal.model.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 = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByL_P_S(long layoutSetBranchId,
long plid,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and plid = ? and status = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByL_P(long layoutSetBranchId,
long plid)
Returns all the layout revisions where layoutSetBranchId = ? and plid = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByL_P(long layoutSetBranchId,
long plid,
int start,
int end)
Returns a range of all the layout revisions where layoutSetBranchId = ? and plid = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByL_P(long layoutSetBranchId,
long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and plid = ?.
|
com.liferay.portal.model.LayoutRevision |
findByL_S_First(long layoutSetBranchId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout revision in the ordered set where layoutSetBranchId = ? and status = ?.
|
com.liferay.portal.model.LayoutRevision |
findByL_S_Last(long layoutSetBranchId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout revision in the ordered set where layoutSetBranchId = ? and status = ?.
|
com.liferay.portal.model.LayoutRevision[] |
findByL_S_PrevAndNext(long layoutRevisionId,
long layoutSetBranchId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and status = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByL_S(long layoutSetBranchId,
int status)
Returns all the layout revisions where layoutSetBranchId = ? and status = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByL_S(long layoutSetBranchId,
int status,
int start,
int end)
Returns a range of all the layout revisions where layoutSetBranchId = ? and status = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByL_S(long layoutSetBranchId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and status = ?.
|
com.liferay.portal.model.LayoutRevision |
findByLayoutSetBranchId_First(long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout revision in the ordered set where layoutSetBranchId = ?.
|
com.liferay.portal.model.LayoutRevision |
findByLayoutSetBranchId_Last(long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout revision in the ordered set where layoutSetBranchId = ?.
|
com.liferay.portal.model.LayoutRevision[] |
findByLayoutSetBranchId_PrevAndNext(long layoutRevisionId,
long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByLayoutSetBranchId(long layoutSetBranchId)
Returns all the layout revisions where layoutSetBranchId = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByLayoutSetBranchId(long layoutSetBranchId,
int start,
int end)
Returns a range of all the layout revisions where layoutSetBranchId = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByLayoutSetBranchId(long layoutSetBranchId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout revisions where layoutSetBranchId = ?.
|
com.liferay.portal.model.LayoutRevision |
findByP_NotS_First(long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout revision in the ordered set where plid = ? and status ≠ ?.
|
com.liferay.portal.model.LayoutRevision |
findByP_NotS_Last(long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout revision in the ordered set where plid = ? and status ≠ ?.
|
com.liferay.portal.model.LayoutRevision[] |
findByP_NotS_PrevAndNext(long layoutRevisionId,
long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the layout revisions before and after the current layout revision in the ordered set where plid = ? and status ≠ ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByP_NotS(long plid,
int status)
Returns all the layout revisions where plid = ? and status ≠ ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByP_NotS(long plid,
int status,
int start,
int end)
Returns a range of all the layout revisions where plid = ? and status ≠ ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByP_NotS(long plid,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout revisions where plid = ? and status ≠ ?.
|
com.liferay.portal.model.LayoutRevision |
findByPlid_First(long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout revision in the ordered set where plid = ?.
|
com.liferay.portal.model.LayoutRevision |
findByPlid_Last(long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout revision in the ordered set where plid = ?.
|
com.liferay.portal.model.LayoutRevision[] |
findByPlid_PrevAndNext(long layoutRevisionId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the layout revisions before and after the current layout revision in the ordered set where plid = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByPlid(long plid)
Returns all the layout revisions where plid = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByPlid(long plid,
int start,
int end)
Returns a range of all the layout revisions where plid = ?.
|
java.util.List<com.liferay.portal.model.LayoutRevision> |
findByPlid(long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout revisions where plid = ?.
|
com.liferay.portal.model.LayoutRevision |
findByPrimaryKey(long layoutRevisionId)
Returns the layout revision with the primary key or throws a
NoSuchLayoutRevisionException if it could not be found. |
com.liferay.portal.model.LayoutRevision |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the layout revision with the primary key or throws a
NoSuchModelException if it could not be found. |
protected com.liferay.portal.model.LayoutRevision |
getByH_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutRevision layoutRevision,
boolean head,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.LayoutRevision |
getByL_H_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutRevision layoutRevision,
long layoutSetBranchId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.LayoutRevision |
getByL_L_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutRevision layoutRevision,
long layoutSetBranchId,
long layoutBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.LayoutRevision |
getByL_P_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutRevision layoutRevision,
long layoutSetBranchId,
long parentLayoutRevisionId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.LayoutRevision |
getByL_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutRevision layoutRevision,
long layoutSetBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.LayoutRevision |
getByL_P_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutRevision layoutRevision,
long layoutSetBranchId,
long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.LayoutRevision |
getByL_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutRevision layoutRevision,
long layoutSetBranchId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.LayoutRevision |
getByLayoutSetBranchId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutRevision layoutRevision,
long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.LayoutRevision |
getByP_NotS_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutRevision layoutRevision,
long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.LayoutRevision |
getByPlid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutRevision layoutRevision,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
com.liferay.portal.model.LayoutRevision |
remove(long layoutRevisionId)
Removes the layout revision with the primary key from the database.
|
com.liferay.portal.model.LayoutRevision |
remove(java.io.Serializable primaryKey)
Removes the layout revision with the primary key from the database.
|
void |
removeAll()
Removes all the layout revisions from the database.
|
void |
removeByH_P(boolean head,
long plid)
Removes all the layout revisions where head = ? and plid = ? from the database.
|
com.liferay.portal.model.LayoutRevision |
removeByL_H_P(long layoutSetBranchId,
boolean head,
long plid)
Removes the layout revision where layoutSetBranchId = ? and head = ? and plid = ? from the database.
|
void |
removeByL_H(long layoutSetBranchId,
boolean head)
Removes all the layout revisions where layoutSetBranchId = ? and head = ? from the database.
|
void |
removeByL_L_P(long layoutSetBranchId,
long layoutBranchId,
long plid)
Removes all the layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and plid = ? from the database.
|
void |
removeByL_P_P(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid)
Removes all the layout revisions where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ? from the database.
|
void |
removeByL_P_S(long layoutSetBranchId,
long plid,
int status)
Removes all the layout revisions where layoutSetBranchId = ? and plid = ? and status = ? from the database.
|
void |
removeByL_P(long layoutSetBranchId,
long plid)
Removes all the layout revisions where layoutSetBranchId = ? and plid = ? from the database.
|
void |
removeByL_S(long layoutSetBranchId,
int status)
Removes all the layout revisions where layoutSetBranchId = ? and status = ? from the database.
|
void |
removeByLayoutSetBranchId(long layoutSetBranchId)
Removes all the layout revisions where layoutSetBranchId = ? from the database.
|
void |
removeByP_NotS(long plid,
int status)
Removes all the layout revisions where plid = ? and status ≠ ? from the database.
|
void |
removeByPlid(long plid)
Removes all the layout revisions where plid = ? from the database.
|
protected com.liferay.portal.model.LayoutRevision |
removeImpl(com.liferay.portal.model.LayoutRevision layoutRevision) |
protected com.liferay.portal.model.LayoutRevision |
toUnwrappedModel(com.liferay.portal.model.LayoutRevision layoutRevision) |
com.liferay.portal.model.LayoutRevision |
updateImpl(com.liferay.portal.model.LayoutRevision layoutRevision) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImplclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, updatepublic static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_LAYOUTSETBRANCHID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LAYOUTSETBRANCHID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_LAYOUTSETBRANCHID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PLID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PLID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_PLID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_L_H
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_L_H
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_L_H
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_L_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_L_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_L_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_L_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_L_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_L_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_H_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_H_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_H_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_P_NOTS
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_P_NOTS
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_L_L_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_L_L_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_L_L_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_L_P_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_L_P_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_L_P_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_L_H_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_L_H_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_L_P_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_L_P_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_L_P_S
public java.util.List<com.liferay.portal.model.LayoutRevision> findByLayoutSetBranchId(long layoutSetBranchId)
throws com.liferay.portal.kernel.exception.SystemException
findByLayoutSetBranchId in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByLayoutSetBranchId(long layoutSetBranchId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByLayoutSetBranchId in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByLayoutSetBranchId(long layoutSetBranchId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByLayoutSetBranchId in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - 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 (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByLayoutSetBranchId_First(long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByLayoutSetBranchId_First in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByLayoutSetBranchId_First(long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByLayoutSetBranchId_First in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDorderByComparator - the comparator to order the set by (optionally null)null if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByLayoutSetBranchId_Last(long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByLayoutSetBranchId_Last in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByLayoutSetBranchId_Last(long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByLayoutSetBranchId_Last in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDorderByComparator - the comparator to order the set by (optionally null)null if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision[] findByLayoutSetBranchId_PrevAndNext(long layoutRevisionId,
long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByLayoutSetBranchId_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutRevisionId - the primary key of the current layout revisionlayoutSetBranchId - the layout set branch IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a layout revision with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutRevision getByLayoutSetBranchId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutRevision layoutRevision,
long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByLayoutSetBranchId(long layoutSetBranchId)
throws com.liferay.portal.kernel.exception.SystemException
removeByLayoutSetBranchId in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByLayoutSetBranchId(long layoutSetBranchId)
throws com.liferay.portal.kernel.exception.SystemException
countByLayoutSetBranchId in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByPlid(long plid)
throws com.liferay.portal.kernel.exception.SystemException
findByPlid in interface com.liferay.portal.service.persistence.LayoutRevisionPersistenceplid - the plidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByPlid(long plid,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByPlid in interface com.liferay.portal.service.persistence.LayoutRevisionPersistenceplid - the plidstart - the lower bound of the range of layout revisionsend - the upper bound of the range of layout revisions (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByPlid(long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByPlid in interface com.liferay.portal.service.persistence.LayoutRevisionPersistenceplid - 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 (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByPlid_First(long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByPlid_First in interface com.liferay.portal.service.persistence.LayoutRevisionPersistenceplid - the plidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByPlid_First(long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByPlid_First in interface com.liferay.portal.service.persistence.LayoutRevisionPersistenceplid - the plidorderByComparator - the comparator to order the set by (optionally null)null if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByPlid_Last(long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByPlid_Last in interface com.liferay.portal.service.persistence.LayoutRevisionPersistenceplid - the plidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByPlid_Last(long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByPlid_Last in interface com.liferay.portal.service.persistence.LayoutRevisionPersistenceplid - the plidorderByComparator - the comparator to order the set by (optionally null)null if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision[] findByPlid_PrevAndNext(long layoutRevisionId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByPlid_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutRevisionId - the primary key of the current layout revisionplid - the plidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a layout revision with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutRevision getByPlid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutRevision layoutRevision,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByPlid(long plid)
throws com.liferay.portal.kernel.exception.SystemException
removeByPlid in interface com.liferay.portal.service.persistence.LayoutRevisionPersistenceplid - the plidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByPlid(long plid)
throws com.liferay.portal.kernel.exception.SystemException
countByPlid in interface com.liferay.portal.service.persistence.LayoutRevisionPersistenceplid - the plidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByL_H(long layoutSetBranchId,
boolean head)
throws com.liferay.portal.kernel.exception.SystemException
findByL_H in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDhead - the headcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByL_H(long layoutSetBranchId,
boolean head,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByL_H in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByL_H(long layoutSetBranchId,
boolean head,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByL_H in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - 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 (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByL_H_First(long layoutSetBranchId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByL_H_First in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDhead - the headorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByL_H_First(long layoutSetBranchId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByL_H_First in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDhead - the headorderByComparator - the comparator to order the set by (optionally null)null if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByL_H_Last(long layoutSetBranchId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByL_H_Last in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDhead - the headorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByL_H_Last(long layoutSetBranchId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByL_H_Last in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDhead - the headorderByComparator - the comparator to order the set by (optionally null)null if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision[] findByL_H_PrevAndNext(long layoutRevisionId,
long layoutSetBranchId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByL_H_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutRevisionId - the primary key of the current layout revisionlayoutSetBranchId - the layout set branch IDhead - the headorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a layout revision with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutRevision getByL_H_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutRevision layoutRevision,
long layoutSetBranchId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByL_H(long layoutSetBranchId,
boolean head)
throws com.liferay.portal.kernel.exception.SystemException
removeByL_H in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDhead - the headcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByL_H(long layoutSetBranchId,
boolean head)
throws com.liferay.portal.kernel.exception.SystemException
countByL_H in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDhead - the headcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByL_P(long layoutSetBranchId,
long plid)
throws com.liferay.portal.kernel.exception.SystemException
findByL_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDplid - the plidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByL_P(long layoutSetBranchId,
long plid,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByL_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByL_P(long layoutSetBranchId,
long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByL_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - 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 (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByL_P_First(long layoutSetBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByL_P_First in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDplid - the plidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByL_P_First(long layoutSetBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByL_P_First in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDplid - the plidorderByComparator - the comparator to order the set by (optionally null)null if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByL_P_Last(long layoutSetBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByL_P_Last in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDplid - the plidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByL_P_Last(long layoutSetBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByL_P_Last in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDplid - the plidorderByComparator - the comparator to order the set by (optionally null)null if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision[] findByL_P_PrevAndNext(long layoutRevisionId,
long layoutSetBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByL_P_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutRevisionId - the primary key of the current layout revisionlayoutSetBranchId - the layout set branch IDplid - the plidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a layout revision with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutRevision getByL_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutRevision layoutRevision,
long layoutSetBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByL_P(long layoutSetBranchId,
long plid)
throws com.liferay.portal.kernel.exception.SystemException
removeByL_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDplid - the plidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByL_P(long layoutSetBranchId,
long plid)
throws com.liferay.portal.kernel.exception.SystemException
countByL_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDplid - the plidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByL_S(long layoutSetBranchId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
findByL_S in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDstatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByL_S(long layoutSetBranchId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByL_S in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByL_S(long layoutSetBranchId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByL_S in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - 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 (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByL_S_First(long layoutSetBranchId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByL_S_First in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByL_S_First(long layoutSetBranchId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByL_S_First in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByL_S_Last(long layoutSetBranchId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByL_S_Last in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByL_S_Last(long layoutSetBranchId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByL_S_Last in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision[] findByL_S_PrevAndNext(long layoutRevisionId,
long layoutSetBranchId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByL_S_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutRevisionId - the primary key of the current layout revisionlayoutSetBranchId - the layout set branch IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a layout revision with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutRevision getByL_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutRevision layoutRevision,
long layoutSetBranchId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByL_S(long layoutSetBranchId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
removeByL_S in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDstatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByL_S(long layoutSetBranchId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
countByL_S in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDstatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByH_P(boolean head,
long plid)
throws com.liferay.portal.kernel.exception.SystemException
findByH_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencehead - the headplid - the plidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByH_P(boolean head,
long plid,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByH_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencehead - the headplid - the plidstart - the lower bound of the range of layout revisionsend - the upper bound of the range of layout revisions (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByH_P(boolean head,
long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByH_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencehead - 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 (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByH_P_First(boolean head,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByH_P_First in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencehead - the headplid - the plidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByH_P_First(boolean head,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByH_P_First in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencehead - the headplid - the plidorderByComparator - the comparator to order the set by (optionally null)null if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByH_P_Last(boolean head,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByH_P_Last in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencehead - the headplid - the plidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByH_P_Last(boolean head,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByH_P_Last in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencehead - the headplid - the plidorderByComparator - the comparator to order the set by (optionally null)null if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision[] findByH_P_PrevAndNext(long layoutRevisionId,
boolean head,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByH_P_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutRevisionId - the primary key of the current layout revisionhead - the headplid - the plidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a layout revision with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutRevision getByH_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutRevision layoutRevision,
boolean head,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByH_P(boolean head,
long plid)
throws com.liferay.portal.kernel.exception.SystemException
removeByH_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencehead - the headplid - the plidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByH_P(boolean head,
long plid)
throws com.liferay.portal.kernel.exception.SystemException
countByH_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencehead - the headplid - the plidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByP_NotS(long plid,
int status)
throws com.liferay.portal.kernel.exception.SystemException
findByP_NotS in interface com.liferay.portal.service.persistence.LayoutRevisionPersistenceplid - the plidstatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByP_NotS(long plid,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByP_NotS in interface com.liferay.portal.service.persistence.LayoutRevisionPersistenceplid - the plidstatus - the statusstart - the lower bound of the range of layout revisionsend - the upper bound of the range of layout revisions (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByP_NotS(long plid,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByP_NotS in interface com.liferay.portal.service.persistence.LayoutRevisionPersistenceplid - 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 (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByP_NotS_First(long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByP_NotS_First in interface com.liferay.portal.service.persistence.LayoutRevisionPersistenceplid - the plidstatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByP_NotS_First(long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByP_NotS_First in interface com.liferay.portal.service.persistence.LayoutRevisionPersistenceplid - the plidstatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByP_NotS_Last(long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByP_NotS_Last in interface com.liferay.portal.service.persistence.LayoutRevisionPersistenceplid - the plidstatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByP_NotS_Last(long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByP_NotS_Last in interface com.liferay.portal.service.persistence.LayoutRevisionPersistenceplid - the plidstatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision[] findByP_NotS_PrevAndNext(long layoutRevisionId,
long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByP_NotS_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutRevisionId - the primary key of the current layout revisionplid - the plidstatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a layout revision with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutRevision getByP_NotS_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutRevision layoutRevision,
long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByP_NotS(long plid,
int status)
throws com.liferay.portal.kernel.exception.SystemException
removeByP_NotS in interface com.liferay.portal.service.persistence.LayoutRevisionPersistenceplid - the plidstatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByP_NotS(long plid,
int status)
throws com.liferay.portal.kernel.exception.SystemException
countByP_NotS in interface com.liferay.portal.service.persistence.LayoutRevisionPersistenceplid - the plidstatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByL_L_P(long layoutSetBranchId,
long layoutBranchId,
long plid)
throws com.liferay.portal.kernel.exception.SystemException
findByL_L_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDlayoutBranchId - the layout branch IDplid - the plidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByL_L_P(long layoutSetBranchId,
long layoutBranchId,
long plid,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByL_L_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByL_L_P(long layoutSetBranchId,
long layoutBranchId,
long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByL_L_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - 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 (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByL_L_P_First(long layoutSetBranchId,
long layoutBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByL_L_P_First in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDlayoutBranchId - the layout branch IDplid - the plidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByL_L_P_First(long layoutSetBranchId,
long layoutBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByL_L_P_First in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDlayoutBranchId - the layout branch IDplid - the plidorderByComparator - the comparator to order the set by (optionally null)null if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByL_L_P_Last(long layoutSetBranchId,
long layoutBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByL_L_P_Last in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDlayoutBranchId - the layout branch IDplid - the plidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByL_L_P_Last(long layoutSetBranchId,
long layoutBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByL_L_P_Last in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDlayoutBranchId - the layout branch IDplid - the plidorderByComparator - the comparator to order the set by (optionally null)null if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision[] findByL_L_P_PrevAndNext(long layoutRevisionId,
long layoutSetBranchId,
long layoutBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByL_L_P_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutRevisionId - 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 (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a layout revision with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutRevision getByL_L_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutRevision layoutRevision,
long layoutSetBranchId,
long layoutBranchId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByL_L_P(long layoutSetBranchId,
long layoutBranchId,
long plid)
throws com.liferay.portal.kernel.exception.SystemException
removeByL_L_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDlayoutBranchId - the layout branch IDplid - the plidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByL_L_P(long layoutSetBranchId,
long layoutBranchId,
long plid)
throws com.liferay.portal.kernel.exception.SystemException
countByL_L_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDlayoutBranchId - the layout branch IDplid - the plidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByL_P_P(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid)
throws com.liferay.portal.kernel.exception.SystemException
findByL_P_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDparentLayoutRevisionId - the parent layout revision IDplid - the plidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByL_P_P(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByL_P_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByL_P_P(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByL_P_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - 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 (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByL_P_P_First(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByL_P_P_First in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDparentLayoutRevisionId - the parent layout revision IDplid - the plidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByL_P_P_First(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByL_P_P_First in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDparentLayoutRevisionId - the parent layout revision IDplid - the plidorderByComparator - the comparator to order the set by (optionally null)null if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByL_P_P_Last(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByL_P_P_Last in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDparentLayoutRevisionId - the parent layout revision IDplid - the plidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByL_P_P_Last(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByL_P_P_Last in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDparentLayoutRevisionId - the parent layout revision IDplid - the plidorderByComparator - the comparator to order the set by (optionally null)null if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision[] findByL_P_P_PrevAndNext(long layoutRevisionId,
long layoutSetBranchId,
long parentLayoutRevisionId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByL_P_P_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutRevisionId - 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 (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a layout revision with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutRevision getByL_P_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutRevision layoutRevision,
long layoutSetBranchId,
long parentLayoutRevisionId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByL_P_P(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid)
throws com.liferay.portal.kernel.exception.SystemException
removeByL_P_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDparentLayoutRevisionId - the parent layout revision IDplid - the plidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByL_P_P(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid)
throws com.liferay.portal.kernel.exception.SystemException
countByL_P_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDparentLayoutRevisionId - the parent layout revision IDplid - the plidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByL_H_P(long layoutSetBranchId,
boolean head,
long plid)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
NoSuchLayoutRevisionException if it could not be found.findByL_H_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDhead - the headplid - the plidcom.liferay.portal.NoSuchLayoutRevisionException - if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByL_H_P(long layoutSetBranchId,
boolean head,
long plid)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.fetchByL_H_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDhead - the headplid - the plidnull if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByL_H_P(long layoutSetBranchId,
boolean head,
long plid,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.fetchByL_H_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDhead - the headplid - the plidretrieveFromCache - whether to use the finder cachenull if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision removeByL_H_P(long layoutSetBranchId,
boolean head,
long plid)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
removeByL_H_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDhead - the headplid - the plidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredcom.liferay.portal.NoSuchLayoutRevisionExceptionpublic int countByL_H_P(long layoutSetBranchId,
boolean head,
long plid)
throws com.liferay.portal.kernel.exception.SystemException
countByL_H_P in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDhead - the headplid - the plidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByL_P_S(long layoutSetBranchId,
long plid,
int status)
throws com.liferay.portal.kernel.exception.SystemException
findByL_P_S in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDplid - the plidstatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByL_P_S(long layoutSetBranchId,
long plid,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByL_P_S in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findByL_P_S(long layoutSetBranchId,
long plid,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByL_P_S in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - 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 (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByL_P_S_First(long layoutSetBranchId,
long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByL_P_S_First in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDplid - the plidstatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByL_P_S_First(long layoutSetBranchId,
long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByL_P_S_First in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDplid - the plidstatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByL_P_S_Last(long layoutSetBranchId,
long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByL_P_S_Last in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDplid - the plidstatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByL_P_S_Last(long layoutSetBranchId,
long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByL_P_S_Last in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDplid - the plidstatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching layout revision could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision[] findByL_P_S_PrevAndNext(long layoutRevisionId,
long layoutSetBranchId,
long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
findByL_P_S_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutRevisionId - the primary key of the current layout revisionlayoutSetBranchId - the layout set branch IDplid - the plidstatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutRevisionException - if a layout revision with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutRevision getByL_P_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutRevision layoutRevision,
long layoutSetBranchId,
long plid,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByL_P_S(long layoutSetBranchId,
long plid,
int status)
throws com.liferay.portal.kernel.exception.SystemException
removeByL_P_S in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDplid - the plidstatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByL_P_S(long layoutSetBranchId,
long plid,
int status)
throws com.liferay.portal.kernel.exception.SystemException
countByL_P_S in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutSetBranchId - the layout set branch IDplid - the plidstatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void cacheResult(com.liferay.portal.model.LayoutRevision layoutRevision)
cacheResult in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutRevision - the layout revisionpublic void cacheResult(java.util.List<com.liferay.portal.model.LayoutRevision> layoutRevisions)
cacheResult in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutRevisions - the layout revisionspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.LayoutRevision>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutRevision>public void clearCache(com.liferay.portal.model.LayoutRevision layoutRevision)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.LayoutRevision>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutRevision>public void clearCache(java.util.List<com.liferay.portal.model.LayoutRevision> layoutRevisions)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.LayoutRevision>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutRevision>protected void cacheUniqueFindersCache(com.liferay.portal.model.LayoutRevision layoutRevision)
protected void clearUniqueFindersCache(com.liferay.portal.model.LayoutRevision layoutRevision)
public com.liferay.portal.model.LayoutRevision create(long layoutRevisionId)
create in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutRevisionId - the primary key for the new layout revisionpublic com.liferay.portal.model.LayoutRevision remove(long layoutRevisionId)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutRevisionId - the primary key of the layout revisioncom.liferay.portal.NoSuchLayoutRevisionException - if a layout revision with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision remove(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.LayoutRevision>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutRevision>primaryKey - the primary key of the layout revisioncom.liferay.portal.NoSuchLayoutRevisionException - if a layout revision with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutRevision removeImpl(com.liferay.portal.model.LayoutRevision layoutRevision)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutRevision>com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portal.model.LayoutRevision updateImpl(com.liferay.portal.model.LayoutRevision layoutRevision)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portal.service.persistence.LayoutRevisionPersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutRevision>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portal.model.LayoutRevision toUnwrappedModel(com.liferay.portal.model.LayoutRevision layoutRevision)
public com.liferay.portal.model.LayoutRevision findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.LayoutRevision>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutRevision>primaryKey - the primary key of the layout revisioncom.liferay.portal.NoSuchLayoutRevisionException - if a layout revision with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision findByPrimaryKey(long layoutRevisionId)
throws com.liferay.portal.NoSuchLayoutRevisionException,
com.liferay.portal.kernel.exception.SystemException
NoSuchLayoutRevisionException if it could not be found.findByPrimaryKey in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutRevisionId - the primary key of the layout revisioncom.liferay.portal.NoSuchLayoutRevisionException - if a layout revision with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.LayoutRevision>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutRevision>primaryKey - the primary key of the layout revisionnull if a layout revision with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutRevision fetchByPrimaryKey(long layoutRevisionId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencelayoutRevisionId - the primary key of the layout revisionnull if a layout revision with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencestart - the lower bound of the range of layout revisionsend - the upper bound of the range of layout revisions (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutRevision> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutRevisionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencestart - 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 (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portal.service.persistence.LayoutRevisionPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()