Class LayoutSetPrototypeUtil
com.liferay.portal.service.persistence.impl.LayoutSetPrototypePersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(LayoutSetPrototype layoutSetPrototype) Caches the layout set prototype in the entity cache if it is enabled.static voidcacheResult(List<LayoutSetPrototype> layoutSetPrototypes) Caches the layout set prototypes in the entity cache if it is enabled.static voidstatic voidclearCache(LayoutSetPrototype layoutSetPrototype) static intcountAll()Returns the number of layout set prototypes.static intcountByC_A(long companyId, boolean active) Returns the number of layout set prototypes where companyId = ? and active = ?.static intcountByCompanyId(long companyId) Returns the number of layout set prototypes where companyId = ?.static intcountByUuid(String uuid) Returns the number of layout set prototypes where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of layout set prototypes where uuid = ? and companyId = ?.static longcountWithDynamicQuery(DynamicQuery dynamicQuery) static LayoutSetPrototypecreate(long layoutSetPrototypeId) Creates a new layout set prototype with the primary key.static LayoutSetPrototypefetchByC_A_First(long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.static LayoutSetPrototypefetchByCompanyId_First(long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where companyId = ?.static LayoutSetPrototypefetchByPrimaryKey(long layoutSetPrototypeId) Returns the layout set prototype with the primary key or returnsnullif it could not be found.static Map<Serializable, LayoutSetPrototype> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static LayoutSetPrototypefetchByUuid_C_First(String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.static LayoutSetPrototypefetchByUuid_First(String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where uuid = ?.static intfilterCountByC_A(long companyId, boolean active) Returns the number of layout set prototypes that the user has permission to view where companyId = ? and active = ?.static intfilterCountByCompanyId(long companyId) Returns the number of layout set prototypes that the user has permission to view where companyId = ?.static intfilterCountByUuid(String uuid) Returns the number of layout set prototypes that the user has permission to view where uuid = ?.static intfilterCountByUuid_C(String uuid, long companyId) Returns the number of layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.static List<LayoutSetPrototype> filterFindByC_A(long companyId, boolean active) Returns all the layout set prototypes that the user has permission to view where companyId = ? and active = ?.static List<LayoutSetPrototype> 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 = ?.static 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 = ?.static List<LayoutSetPrototype> filterFindByCompanyId(long companyId) Returns all the layout set prototypes that the user has permission to view where companyId = ?.static List<LayoutSetPrototype> 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 = ?.static 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 = ?.static List<LayoutSetPrototype> filterFindByUuid(String uuid) Returns all the layout set prototypes that the user has permission to view where uuid = ?.static List<LayoutSetPrototype> 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 = ?.static 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 = ?.static List<LayoutSetPrototype> filterFindByUuid_C(String uuid, long companyId) Returns all the layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.static List<LayoutSetPrototype> 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 = ?.static 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 = ?.static List<LayoutSetPrototype> findAll()Returns all the layout set prototypes.static List<LayoutSetPrototype> findAll(int start, int end) Returns a range of all the layout set prototypes.static List<LayoutSetPrototype> findAll(int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes.static List<LayoutSetPrototype> findAll(int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout set prototypes.static List<LayoutSetPrototype> findByC_A(long companyId, boolean active) Returns all the layout set prototypes where companyId = ? and active = ?.static List<LayoutSetPrototype> findByC_A(long companyId, boolean active, int start, int end) Returns a range of all the layout set prototypes where companyId = ? and active = ?.static 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 = ?.static 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 = ?.static LayoutSetPrototypefindByC_A_First(long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.static List<LayoutSetPrototype> findByCompanyId(long companyId) Returns all the layout set prototypes where companyId = ?.static List<LayoutSetPrototype> findByCompanyId(long companyId, int start, int end) Returns a range of all the layout set prototypes where companyId = ?.static List<LayoutSetPrototype> findByCompanyId(long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes where companyId = ?.static 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 = ?.static LayoutSetPrototypefindByCompanyId_First(long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where companyId = ?.static LayoutSetPrototypefindByPrimaryKey(long layoutSetPrototypeId) Returns the layout set prototype with the primary key or throws aNoSuchLayoutSetPrototypeExceptionif it could not be found.static List<LayoutSetPrototype> findByUuid(String uuid) Returns all the layout set prototypes where uuid = ?.static List<LayoutSetPrototype> findByUuid(String uuid, int start, int end) Returns a range of all the layout set prototypes where uuid = ?.static List<LayoutSetPrototype> findByUuid(String uuid, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes where uuid = ?.static 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 = ?.static List<LayoutSetPrototype> findByUuid_C(String uuid, long companyId) Returns all the layout set prototypes where uuid = ? and companyId = ?.static List<LayoutSetPrototype> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the layout set prototypes where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static LayoutSetPrototypefindByUuid_C_First(String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.static LayoutSetPrototypefindByUuid_First(String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where uuid = ?.static List<LayoutSetPrototype> findWithDynamicQuery(DynamicQuery dynamicQuery) static List<LayoutSetPrototype> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) static List<LayoutSetPrototype> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) static LayoutSetPrototyperemove(long layoutSetPrototypeId) Removes the layout set prototype with the primary key from the database.static voidRemoves all the layout set prototypes from the database.static voidremoveByC_A(long companyId, boolean active) Removes all the layout set prototypes where companyId = ? and active = ? from the database.static voidremoveByCompanyId(long companyId) Removes all the layout set prototypes where companyId = ? from the database.static voidremoveByUuid(String uuid) Removes all the layout set prototypes where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the layout set prototypes where uuid = ? and companyId = ? from the database.static voidsetPersistence(LayoutSetPrototypePersistence persistence) static LayoutSetPrototypeupdate(LayoutSetPrototype layoutSetPrototype) static LayoutSetPrototypeupdate(LayoutSetPrototype layoutSetPrototype, ServiceContext serviceContext) static LayoutSetPrototypeupdateImpl(LayoutSetPrototype layoutSetPrototype)
-
Constructor Details
-
LayoutSetPrototypeUtil
public LayoutSetPrototypeUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
- See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,LayoutSetPrototype> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
- See Also:
-
findWithDynamicQuery
public static List<LayoutSetPrototype> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<LayoutSetPrototype> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static LayoutSetPrototype update(LayoutSetPrototype layoutSetPrototype, ServiceContext serviceContext) - See Also:
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
public static 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
-
fetchByUuid_First
public static 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
nullif a matching layout set prototype 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
-
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
public static List<LayoutSetPrototype> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the layout set prototypes where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
public static 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
-
fetchByUuid_C_First
public static 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
nullif a matching layout set prototype 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
public static List<LayoutSetPrototype> 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
public static 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
-
fetchByCompanyId_First
public static 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
nullif a matching layout set prototype 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the layout set prototypes where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static 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
public static 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
public static List<LayoutSetPrototype> findByC_A(long companyId, boolean active, int start, int end) Returns a range of all the layout set prototypes where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
public static 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
-
fetchByC_A_First
public static 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
nullif a matching layout set prototype 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
public static List<LayoutSetPrototype> 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
-
removeByC_A
public static 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
public static 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
public static 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
public static LayoutSetPrototype remove(long layoutSetPrototypeId) throws NoSuchLayoutSetPrototypeException 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
-
updateImpl
-
findByPrimaryKey
public static LayoutSetPrototype findByPrimaryKey(long layoutSetPrototypeId) throws NoSuchLayoutSetPrototypeException Returns the layout set prototype with the primary key or throws aNoSuchLayoutSetPrototypeExceptionif it could not be found.- Parameters:
layoutSetPrototypeId- the primary key of the layout set prototype- Returns:
- the layout set prototype
-
fetchByPrimaryKey
Returns the layout set prototype with the primary key or returnsnullif it could not be found.- Parameters:
layoutSetPrototypeId- the primary key of the layout set prototype- Returns:
- the layout set prototype, or
nullif a layout set prototype with the primary key could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl.- 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
public static void removeAll()Removes all the layout set prototypes from the database. -
countAll
public static int countAll()Returns the number of layout set prototypes.- Returns:
- the number of layout set prototypes
-
getPersistence
-
setPersistence
-