Class SXPElementUtil
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(SXPElement sxpElement) Caches the sxp element in the entity cache if it is enabled.static voidcacheResult(List<SXPElement> sxpElements) Caches the sxp elements in the entity cache if it is enabled.static voidstatic voidclearCache(SXPElement sxpElement) static intcountAll()Returns the number of sxp elements.static intcountByC_R(long companyId, boolean readOnly) Returns the number of sxp elements where companyId = ? and readOnly = ?.static intcountByC_T(long companyId, int type) Returns the number of sxp elements where companyId = ? and type = ?.static intcountByC_T_S(long companyId, int type, int status) Returns the number of sxp elements where companyId = ? and type = ? and status = ?.static intcountByCompanyId(long companyId) Returns the number of sxp elements where companyId = ?.static intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of sxp elements where externalReferenceCode = ? and companyId = ?.static intcountByUuid(String uuid) Returns the number of sxp elements where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of sxp elements where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static SXPElementcreate(long sxpElementId) Creates a new sxp element with the primary key.static SXPElementfetchByC_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 SXPElementfetchByC_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 SXPElementfetchByC_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 SXPElementfetchByC_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 SXPElementfetchByC_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 SXPElementfetchByC_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 SXPElementfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where companyId = ?.static SXPElementfetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the last sxp element in the ordered set where companyId = ?.static SXPElementfetchByERC_C(String externalReferenceCode, long companyId) Returns the sxp element where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.static SXPElementfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the sxp element where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.static SXPElementfetchByPrimaryKey(long sxpElementId) Returns the sxp element with the primary key or returnsnullif it could not be found.static Map<Serializable,SXPElement> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static SXPElementfetchByUuid_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 SXPElementfetchByUuid_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 SXPElementfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where uuid = ?.static SXPElementfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the last sxp element in the ordered set where uuid = ?.static intfilterCountByC_R(long companyId, boolean readOnly) Returns the number of sxp elements that the user has permission to view where companyId = ? and readOnly = ?.static intfilterCountByC_T(long companyId, int type) Returns the number of sxp elements that the user has permission to view where companyId = ? and type = ?.static intfilterCountByC_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 intfilterCountByCompanyId(long companyId) Returns the number of sxp elements that the user has permission to view where companyId = ?.static intfilterCountByUuid(String uuid) Returns the number of sxp elements that the user has permission to view where uuid = ?.static intfilterCountByUuid_C(String uuid, long companyId) Returns the number of sxp elements that the user has permission to view where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.static List<SXPElement>filterFindByCompanyId(long companyId) Returns all the sxp elements that the user has permission to view where companyId = ?.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 = ?.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 = ?.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 = ?.static List<SXPElement>filterFindByUuid(String uuid) Returns all the sxp elements that the user has permission to view where uuid = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.static List<SXPElement>findAll()Returns all the sxp elements.static List<SXPElement>findAll(int start, int end) Returns a range of all the sxp elements.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.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.static List<SXPElement>findByC_R(long companyId, boolean readOnly) Returns all the sxp elements where companyId = ? and readOnly = ?.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 = ?.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 = ?.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 = ?.static SXPElementfindByC_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 SXPElementfindByC_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 = ?.static List<SXPElement>findByC_T(long companyId, int type) Returns all the sxp elements where companyId = ? and type = ?.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 = ?.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 = ?.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 = ?.static SXPElementfindByC_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 SXPElementfindByC_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 = ?.static List<SXPElement>findByC_T_S(long companyId, int type, int status) Returns all the sxp elements where companyId = ? and type = ? and status = ?.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 = ?.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 = ?.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 = ?.static SXPElementfindByC_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 SXPElementfindByC_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 = ?.static List<SXPElement>findByCompanyId(long companyId) Returns all the sxp elements where companyId = ?.static List<SXPElement>findByCompanyId(long companyId, int start, int end) Returns a range of all the sxp elements where companyId = ?.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 = ?.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 = ?.static SXPElementfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where companyId = ?.static SXPElementfindByCompanyId_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 SXPElementfindByERC_C(String externalReferenceCode, long companyId) Returns the sxp element where externalReferenceCode = ? and companyId = ? or throws aNoSuchSXPElementExceptionif it could not be found.static SXPElementfindByPrimaryKey(long sxpElementId) Returns the sxp element with the primary key or throws aNoSuchSXPElementExceptionif it could not be found.static List<SXPElement>findByUuid(String uuid) Returns all the sxp elements where uuid = ?.static List<SXPElement>findByUuid(String uuid, int start, int end) Returns a range of all the sxp elements where uuid = ?.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 = ?.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 = ?.static List<SXPElement>findByUuid_C(String uuid, long companyId) Returns all the sxp elements where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.static SXPElementfindByUuid_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 SXPElementfindByUuid_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 SXPElementfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where uuid = ?.static SXPElementfindByUuid_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 = ?.static List<SXPElement>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<SXPElement>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<SXPElement>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) static SXPElementPersistencestatic SXPElementremove(long sxpElementId) Removes the sxp element with the primary key from the database.static voidRemoves all the sxp elements from the database.static voidremoveByC_R(long companyId, boolean readOnly) Removes all the sxp elements where companyId = ? and readOnly = ? from the database.static voidremoveByC_T(long companyId, int type) Removes all the sxp elements where companyId = ? and type = ? from the database.static voidremoveByC_T_S(long companyId, int type, int status) Removes all the sxp elements where companyId = ? and type = ? and status = ? from the database.static voidremoveByCompanyId(long companyId) Removes all the sxp elements where companyId = ? from the database.static SXPElementremoveByERC_C(String externalReferenceCode, long companyId) Removes the sxp element where externalReferenceCode = ? and companyId = ? from the database.static voidremoveByUuid(String uuid) Removes all the sxp elements where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the sxp elements where uuid = ? and companyId = ? from the database.static voidsetPersistence(SXPElementPersistence persistence) static SXPElementupdate(SXPElement sxpElement) static SXPElementupdate(SXPElement sxpElement, com.liferay.portal.kernel.service.ServiceContext serviceContext) static SXPElementupdateImpl(SXPElement sxpElement)
-
Constructor Details
-
SXPElementUtil
public SXPElementUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- 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
- 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
- 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
Returns all the sxp elements where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching sxp elements
-
findByUuid
Returns a range of all the sxp elements where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of sxp elementsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of sxp elementsend- the upper bound of the range of sxp elements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of sxp elementsend- the upper bound of the range of sxp elements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching sxp 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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching sxp element
- Throws:
NoSuchSXPElementException- if a matching sxp element could not be foundNoSuchSXPElementException
-
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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching sxp element, or
nullif 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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching sxp element
- Throws:
NoSuchSXPElementException- if a matching sxp element could not be foundNoSuchSXPElementException
-
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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching sxp element, or
nullif 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 elementuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next sxp element
- Throws:
NoSuchSXPElementException- if a sxp element with the primary key could not be foundNoSuchSXPElementException
-
filterFindByUuid
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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of sxp elementsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of sxp elementsend- the upper bound of the range of sxp elements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 elementuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next sxp element
- Throws:
NoSuchSXPElementException- if a sxp element with the primary key could not be foundNoSuchSXPElementException
-
removeByUuid
Removes all the sxp elements where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of sxp elements where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching sxp elements
-
filterCountByUuid
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
Returns all the sxp elements where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching sxp elements
-
findByUuid_C
Returns a range of all the sxp elements where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of sxp elementsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of sxp elementsend- the upper bound of the range of sxp elements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of sxp elementsend- the upper bound of the range of sxp elements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching sxp 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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching sxp element
- Throws:
NoSuchSXPElementException- if a matching sxp element could not be foundNoSuchSXPElementException
-
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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching sxp element, or
nullif 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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching sxp element
- Throws:
NoSuchSXPElementException- if a matching sxp element could not be foundNoSuchSXPElementException
-
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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching sxp element, or
nullif 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 elementuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next sxp element
- Throws:
NoSuchSXPElementException- if a sxp element with the primary key could not be foundNoSuchSXPElementException
-
filterFindByUuid_C
Returns all the sxp elements that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching sxp elements that the user has permission to view
-
filterFindByUuid_C
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of sxp elementsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of sxp elementsend- the upper bound of the range of sxp elements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 elementuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next sxp element
- Throws:
NoSuchSXPElementException- if a sxp element with the primary key could not be foundNoSuchSXPElementException
-
removeByUuid_C
Removes all the sxp elements where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of sxp elements where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching sxp elements
-
filterCountByUuid_C
Returns the number of sxp elements that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching sxp elements that the user has permission to view
-
findByCompanyId
Returns all the sxp elements where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching sxp elements
-
findByCompanyId
Returns a range of all the sxp elements where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of sxp elementsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of sxp elementsend- the upper bound of the range of sxp elements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of sxp elementsend- the upper bound of the range of sxp elements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching sxp 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching sxp element
- Throws:
NoSuchSXPElementException- if a matching sxp element could not be foundNoSuchSXPElementException
-
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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching sxp element, or
nullif 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching sxp element
- Throws:
NoSuchSXPElementException- if a matching sxp element could not be foundNoSuchSXPElementException
-
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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching sxp element, or
nullif 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 elementcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next sxp element
- Throws:
NoSuchSXPElementException- if a sxp element with the primary key could not be foundNoSuchSXPElementException
-
filterFindByCompanyId
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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of sxp elementsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of sxp elementsend- the upper bound of the range of sxp elements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 elementcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next sxp element
- Throws:
NoSuchSXPElementException- if a sxp element with the primary key could not be foundNoSuchSXPElementException
-
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
Returns all the sxp elements where companyId = ? and readOnly = ?.- Parameters:
companyId- the company IDreadOnly- the read only- Returns:
- the matching sxp elements
-
findByC_R
Returns a range of all the sxp elements where companyId = ? and readOnly = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
companyId- the company IDreadOnly- the read onlystart- the lower bound of the range of sxp elementsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
companyId- the company IDreadOnly- the read onlystart- the lower bound of the range of sxp elementsend- the upper bound of the range of sxp elements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
companyId- the company IDreadOnly- the read onlystart- the lower bound of the range of sxp elementsend- the upper bound of the range of sxp elements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching sxp 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 IDreadOnly- the read onlyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching sxp element
- Throws:
NoSuchSXPElementException- if a matching sxp element could not be foundNoSuchSXPElementException
-
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 IDreadOnly- the read onlyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching sxp element, or
nullif 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 IDreadOnly- the read onlyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching sxp element
- Throws:
NoSuchSXPElementException- if a matching sxp element could not be foundNoSuchSXPElementException
-
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 IDreadOnly- the read onlyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching sxp element, or
nullif 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 elementcompanyId- the company IDreadOnly- the read onlyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next sxp element
- Throws:
NoSuchSXPElementException- if a sxp element with the primary key could not be foundNoSuchSXPElementException
-
filterFindByC_R
Returns all the sxp elements that the user has permission to view where companyId = ? and readOnly = ?.- Parameters:
companyId- the company IDreadOnly- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
companyId- the company IDreadOnly- the read onlystart- the lower bound of the range of sxp elementsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
companyId- the company IDreadOnly- the read onlystart- the lower bound of the range of sxp elementsend- the upper bound of the range of sxp elements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 elementcompanyId- the company IDreadOnly- the read onlyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next sxp element
- Throws:
NoSuchSXPElementException- if a sxp element with the primary key could not be foundNoSuchSXPElementException
-
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 IDreadOnly- 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 IDreadOnly- 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 IDreadOnly- the read only- Returns:
- the number of matching sxp elements that the user has permission to view
-
findByC_T
Returns all the sxp elements where companyId = ? and type = ?.- Parameters:
companyId- the company IDtype- the type- Returns:
- the matching sxp elements
-
findByC_T
Returns a range of all the sxp elements where companyId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
companyId- the company IDtype- the typestart- the lower bound of the range of sxp elementsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
companyId- the company IDtype- the typestart- the lower bound of the range of sxp elementsend- the upper bound of the range of sxp elements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
companyId- the company IDtype- the typestart- the lower bound of the range of sxp elementsend- the upper bound of the range of sxp elements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching sxp 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 IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching sxp element
- Throws:
NoSuchSXPElementException- if a matching sxp element could not be foundNoSuchSXPElementException
-
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 IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching sxp element, or
nullif 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 IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching sxp element
- Throws:
NoSuchSXPElementException- if a matching sxp element could not be foundNoSuchSXPElementException
-
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 IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching sxp element, or
nullif 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 elementcompanyId- the company IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next sxp element
- Throws:
NoSuchSXPElementException- if a sxp element with the primary key could not be foundNoSuchSXPElementException
-
filterFindByC_T
Returns all the sxp elements that the user has permission to view where companyId = ? and type = ?.- Parameters:
companyId- the company IDtype- the type- Returns:
- the matching sxp elements that the user has permission to view
-
filterFindByC_T
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
companyId- the company IDtype- the typestart- the lower bound of the range of sxp elementsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
companyId- the company IDtype- the typestart- the lower bound of the range of sxp elementsend- the upper bound of the range of sxp elements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 elementcompanyId- the company IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next sxp element
- Throws:
NoSuchSXPElementException- if a sxp element with the primary key could not be foundNoSuchSXPElementException
-
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 IDtype- 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 IDtype- 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 IDtype- the type- Returns:
- the number of matching sxp elements that the user has permission to view
-
findByC_T_S
Returns all the sxp elements where companyId = ? and type = ? and status = ?.- Parameters:
companyId- the company IDtype- the typestatus- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
companyId- the company IDtype- the typestatus- the statusstart- the lower bound of the range of sxp elementsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
companyId- the company IDtype- the typestatus- the statusstart- the lower bound of the range of sxp elementsend- the upper bound of the range of sxp elements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
companyId- the company IDtype- the typestatus- the statusstart- the lower bound of the range of sxp elementsend- the upper bound of the range of sxp elements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching sxp 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 IDtype- the typestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching sxp element
- Throws:
NoSuchSXPElementException- if a matching sxp element could not be foundNoSuchSXPElementException
-
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 IDtype- the typestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching sxp element, or
nullif 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 IDtype- the typestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching sxp element
- Throws:
NoSuchSXPElementException- if a matching sxp element could not be foundNoSuchSXPElementException
-
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 IDtype- the typestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching sxp element, or
nullif 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 elementcompanyId- the company IDtype- the typestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next sxp element
- Throws:
NoSuchSXPElementException- if a sxp element with the primary key could not be foundNoSuchSXPElementException
-
filterFindByC_T_S
Returns all the sxp elements that the user has permission to view where companyId = ? and type = ? and status = ?.- Parameters:
companyId- the company IDtype- the typestatus- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
companyId- the company IDtype- the typestatus- the statusstart- the lower bound of the range of sxp elementsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
companyId- the company IDtype- the typestatus- the statusstart- the lower bound of the range of sxp elementsend- the upper bound of the range of sxp elements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 elementcompanyId- the company IDtype- the typestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next sxp element
- Throws:
NoSuchSXPElementException- if a sxp element with the primary key could not be foundNoSuchSXPElementException
-
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 IDtype- the typestatus- 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 IDtype- the typestatus- 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 IDtype- the typestatus- 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 aNoSuchSXPElementExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching sxp element
- Throws:
NoSuchSXPElementException- if a matching sxp element could not be foundNoSuchSXPElementException
-
fetchByERC_C
Returns the sxp element where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching sxp element, or
nullif 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 returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDuseFinderCache- whether to use the finder cache- Returns:
- the matching sxp element, or
nullif 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 codecompanyId- the company ID- Returns:
- the sxp element that was removed
- Throws:
NoSuchSXPElementException
-
countByERC_C
Returns the number of sxp elements where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching sxp elements
-
cacheResult
Caches the sxp element in the entity cache if it is enabled.- Parameters:
sxpElement- the sxp element
-
cacheResult
Caches the sxp elements in the entity cache if it is enabled.- Parameters:
sxpElements- the sxp elements
-
create
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
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 foundNoSuchSXPElementException
-
updateImpl
-
findByPrimaryKey
Returns the sxp element with the primary key or throws aNoSuchSXPElementExceptionif 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 foundNoSuchSXPElementException
-
fetchByPrimaryKey
Returns the sxp element with the primary key or returnsnullif it could not be found.- Parameters:
sxpElementId- the primary key of the sxp element- Returns:
- the sxp element, or
nullif a sxp element with the primary key could not be found
-
findAll
Returns all the sxp elements.- Returns:
- the sxp elements
-
findAll
Returns a range of all the sxp elements.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
start- the lower bound of the range of sxp elementsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
start- the lower bound of the range of sxp elementsend- the upper bound of the range of sxp elements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSXPElementModelImpl.- Parameters:
start- the lower bound of the range of sxp elementsend- the upper bound of the range of sxp elements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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
-
setPersistence
-