Interface SXPElementPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<SXPElement>

@ProviderType public interface SXPElementPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<SXPElement>
The persistence interface for the sxp element service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(SXPElement sxpElement)
    Caches the sxp element in the entity cache if it is enabled.
    void
    cacheResult(List<SXPElement> sxpElements)
    Caches the sxp elements in the entity cache if it is enabled.
    int
    Returns the number of sxp elements.
    int
    countByC_R(long companyId, boolean readOnly)
    Returns the number of sxp elements where companyId = ? and readOnly = ?.
    int
    countByC_T(long companyId, int type)
    Returns the number of sxp elements where companyId = ? and type = ?.
    int
    countByC_T_S(long companyId, int type, int status)
    Returns the number of sxp elements where companyId = ? and type = ? and status = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of sxp elements where companyId = ?.
    int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of sxp elements where externalReferenceCode = ? and companyId = ?.
    int
    Returns the number of sxp elements where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of sxp elements where uuid = ? and companyId = ?.
    create(long sxpElementId)
    Creates a new sxp element with the primary key.
    fetchByC_R_First(long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the first sxp element in the ordered set where companyId = ? and readOnly = ?.
    fetchByC_R_Last(long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the last sxp element in the ordered set where companyId = ? and readOnly = ?.
    fetchByC_T_First(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the first sxp element in the ordered set where companyId = ? and type = ?.
    fetchByC_T_Last(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the last sxp element in the ordered set where companyId = ? and type = ?.
    fetchByC_T_S_First(long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the first sxp element in the ordered set where companyId = ? and type = ? and status = ?.
    fetchByC_T_S_Last(long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the last sxp element in the ordered set where companyId = ? and type = ? and status = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the first sxp element in the ordered set where companyId = ?.
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the last sxp element in the ordered set where companyId = ?.
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the sxp element where externalReferenceCode = ? and companyId = ? or returns null if it could not be found.
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the sxp element where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long sxpElementId)
    Returns the sxp element with the primary key or returns null if it could not be found.
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the first sxp element in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the last sxp element in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the first sxp element in the ordered set where uuid = ?.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the last sxp element in the ordered set where uuid = ?.
    int
    filterCountByC_R(long companyId, boolean readOnly)
    Returns the number of sxp elements that the user has permission to view where companyId = ? and readOnly = ?.
    int
    filterCountByC_T(long companyId, int type)
    Returns the number of sxp elements that the user has permission to view where companyId = ? and type = ?.
    int
    filterCountByC_T_S(long companyId, int type, int status)
    Returns the number of sxp elements that the user has permission to view where companyId = ? and type = ? and status = ?.
    int
    filterCountByCompanyId(long companyId)
    Returns the number of sxp elements that the user has permission to view where companyId = ?.
    int
    Returns the number of sxp elements that the user has permission to view where uuid = ?.
    int
    filterCountByUuid_C(String uuid, long companyId)
    Returns the number of sxp elements that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByC_R(long companyId, boolean readOnly)
    Returns all the sxp elements that the user has permission to view where companyId = ? and readOnly = ?.
    filterFindByC_R(long companyId, boolean readOnly, int start, int end)
    Returns a range of all the sxp elements that the user has permission to view where companyId = ? and readOnly = ?.
    filterFindByC_R(long companyId, boolean readOnly, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns an ordered range of all the sxp elements that the user has permissions to view where companyId = ? and readOnly = ?.
    filterFindByC_R_PrevAndNext(long sxpElementId, long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the sxp elements before and after the current sxp element in the ordered set of sxp elements that the user has permission to view where companyId = ? and readOnly = ?.
    filterFindByC_T(long companyId, int type)
    Returns all the sxp elements that the user has permission to view where companyId = ? and type = ?.
    filterFindByC_T(long companyId, int type, int start, int end)
    Returns a range of all the sxp elements that the user has permission to view where companyId = ? and type = ?.
    filterFindByC_T(long companyId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns an ordered range of all the sxp elements that the user has permissions to view where companyId = ? and type = ?.
    filterFindByC_T_PrevAndNext(long sxpElementId, long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the sxp elements before and after the current sxp element in the ordered set of sxp elements that the user has permission to view where companyId = ? and type = ?.
    filterFindByC_T_S(long companyId, int type, int status)
    Returns all the sxp elements that the user has permission to view where companyId = ? and type = ? and status = ?.
    filterFindByC_T_S(long companyId, int type, int status, int start, int end)
    Returns a range of all the sxp elements that the user has permission to view where companyId = ? and type = ? and status = ?.
    filterFindByC_T_S(long companyId, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns an ordered range of all the sxp elements that the user has permissions to view where companyId = ? and type = ? and status = ?.
    filterFindByC_T_S_PrevAndNext(long sxpElementId, long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the sxp elements before and after the current sxp element in the ordered set of sxp elements that the user has permission to view where companyId = ? and type = ? and status = ?.
    filterFindByCompanyId(long companyId)
    Returns all the sxp elements that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end)
    Returns a range of all the sxp elements that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns an ordered range of all the sxp elements that the user has permissions to view where companyId = ?.
    filterFindByCompanyId_PrevAndNext(long sxpElementId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the sxp elements before and after the current sxp element in the ordered set of sxp elements that the user has permission to view where companyId = ?.
    Returns all the sxp elements that the user has permission to view where uuid = ?.
    filterFindByUuid(String uuid, int start, int end)
    Returns a range of all the sxp elements that the user has permission to view where uuid = ?.
    filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns an ordered range of all the sxp elements that the user has permissions to view where uuid = ?.
    filterFindByUuid_C(String uuid, long companyId)
    Returns all the sxp elements that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the sxp elements that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns an ordered range of all the sxp elements that the user has permissions to view where uuid = ? and companyId = ?.
    filterFindByUuid_C_PrevAndNext(long sxpElementId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the sxp elements before and after the current sxp element in the ordered set of sxp elements that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByUuid_PrevAndNext(long sxpElementId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the sxp elements before and after the current sxp element in the ordered set of sxp elements that the user has permission to view where uuid = ?.
    Returns all the sxp elements.
    findAll(int start, int end)
    Returns a range of all the sxp elements.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns an ordered range of all the sxp elements.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the sxp elements.
    findByC_R(long companyId, boolean readOnly)
    Returns all the sxp elements where companyId = ? and readOnly = ?.
    findByC_R(long companyId, boolean readOnly, int start, int end)
    Returns a range of all the sxp elements where companyId = ? and readOnly = ?.
    findByC_R(long companyId, boolean readOnly, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns an ordered range of all the sxp elements where companyId = ? and readOnly = ?.
    findByC_R(long companyId, boolean readOnly, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the sxp elements where companyId = ? and readOnly = ?.
    findByC_R_First(long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the first sxp element in the ordered set where companyId = ? and readOnly = ?.
    findByC_R_Last(long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the last sxp element in the ordered set where companyId = ? and readOnly = ?.
    findByC_R_PrevAndNext(long sxpElementId, long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the sxp elements before and after the current sxp element in the ordered set where companyId = ? and readOnly = ?.
    findByC_T(long companyId, int type)
    Returns all the sxp elements where companyId = ? and type = ?.
    findByC_T(long companyId, int type, int start, int end)
    Returns a range of all the sxp elements where companyId = ? and type = ?.
    findByC_T(long companyId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns an ordered range of all the sxp elements where companyId = ? and type = ?.
    findByC_T(long companyId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the sxp elements where companyId = ? and type = ?.
    findByC_T_First(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the first sxp element in the ordered set where companyId = ? and type = ?.
    findByC_T_Last(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the last sxp element in the ordered set where companyId = ? and type = ?.
    findByC_T_PrevAndNext(long sxpElementId, long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the sxp elements before and after the current sxp element in the ordered set where companyId = ? and type = ?.
    findByC_T_S(long companyId, int type, int status)
    Returns all the sxp elements where companyId = ? and type = ? and status = ?.
    findByC_T_S(long companyId, int type, int status, int start, int end)
    Returns a range of all the sxp elements where companyId = ? and type = ? and status = ?.
    findByC_T_S(long companyId, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns an ordered range of all the sxp elements where companyId = ? and type = ? and status = ?.
    findByC_T_S(long companyId, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the sxp elements where companyId = ? and type = ? and status = ?.
    findByC_T_S_First(long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the first sxp element in the ordered set where companyId = ? and type = ? and status = ?.
    findByC_T_S_Last(long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the last sxp element in the ordered set where companyId = ? and type = ? and status = ?.
    findByC_T_S_PrevAndNext(long sxpElementId, long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the sxp elements before and after the current sxp element in the ordered set where companyId = ? and type = ? and status = ?.
    findByCompanyId(long companyId)
    Returns all the sxp elements where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the sxp elements where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns an ordered range of all the sxp elements where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the sxp elements where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the first sxp element in the ordered set where companyId = ?.
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the last sxp element in the ordered set where companyId = ?.
    findByCompanyId_PrevAndNext(long sxpElementId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the sxp elements before and after the current sxp element in the ordered set where companyId = ?.
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the sxp element where externalReferenceCode = ? and companyId = ? or throws a NoSuchSXPElementException if it could not be found.
    findByPrimaryKey(long sxpElementId)
    Returns the sxp element with the primary key or throws a NoSuchSXPElementException if it could not be found.
    Returns all the sxp elements where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the sxp elements where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns an ordered range of all the sxp elements where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the sxp elements where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the sxp elements where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the sxp elements where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns an ordered range of all the sxp elements where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the sxp elements where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the first sxp element in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the last sxp element in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_PrevAndNext(long sxpElementId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the sxp elements before and after the current sxp element in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the first sxp element in the ordered set where uuid = ?.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the last sxp element in the ordered set where uuid = ?.
    findByUuid_PrevAndNext(long sxpElementId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the sxp elements before and after the current sxp element in the ordered set where uuid = ?.
    remove(long sxpElementId)
    Removes the sxp element with the primary key from the database.
    void
    Removes all the sxp elements from the database.
    void
    removeByC_R(long companyId, boolean readOnly)
    Removes all the sxp elements where companyId = ? and readOnly = ? from the database.
    void
    removeByC_T(long companyId, int type)
    Removes all the sxp elements where companyId = ? and type = ? from the database.
    void
    removeByC_T_S(long companyId, int type, int status)
    Removes all the sxp elements where companyId = ? and type = ? and status = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the sxp elements where companyId = ? from the database.
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the sxp element where externalReferenceCode = ? and companyId = ? from the database.
    void
    Removes all the sxp elements where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the sxp elements where uuid = ? and companyId = ? from the database.
    updateImpl(SXPElement sxpElement)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
  • Method Details

    • findByUuid

      List<SXPElement> findByUuid(String uuid)
      Returns all the sxp elements where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching sxp elements
    • findByUuid

      List<SXPElement> findByUuid(String uuid, int start, int end)
      Returns a range of all the sxp elements 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 SXPElementModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      Returns:
      the range of matching sxp elements
    • findByUuid

      List<SXPElement> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns an ordered range of all the sxp elements 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 SXPElementModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching sxp elements
    • findByUuid

      List<SXPElement> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the sxp elements 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 SXPElementModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (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 elements
    • findByUuid_First

      SXPElement findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the first sxp element 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 element
      Throws:
      NoSuchSXPElementException - if a matching sxp element could not be found
    • fetchByUuid_First

      SXPElement fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns the first sxp element 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 element, or null if a matching sxp element could not be found
    • findByUuid_Last

      SXPElement findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the last sxp element 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 element
      Throws:
      NoSuchSXPElementException - if a matching sxp element could not be found
    • fetchByUuid_Last

      SXPElement fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns the last sxp element 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 element, or null if a matching sxp element could not be found
    • findByUuid_PrevAndNext

      SXPElement[] findByUuid_PrevAndNext(long sxpElementId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the sxp elements before and after the current sxp element in the ordered set where uuid = ?.
      Parameters:
      sxpElementId - the primary key of the current sxp element
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sxp element
      Throws:
      NoSuchSXPElementException - if a sxp element with the primary key could not be found
    • filterFindByUuid

      List<SXPElement> filterFindByUuid(String uuid)
      Returns all the sxp elements that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching sxp elements that the user has permission to view
    • filterFindByUuid

      List<SXPElement> filterFindByUuid(String uuid, int start, int end)
      Returns a range of all the sxp elements 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 SXPElementModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      Returns:
      the range of matching sxp elements that the user has permission to view
    • filterFindByUuid

      List<SXPElement> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns an ordered range of all the sxp elements 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 SXPElementModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching sxp elements that the user has permission to view
    • filterFindByUuid_PrevAndNext

      SXPElement[] filterFindByUuid_PrevAndNext(long sxpElementId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the sxp elements before and after the current sxp element in the ordered set of sxp elements that the user has permission to view where uuid = ?.
      Parameters:
      sxpElementId - the primary key of the current sxp element
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sxp element
      Throws:
      NoSuchSXPElementException - if a sxp element with the primary key could not be found
    • removeByUuid

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

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

      int filterCountByUuid(String uuid)
      Returns the number of sxp elements that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching sxp elements that the user has permission to view
    • findByUuid_C

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

      List<SXPElement> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the sxp elements 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 SXPElementModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      Returns:
      the range of matching sxp elements
    • findByUuid_C

      List<SXPElement> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns an ordered range of all the sxp elements 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 SXPElementModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching sxp elements
    • findByUuid_C

      List<SXPElement> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the sxp elements 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 SXPElementModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (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 elements
    • findByUuid_C_First

      SXPElement findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the first sxp element 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 element
      Throws:
      NoSuchSXPElementException - if a matching sxp element could not be found
    • fetchByUuid_C_First

      SXPElement fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns the first sxp element 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 element, or null if a matching sxp element could not be found
    • findByUuid_C_Last

      SXPElement findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the last sxp element 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 element
      Throws:
      NoSuchSXPElementException - if a matching sxp element could not be found
    • fetchByUuid_C_Last

      SXPElement fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns the last sxp element 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 element, or null if a matching sxp element could not be found
    • findByUuid_C_PrevAndNext

      SXPElement[] findByUuid_C_PrevAndNext(long sxpElementId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the sxp elements before and after the current sxp element in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      sxpElementId - the primary key of the current sxp element
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sxp element
      Throws:
      NoSuchSXPElementException - if a sxp element with the primary key could not be found
    • filterFindByUuid_C

      List<SXPElement> filterFindByUuid_C(String uuid, long companyId)
      Returns all the sxp elements that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching sxp elements that the user has permission to view
    • filterFindByUuid_C

      List<SXPElement> filterFindByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the sxp elements 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 SXPElementModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      Returns:
      the range of matching sxp elements that the user has permission to view
    • filterFindByUuid_C

      List<SXPElement> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns an ordered range of all the sxp elements 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 SXPElementModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching sxp elements that the user has permission to view
    • filterFindByUuid_C_PrevAndNext

      SXPElement[] filterFindByUuid_C_PrevAndNext(long sxpElementId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the sxp elements before and after the current sxp element in the ordered set of sxp elements that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      sxpElementId - the primary key of the current sxp element
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sxp element
      Throws:
      NoSuchSXPElementException - if a sxp element with the primary key could not be found
    • removeByUuid_C

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

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

      int filterCountByUuid_C(String uuid, long companyId)
      Returns the number of sxp elements 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 elements that the user has permission to view
    • findByCompanyId

      List<SXPElement> findByCompanyId(long companyId)
      Returns all the sxp elements where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching sxp elements
    • findByCompanyId

      List<SXPElement> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the sxp elements 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 SXPElementModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      Returns:
      the range of matching sxp elements
    • findByCompanyId

      List<SXPElement> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns an ordered range of all the sxp elements 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 SXPElementModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching sxp elements
    • findByCompanyId

      List<SXPElement> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the sxp elements 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 SXPElementModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (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 elements
    • findByCompanyId_First

      SXPElement findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the first sxp element 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 element
      Throws:
      NoSuchSXPElementException - if a matching sxp element could not be found
    • fetchByCompanyId_First

      SXPElement fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns the first sxp element 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 element, or null if a matching sxp element could not be found
    • findByCompanyId_Last

      SXPElement findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the last sxp element 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 element
      Throws:
      NoSuchSXPElementException - if a matching sxp element could not be found
    • fetchByCompanyId_Last

      SXPElement fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns the last sxp element 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 element, or null if a matching sxp element could not be found
    • findByCompanyId_PrevAndNext

      SXPElement[] findByCompanyId_PrevAndNext(long sxpElementId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the sxp elements before and after the current sxp element in the ordered set where companyId = ?.
      Parameters:
      sxpElementId - the primary key of the current sxp element
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sxp element
      Throws:
      NoSuchSXPElementException - if a sxp element with the primary key could not be found
    • filterFindByCompanyId

      List<SXPElement> filterFindByCompanyId(long companyId)
      Returns all the sxp elements that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching sxp elements that the user has permission to view
    • filterFindByCompanyId

      List<SXPElement> filterFindByCompanyId(long companyId, int start, int end)
      Returns a range of all the sxp elements 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 SXPElementModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      Returns:
      the range of matching sxp elements that the user has permission to view
    • filterFindByCompanyId

      List<SXPElement> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns an ordered range of all the sxp elements 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 SXPElementModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching sxp elements that the user has permission to view
    • filterFindByCompanyId_PrevAndNext

      SXPElement[] filterFindByCompanyId_PrevAndNext(long sxpElementId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the sxp elements before and after the current sxp element in the ordered set of sxp elements that the user has permission to view where companyId = ?.
      Parameters:
      sxpElementId - the primary key of the current sxp element
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sxp element
      Throws:
      NoSuchSXPElementException - if a sxp element with the primary key could not be found
    • removeByCompanyId

      void removeByCompanyId(long companyId)
      Removes all the sxp elements where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of sxp elements where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching sxp elements
    • filterCountByCompanyId

      int filterCountByCompanyId(long companyId)
      Returns the number of sxp elements that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching sxp elements that the user has permission to view
    • findByC_R

      List<SXPElement> findByC_R(long companyId, boolean readOnly)
      Returns all the sxp elements where companyId = ? and readOnly = ?.
      Parameters:
      companyId - the company ID
      readOnly - the read only
      Returns:
      the matching sxp elements
    • findByC_R

      List<SXPElement> findByC_R(long companyId, boolean readOnly, int start, int end)
      Returns a range of all the sxp elements where companyId = ? and readOnly = ?.

      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 SXPElementModelImpl.

      Parameters:
      companyId - the company ID
      readOnly - the read only
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      Returns:
      the range of matching sxp elements
    • findByC_R

      List<SXPElement> findByC_R(long companyId, boolean readOnly, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns an ordered range of all the sxp elements where companyId = ? and readOnly = ?.

      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 SXPElementModelImpl.

      Parameters:
      companyId - the company ID
      readOnly - the read only
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching sxp elements
    • findByC_R

      List<SXPElement> findByC_R(long companyId, boolean readOnly, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the sxp elements where companyId = ? and readOnly = ?.

      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 SXPElementModelImpl.

      Parameters:
      companyId - the company ID
      readOnly - the read only
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (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 elements
    • findByC_R_First

      SXPElement findByC_R_First(long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the first sxp element in the ordered set where companyId = ? and readOnly = ?.
      Parameters:
      companyId - the company ID
      readOnly - the read only
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching sxp element
      Throws:
      NoSuchSXPElementException - if a matching sxp element could not be found
    • fetchByC_R_First

      SXPElement fetchByC_R_First(long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns the first sxp element in the ordered set where companyId = ? and readOnly = ?.
      Parameters:
      companyId - the company ID
      readOnly - the read only
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching sxp element, or null if a matching sxp element could not be found
    • findByC_R_Last

      SXPElement findByC_R_Last(long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the last sxp element in the ordered set where companyId = ? and readOnly = ?.
      Parameters:
      companyId - the company ID
      readOnly - the read only
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching sxp element
      Throws:
      NoSuchSXPElementException - if a matching sxp element could not be found
    • fetchByC_R_Last

      SXPElement fetchByC_R_Last(long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns the last sxp element in the ordered set where companyId = ? and readOnly = ?.
      Parameters:
      companyId - the company ID
      readOnly - the read only
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching sxp element, or null if a matching sxp element could not be found
    • findByC_R_PrevAndNext

      SXPElement[] findByC_R_PrevAndNext(long sxpElementId, long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the sxp elements before and after the current sxp element in the ordered set where companyId = ? and readOnly = ?.
      Parameters:
      sxpElementId - the primary key of the current sxp element
      companyId - the company ID
      readOnly - the read only
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sxp element
      Throws:
      NoSuchSXPElementException - if a sxp element with the primary key could not be found
    • filterFindByC_R

      List<SXPElement> filterFindByC_R(long companyId, boolean readOnly)
      Returns all the sxp elements that the user has permission to view where companyId = ? and readOnly = ?.
      Parameters:
      companyId - the company ID
      readOnly - the read only
      Returns:
      the matching sxp elements that the user has permission to view
    • filterFindByC_R

      List<SXPElement> filterFindByC_R(long companyId, boolean readOnly, int start, int end)
      Returns a range of all the sxp elements that the user has permission to view where companyId = ? and readOnly = ?.

      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 SXPElementModelImpl.

      Parameters:
      companyId - the company ID
      readOnly - the read only
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      Returns:
      the range of matching sxp elements that the user has permission to view
    • filterFindByC_R

      List<SXPElement> filterFindByC_R(long companyId, boolean readOnly, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns an ordered range of all the sxp elements that the user has permissions to view where companyId = ? and readOnly = ?.

      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 SXPElementModelImpl.

      Parameters:
      companyId - the company ID
      readOnly - the read only
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching sxp elements that the user has permission to view
    • filterFindByC_R_PrevAndNext

      SXPElement[] filterFindByC_R_PrevAndNext(long sxpElementId, long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the sxp elements before and after the current sxp element in the ordered set of sxp elements that the user has permission to view where companyId = ? and readOnly = ?.
      Parameters:
      sxpElementId - the primary key of the current sxp element
      companyId - the company ID
      readOnly - the read only
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sxp element
      Throws:
      NoSuchSXPElementException - if a sxp element with the primary key could not be found
    • removeByC_R

      void removeByC_R(long companyId, boolean readOnly)
      Removes all the sxp elements where companyId = ? and readOnly = ? from the database.
      Parameters:
      companyId - the company ID
      readOnly - the read only
    • countByC_R

      int countByC_R(long companyId, boolean readOnly)
      Returns the number of sxp elements where companyId = ? and readOnly = ?.
      Parameters:
      companyId - the company ID
      readOnly - the read only
      Returns:
      the number of matching sxp elements
    • filterCountByC_R

      int filterCountByC_R(long companyId, boolean readOnly)
      Returns the number of sxp elements that the user has permission to view where companyId = ? and readOnly = ?.
      Parameters:
      companyId - the company ID
      readOnly - the read only
      Returns:
      the number of matching sxp elements that the user has permission to view
    • findByC_T

      List<SXPElement> findByC_T(long companyId, int type)
      Returns all the sxp elements where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      Returns:
      the matching sxp elements
    • findByC_T

      List<SXPElement> findByC_T(long companyId, int type, int start, int end)
      Returns a range of all the sxp elements where companyId = ? and type = ?.

      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 SXPElementModelImpl.

      Parameters:
      companyId - the company ID
      type - the type
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      Returns:
      the range of matching sxp elements
    • findByC_T

      List<SXPElement> findByC_T(long companyId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns an ordered range of all the sxp elements where companyId = ? and type = ?.

      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 SXPElementModelImpl.

      Parameters:
      companyId - the company ID
      type - the type
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching sxp elements
    • findByC_T

      List<SXPElement> findByC_T(long companyId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the sxp elements where companyId = ? and type = ?.

      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 SXPElementModelImpl.

      Parameters:
      companyId - the company ID
      type - the type
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (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 elements
    • findByC_T_First

      SXPElement findByC_T_First(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the first sxp element in the ordered set where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching sxp element
      Throws:
      NoSuchSXPElementException - if a matching sxp element could not be found
    • fetchByC_T_First

      SXPElement fetchByC_T_First(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns the first sxp element in the ordered set where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching sxp element, or null if a matching sxp element could not be found
    • findByC_T_Last

      SXPElement findByC_T_Last(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the last sxp element in the ordered set where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching sxp element
      Throws:
      NoSuchSXPElementException - if a matching sxp element could not be found
    • fetchByC_T_Last

      SXPElement fetchByC_T_Last(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns the last sxp element in the ordered set where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching sxp element, or null if a matching sxp element could not be found
    • findByC_T_PrevAndNext

      SXPElement[] findByC_T_PrevAndNext(long sxpElementId, long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the sxp elements before and after the current sxp element in the ordered set where companyId = ? and type = ?.
      Parameters:
      sxpElementId - the primary key of the current sxp element
      companyId - the company ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sxp element
      Throws:
      NoSuchSXPElementException - if a sxp element with the primary key could not be found
    • filterFindByC_T

      List<SXPElement> filterFindByC_T(long companyId, int type)
      Returns all the sxp elements that the user has permission to view where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      Returns:
      the matching sxp elements that the user has permission to view
    • filterFindByC_T

      List<SXPElement> filterFindByC_T(long companyId, int type, int start, int end)
      Returns a range of all the sxp elements that the user has permission to view where companyId = ? and type = ?.

      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 SXPElementModelImpl.

      Parameters:
      companyId - the company ID
      type - the type
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      Returns:
      the range of matching sxp elements that the user has permission to view
    • filterFindByC_T

      List<SXPElement> filterFindByC_T(long companyId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns an ordered range of all the sxp elements that the user has permissions to view where companyId = ? and type = ?.

      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 SXPElementModelImpl.

      Parameters:
      companyId - the company ID
      type - the type
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching sxp elements that the user has permission to view
    • filterFindByC_T_PrevAndNext

      SXPElement[] filterFindByC_T_PrevAndNext(long sxpElementId, long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the sxp elements before and after the current sxp element in the ordered set of sxp elements that the user has permission to view where companyId = ? and type = ?.
      Parameters:
      sxpElementId - the primary key of the current sxp element
      companyId - the company ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sxp element
      Throws:
      NoSuchSXPElementException - if a sxp element with the primary key could not be found
    • removeByC_T

      void removeByC_T(long companyId, int type)
      Removes all the sxp elements where companyId = ? and type = ? from the database.
      Parameters:
      companyId - the company ID
      type - the type
    • countByC_T

      int countByC_T(long companyId, int type)
      Returns the number of sxp elements where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      Returns:
      the number of matching sxp elements
    • filterCountByC_T

      int filterCountByC_T(long companyId, int type)
      Returns the number of sxp elements that the user has permission to view where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      Returns:
      the number of matching sxp elements that the user has permission to view
    • findByC_T_S

      List<SXPElement> findByC_T_S(long companyId, int type, int status)
      Returns all the sxp elements where companyId = ? and type = ? and status = ?.
      Parameters:
      companyId - the company ID
      type - the type
      status - the status
      Returns:
      the matching sxp elements
    • findByC_T_S

      List<SXPElement> findByC_T_S(long companyId, int type, int status, int start, int end)
      Returns a range of all the sxp elements where companyId = ? and type = ? and status = ?.

      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 SXPElementModelImpl.

      Parameters:
      companyId - the company ID
      type - the type
      status - the status
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      Returns:
      the range of matching sxp elements
    • findByC_T_S

      List<SXPElement> findByC_T_S(long companyId, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns an ordered range of all the sxp elements where companyId = ? and type = ? and status = ?.

      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 SXPElementModelImpl.

      Parameters:
      companyId - the company ID
      type - the type
      status - the status
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching sxp elements
    • findByC_T_S

      List<SXPElement> findByC_T_S(long companyId, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the sxp elements where companyId = ? and type = ? and status = ?.

      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 SXPElementModelImpl.

      Parameters:
      companyId - the company ID
      type - the type
      status - the status
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (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 elements
    • findByC_T_S_First

      SXPElement findByC_T_S_First(long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the first sxp element in the ordered set where companyId = ? and type = ? and status = ?.
      Parameters:
      companyId - the company ID
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching sxp element
      Throws:
      NoSuchSXPElementException - if a matching sxp element could not be found
    • fetchByC_T_S_First

      SXPElement fetchByC_T_S_First(long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns the first sxp element in the ordered set where companyId = ? and type = ? and status = ?.
      Parameters:
      companyId - the company ID
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching sxp element, or null if a matching sxp element could not be found
    • findByC_T_S_Last

      SXPElement findByC_T_S_Last(long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the last sxp element in the ordered set where companyId = ? and type = ? and status = ?.
      Parameters:
      companyId - the company ID
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching sxp element
      Throws:
      NoSuchSXPElementException - if a matching sxp element could not be found
    • fetchByC_T_S_Last

      SXPElement fetchByC_T_S_Last(long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns the last sxp element in the ordered set where companyId = ? and type = ? and status = ?.
      Parameters:
      companyId - the company ID
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching sxp element, or null if a matching sxp element could not be found
    • findByC_T_S_PrevAndNext

      SXPElement[] findByC_T_S_PrevAndNext(long sxpElementId, long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the sxp elements before and after the current sxp element in the ordered set where companyId = ? and type = ? and status = ?.
      Parameters:
      sxpElementId - the primary key of the current sxp element
      companyId - the company ID
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sxp element
      Throws:
      NoSuchSXPElementException - if a sxp element with the primary key could not be found
    • filterFindByC_T_S

      List<SXPElement> filterFindByC_T_S(long companyId, int type, int status)
      Returns all the sxp elements that the user has permission to view where companyId = ? and type = ? and status = ?.
      Parameters:
      companyId - the company ID
      type - the type
      status - the status
      Returns:
      the matching sxp elements that the user has permission to view
    • filterFindByC_T_S

      List<SXPElement> filterFindByC_T_S(long companyId, int type, int status, int start, int end)
      Returns a range of all the sxp elements that the user has permission to view where companyId = ? and type = ? and status = ?.

      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 SXPElementModelImpl.

      Parameters:
      companyId - the company ID
      type - the type
      status - the status
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      Returns:
      the range of matching sxp elements that the user has permission to view
    • filterFindByC_T_S

      List<SXPElement> filterFindByC_T_S(long companyId, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns an ordered range of all the sxp elements that the user has permissions to view where companyId = ? and type = ? and status = ?.

      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 SXPElementModelImpl.

      Parameters:
      companyId - the company ID
      type - the type
      status - the status
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching sxp elements that the user has permission to view
    • filterFindByC_T_S_PrevAndNext

      SXPElement[] filterFindByC_T_S_PrevAndNext(long sxpElementId, long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
      Returns the sxp elements before and after the current sxp element in the ordered set of sxp elements that the user has permission to view where companyId = ? and type = ? and status = ?.
      Parameters:
      sxpElementId - the primary key of the current sxp element
      companyId - the company ID
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sxp element
      Throws:
      NoSuchSXPElementException - if a sxp element with the primary key could not be found
    • removeByC_T_S

      void removeByC_T_S(long companyId, int type, int status)
      Removes all the sxp elements where companyId = ? and type = ? and status = ? from the database.
      Parameters:
      companyId - the company ID
      type - the type
      status - the status
    • countByC_T_S

      int countByC_T_S(long companyId, int type, int status)
      Returns the number of sxp elements where companyId = ? and type = ? and status = ?.
      Parameters:
      companyId - the company ID
      type - the type
      status - the status
      Returns:
      the number of matching sxp elements
    • filterCountByC_T_S

      int filterCountByC_T_S(long companyId, int type, int status)
      Returns the number of sxp elements that the user has permission to view where companyId = ? and type = ? and status = ?.
      Parameters:
      companyId - the company ID
      type - the type
      status - the status
      Returns:
      the number of matching sxp elements that the user has permission to view
    • findByERC_C

      SXPElement findByERC_C(String externalReferenceCode, long companyId) throws NoSuchSXPElementException
      Returns the sxp element where externalReferenceCode = ? and companyId = ? or throws a NoSuchSXPElementException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching sxp element
      Throws:
      NoSuchSXPElementException - if a matching sxp element could not be found
    • fetchByERC_C

      SXPElement fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the sxp element 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 element, or null if a matching sxp element could not be found
    • fetchByERC_C

      SXPElement fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the sxp element 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 element, or null if a matching sxp element could not be found
    • removeByERC_C

      SXPElement removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchSXPElementException
      Removes the sxp element where externalReferenceCode = ? and companyId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the sxp element that was removed
      Throws:
      NoSuchSXPElementException
    • countByERC_C

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

      void cacheResult(SXPElement sxpElement)
      Caches the sxp element in the entity cache if it is enabled.
      Parameters:
      sxpElement - the sxp element
    • cacheResult

      void cacheResult(List<SXPElement> sxpElements)
      Caches the sxp elements in the entity cache if it is enabled.
      Parameters:
      sxpElements - the sxp elements
    • create

      SXPElement create(long sxpElementId)
      Creates a new sxp element with the primary key. Does not add the sxp element to the database.
      Parameters:
      sxpElementId - the primary key for the new sxp element
      Returns:
      the new sxp element
    • remove

      SXPElement remove(long sxpElementId) throws NoSuchSXPElementException
      Removes the sxp element with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      sxpElementId - the primary key of the sxp element
      Returns:
      the sxp element that was removed
      Throws:
      NoSuchSXPElementException - if a sxp element with the primary key could not be found
    • updateImpl

      SXPElement updateImpl(SXPElement sxpElement)
    • findByPrimaryKey

      SXPElement findByPrimaryKey(long sxpElementId) throws NoSuchSXPElementException
      Returns the sxp element with the primary key or throws a NoSuchSXPElementException if it could not be found.
      Parameters:
      sxpElementId - the primary key of the sxp element
      Returns:
      the sxp element
      Throws:
      NoSuchSXPElementException - if a sxp element with the primary key could not be found
    • fetchByPrimaryKey

      SXPElement fetchByPrimaryKey(long sxpElementId)
      Returns the sxp element with the primary key or returns null if it could not be found.
      Parameters:
      sxpElementId - the primary key of the sxp element
      Returns:
      the sxp element, or null if a sxp element with the primary key could not be found
    • findAll

      List<SXPElement> findAll()
      Returns all the sxp elements.
      Returns:
      the sxp elements
    • findAll

      List<SXPElement> findAll(int start, int end)
      Returns a range of all the sxp elements.

      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 SXPElementModelImpl.

      Parameters:
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      Returns:
      the range of sxp elements
    • findAll

      List<SXPElement> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      Returns an ordered range of all the sxp elements.

      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 SXPElementModelImpl.

      Parameters:
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of sxp elements
    • findAll

      List<SXPElement> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the sxp elements.

      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 SXPElementModelImpl.

      Parameters:
      start - the lower bound of the range of sxp elements
      end - the upper bound of the range of sxp elements (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 elements
    • removeAll

      void removeAll()
      Removes all the sxp elements from the database.
    • countAll

      int countAll()
      Returns the number of sxp elements.
      Returns:
      the number of sxp elements