Class SXPBlueprintUtil
com.liferay.search.experiences.service.persistence.impl.SXPBlueprintPersistenceImpl 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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(SXPBlueprint sxpBlueprint) Caches the sxp blueprint in the entity cache if it is enabled.static voidcacheResult(List<SXPBlueprint> sxpBlueprints) Caches the sxp blueprints in the entity cache if it is enabled.static voidstatic voidclearCache(SXPBlueprint sxpBlueprint) static intcountAll()Returns the number of sxp blueprints.static intcountByCompanyId(long companyId) Returns the number of sxp blueprints where companyId = ?.static intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of sxp blueprints where externalReferenceCode = ? and companyId = ?.static intcountByUuid(String uuid) Returns the number of sxp blueprints where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of sxp blueprints where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static SXPBlueprintcreate(long sxpBlueprintId) Creates a new sxp blueprint with the primary key.static SXPBlueprintfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the first sxp blueprint in the ordered set where companyId = ?.static SXPBlueprintfetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the last sxp blueprint in the ordered set where companyId = ?.static SXPBlueprintfetchByERC_C(String externalReferenceCode, long companyId) Returns the sxp blueprint where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.static SXPBlueprintfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the sxp blueprint where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.static SXPBlueprintfetchByPrimaryKey(long sxpBlueprintId) Returns the sxp blueprint with the primary key or returnsnullif it could not be found.static Map<Serializable, SXPBlueprint> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static SXPBlueprintfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the first sxp blueprint in the ordered set where uuid = ? and companyId = ?.static SXPBlueprintfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the last sxp blueprint in the ordered set where uuid = ? and companyId = ?.static SXPBlueprintfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the first sxp blueprint in the ordered set where uuid = ?.static SXPBlueprintfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the last sxp blueprint in the ordered set where uuid = ?.static intfilterCountByCompanyId(long companyId) Returns the number of sxp blueprints that the user has permission to view where companyId = ?.static intfilterCountByUuid(String uuid) Returns the number of sxp blueprints that the user has permission to view where uuid = ?.static intfilterCountByUuid_C(String uuid, long companyId) Returns the number of sxp blueprints that the user has permission to view where uuid = ? and companyId = ?.static List<SXPBlueprint> filterFindByCompanyId(long companyId) Returns all the sxp blueprints that the user has permission to view where companyId = ?.static List<SXPBlueprint> filterFindByCompanyId(long companyId, int start, int end) Returns a range of all the sxp blueprints that the user has permission to view where companyId = ?.static List<SXPBlueprint> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns an ordered range of all the sxp blueprints that the user has permissions to view where companyId = ?.static SXPBlueprint[]filterFindByCompanyId_PrevAndNext(long sxpBlueprintId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the sxp blueprints before and after the current sxp blueprint in the ordered set of sxp blueprints that the user has permission to view where companyId = ?.static List<SXPBlueprint> filterFindByUuid(String uuid) Returns all the sxp blueprints that the user has permission to view where uuid = ?.static List<SXPBlueprint> filterFindByUuid(String uuid, int start, int end) Returns a range of all the sxp blueprints that the user has permission to view where uuid = ?.static List<SXPBlueprint> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns an ordered range of all the sxp blueprints that the user has permissions to view where uuid = ?.static List<SXPBlueprint> filterFindByUuid_C(String uuid, long companyId) Returns all the sxp blueprints that the user has permission to view where uuid = ? and companyId = ?.static List<SXPBlueprint> filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the sxp blueprints that the user has permission to view where uuid = ? and companyId = ?.static List<SXPBlueprint> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns an ordered range of all the sxp blueprints that the user has permissions to view where uuid = ? and companyId = ?.static SXPBlueprint[]filterFindByUuid_C_PrevAndNext(long sxpBlueprintId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the sxp blueprints before and after the current sxp blueprint in the ordered set of sxp blueprints that the user has permission to view where uuid = ? and companyId = ?.static SXPBlueprint[]filterFindByUuid_PrevAndNext(long sxpBlueprintId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the sxp blueprints before and after the current sxp blueprint in the ordered set of sxp blueprints that the user has permission to view where uuid = ?.static List<SXPBlueprint> findAll()Returns all the sxp blueprints.static List<SXPBlueprint> findAll(int start, int end) Returns a range of all the sxp blueprints.static List<SXPBlueprint> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns an ordered range of all the sxp blueprints.static List<SXPBlueprint> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sxp blueprints.static List<SXPBlueprint> findByCompanyId(long companyId) Returns all the sxp blueprints where companyId = ?.static List<SXPBlueprint> findByCompanyId(long companyId, int start, int end) Returns a range of all the sxp blueprints where companyId = ?.static List<SXPBlueprint> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns an ordered range of all the sxp blueprints where companyId = ?.static List<SXPBlueprint> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sxp blueprints where companyId = ?.static SXPBlueprintfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the first sxp blueprint in the ordered set where companyId = ?.static SXPBlueprintfindByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the last sxp blueprint in the ordered set where companyId = ?.static SXPBlueprint[]findByCompanyId_PrevAndNext(long sxpBlueprintId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the sxp blueprints before and after the current sxp blueprint in the ordered set where companyId = ?.static SXPBlueprintfindByERC_C(String externalReferenceCode, long companyId) Returns the sxp blueprint where externalReferenceCode = ? and companyId = ? or throws aNoSuchSXPBlueprintExceptionif it could not be found.static SXPBlueprintfindByPrimaryKey(long sxpBlueprintId) Returns the sxp blueprint with the primary key or throws aNoSuchSXPBlueprintExceptionif it could not be found.static List<SXPBlueprint> findByUuid(String uuid) Returns all the sxp blueprints where uuid = ?.static List<SXPBlueprint> findByUuid(String uuid, int start, int end) Returns a range of all the sxp blueprints where uuid = ?.static List<SXPBlueprint> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns an ordered range of all the sxp blueprints where uuid = ?.static List<SXPBlueprint> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sxp blueprints where uuid = ?.static List<SXPBlueprint> findByUuid_C(String uuid, long companyId) Returns all the sxp blueprints where uuid = ? and companyId = ?.static List<SXPBlueprint> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the sxp blueprints where uuid = ? and companyId = ?.static List<SXPBlueprint> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns an ordered range of all the sxp blueprints where uuid = ? and companyId = ?.static List<SXPBlueprint> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sxp blueprints where uuid = ? and companyId = ?.static SXPBlueprintfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the first sxp blueprint in the ordered set where uuid = ? and companyId = ?.static SXPBlueprintfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the last sxp blueprint in the ordered set where uuid = ? and companyId = ?.static SXPBlueprint[]findByUuid_C_PrevAndNext(long sxpBlueprintId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the sxp blueprints before and after the current sxp blueprint in the ordered set where uuid = ? and companyId = ?.static SXPBlueprintfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the first sxp blueprint in the ordered set where uuid = ?.static SXPBlueprintfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the last sxp blueprint in the ordered set where uuid = ?.static SXPBlueprint[]findByUuid_PrevAndNext(long sxpBlueprintId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the sxp blueprints before and after the current sxp blueprint in the ordered set where uuid = ?.static List<SXPBlueprint> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<SXPBlueprint> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<SXPBlueprint> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) static SXPBlueprintPersistencestatic SXPBlueprintremove(long sxpBlueprintId) Removes the sxp blueprint with the primary key from the database.static voidRemoves all the sxp blueprints from the database.static voidremoveByCompanyId(long companyId) Removes all the sxp blueprints where companyId = ? from the database.static SXPBlueprintremoveByERC_C(String externalReferenceCode, long companyId) Removes the sxp blueprint where externalReferenceCode = ? and companyId = ? from the database.static voidremoveByUuid(String uuid) Removes all the sxp blueprints where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the sxp blueprints where uuid = ? and companyId = ? from the database.static voidsetPersistence(SXPBlueprintPersistence persistence) static SXPBlueprintupdate(SXPBlueprint sxpBlueprint) static SXPBlueprintupdate(SXPBlueprint sxpBlueprint, com.liferay.portal.kernel.service.ServiceContext serviceContext) static SXPBlueprintupdateImpl(SXPBlueprint sxpBlueprint)
-
Constructor Details
-
SXPBlueprintUtil
public SXPBlueprintUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
public static List<SXPBlueprint> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<SXPBlueprint> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<SXPBlueprint> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static SXPBlueprint update(SXPBlueprint sxpBlueprint, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByUuid
Returns all the sxp blueprints where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching sxp blueprints
-
findByUuid
Returns a range of all the sxp blueprints 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPBlueprintModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of sxp blueprintsend- the upper bound of the range of sxp blueprints (not inclusive)- Returns:
- the range of matching sxp blueprints
-
findByUuid
public static List<SXPBlueprint> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns an ordered range of all the sxp blueprints 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPBlueprintModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of sxp blueprintsend- the upper bound of the range of sxp blueprints (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching sxp blueprints
-
findByUuid
public static List<SXPBlueprint> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sxp blueprints 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPBlueprintModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of sxp blueprintsend- the upper bound of the range of sxp blueprints (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching sxp blueprints
-
findByUuid_First
public static SXPBlueprint findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException Returns the first sxp blueprint in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching sxp blueprint
-
fetchByUuid_First
public static SXPBlueprint fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the first sxp blueprint in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching sxp blueprint, or
nullif a matching sxp blueprint could not be found
-
findByUuid_Last
public static SXPBlueprint findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException Returns the last sxp blueprint in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching sxp blueprint
-
fetchByUuid_Last
public static SXPBlueprint fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the last sxp blueprint in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching sxp blueprint, or
nullif a matching sxp blueprint could not be found
-
findByUuid_PrevAndNext
public static SXPBlueprint[] findByUuid_PrevAndNext(long sxpBlueprintId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException Returns the sxp blueprints before and after the current sxp blueprint in the ordered set where uuid = ?.- Parameters:
sxpBlueprintId- the primary key of the current sxp blueprintuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next sxp blueprint
-
filterFindByUuid
Returns all the sxp blueprints that the user has permission to view where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching sxp blueprints that the user has permission to view
-
filterFindByUuid
Returns a range of all the sxp blueprints 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPBlueprintModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of sxp blueprintsend- the upper bound of the range of sxp blueprints (not inclusive)- Returns:
- the range of matching sxp blueprints that the user has permission to view
-
filterFindByUuid
public static List<SXPBlueprint> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns an ordered range of all the sxp blueprints 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPBlueprintModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of sxp blueprintsend- the upper bound of the range of sxp blueprints (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching sxp blueprints that the user has permission to view
-
filterFindByUuid_PrevAndNext
public static SXPBlueprint[] filterFindByUuid_PrevAndNext(long sxpBlueprintId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException Returns the sxp blueprints before and after the current sxp blueprint in the ordered set of sxp blueprints that the user has permission to view where uuid = ?.- Parameters:
sxpBlueprintId- the primary key of the current sxp blueprintuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next sxp blueprint
-
removeByUuid
Removes all the sxp blueprints where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of sxp blueprints where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching sxp blueprints
-
filterCountByUuid
Returns the number of sxp blueprints that the user has permission to view where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching sxp blueprints that the user has permission to view
-
findByUuid_C
Returns all the sxp blueprints where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching sxp blueprints
-
findByUuid_C
Returns a range of all the sxp blueprints 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPBlueprintModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of sxp blueprintsend- the upper bound of the range of sxp blueprints (not inclusive)- Returns:
- the range of matching sxp blueprints
-
findByUuid_C
public static List<SXPBlueprint> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns an ordered range of all the sxp blueprints 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPBlueprintModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of sxp blueprintsend- the upper bound of the range of sxp blueprints (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching sxp blueprints
-
findByUuid_C
public static List<SXPBlueprint> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sxp blueprints 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPBlueprintModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of sxp blueprintsend- the upper bound of the range of sxp blueprints (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching sxp blueprints
-
findByUuid_C_First
public static SXPBlueprint findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException Returns the first sxp blueprint 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 sxp blueprint
-
fetchByUuid_C_First
public static SXPBlueprint fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the first sxp blueprint 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 sxp blueprint, or
nullif a matching sxp blueprint could not be found
-
findByUuid_C_Last
public static SXPBlueprint findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException Returns the last sxp blueprint 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 sxp blueprint
-
fetchByUuid_C_Last
public static SXPBlueprint fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the last sxp blueprint 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 sxp blueprint, or
nullif a matching sxp blueprint could not be found
-
findByUuid_C_PrevAndNext
public static SXPBlueprint[] findByUuid_C_PrevAndNext(long sxpBlueprintId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException Returns the sxp blueprints before and after the current sxp blueprint in the ordered set where uuid = ? and companyId = ?.- Parameters:
sxpBlueprintId- the primary key of the current sxp blueprintuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next sxp blueprint
-
filterFindByUuid_C
Returns all the sxp blueprints that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching sxp blueprints that the user has permission to view
-
filterFindByUuid_C
public static List<SXPBlueprint> filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the sxp blueprints 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPBlueprintModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of sxp blueprintsend- the upper bound of the range of sxp blueprints (not inclusive)- Returns:
- the range of matching sxp blueprints that the user has permission to view
-
filterFindByUuid_C
public static List<SXPBlueprint> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns an ordered range of all the sxp blueprints 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPBlueprintModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of sxp blueprintsend- the upper bound of the range of sxp blueprints (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching sxp blueprints that the user has permission to view
-
filterFindByUuid_C_PrevAndNext
public static SXPBlueprint[] filterFindByUuid_C_PrevAndNext(long sxpBlueprintId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException Returns the sxp blueprints before and after the current sxp blueprint in the ordered set of sxp blueprints that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
sxpBlueprintId- the primary key of the current sxp blueprintuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next sxp blueprint
-
removeByUuid_C
Removes all the sxp blueprints where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of sxp blueprints where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching sxp blueprints
-
filterCountByUuid_C
Returns the number of sxp blueprints that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching sxp blueprints that the user has permission to view
-
findByCompanyId
Returns all the sxp blueprints where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching sxp blueprints
-
findByCompanyId
Returns a range of all the sxp blueprints 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPBlueprintModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of sxp blueprintsend- the upper bound of the range of sxp blueprints (not inclusive)- Returns:
- the range of matching sxp blueprints
-
findByCompanyId
public static List<SXPBlueprint> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns an ordered range of all the sxp blueprints 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPBlueprintModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of sxp blueprintsend- the upper bound of the range of sxp blueprints (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching sxp blueprints
-
findByCompanyId
public static List<SXPBlueprint> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sxp blueprints 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPBlueprintModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of sxp blueprintsend- the upper bound of the range of sxp blueprints (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching sxp blueprints
-
findByCompanyId_First
public static SXPBlueprint findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException Returns the first sxp blueprint in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching sxp blueprint
-
fetchByCompanyId_First
public static SXPBlueprint fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the first sxp blueprint in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching sxp blueprint, or
nullif a matching sxp blueprint could not be found
-
findByCompanyId_Last
public static SXPBlueprint findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException Returns the last sxp blueprint in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching sxp blueprint
-
fetchByCompanyId_Last
public static SXPBlueprint fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns the last sxp blueprint in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching sxp blueprint, or
nullif a matching sxp blueprint could not be found
-
findByCompanyId_PrevAndNext
public static SXPBlueprint[] findByCompanyId_PrevAndNext(long sxpBlueprintId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException Returns the sxp blueprints before and after the current sxp blueprint in the ordered set where companyId = ?.- Parameters:
sxpBlueprintId- the primary key of the current sxp blueprintcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next sxp blueprint
-
filterFindByCompanyId
Returns all the sxp blueprints that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching sxp blueprints that the user has permission to view
-
filterFindByCompanyId
Returns a range of all the sxp blueprints 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPBlueprintModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of sxp blueprintsend- the upper bound of the range of sxp blueprints (not inclusive)- Returns:
- the range of matching sxp blueprints that the user has permission to view
-
filterFindByCompanyId
public static List<SXPBlueprint> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns an ordered range of all the sxp blueprints 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPBlueprintModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of sxp blueprintsend- the upper bound of the range of sxp blueprints (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching sxp blueprints that the user has permission to view
-
filterFindByCompanyId_PrevAndNext
public static SXPBlueprint[] filterFindByCompanyId_PrevAndNext(long sxpBlueprintId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException Returns the sxp blueprints before and after the current sxp blueprint in the ordered set of sxp blueprints that the user has permission to view where companyId = ?.- Parameters:
sxpBlueprintId- the primary key of the current sxp blueprintcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next sxp blueprint
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the sxp blueprints where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of sxp blueprints where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching sxp blueprints
-
filterCountByCompanyId
public static int filterCountByCompanyId(long companyId) Returns the number of sxp blueprints that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching sxp blueprints that the user has permission to view
-
findByERC_C
public static SXPBlueprint findByERC_C(String externalReferenceCode, long companyId) throws NoSuchSXPBlueprintException Returns the sxp blueprint where externalReferenceCode = ? and companyId = ? or throws aNoSuchSXPBlueprintExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching sxp blueprint
-
fetchByERC_C
Returns the sxp blueprint where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching sxp blueprint, or
nullif a matching sxp blueprint could not be found
-
fetchByERC_C
public static SXPBlueprint fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the sxp blueprint where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDuseFinderCache- whether to use the finder cache- Returns:
- the matching sxp blueprint, or
nullif a matching sxp blueprint could not be found
-
removeByERC_C
public static SXPBlueprint removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchSXPBlueprintException Removes the sxp blueprint where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the sxp blueprint that was removed
- Throws:
NoSuchSXPBlueprintException
-
countByERC_C
Returns the number of sxp blueprints where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching sxp blueprints
-
cacheResult
Caches the sxp blueprint in the entity cache if it is enabled.- Parameters:
sxpBlueprint- the sxp blueprint
-
cacheResult
Caches the sxp blueprints in the entity cache if it is enabled.- Parameters:
sxpBlueprints- the sxp blueprints
-
create
Creates a new sxp blueprint with the primary key. Does not add the sxp blueprint to the database.- Parameters:
sxpBlueprintId- the primary key for the new sxp blueprint- Returns:
- the new sxp blueprint
-
remove
Removes the sxp blueprint with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
sxpBlueprintId- the primary key of the sxp blueprint- Returns:
- the sxp blueprint that was removed
-
updateImpl
-
findByPrimaryKey
Returns the sxp blueprint with the primary key or throws aNoSuchSXPBlueprintExceptionif it could not be found.- Parameters:
sxpBlueprintId- the primary key of the sxp blueprint- Returns:
- the sxp blueprint
-
fetchByPrimaryKey
Returns the sxp blueprint with the primary key or returnsnullif it could not be found.- Parameters:
sxpBlueprintId- the primary key of the sxp blueprint- Returns:
- the sxp blueprint, or
nullif a sxp blueprint with the primary key could not be found
-
findAll
Returns all the sxp blueprints.- Returns:
- the sxp blueprints
-
findAll
Returns a range of all the sxp blueprints.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPBlueprintModelImpl.- Parameters:
start- the lower bound of the range of sxp blueprintsend- the upper bound of the range of sxp blueprints (not inclusive)- Returns:
- the range of sxp blueprints
-
findAll
public static List<SXPBlueprint> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) Returns an ordered range of all the sxp blueprints.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPBlueprintModelImpl.- Parameters:
start- the lower bound of the range of sxp blueprintsend- the upper bound of the range of sxp blueprints (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of sxp blueprints
-
findAll
public static List<SXPBlueprint> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sxp blueprints.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPBlueprintModelImpl.- Parameters:
start- the lower bound of the range of sxp blueprintsend- the upper bound of the range of sxp blueprints (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of sxp blueprints
-
removeAll
public static void removeAll()Removes all the sxp blueprints from the database. -
countAll
public static int countAll()Returns the number of sxp blueprints.- Returns:
- the number of sxp blueprints
-
getPersistence
-
setPersistence
-