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

public class SXPElementUtil extends Object
The persistence utility for the sxp element service. This utility wraps com.liferay.search.experiences.service.persistence.impl.SXPElementPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    cacheResult(SXPElement sxpElement)
    Caches the sxp element in the entity cache if it is enabled.
    static void
    cacheResult(List<SXPElement> sxpElements)
    Caches the sxp elements in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(SXPElement sxpElement)
     
    static int
    Returns the number of sxp elements.
    static int
    countByC_R(long companyId, boolean readOnly)
    Returns the number of sxp elements where companyId = ? and readOnly = ?.
    static int
    countByC_T(long companyId, int type)
    Returns the number of sxp elements where companyId = ? and type = ?.
    static int
    countByC_T_S(long companyId, int type, int status)
    Returns the number of sxp elements where companyId = ? and type = ? and status = ?.
    static int
    countByCompanyId(long companyId)
    Returns the number of sxp elements where companyId = ?.
    static int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of sxp elements where externalReferenceCode = ? and companyId = ?.
    static int
    Returns the number of sxp elements where uuid = ?.
    static int
    countByUuid_C(String uuid, long companyId)
    Returns the number of sxp elements where uuid = ? and companyId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    static SXPElement
    create(long sxpElementId)
    Creates a new sxp element with the primary key.
    static 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 = ?.
    static 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 = ?.
    static 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 = ?.
    static 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 = ?.
    static 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 = ?.
    static 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 = ?.
    static SXPElement
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the first sxp element in the ordered set where companyId = ?.
    static SXPElement
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the last sxp element in the ordered set where companyId = ?.
    static SXPElement
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the sxp element where externalReferenceCode = ? and companyId = ? or returns null if it could not be found.
    static 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.
    static SXPElement
    fetchByPrimaryKey(long sxpElementId)
    Returns the sxp element with the primary key or returns null if it could not be found.
     
    static 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 = ?.
    static 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 = ?.
    static SXPElement
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the first sxp element in the ordered set where uuid = ?.
    static SXPElement
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the last sxp element in the ordered set where uuid = ?.
    static int
    filterCountByC_R(long companyId, boolean readOnly)
    Returns the number of sxp elements that the user has permission to view where companyId = ? and readOnly = ?.
    static int
    filterCountByC_T(long companyId, int type)
    Returns the number of sxp elements that the user has permission to view where companyId = ? and type = ?.
    static 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 = ?.
    static int
    filterCountByCompanyId(long companyId)
    Returns the number of sxp elements that the user has permission to view where companyId = ?.
    static int
    Returns the number of sxp elements that the user has permission to view where uuid = ?.
    static 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 = ?.
    static SXPElement[]
    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 = ?.
    static SXPElement[]
    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 = ?.
    static SXPElement[]
    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 = ?.
    static SXPElement[]
    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 = ?.
    static SXPElement[]
    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 = ?.
    static SXPElement[]
    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 = ?.
    static SXPElement
    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 = ?.
    static SXPElement
    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 = ?.
    static SXPElement[]
    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 = ?.
    static SXPElement
    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 = ?.
    static SXPElement
    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 = ?.
    static SXPElement[]
    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 = ?.
    static SXPElement
    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 = ?.
    static SXPElement
    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 = ?.
    static SXPElement[]
    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 = ?.
    static SXPElement
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the first sxp element in the ordered set where companyId = ?.
    static SXPElement
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the last sxp element in the ordered set where companyId = ?.
    static SXPElement[]
    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 = ?.
    static SXPElement
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the sxp element where externalReferenceCode = ? and companyId = ? or throws a NoSuchSXPElementException if it could not be found.
    static SXPElement
    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 = ?.
    static SXPElement
    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 = ?.
    static SXPElement
    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 = ?.
    static SXPElement[]
    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 = ?.
    static SXPElement
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the first sxp element in the ordered set where uuid = ?.
    static SXPElement
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
    Returns the last sxp element in the ordered set where uuid = ?.
    static SXPElement[]
    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 = ?.
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
     
     
    static SXPElement
    remove(long sxpElementId)
    Removes the sxp element with the primary key from the database.
    static void
    Removes all the sxp elements from the database.
    static void
    removeByC_R(long companyId, boolean readOnly)
    Removes all the sxp elements where companyId = ? and readOnly = ? from the database.
    static void
    removeByC_T(long companyId, int type)
    Removes all the sxp elements where companyId = ? and type = ? from the database.
    static void
    removeByC_T_S(long companyId, int type, int status)
    Removes all the sxp elements where companyId = ? and type = ? and status = ? from the database.
    static void
    removeByCompanyId(long companyId)
    Removes all the sxp elements where companyId = ? from the database.
    static SXPElement
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the sxp element where externalReferenceCode = ? and companyId = ? from the database.
    static void
    Removes all the sxp elements where uuid = ? from the database.
    static void
    removeByUuid_C(String uuid, long companyId)
    Removes all the sxp elements where uuid = ? and companyId = ? from the database.
    static void
     
    static SXPElement
    update(SXPElement sxpElement)
     
    static SXPElement
    update(SXPElement sxpElement, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static SXPElement
    updateImpl(SXPElement sxpElement)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SXPElementUtil

      public SXPElementUtil()
  • Method Details

    • clearCache

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

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

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

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

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

      public static List<SXPElement> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<SXPElement> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

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

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

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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchSXPElementException
    • fetchByUuid_First

      public static 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

      public static 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
      NoSuchSXPElementException
    • fetchByUuid_Last

      public static 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

      public static 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
      NoSuchSXPElementException
    • filterFindByUuid

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchSXPElementException
    • removeByUuid

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

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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchSXPElementException
    • fetchByUuid_C_First

      public static 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

      public static 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
      NoSuchSXPElementException
    • fetchByUuid_C_Last

      public static 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

      public static 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
      NoSuchSXPElementException
    • filterFindByUuid_C

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchSXPElementException
    • removeByUuid_C

      public static 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

      public static 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

      public static 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

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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchSXPElementException
    • fetchByCompanyId_First

      public static 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

      public static 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
      NoSuchSXPElementException
    • fetchByCompanyId_Last

      public static 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

      public static 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
      NoSuchSXPElementException
    • filterFindByCompanyId

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchSXPElementException
    • removeByCompanyId

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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchSXPElementException
    • fetchByC_R_First

      public static 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

      public static 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
      NoSuchSXPElementException
    • fetchByC_R_Last

      public static 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

      public static 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
      NoSuchSXPElementException
    • filterFindByC_R

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchSXPElementException
    • removeByC_R

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchSXPElementException
    • fetchByC_T_First

      public static 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

      public static 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
      NoSuchSXPElementException
    • fetchByC_T_Last

      public static 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

      public static 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
      NoSuchSXPElementException
    • filterFindByC_T

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchSXPElementException
    • removeByC_T

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchSXPElementException
    • fetchByC_T_S_First

      public static 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

      public static 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
      NoSuchSXPElementException
    • fetchByC_T_S_Last

      public static 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

      public static 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
      NoSuchSXPElementException
    • filterFindByC_T_S

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchSXPElementException
    • removeByC_T_S

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchSXPElementException
    • fetchByERC_C

      public static 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

      public static 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

      public static 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

      public static 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

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

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

      public static 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

      public static 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
      NoSuchSXPElementException
    • updateImpl

      public static SXPElement updateImpl(SXPElement sxpElement)
    • findByPrimaryKey

      public static 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
      NoSuchSXPElementException
    • fetchByPrimaryKey

      public static 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

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

      public static 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

      public static 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

      public static 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

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

      public static int countAll()
      Returns the number of sxp elements.
      Returns:
      the number of sxp elements
    • getPersistence

      public static SXPElementPersistence getPersistence()
    • setPersistence

      public static void setPersistence(SXPElementPersistence persistence)