Class SXPBlueprintUtil

java.lang.Object
com.liferay.search.experiences.service.persistence.SXPBlueprintUtil

public class SXPBlueprintUtil extends Object
The persistence utility for the sxp blueprint service. This utility wraps 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 Details

    • SXPBlueprintUtil

      public SXPBlueprintUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(SXPBlueprint sxpBlueprint)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,SXPBlueprint> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<SXPBlueprint> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<SXPBlueprint> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • 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:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static SXPBlueprint update(SXPBlueprint sxpBlueprint)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static SXPBlueprint update(SXPBlueprint sxpBlueprint, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<SXPBlueprint> findByUuid(String uuid)
      Returns all the sxp blueprints where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching sxp blueprints
    • findByUuid

      public static List<SXPBlueprint> findByUuid(String uuid, int start, int end)
      Returns a range of all the sxp blueprints where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SXPBlueprintModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of sxp blueprints
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SXPBlueprintModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of sxp blueprints
      end - the upper bound of the range of sxp blueprints (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SXPBlueprintModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of sxp blueprints
      end - the upper bound of the range of sxp blueprints (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching sxp blueprint, or null if 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching sxp blueprint, or null if 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 blueprint
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sxp blueprint
    • filterFindByUuid

      public static List<SXPBlueprint> filterFindByUuid(String uuid)
      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

      public 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SXPBlueprintModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of sxp blueprints
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SXPBlueprintModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of sxp blueprints
      end - the upper bound of the range of sxp blueprints (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 blueprint
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sxp blueprint
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the sxp blueprints where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of sxp blueprints where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching sxp blueprints
    • filterCountByUuid

      public static int filterCountByUuid(String uuid)
      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

      public static List<SXPBlueprint> findByUuid_C(String uuid, long companyId)
      Returns all the sxp blueprints where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching sxp blueprints
    • findByUuid_C

      public 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SXPBlueprintModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of sxp blueprints
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SXPBlueprintModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of sxp blueprints
      end - the upper bound of the range of sxp blueprints (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SXPBlueprintModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of sxp blueprints
      end - the upper bound of the range of sxp blueprints (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching sxp blueprint, or null if 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching sxp blueprint, or null if 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 blueprint
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sxp blueprint
    • filterFindByUuid_C

      public 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 = ?.
      Parameters:
      uuid - the uuid
      companyId - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SXPBlueprintModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of sxp blueprints
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SXPBlueprintModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of sxp blueprints
      end - the upper bound of the range of sxp blueprints (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 blueprint
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sxp blueprint
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the sxp blueprints where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of sxp blueprints where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching sxp blueprints
    • filterCountByUuid_C

      public static int filterCountByUuid_C(String uuid, long companyId)
      Returns the number of sxp blueprints that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching sxp blueprints that the user has permission to view
    • findByCompanyId

      public static List<SXPBlueprint> findByCompanyId(long companyId)
      Returns all the sxp blueprints where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching sxp blueprints
    • findByCompanyId

      public static List<SXPBlueprint> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the sxp blueprints where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SXPBlueprintModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of sxp blueprints
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SXPBlueprintModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of sxp blueprints
      end - the upper bound of the range of sxp blueprints (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SXPBlueprintModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of sxp blueprints
      end - the upper bound of the range of sxp blueprints (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching sxp blueprint, or null if 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching sxp blueprint, or null if 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 blueprint
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sxp blueprint
    • filterFindByCompanyId

      public static List<SXPBlueprint> filterFindByCompanyId(long companyId)
      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

      public 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SXPBlueprintModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of sxp blueprints
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SXPBlueprintModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of sxp blueprints
      end - the upper bound of the range of sxp blueprints (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 blueprint
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 a NoSuchSXPBlueprintException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching sxp blueprint
    • fetchByERC_C

      public static SXPBlueprint fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the sxp blueprint where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching sxp blueprint, or null if 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching sxp blueprint, or null if 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 code
      companyId - the company ID
      Returns:
      the sxp blueprint that was removed
      Throws:
      NoSuchSXPBlueprintException
    • countByERC_C

      public static int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of sxp blueprints where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching sxp blueprints
    • cacheResult

      public static void cacheResult(SXPBlueprint sxpBlueprint)
      Caches the sxp blueprint in the entity cache if it is enabled.
      Parameters:
      sxpBlueprint - the sxp blueprint
    • cacheResult

      public static void cacheResult(List<SXPBlueprint> sxpBlueprints)
      Caches the sxp blueprints in the entity cache if it is enabled.
      Parameters:
      sxpBlueprints - the sxp blueprints
    • create

      public static SXPBlueprint create(long sxpBlueprintId)
      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

      public static SXPBlueprint remove(long sxpBlueprintId) throws NoSuchSXPBlueprintException
      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

      public static SXPBlueprint updateImpl(SXPBlueprint sxpBlueprint)
    • findByPrimaryKey

      public static SXPBlueprint findByPrimaryKey(long sxpBlueprintId) throws NoSuchSXPBlueprintException
      Returns the sxp blueprint with the primary key or throws a NoSuchSXPBlueprintException if it could not be found.
      Parameters:
      sxpBlueprintId - the primary key of the sxp blueprint
      Returns:
      the sxp blueprint
    • fetchByPrimaryKey

      public static SXPBlueprint fetchByPrimaryKey(long sxpBlueprintId)
      Returns the sxp blueprint with the primary key or returns null if it could not be found.
      Parameters:
      sxpBlueprintId - the primary key of the sxp blueprint
      Returns:
      the sxp blueprint, or null if a sxp blueprint with the primary key could not be found
    • findAll

      public static List<SXPBlueprint> findAll()
      Returns all the sxp blueprints.
      Returns:
      the sxp blueprints
    • findAll

      public static List<SXPBlueprint> findAll(int start, int end)
      Returns a range of all the sxp blueprints.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SXPBlueprintModelImpl.

      Parameters:
      start - the lower bound of the range of sxp blueprints
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SXPBlueprintModelImpl.

      Parameters:
      start - the lower bound of the range of sxp blueprints
      end - the upper bound of the range of sxp blueprints (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SXPBlueprintModelImpl.

      Parameters:
      start - the lower bound of the range of sxp blueprints
      end - the upper bound of the range of sxp blueprints (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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

      public static SXPBlueprintPersistence getPersistence()
    • setPersistence

      public static void setPersistence(SXPBlueprintPersistence persistence)