public class SXPElementUtil
extends java.lang.Object
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
SXPElementPersistence
Constructor and Description |
---|
SXPElementUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<SXPElement> sxpElements)
Caches the sxp elements in the entity cache if it is enabled.
|
static void |
cacheResult(SXPElement sxpElement)
Caches the sxp element in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(SXPElement sxpElement) |
static int |
countAll()
Returns the number of sxp elements.
|
static int |
countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the number of sxp elements where companyId = ? and externalReferenceCode = ?.
|
static int |
countByC_R(long companyId,
boolean readOnly)
Returns the number of sxp elements where companyId = ? and readOnly = ?.
|
static int |
countByC_T_S(long companyId,
int type,
int status)
Returns the number of sxp elements where companyId = ? and type = ? and status = ?.
|
static int |
countByC_T(long companyId,
int type)
Returns the number of sxp elements where companyId = ? and type = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of sxp elements where companyId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of sxp elements where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of sxp elements where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static SXPElement |
create(long sxpElementId)
Creates a new sxp element with the primary key.
|
static SXPElement |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the sxp element where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
static SXPElement |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode,
boolean useFinderCache)
Returns the sxp element where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
static SXPElement |
fetchByC_R_First(long companyId,
boolean readOnly,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the first sxp element in the ordered set where companyId = ? and readOnly = ?.
|
static SXPElement |
fetchByC_R_Last(long companyId,
boolean readOnly,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the last sxp element in the ordered set where companyId = ? and readOnly = ?.
|
static SXPElement |
fetchByC_T_First(long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the first sxp element in the ordered set where companyId = ? and type = ?.
|
static SXPElement |
fetchByC_T_Last(long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the last sxp element in the ordered set where companyId = ? and type = ?.
|
static SXPElement |
fetchByC_T_S_First(long companyId,
int type,
int status,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the first sxp element in the ordered set where companyId = ? and type = ? and status = ?.
|
static SXPElement |
fetchByC_T_S_Last(long companyId,
int type,
int status,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the last sxp element in the ordered set where companyId = ? and type = ? and status = ?.
|
static SXPElement |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the first sxp element in the ordered set where companyId = ?.
|
static SXPElement |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the last sxp element in the ordered set where companyId = ?.
|
static SXPElement |
fetchByPrimaryKey(long sxpElementId)
Returns the sxp element with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,SXPElement> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static SXPElement |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the first sxp element in the ordered set where uuid = ? and companyId = ?.
|
static SXPElement |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the last sxp element in the ordered set where uuid = ? and companyId = ?.
|
static SXPElement |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the first sxp element in the ordered set where uuid = ?.
|
static SXPElement |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the last sxp element in the ordered set where uuid = ?.
|
static int |
filterCountByC_R(long companyId,
boolean readOnly)
Returns the number of sxp elements that the user has permission to view where companyId = ? and readOnly = ?.
|
static int |
filterCountByC_T_S(long companyId,
int type,
int status)
Returns the number of sxp elements that the user has permission to view where companyId = ? and type = ? and status = ?.
|
static int |
filterCountByC_T(long companyId,
int type)
Returns the number of sxp elements that the user has permission to view where companyId = ? and type = ?.
|
static int |
filterCountByCompanyId(long companyId)
Returns the number of sxp elements that the user has permission to view where companyId = ?.
|
static int |
filterCountByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of sxp elements that the user has permission to view where uuid = ? and companyId = ?.
|
static int |
filterCountByUuid(java.lang.String uuid)
Returns the number of sxp elements that the user has permission to view where uuid = ?.
|
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 java.util.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 java.util.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 java.util.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_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 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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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[] |
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 java.util.List<SXPElement> |
filterFindByCompanyId(long companyId)
Returns all the sxp elements that the user has permission to view where companyId = ?.
|
static java.util.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 java.util.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[] |
filterFindByUuid_C_PrevAndNext(long sxpElementId,
java.lang.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 java.util.List<SXPElement> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the sxp elements that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<SXPElement> |
filterFindByUuid_C(java.lang.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 java.util.List<SXPElement> |
filterFindByUuid_C(java.lang.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_PrevAndNext(long sxpElementId,
java.lang.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 java.util.List<SXPElement> |
filterFindByUuid(java.lang.String uuid)
Returns all the sxp elements that the user has permission to view where uuid = ?.
|
static java.util.List<SXPElement> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the sxp elements that the user has permission to view where uuid = ?.
|
static java.util.List<SXPElement> |
filterFindByUuid(java.lang.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 java.util.List<SXPElement> |
findAll()
Returns all the sxp elements.
|
static java.util.List<SXPElement> |
findAll(int start,
int end)
Returns a range of all the sxp elements.
|
static java.util.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 java.util.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 SXPElement |
findByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the sxp element where companyId = ? and externalReferenceCode = ? or throws a
NoSuchSXPElementException if it could not be found. |
static SXPElement |
findByC_R_First(long companyId,
boolean readOnly,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the first sxp element in the ordered set where companyId = ? and readOnly = ?.
|
static SXPElement |
findByC_R_Last(long companyId,
boolean readOnly,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the last sxp element in the ordered set where companyId = ? and readOnly = ?.
|
static SXPElement[] |
findByC_R_PrevAndNext(long sxpElementId,
long companyId,
boolean readOnly,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the sxp elements before and after the current sxp element in the ordered set where companyId = ? and readOnly = ?.
|
static java.util.List<SXPElement> |
findByC_R(long companyId,
boolean readOnly)
Returns all the sxp elements where companyId = ? and readOnly = ?.
|
static java.util.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 java.util.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 java.util.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 SXPElement |
findByC_T_First(long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the first sxp element in the ordered set where companyId = ? and type = ?.
|
static SXPElement |
findByC_T_Last(long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the last sxp element in the ordered set where companyId = ? and type = ?.
|
static SXPElement[] |
findByC_T_PrevAndNext(long sxpElementId,
long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the sxp elements before and after the current sxp element in the ordered set where companyId = ? and type = ?.
|
static SXPElement |
findByC_T_S_First(long companyId,
int type,
int status,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the first sxp element in the ordered set where companyId = ? and type = ? and status = ?.
|
static SXPElement |
findByC_T_S_Last(long companyId,
int type,
int status,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the last sxp element in the ordered set where companyId = ? and type = ? and status = ?.
|
static SXPElement[] |
findByC_T_S_PrevAndNext(long sxpElementId,
long companyId,
int type,
int status,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the sxp elements before and after the current sxp element in the ordered set where companyId = ? and type = ? and status = ?.
|
static java.util.List<SXPElement> |
findByC_T_S(long companyId,
int type,
int status)
Returns all the sxp elements where companyId = ? and type = ? and status = ?.
|
static java.util.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 java.util.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 java.util.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 java.util.List<SXPElement> |
findByC_T(long companyId,
int type)
Returns all the sxp elements where companyId = ? and type = ?.
|
static java.util.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 java.util.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 java.util.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 SXPElement |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the first sxp element in the ordered set where companyId = ?.
|
static SXPElement |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the last sxp element in the ordered set where companyId = ?.
|
static SXPElement[] |
findByCompanyId_PrevAndNext(long sxpElementId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the sxp elements before and after the current sxp element in the ordered set where companyId = ?.
|
static java.util.List<SXPElement> |
findByCompanyId(long companyId)
Returns all the sxp elements where companyId = ?.
|
static java.util.List<SXPElement> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the sxp elements where companyId = ?.
|
static java.util.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 java.util.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 SXPElement |
findByPrimaryKey(long sxpElementId)
Returns the sxp element with the primary key or throws a
NoSuchSXPElementException if it could not be found. |
static SXPElement |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the first sxp element in the ordered set where uuid = ? and companyId = ?.
|
static SXPElement |
findByUuid_C_Last(java.lang.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,
java.lang.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 java.util.List<SXPElement> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the sxp elements where uuid = ? and companyId = ?.
|
static java.util.List<SXPElement> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the sxp elements where uuid = ? and companyId = ?.
|
static java.util.List<SXPElement> |
findByUuid_C(java.lang.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 java.util.List<SXPElement> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the sxp elements where uuid = ? and companyId = ?.
|
static SXPElement |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the first sxp element in the ordered set where uuid = ?.
|
static SXPElement |
findByUuid_Last(java.lang.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,
java.lang.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 java.util.List<SXPElement> |
findByUuid(java.lang.String uuid)
Returns all the sxp elements where uuid = ?.
|
static java.util.List<SXPElement> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the sxp elements where uuid = ?.
|
static java.util.List<SXPElement> |
findByUuid(java.lang.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 java.util.List<SXPElement> |
findByUuid(java.lang.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 java.util.List<SXPElement> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<SXPElement> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<SXPElement> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) |
static SXPElementPersistence |
getPersistence() |
static SXPElement |
remove(long sxpElementId)
Removes the sxp element with the primary key from the database.
|
static void |
removeAll()
Removes all the sxp elements from the database.
|
static SXPElement |
removeByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Removes the sxp element where companyId = ? and externalReferenceCode = ? from the database.
|
static void |
removeByC_R(long companyId,
boolean readOnly)
Removes all the sxp elements where companyId = ? and readOnly = ? from the database.
|
static void |
removeByC_T_S(long companyId,
int type,
int status)
Removes all the sxp elements where companyId = ? and type = ? and status = ? from the database.
|
static void |
removeByC_T(long companyId,
int type)
Removes all the sxp elements where companyId = ? and type = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the sxp elements where companyId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the sxp elements where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the sxp elements where uuid = ? from the database.
|
static SXPElement |
update(SXPElement sxpElement) |
static SXPElement |
update(SXPElement sxpElement,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static SXPElement |
updateImpl(SXPElement sxpElement) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(SXPElement sxpElement)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,SXPElement> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<SXPElement> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<SXPElement> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<SXPElement> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static SXPElement update(SXPElement sxpElement)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static SXPElement update(SXPElement sxpElement, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<SXPElement> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<SXPElement> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of sxp elementsend
- the upper bound of the range of sxp elements (not inclusive)public static java.util.List<SXPElement> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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 (optionally null
)public static java.util.List<SXPElement> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SXPElement findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a matching sxp element could not be foundpublic static SXPElement fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sxp element could not be foundpublic static SXPElement findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a matching sxp element could not be foundpublic static SXPElement fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sxp element could not be foundpublic static SXPElement[] findByUuid_PrevAndNext(long sxpElementId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
sxpElementId
- the primary key of the current sxp elementuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a sxp element with the primary key could not be foundpublic static java.util.List<SXPElement> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<SXPElement> filterFindByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of sxp elementsend
- the upper bound of the range of sxp elements (not inclusive)public static java.util.List<SXPElement> filterFindByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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 (optionally null
)public static SXPElement[] filterFindByUuid_PrevAndNext(long sxpElementId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
sxpElementId
- the primary key of the current sxp elementuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a sxp element with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int filterCountByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<SXPElement> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<SXPElement> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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)public static java.util.List<SXPElement> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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 (optionally null
)public static java.util.List<SXPElement> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SXPElement findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a matching sxp element could not be foundpublic static SXPElement fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sxp element could not be foundpublic static SXPElement findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a matching sxp element could not be foundpublic static SXPElement fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sxp element could not be foundpublic static SXPElement[] findByUuid_C_PrevAndNext(long sxpElementId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
sxpElementId
- the primary key of the current sxp elementuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a sxp element with the primary key could not be foundpublic static java.util.List<SXPElement> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<SXPElement> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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)public static java.util.List<SXPElement> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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 (optionally null
)public static SXPElement[] filterFindByUuid_C_PrevAndNext(long sxpElementId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
sxpElementId
- the primary key of the current sxp elementuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a sxp element with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int filterCountByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<SXPElement> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<SXPElement> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of sxp elementsend
- the upper bound of the range of sxp elements (not inclusive)public static java.util.List<SXPElement> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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 (optionally null
)public static java.util.List<SXPElement> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SXPElement findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a matching sxp element could not be foundpublic static SXPElement fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sxp element could not be foundpublic static SXPElement findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a matching sxp element could not be foundpublic static SXPElement fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sxp element could not be foundpublic static SXPElement[] findByCompanyId_PrevAndNext(long sxpElementId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
sxpElementId
- the primary key of the current sxp elementcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a sxp element with the primary key could not be foundpublic static java.util.List<SXPElement> filterFindByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<SXPElement> filterFindByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of sxp elementsend
- the upper bound of the range of sxp elements (not inclusive)public static java.util.List<SXPElement> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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 (optionally null
)public static SXPElement[] filterFindByCompanyId_PrevAndNext(long sxpElementId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
sxpElementId
- the primary key of the current sxp elementcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a sxp element with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static int filterCountByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<SXPElement> findByC_R(long companyId, boolean readOnly)
companyId
- the company IDreadOnly
- the read onlypublic static java.util.List<SXPElement> findByC_R(long companyId, boolean readOnly, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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)public static java.util.List<SXPElement> findByC_R(long companyId, boolean readOnly, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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 (optionally null
)public static java.util.List<SXPElement> findByC_R(long companyId, boolean readOnly, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SXPElement findByC_R_First(long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
companyId
- the company IDreadOnly
- the read onlyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a matching sxp element could not be foundpublic static SXPElement fetchByC_R_First(long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
companyId
- the company IDreadOnly
- the read onlyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sxp element could not be foundpublic static SXPElement findByC_R_Last(long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
companyId
- the company IDreadOnly
- the read onlyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a matching sxp element could not be foundpublic static SXPElement fetchByC_R_Last(long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
companyId
- the company IDreadOnly
- the read onlyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sxp element could not be foundpublic static SXPElement[] findByC_R_PrevAndNext(long sxpElementId, long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
sxpElementId
- the primary key of the current sxp elementcompanyId
- the company IDreadOnly
- the read onlyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a sxp element with the primary key could not be foundpublic static java.util.List<SXPElement> filterFindByC_R(long companyId, boolean readOnly)
companyId
- the company IDreadOnly
- the read onlypublic static java.util.List<SXPElement> filterFindByC_R(long companyId, boolean readOnly, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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)public static java.util.List<SXPElement> filterFindByC_R(long companyId, boolean readOnly, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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 (optionally null
)public static SXPElement[] filterFindByC_R_PrevAndNext(long sxpElementId, long companyId, boolean readOnly, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
sxpElementId
- the primary key of the current sxp elementcompanyId
- the company IDreadOnly
- the read onlyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a sxp element with the primary key could not be foundpublic static void removeByC_R(long companyId, boolean readOnly)
companyId
- the company IDreadOnly
- the read onlypublic static int countByC_R(long companyId, boolean readOnly)
companyId
- the company IDreadOnly
- the read onlypublic static int filterCountByC_R(long companyId, boolean readOnly)
companyId
- the company IDreadOnly
- the read onlypublic static java.util.List<SXPElement> findByC_T(long companyId, int type)
companyId
- the company IDtype
- the typepublic static java.util.List<SXPElement> findByC_T(long companyId, int type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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)public static java.util.List<SXPElement> findByC_T(long companyId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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 (optionally null
)public static java.util.List<SXPElement> findByC_T(long companyId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SXPElement findByC_T_First(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a matching sxp element could not be foundpublic static SXPElement fetchByC_T_First(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sxp element could not be foundpublic static SXPElement findByC_T_Last(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a matching sxp element could not be foundpublic static SXPElement fetchByC_T_Last(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sxp element could not be foundpublic static SXPElement[] findByC_T_PrevAndNext(long sxpElementId, long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
sxpElementId
- the primary key of the current sxp elementcompanyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a sxp element with the primary key could not be foundpublic static java.util.List<SXPElement> filterFindByC_T(long companyId, int type)
companyId
- the company IDtype
- the typepublic static java.util.List<SXPElement> filterFindByC_T(long companyId, int type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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)public static java.util.List<SXPElement> filterFindByC_T(long companyId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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 (optionally null
)public static SXPElement[] filterFindByC_T_PrevAndNext(long sxpElementId, long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
sxpElementId
- the primary key of the current sxp elementcompanyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a sxp element with the primary key could not be foundpublic static void removeByC_T(long companyId, int type)
companyId
- the company IDtype
- the typepublic static int countByC_T(long companyId, int type)
companyId
- the company IDtype
- the typepublic static int filterCountByC_T(long companyId, int type)
companyId
- the company IDtype
- the typepublic static java.util.List<SXPElement> findByC_T_S(long companyId, int type, int status)
companyId
- the company IDtype
- the typestatus
- the statuspublic static java.util.List<SXPElement> findByC_T_S(long companyId, int type, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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)public static java.util.List<SXPElement> findByC_T_S(long companyId, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SXPElement findByC_T_S_First(long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
companyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a matching sxp element could not be foundpublic static SXPElement fetchByC_T_S_First(long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
companyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sxp element could not be foundpublic static SXPElement findByC_T_S_Last(long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
companyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a matching sxp element could not be foundpublic static SXPElement fetchByC_T_S_Last(long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
companyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sxp element could not be foundpublic static SXPElement[] findByC_T_S_PrevAndNext(long sxpElementId, long companyId, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator) throws NoSuchSXPElementException
sxpElementId
- the primary key of the current sxp elementcompanyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a sxp element with the primary key could not be foundpublic static java.util.List<SXPElement> filterFindByC_T_S(long companyId, int type, int status)
companyId
- the company IDtype
- the typestatus
- the statuspublic static java.util.List<SXPElement> filterFindByC_T_S(long companyId, int type, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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)public static java.util.List<SXPElement> filterFindByC_T_S(long companyId, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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 (optionally null
)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
sxpElementId
- the primary key of the current sxp elementcompanyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPElementException
- if a sxp element with the primary key could not be foundpublic static void removeByC_T_S(long companyId, int type, int status)
companyId
- the company IDtype
- the typestatus
- the statuspublic static int countByC_T_S(long companyId, int type, int status)
companyId
- the company IDtype
- the typestatus
- the statuspublic static int filterCountByC_T_S(long companyId, int type, int status)
companyId
- the company IDtype
- the typestatus
- the statuspublic static SXPElement findByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchSXPElementException
NoSuchSXPElementException
if it could not be found.companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchSXPElementException
- if a matching sxp element could not be foundpublic static SXPElement fetchByC_ERC(long companyId, java.lang.String externalReferenceCode)
null
if it could not be found. Uses the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codenull
if a matching sxp element could not be foundpublic static SXPElement fetchByC_ERC(long companyId, java.lang.String externalReferenceCode, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codeuseFinderCache
- whether to use the finder cachenull
if a matching sxp element could not be foundpublic static SXPElement removeByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchSXPElementException
companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchSXPElementException
public static int countByC_ERC(long companyId, java.lang.String externalReferenceCode)
companyId
- the company IDexternalReferenceCode
- the external reference codepublic static void cacheResult(SXPElement sxpElement)
sxpElement
- the sxp elementpublic static void cacheResult(java.util.List<SXPElement> sxpElements)
sxpElements
- the sxp elementspublic static SXPElement create(long sxpElementId)
sxpElementId
- the primary key for the new sxp elementpublic static SXPElement remove(long sxpElementId) throws NoSuchSXPElementException
sxpElementId
- the primary key of the sxp elementNoSuchSXPElementException
- if a sxp element with the primary key could not be foundpublic static SXPElement updateImpl(SXPElement sxpElement)
public static SXPElement findByPrimaryKey(long sxpElementId) throws NoSuchSXPElementException
NoSuchSXPElementException
if it could not be found.sxpElementId
- the primary key of the sxp elementNoSuchSXPElementException
- if a sxp element with the primary key could not be foundpublic static SXPElement fetchByPrimaryKey(long sxpElementId)
null
if it could not be found.sxpElementId
- the primary key of the sxp elementnull
if a sxp element with the primary key could not be foundpublic static java.util.List<SXPElement> findAll()
public static java.util.List<SXPElement> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
start
- the lower bound of the range of sxp elementsend
- the upper bound of the range of sxp elements (not inclusive)public static java.util.List<SXPElement> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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 (optionally null
)public static java.util.List<SXPElement> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SXPElementModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static SXPElementPersistence getPersistence()