Interface LayoutSetPrototypePersistence
- All Superinterfaces:
BasePersistence<LayoutSetPrototype>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(LayoutSetPrototype layoutSetPrototype) Caches the layout set prototype in the entity cache if it is enabled.void
cacheResult
(List<LayoutSetPrototype> layoutSetPrototypes) Caches the layout set prototypes in the entity cache if it is enabled.int
countAll()
Returns the number of layout set prototypes.int
countByC_A
(long companyId, boolean active) Returns the number of layout set prototypes where companyId = ? and active = ?.int
countByCompanyId
(long companyId) Returns the number of layout set prototypes where companyId = ?.int
countByUuid
(String uuid) Returns the number of layout set prototypes where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of layout set prototypes where uuid = ? and companyId = ?.create
(long layoutSetPrototypeId) Creates a new layout set prototype with the primary key.fetchByC_A_First
(long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.fetchByC_A_Last
(long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the last layout set prototype in the ordered set where companyId = ? and active = ?.fetchByCompanyId_First
(long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the last layout set prototype in the ordered set where companyId = ?.fetchByPrimaryKey
(long layoutSetPrototypeId) Returns the layout set prototype with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the last layout set prototype in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the last layout set prototype in the ordered set where uuid = ?.int
filterCountByC_A
(long companyId, boolean active) Returns the number of layout set prototypes that the user has permission to view where companyId = ? and active = ?.int
filterCountByCompanyId
(long companyId) Returns the number of layout set prototypes that the user has permission to view where companyId = ?.int
filterCountByUuid
(String uuid) Returns the number of layout set prototypes that the user has permission to view where uuid = ?.int
filterCountByUuid_C
(String uuid, long companyId) Returns the number of layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.filterFindByC_A
(long companyId, boolean active) Returns all the layout set prototypes that the user has permission to view where companyId = ? and active = ?.filterFindByC_A
(long companyId, boolean active, int start, int end) Returns a range of all the layout set prototypes that the user has permission to view where companyId = ? and active = ?.filterFindByC_A
(long companyId, boolean active, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ? and active = ?.filterFindByC_A_PrevAndNext
(long layoutSetPrototypeId, long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where companyId = ? and active = ?.filterFindByCompanyId
(long companyId) Returns all the layout set prototypes that the user has permission to view where companyId = ?.filterFindByCompanyId
(long companyId, int start, int end) Returns a range of all the layout set prototypes that the user has permission to view where companyId = ?.filterFindByCompanyId
(long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ?.filterFindByCompanyId_PrevAndNext
(long layoutSetPrototypeId, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where companyId = ?.filterFindByUuid
(String uuid) Returns all the layout set prototypes that the user has permission to view where uuid = ?.filterFindByUuid
(String uuid, int start, int end) Returns a range of all the layout set prototypes that the user has permission to view where uuid = ?.filterFindByUuid
(String uuid, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ?.filterFindByUuid_C
(String uuid, long companyId) Returns all the layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ? and companyId = ?.filterFindByUuid_C_PrevAndNext
(long layoutSetPrototypeId, String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_PrevAndNext
(long layoutSetPrototypeId, String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where uuid = ?.findAll()
Returns all the layout set prototypes.findAll
(int start, int end) Returns a range of all the layout set prototypes.findAll
(int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes.findAll
(int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout set prototypes.findByC_A
(long companyId, boolean active) Returns all the layout set prototypes where companyId = ? and active = ?.findByC_A
(long companyId, boolean active, int start, int end) Returns a range of all the layout set prototypes where companyId = ? and active = ?.findByC_A
(long companyId, boolean active, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes where companyId = ? and active = ?.findByC_A
(long companyId, boolean active, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout set prototypes where companyId = ? and active = ?.findByC_A_First
(long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.findByC_A_Last
(long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the last layout set prototype in the ordered set where companyId = ? and active = ?.findByC_A_PrevAndNext
(long layoutSetPrototypeId, long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ? and active = ?.findByCompanyId
(long companyId) Returns all the layout set prototypes where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the layout set prototypes where companyId = ?.findByCompanyId
(long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes where companyId = ?.findByCompanyId
(long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout set prototypes where companyId = ?.findByCompanyId_First
(long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the last layout set prototype in the ordered set where companyId = ?.findByCompanyId_PrevAndNext
(long layoutSetPrototypeId, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ?.findByPrimaryKey
(long layoutSetPrototypeId) Returns the layout set prototype with the primary key or throws aNoSuchLayoutSetPrototypeException
if it could not be found.findByUuid
(String uuid) Returns all the layout set prototypes where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the layout set prototypes where uuid = ?.findByUuid
(String uuid, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes where uuid = ?.findByUuid
(String uuid, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout set prototypes where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the layout set prototypes where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the layout set prototypes where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout set prototypes where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the last layout set prototype in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long layoutSetPrototypeId, String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where uuid = ?.findByUuid_Last
(String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the last layout set prototype in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long layoutSetPrototypeId, String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = ?.remove
(long layoutSetPrototypeId) Removes the layout set prototype with the primary key from the database.void
Removes all the layout set prototypes from the database.void
removeByC_A
(long companyId, boolean active) Removes all the layout set prototypes where companyId = ? and active = ? from the database.void
removeByCompanyId
(long companyId) Removes all the layout set prototypes where companyId = ? from the database.void
removeByUuid
(String uuid) Removes all the layout set prototypes where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the layout set prototypes where uuid = ? and companyId = ? from the database.updateImpl
(LayoutSetPrototype layoutSetPrototype) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
Returns all the layout set prototypes where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching layout set prototypes
-
findByUuid
Returns a range of all the layout set prototypes where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)- Returns:
- the range of matching layout set prototypes
-
findByUuid
List<LayoutSetPrototype> findByUuid(String uuid, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout set prototypes
-
findByUuid
List<LayoutSetPrototype> findByUuid(String uuid, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout set prototypes where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout set prototypes
-
findByUuid_First
LayoutSetPrototype findByUuid_First(String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException Returns the first layout set prototype in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout set prototype
- Throws:
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
-
fetchByUuid_First
LayoutSetPrototype fetchByUuid_First(String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout set prototype, or
null
if a matching layout set prototype could not be found
-
findByUuid_Last
LayoutSetPrototype findByUuid_Last(String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException Returns the last layout set prototype in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout set prototype
- Throws:
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
-
fetchByUuid_Last
LayoutSetPrototype fetchByUuid_Last(String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the last layout set prototype in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout set prototype, or
null
if a matching layout set prototype could not be found
-
findByUuid_PrevAndNext
LayoutSetPrototype[] findByUuid_PrevAndNext(long layoutSetPrototypeId, String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = ?.- Parameters:
layoutSetPrototypeId
- the primary key of the current layout set prototypeuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout set prototype
- Throws:
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
-
filterFindByUuid
Returns all the layout set prototypes that the user has permission to view where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching layout set prototypes that the user has permission to view
-
filterFindByUuid
Returns a range of all the layout set prototypes that the user has permission to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)- Returns:
- the range of matching layout set prototypes that the user has permission to view
-
filterFindByUuid
List<LayoutSetPrototype> filterFindByUuid(String uuid, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout set prototypes that the user has permission to view
-
filterFindByUuid_PrevAndNext
LayoutSetPrototype[] filterFindByUuid_PrevAndNext(long layoutSetPrototypeId, String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where uuid = ?.- Parameters:
layoutSetPrototypeId
- the primary key of the current layout set prototypeuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout set prototype
- Throws:
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
-
removeByUuid
Removes all the layout set prototypes where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of layout set prototypes where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching layout set prototypes
-
filterCountByUuid
Returns the number of layout set prototypes that the user has permission to view where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching layout set prototypes that the user has permission to view
-
findByUuid_C
Returns all the layout set prototypes where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching layout set prototypes
-
findByUuid_C
Returns a range of all the layout set prototypes where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)- Returns:
- the range of matching layout set prototypes
-
findByUuid_C
List<LayoutSetPrototype> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout set prototypes
-
findByUuid_C
List<LayoutSetPrototype> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout set prototypes where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout set prototypes
-
findByUuid_C_First
LayoutSetPrototype findByUuid_C_First(String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout set prototype
- Throws:
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
-
fetchByUuid_C_First
LayoutSetPrototype fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout set prototype, or
null
if a matching layout set prototype could not be found
-
findByUuid_C_Last
LayoutSetPrototype findByUuid_C_Last(String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException Returns the last layout set prototype in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout set prototype
- Throws:
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
-
fetchByUuid_C_Last
LayoutSetPrototype fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the last layout set prototype in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout set prototype, or
null
if a matching layout set prototype could not be found
-
findByUuid_C_PrevAndNext
LayoutSetPrototype[] findByUuid_C_PrevAndNext(long layoutSetPrototypeId, String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = ? and companyId = ?.- Parameters:
layoutSetPrototypeId
- the primary key of the current layout set prototypeuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout set prototype
- Throws:
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
-
filterFindByUuid_C
Returns all the layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching layout set prototypes that the user has permission to view
-
filterFindByUuid_C
Returns a range of all the layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)- Returns:
- the range of matching layout set prototypes that the user has permission to view
-
filterFindByUuid_C
List<LayoutSetPrototype> filterFindByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout set prototypes that the user has permission to view
-
filterFindByUuid_C_PrevAndNext
LayoutSetPrototype[] filterFindByUuid_C_PrevAndNext(long layoutSetPrototypeId, String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
layoutSetPrototypeId
- the primary key of the current layout set prototypeuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout set prototype
- Throws:
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
-
removeByUuid_C
Removes all the layout set prototypes where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of layout set prototypes where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching layout set prototypes
-
filterCountByUuid_C
Returns the number of layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching layout set prototypes that the user has permission to view
-
findByCompanyId
Returns all the layout set prototypes where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching layout set prototypes
-
findByCompanyId
Returns a range of all the layout set prototypes where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)- Returns:
- the range of matching layout set prototypes
-
findByCompanyId
List<LayoutSetPrototype> findByCompanyId(long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout set prototypes
-
findByCompanyId
List<LayoutSetPrototype> findByCompanyId(long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout set prototypes where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout set prototypes
-
findByCompanyId_First
LayoutSetPrototype findByCompanyId_First(long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException Returns the first layout set prototype in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout set prototype
- Throws:
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
-
fetchByCompanyId_First
LayoutSetPrototype fetchByCompanyId_First(long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout set prototype, or
null
if a matching layout set prototype could not be found
-
findByCompanyId_Last
LayoutSetPrototype findByCompanyId_Last(long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException Returns the last layout set prototype in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout set prototype
- Throws:
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
-
fetchByCompanyId_Last
LayoutSetPrototype fetchByCompanyId_Last(long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the last layout set prototype in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout set prototype, or
null
if a matching layout set prototype could not be found
-
findByCompanyId_PrevAndNext
LayoutSetPrototype[] findByCompanyId_PrevAndNext(long layoutSetPrototypeId, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ?.- Parameters:
layoutSetPrototypeId
- the primary key of the current layout set prototypecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout set prototype
- Throws:
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
-
filterFindByCompanyId
Returns all the layout set prototypes that the user has permission to view where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching layout set prototypes that the user has permission to view
-
filterFindByCompanyId
Returns a range of all the layout set prototypes that the user has permission to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)- Returns:
- the range of matching layout set prototypes that the user has permission to view
-
filterFindByCompanyId
List<LayoutSetPrototype> filterFindByCompanyId(long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout set prototypes that the user has permission to view
-
filterFindByCompanyId_PrevAndNext
LayoutSetPrototype[] filterFindByCompanyId_PrevAndNext(long layoutSetPrototypeId, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where companyId = ?.- Parameters:
layoutSetPrototypeId
- the primary key of the current layout set prototypecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout set prototype
- Throws:
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the layout set prototypes where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of layout set prototypes where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching layout set prototypes
-
filterCountByCompanyId
int filterCountByCompanyId(long companyId) Returns the number of layout set prototypes that the user has permission to view where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching layout set prototypes that the user has permission to view
-
findByC_A
Returns all the layout set prototypes where companyId = ? and active = ?.- Parameters:
companyId
- the company IDactive
- the active- Returns:
- the matching layout set prototypes
-
findByC_A
Returns a range of all the layout set prototypes where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)- Returns:
- the range of matching layout set prototypes
-
findByC_A
List<LayoutSetPrototype> findByC_A(long companyId, boolean active, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout set prototypes
-
findByC_A
List<LayoutSetPrototype> findByC_A(long companyId, boolean active, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout set prototypes where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout set prototypes
-
findByC_A_First
LayoutSetPrototype findByC_A_First(long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.- Parameters:
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout set prototype
- Throws:
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
-
fetchByC_A_First
LayoutSetPrototype fetchByC_A_First(long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.- Parameters:
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout set prototype, or
null
if a matching layout set prototype could not be found
-
findByC_A_Last
LayoutSetPrototype findByC_A_Last(long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException Returns the last layout set prototype in the ordered set where companyId = ? and active = ?.- Parameters:
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout set prototype
- Throws:
NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be found
-
fetchByC_A_Last
LayoutSetPrototype fetchByC_A_Last(long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the last layout set prototype in the ordered set where companyId = ? and active = ?.- Parameters:
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout set prototype, or
null
if a matching layout set prototype could not be found
-
findByC_A_PrevAndNext
LayoutSetPrototype[] findByC_A_PrevAndNext(long layoutSetPrototypeId, long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ? and active = ?.- Parameters:
layoutSetPrototypeId
- the primary key of the current layout set prototypecompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout set prototype
- Throws:
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
-
filterFindByC_A
Returns all the layout set prototypes that the user has permission to view where companyId = ? and active = ?.- Parameters:
companyId
- the company IDactive
- the active- Returns:
- the matching layout set prototypes that the user has permission to view
-
filterFindByC_A
Returns a range of all the layout set prototypes that the user has permission to view where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)- Returns:
- the range of matching layout set prototypes that the user has permission to view
-
filterFindByC_A
List<LayoutSetPrototype> filterFindByC_A(long companyId, boolean active, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout set prototypes that the user has permission to view
-
filterFindByC_A_PrevAndNext
LayoutSetPrototype[] filterFindByC_A_PrevAndNext(long layoutSetPrototypeId, long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where companyId = ? and active = ?.- Parameters:
layoutSetPrototypeId
- the primary key of the current layout set prototypecompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout set prototype
- Throws:
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
-
removeByC_A
void removeByC_A(long companyId, boolean active) Removes all the layout set prototypes where companyId = ? and active = ? from the database.- Parameters:
companyId
- the company IDactive
- the active
-
countByC_A
int countByC_A(long companyId, boolean active) Returns the number of layout set prototypes where companyId = ? and active = ?.- Parameters:
companyId
- the company IDactive
- the active- Returns:
- the number of matching layout set prototypes
-
filterCountByC_A
int filterCountByC_A(long companyId, boolean active) Returns the number of layout set prototypes that the user has permission to view where companyId = ? and active = ?.- Parameters:
companyId
- the company IDactive
- the active- Returns:
- the number of matching layout set prototypes that the user has permission to view
-
cacheResult
Caches the layout set prototype in the entity cache if it is enabled.- Parameters:
layoutSetPrototype
- the layout set prototype
-
cacheResult
Caches the layout set prototypes in the entity cache if it is enabled.- Parameters:
layoutSetPrototypes
- the layout set prototypes
-
create
Creates a new layout set prototype with the primary key. Does not add the layout set prototype to the database.- Parameters:
layoutSetPrototypeId
- the primary key for the new layout set prototype- Returns:
- the new layout set prototype
-
remove
Removes the layout set prototype with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
layoutSetPrototypeId
- the primary key of the layout set prototype- Returns:
- the layout set prototype that was removed
- Throws:
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
LayoutSetPrototype findByPrimaryKey(long layoutSetPrototypeId) throws NoSuchLayoutSetPrototypeException Returns the layout set prototype with the primary key or throws aNoSuchLayoutSetPrototypeException
if it could not be found.- Parameters:
layoutSetPrototypeId
- the primary key of the layout set prototype- Returns:
- the layout set prototype
- Throws:
NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be found
-
fetchByPrimaryKey
Returns the layout set prototype with the primary key or returnsnull
if it could not be found.- Parameters:
layoutSetPrototypeId
- the primary key of the layout set prototype- Returns:
- the layout set prototype, or
null
if a layout set prototype with the primary key could not be found
-
findAll
List<LayoutSetPrototype> findAll()Returns all the layout set prototypes.- Returns:
- the layout set prototypes
-
findAll
Returns a range of all the layout set prototypes.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
start
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)- Returns:
- the range of layout set prototypes
-
findAll
List<LayoutSetPrototype> findAll(int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
start
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of layout set prototypes
-
findAll
List<LayoutSetPrototype> findAll(int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout set prototypes.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl
.- Parameters:
start
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of layout set prototypes
-
removeAll
void removeAll()Removes all the layout set prototypes from the database. -
countAll
int countAll()Returns the number of layout set prototypes.- Returns:
- the number of layout set prototypes
-