Interface SXPElementPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<SXPElement>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(SXPElement sxpElement) Caches the sxp element in the entity cache if it is enabled.voidcacheResult(List<SXPElement> sxpElements) Caches the sxp elements in the entity cache if it is enabled.intcountAll()Returns the number of sxp elements.intcountByC_R(long companyId, boolean readOnly) Returns the number of sxp elements where companyId = ? and readOnly = ?.intcountByC_T(long companyId, int type) Returns the number of sxp elements where companyId = ? and type = ?.intcountByC_T_S(long companyId, int type, int status) Returns the number of sxp elements where companyId = ? and type = ? and status = ?.intcountByCompanyId(long companyId) Returns the number of sxp elements where companyId = ?.intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of sxp elements where externalReferenceCode = ? and companyId = ?.intcountByUuid(String uuid) Returns the number of sxp elements where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of sxp elements where uuid = ? and companyId = ?.create(long sxpElementId) Creates a new sxp element with the primary key.fetchByC_R_First(long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where companyId = ? and readOnly = ?.fetchByC_R_Last(long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the last sxp element in the ordered set where companyId = ? and readOnly = ?.fetchByC_T_First(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where companyId = ? and type = ?.fetchByC_T_Last(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the last sxp element in the ordered set where companyId = ? and type = ?.fetchByC_T_S_First(long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where companyId = ? and type = ? and status = ?.fetchByC_T_S_Last(long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the last sxp element in the ordered set where companyId = ? and type = ? and status = ?.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where companyId = ?.fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the last sxp element in the ordered set where companyId = ?.fetchByERC_C(String externalReferenceCode, long companyId) Returns the sxp element where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.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.fetchByPrimaryKey(long sxpElementId) Returns the sxp element with the primary key or returnsnullif it could not be found.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the last sxp element in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where uuid = ?.fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the last sxp element in the ordered set where uuid = ?.intfilterCountByC_R(long companyId, boolean readOnly) Returns the number of sxp elements that the user has permission to view where companyId = ? and readOnly = ?.intfilterCountByC_T(long companyId, int type) Returns the number of sxp elements that the user has permission to view where companyId = ? and type = ?.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 = ?.intfilterCountByCompanyId(long companyId) Returns the number of sxp elements that the user has permission to view where companyId = ?.intfilterCountByUuid(String uuid) Returns the number of sxp elements that the user has permission to view where uuid = ?.intfilterCountByUuid_C(String uuid, long companyId) Returns the number of sxp elements that the user has permission to view where uuid = ? and companyId = ?.filterFindByC_R(long companyId, boolean readOnly) Returns all the sxp elements that the user has permission to view where companyId = ? and readOnly = ?.filterFindByC_R(long companyId, boolean readOnly, int start, int end) Returns a range of all the sxp elements that the user has permission to view where companyId = ? and readOnly = ?.filterFindByC_R(long companyId, boolean readOnly, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns an ordered range of all the sxp elements that the user has permissions to view where companyId = ? and readOnly = ?.filterFindByC_R_PrevAndNext(long sxpElementId, long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the sxp elements before and after the current sxp element in the ordered set of sxp elements that the user has permission to view where companyId = ? and readOnly = ?.filterFindByC_T(long companyId, int type) Returns all the sxp elements that the user has permission to view where companyId = ? and type = ?.filterFindByC_T(long companyId, int type, int start, int end) Returns a range of all the sxp elements that the user has permission to view where companyId = ? and type = ?.filterFindByC_T(long companyId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns an ordered range of all the sxp elements that the user has permissions to view where companyId = ? and type = ?.filterFindByC_T_PrevAndNext(long sxpElementId, long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the sxp elements before and after the current sxp element in the ordered set of sxp elements that the user has permission to view where companyId = ? and type = ?.filterFindByC_T_S(long companyId, int type, int status) Returns all the sxp elements that the user has permission to view where companyId = ? and type = ? and status = ?.filterFindByC_T_S(long companyId, int type, int status, int start, int end) Returns a range of all the sxp elements that the user has permission to view where companyId = ? and type = ? and status = ?.filterFindByC_T_S(long companyId, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns an ordered range of all the sxp elements that the user has permissions to view where companyId = ? and type = ? and status = ?.filterFindByC_T_S_PrevAndNext(long sxpElementId, long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the sxp elements before and after the current sxp element in the ordered set of sxp elements that the user has permission to view where companyId = ? and type = ? and status = ?.filterFindByCompanyId(long companyId) Returns all the sxp elements that the user has permission to view where companyId = ?.filterFindByCompanyId(long companyId, int start, int end) Returns a range of all the sxp elements that the user has permission to view where companyId = ?.filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns an ordered range of all the sxp elements that the user has permissions to view where companyId = ?.filterFindByCompanyId_PrevAndNext(long sxpElementId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the sxp elements before and after the current sxp element in the ordered set of sxp elements that the user has permission to view where companyId = ?.filterFindByUuid(String uuid) Returns all the sxp elements that the user has permission to view where uuid = ?.filterFindByUuid(String uuid, int start, int end) Returns a range of all the sxp elements that the user has permission to view where uuid = ?.filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns an ordered range of all the sxp elements that the user has permissions to view where uuid = ?.filterFindByUuid_C(String uuid, long companyId) Returns all the sxp elements that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the sxp elements that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns an ordered range of all the sxp elements that the user has permissions to view where uuid = ? and companyId = ?.filterFindByUuid_C_PrevAndNext(long sxpElementId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the sxp elements before and after the current sxp element in the ordered set of sxp elements that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_PrevAndNext(long sxpElementId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the sxp elements before and after the current sxp element in the ordered set of sxp elements that the user has permission to view where uuid = ?.findAll()Returns all the sxp elements.findAll(int start, int end) Returns a range of all the sxp elements.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns an ordered range of all the sxp elements.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sxp elements.findByC_R(long companyId, boolean readOnly) Returns all the sxp elements where companyId = ? and readOnly = ?.findByC_R(long companyId, boolean readOnly, int start, int end) Returns a range of all the sxp elements where companyId = ? and readOnly = ?.findByC_R(long companyId, boolean readOnly, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns an ordered range of all the sxp elements where companyId = ? and readOnly = ?.findByC_R(long companyId, boolean readOnly, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sxp elements where companyId = ? and readOnly = ?.findByC_R_First(long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where companyId = ? and readOnly = ?.findByC_R_Last(long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the last sxp element in the ordered set where companyId = ? and readOnly = ?.findByC_R_PrevAndNext(long sxpElementId, long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the sxp elements before and after the current sxp element in the ordered set where companyId = ? and readOnly = ?.findByC_T(long companyId, int type) Returns all the sxp elements where companyId = ? and type = ?.findByC_T(long companyId, int type, int start, int end) Returns a range of all the sxp elements where companyId = ? and type = ?.findByC_T(long companyId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns an ordered range of all the sxp elements where companyId = ? and type = ?.findByC_T(long companyId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sxp elements where companyId = ? and type = ?.findByC_T_First(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where companyId = ? and type = ?.findByC_T_Last(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the last sxp element in the ordered set where companyId = ? and type = ?.findByC_T_PrevAndNext(long sxpElementId, long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the sxp elements before and after the current sxp element in the ordered set where companyId = ? and type = ?.findByC_T_S(long companyId, int type, int status) Returns all the sxp elements where companyId = ? and type = ? and status = ?.findByC_T_S(long companyId, int type, int status, int start, int end) Returns a range of all the sxp elements where companyId = ? and type = ? and status = ?.findByC_T_S(long companyId, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns an ordered range of all the sxp elements where companyId = ? and type = ? and status = ?.findByC_T_S(long companyId, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sxp elements where companyId = ? and type = ? and status = ?.findByC_T_S_First(long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where companyId = ? and type = ? and status = ?.findByC_T_S_Last(long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the last sxp element in the ordered set where companyId = ? and type = ? and status = ?.findByC_T_S_PrevAndNext(long sxpElementId, long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the sxp elements before and after the current sxp element in the ordered set where companyId = ? and type = ? and status = ?.findByCompanyId(long companyId) Returns all the sxp elements where companyId = ?.findByCompanyId(long companyId, int start, int end) Returns a range of all the sxp elements where companyId = ?.findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns an ordered range of all the sxp elements where companyId = ?.findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sxp elements where companyId = ?.findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where companyId = ?.findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the last sxp element in the ordered set where companyId = ?.findByCompanyId_PrevAndNext(long sxpElementId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the sxp elements before and after the current sxp element in the ordered set where companyId = ?.findByERC_C(String externalReferenceCode, long companyId) Returns the sxp element where externalReferenceCode = ? and companyId = ? or throws aNoSuchSXPElementExceptionif it could not be found.findByPrimaryKey(long sxpElementId) Returns the sxp element with the primary key or throws aNoSuchSXPElementExceptionif it could not be found.findByUuid(String uuid) Returns all the sxp elements where uuid = ?.findByUuid(String uuid, int start, int end) Returns a range of all the sxp elements where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns an ordered range of all the sxp elements where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sxp elements where uuid = ?.findByUuid_C(String uuid, long companyId) Returns all the sxp elements where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the sxp elements where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns an ordered range of all the sxp elements where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sxp elements where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the last sxp element in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext(long sxpElementId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the sxp elements before and after the current sxp element in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where uuid = ?.findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the last sxp element in the ordered set where uuid = ?.findByUuid_PrevAndNext(long sxpElementId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the sxp elements before and after the current sxp element in the ordered set where uuid = ?.remove(long sxpElementId) Removes the sxp element with the primary key from the database.voidRemoves all the sxp elements from the database.voidremoveByC_R(long companyId, boolean readOnly) Removes all the sxp elements where companyId = ? and readOnly = ? from the database.voidremoveByC_T(long companyId, int type) Removes all the sxp elements where companyId = ? and type = ? from the database.voidremoveByC_T_S(long companyId, int type, int status) Removes all the sxp elements where companyId = ? and type = ? and status = ? from the database.voidremoveByCompanyId(long companyId) Removes all the sxp elements where companyId = ? from the database.removeByERC_C(String externalReferenceCode, long companyId) Removes the sxp element where externalReferenceCode = ? and companyId = ? from the database.voidremoveByUuid(String uuid) Removes all the sxp elements where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the sxp elements where uuid = ? and companyId = ? from the database.updateImpl(SXPElement sxpElement) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
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
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
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
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 found
-
fetchByUuid_First
SXPElement fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where uuid = ?.- Parameters:
uuid- the 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
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 found
-
fetchByUuid_Last
SXPElement fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the last sxp element in the ordered set where uuid = ?.- Parameters:
uuid- the 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
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 found
-
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
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
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 found
-
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
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
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
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 found
-
fetchByUuid_C_First
SXPElement fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the 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
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 found
-
fetchByUuid_C_Last
SXPElement fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the last sxp element in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the 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
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 found
-
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
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
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 found
-
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
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
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
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 found
-
fetchByCompanyId_First
SXPElement fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where companyId = ?.- Parameters:
companyId- the company 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
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 found
-
fetchByCompanyId_Last
SXPElement fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the last sxp element in the ordered set where companyId = ?.- Parameters:
companyId- the company 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
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 found
-
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
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
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 found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the sxp elements where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of sxp elements where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching sxp elements
-
filterCountByCompanyId
int filterCountByCompanyId(long companyId) Returns the number of sxp elements that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching sxp elements that the user has permission to view
-
findByC_R
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
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
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
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 found
-
fetchByC_R_First
SXPElement fetchByC_R_First(long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where companyId = ? and readOnly = ?.- Parameters:
companyId- the company 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
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 found
-
fetchByC_R_Last
SXPElement fetchByC_R_Last(long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the last sxp element in the ordered set where companyId = ? and readOnly = ?.- Parameters:
companyId- the company 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
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 found
-
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
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
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
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 found
-
removeByC_R
void removeByC_R(long companyId, boolean readOnly) Removes all the sxp elements where companyId = ? and readOnly = ? from the database.- Parameters:
companyId- the company IDreadOnly- the read only
-
countByC_R
int countByC_R(long companyId, boolean readOnly) Returns the number of sxp elements where companyId = ? and readOnly = ?.- Parameters:
companyId- the company IDreadOnly- the read only- Returns:
- the number of matching sxp elements
-
filterCountByC_R
int filterCountByC_R(long companyId, boolean readOnly) Returns the number of sxp elements that the user has permission to view where companyId = ? and readOnly = ?.- Parameters:
companyId- the company 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
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
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
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 found
-
fetchByC_T_First
SXPElement fetchByC_T_First(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where companyId = ? and type = ?.- Parameters:
companyId- the company 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
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 found
-
fetchByC_T_Last
SXPElement fetchByC_T_Last(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the last sxp element in the ordered set where companyId = ? and type = ?.- Parameters:
companyId- the company 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
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 found
-
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
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
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 found
-
removeByC_T
void removeByC_T(long companyId, int type) Removes all the sxp elements where companyId = ? and type = ? from the database.- Parameters:
companyId- the company IDtype- the type
-
countByC_T
int countByC_T(long companyId, int type) Returns the number of sxp elements where companyId = ? and type = ?.- Parameters:
companyId- the company IDtype- the type- Returns:
- the number of matching sxp elements
-
filterCountByC_T
int filterCountByC_T(long companyId, int type) Returns the number of sxp elements that the user has permission to view where companyId = ? and type = ?.- Parameters:
companyId- the company 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
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
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
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
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 found
-
fetchByC_T_S_First
SXPElement fetchByC_T_S_First(long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the first sxp element in the ordered set where companyId = ? and type = ? and status = ?.- Parameters:
companyId- the company 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
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 found
-
fetchByC_T_S_Last
SXPElement fetchByC_T_S_Last(long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) Returns the last sxp element in the ordered set where companyId = ? and type = ? and status = ?.- Parameters:
companyId- the company 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
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 found
-
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
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
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
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 found
-
removeByC_T_S
void removeByC_T_S(long companyId, int type, int status) Removes all the sxp elements where companyId = ? and type = ? and status = ? from the database.- Parameters:
companyId- the company IDtype- the typestatus- the status
-
countByC_T_S
int countByC_T_S(long companyId, int type, int status) Returns the number of sxp elements where companyId = ? and type = ? and status = ?.- Parameters:
companyId- the company IDtype- the typestatus- the status- Returns:
- the number of matching sxp elements
-
filterCountByC_T_S
int filterCountByC_T_S(long companyId, int type, int status) Returns the number of sxp elements that the user has permission to view where companyId = ? and type = ? and status = ?.- Parameters:
companyId- the company IDtype- the typestatus- the status- Returns:
- the number of matching sxp elements that the user has permission to view
-
findByERC_C
SXPElement findByERC_C(String externalReferenceCode, long companyId) throws NoSuchSXPElementException Returns the sxp element where externalReferenceCode = ? and companyId = ? or throws 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 found
-
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
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
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 found
-
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 found
-
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
List<SXPElement> 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
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
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
void removeAll()Removes all the sxp elements from the database. -
countAll
int countAll()Returns the number of sxp elements.- Returns:
- the number of sxp elements
-