@ProviderType public interface LayoutPageTemplateStructurePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<LayoutPageTemplateStructure>
Caching information and settings can be found in portal.properties
LayoutPageTemplateStructureUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(LayoutPageTemplateStructure layoutPageTemplateStructure)
Caches the layout page template structure in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<LayoutPageTemplateStructure> layoutPageTemplateStructures)
Caches the layout page template structures in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of layout page template structures.
|
int |
countByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the number of layout page template structures where groupId = ? and classNameId = ? and classPK = ?.
|
int |
countByGroupId(long groupId)
Returns the number of layout page template structures where groupId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of layout page template structures where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of layout page template structures where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of layout page template structures where uuid = ?.
|
LayoutPageTemplateStructure |
create(long layoutPageTemplateStructureId)
Creates a new layout page template structure with the primary key.
|
LayoutPageTemplateStructure |
fetchByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the layout page template structure where groupId = ? and classNameId = ? and classPK = ? or returns
null if it could not be found. |
LayoutPageTemplateStructure |
fetchByG_C_C(long groupId,
long classNameId,
long classPK,
boolean useFinderCache)
Returns the layout page template structure where groupId = ? and classNameId = ? and classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
LayoutPageTemplateStructure |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the first layout page template structure in the ordered set where groupId = ?.
|
LayoutPageTemplateStructure |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the last layout page template structure in the ordered set where groupId = ?.
|
LayoutPageTemplateStructure |
fetchByPrimaryKey(long layoutPageTemplateStructureId)
Returns the layout page template structure with the primary key or returns
null if it could not be found. |
LayoutPageTemplateStructure |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the first layout page template structure in the ordered set where uuid = ? and companyId = ?.
|
LayoutPageTemplateStructure |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the last layout page template structure in the ordered set where uuid = ? and companyId = ?.
|
LayoutPageTemplateStructure |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the first layout page template structure in the ordered set where uuid = ?.
|
LayoutPageTemplateStructure |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the layout page template structure where uuid = ? and groupId = ? or returns
null if it could not be found. |
LayoutPageTemplateStructure |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the layout page template structure where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
LayoutPageTemplateStructure |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the last layout page template structure in the ordered set where uuid = ?.
|
java.util.List<LayoutPageTemplateStructure> |
findAll()
Returns all the layout page template structures.
|
java.util.List<LayoutPageTemplateStructure> |
findAll(int start,
int end)
Returns a range of all the layout page template structures.
|
java.util.List<LayoutPageTemplateStructure> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns an ordered range of all the layout page template structures.
|
java.util.List<LayoutPageTemplateStructure> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout page template structures.
|
LayoutPageTemplateStructure |
findByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the layout page template structure where groupId = ? and classNameId = ? and classPK = ? or throws a
NoSuchPageTemplateStructureException if it could not be found. |
LayoutPageTemplateStructure |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the first layout page template structure in the ordered set where groupId = ?.
|
LayoutPageTemplateStructure |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the last layout page template structure in the ordered set where groupId = ?.
|
LayoutPageTemplateStructure[] |
findByGroupId_PrevAndNext(long layoutPageTemplateStructureId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the layout page template structures before and after the current layout page template structure in the ordered set where groupId = ?.
|
java.util.List<LayoutPageTemplateStructure> |
findByGroupId(long groupId)
Returns all the layout page template structures where groupId = ?.
|
java.util.List<LayoutPageTemplateStructure> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the layout page template structures where groupId = ?.
|
java.util.List<LayoutPageTemplateStructure> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns an ordered range of all the layout page template structures where groupId = ?.
|
java.util.List<LayoutPageTemplateStructure> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout page template structures where groupId = ?.
|
LayoutPageTemplateStructure |
findByPrimaryKey(long layoutPageTemplateStructureId)
Returns the layout page template structure with the primary key or throws a
NoSuchPageTemplateStructureException if it could not be found. |
LayoutPageTemplateStructure |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the first layout page template structure in the ordered set where uuid = ? and companyId = ?.
|
LayoutPageTemplateStructure |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the last layout page template structure in the ordered set where uuid = ? and companyId = ?.
|
LayoutPageTemplateStructure[] |
findByUuid_C_PrevAndNext(long layoutPageTemplateStructureId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the layout page template structures before and after the current layout page template structure in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<LayoutPageTemplateStructure> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the layout page template structures where uuid = ? and companyId = ?.
|
java.util.List<LayoutPageTemplateStructure> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the layout page template structures where uuid = ? and companyId = ?.
|
java.util.List<LayoutPageTemplateStructure> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns an ordered range of all the layout page template structures where uuid = ? and companyId = ?.
|
java.util.List<LayoutPageTemplateStructure> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout page template structures where uuid = ? and companyId = ?.
|
LayoutPageTemplateStructure |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the first layout page template structure in the ordered set where uuid = ?.
|
LayoutPageTemplateStructure |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the layout page template structure where uuid = ? and groupId = ? or throws a
NoSuchPageTemplateStructureException if it could not be found. |
LayoutPageTemplateStructure |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the last layout page template structure in the ordered set where uuid = ?.
|
LayoutPageTemplateStructure[] |
findByUuid_PrevAndNext(long layoutPageTemplateStructureId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns the layout page template structures before and after the current layout page template structure in the ordered set where uuid = ?.
|
java.util.List<LayoutPageTemplateStructure> |
findByUuid(java.lang.String uuid)
Returns all the layout page template structures where uuid = ?.
|
java.util.List<LayoutPageTemplateStructure> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the layout page template structures where uuid = ?.
|
java.util.List<LayoutPageTemplateStructure> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Returns an ordered range of all the layout page template structures where uuid = ?.
|
java.util.List<LayoutPageTemplateStructure> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout page template structures where uuid = ?.
|
LayoutPageTemplateStructure |
remove(long layoutPageTemplateStructureId)
Removes the layout page template structure with the primary key from the database.
|
void |
removeAll()
Removes all the layout page template structures from the database.
|
LayoutPageTemplateStructure |
removeByG_C_C(long groupId,
long classNameId,
long classPK)
Removes the layout page template structure where groupId = ? and classNameId = ? and classPK = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the layout page template structures where groupId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the layout page template structures where uuid = ? and companyId = ? from the database.
|
LayoutPageTemplateStructure |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the layout page template structure where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the layout page template structures where uuid = ? from the database.
|
LayoutPageTemplateStructure |
updateImpl(LayoutPageTemplateStructure layoutPageTemplateStructure) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<LayoutPageTemplateStructure> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<LayoutPageTemplateStructure> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateStructureModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)java.util.List<LayoutPageTemplateStructure> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateStructureModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<LayoutPageTemplateStructure> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateStructureModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheLayoutPageTemplateStructure findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureException
- if a matching layout page template structure could not be foundLayoutPageTemplateStructure fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template structure could not be foundLayoutPageTemplateStructure findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureException
- if a matching layout page template structure could not be foundLayoutPageTemplateStructure fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template structure could not be foundLayoutPageTemplateStructure[] findByUuid_PrevAndNext(long layoutPageTemplateStructureId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException
layoutPageTemplateStructureId
- the primary key of the current layout page template structureuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureException
- if a layout page template structure with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidLayoutPageTemplateStructure findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchPageTemplateStructureException
NoSuchPageTemplateStructureException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchPageTemplateStructureException
- if a matching layout page template structure could not be foundLayoutPageTemplateStructure fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching layout page template structure could not be foundLayoutPageTemplateStructure fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching layout page template structure could not be foundLayoutPageTemplateStructure removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchPageTemplateStructureException
uuid
- the uuidgroupId
- the group IDNoSuchPageTemplateStructureException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<LayoutPageTemplateStructure> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<LayoutPageTemplateStructure> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateStructureModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)java.util.List<LayoutPageTemplateStructure> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateStructureModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<LayoutPageTemplateStructure> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateStructureModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheLayoutPageTemplateStructure findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureException
- if a matching layout page template structure could not be foundLayoutPageTemplateStructure fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template structure could not be foundLayoutPageTemplateStructure findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureException
- if a matching layout page template structure could not be foundLayoutPageTemplateStructure fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template structure could not be foundLayoutPageTemplateStructure[] findByUuid_C_PrevAndNext(long layoutPageTemplateStructureId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException
layoutPageTemplateStructureId
- the primary key of the current layout page template structureuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureException
- if a layout page template structure with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<LayoutPageTemplateStructure> findByGroupId(long groupId)
groupId
- the group IDjava.util.List<LayoutPageTemplateStructure> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateStructureModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)java.util.List<LayoutPageTemplateStructure> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateStructureModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<LayoutPageTemplateStructure> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateStructureModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheLayoutPageTemplateStructure findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureException
- if a matching layout page template structure could not be foundLayoutPageTemplateStructure fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template structure could not be foundLayoutPageTemplateStructure findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureException
- if a matching layout page template structure could not be foundLayoutPageTemplateStructure fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout page template structure could not be foundLayoutPageTemplateStructure[] findByGroupId_PrevAndNext(long layoutPageTemplateStructureId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator) throws NoSuchPageTemplateStructureException
layoutPageTemplateStructureId
- the primary key of the current layout page template structuregroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageTemplateStructureException
- if a layout page template structure with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDLayoutPageTemplateStructure findByG_C_C(long groupId, long classNameId, long classPK) throws NoSuchPageTemplateStructureException
NoSuchPageTemplateStructureException
if it could not be found.groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkNoSuchPageTemplateStructureException
- if a matching layout page template structure could not be foundLayoutPageTemplateStructure fetchByG_C_C(long groupId, long classNameId, long classPK)
null
if it could not be found. Uses the finder cache.groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pknull
if a matching layout page template structure could not be foundLayoutPageTemplateStructure fetchByG_C_C(long groupId, long classNameId, long classPK, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkuseFinderCache
- whether to use the finder cachenull
if a matching layout page template structure could not be foundLayoutPageTemplateStructure removeByG_C_C(long groupId, long classNameId, long classPK) throws NoSuchPageTemplateStructureException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkNoSuchPageTemplateStructureException
int countByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkvoid cacheResult(LayoutPageTemplateStructure layoutPageTemplateStructure)
layoutPageTemplateStructure
- the layout page template structurevoid cacheResult(java.util.List<LayoutPageTemplateStructure> layoutPageTemplateStructures)
layoutPageTemplateStructures
- the layout page template structuresLayoutPageTemplateStructure create(long layoutPageTemplateStructureId)
layoutPageTemplateStructureId
- the primary key for the new layout page template structureLayoutPageTemplateStructure remove(long layoutPageTemplateStructureId) throws NoSuchPageTemplateStructureException
layoutPageTemplateStructureId
- the primary key of the layout page template structureNoSuchPageTemplateStructureException
- if a layout page template structure with the primary key could not be foundLayoutPageTemplateStructure updateImpl(LayoutPageTemplateStructure layoutPageTemplateStructure)
LayoutPageTemplateStructure findByPrimaryKey(long layoutPageTemplateStructureId) throws NoSuchPageTemplateStructureException
NoSuchPageTemplateStructureException
if it could not be found.layoutPageTemplateStructureId
- the primary key of the layout page template structureNoSuchPageTemplateStructureException
- if a layout page template structure with the primary key could not be foundLayoutPageTemplateStructure fetchByPrimaryKey(long layoutPageTemplateStructureId)
null
if it could not be found.layoutPageTemplateStructureId
- the primary key of the layout page template structurenull
if a layout page template structure with the primary key could not be foundjava.util.List<LayoutPageTemplateStructure> findAll()
java.util.List<LayoutPageTemplateStructure> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateStructureModelImpl
.
start
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)java.util.List<LayoutPageTemplateStructure> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateStructureModelImpl
.
start
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<LayoutPageTemplateStructure> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateStructure> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutPageTemplateStructureModelImpl
.
start
- the lower bound of the range of layout page template structuresend
- the upper bound of the range of layout page template structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()