@ProviderType public interface SXPElementPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<SXPElement>
Caching information and settings can be found in portal.properties
SXPElementUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<SXPElement> sxpElements)
Caches the sxp elements in the entity cache if it is enabled.
|
void |
cacheResult(SXPElement sxpElement)
Caches the sxp element in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of sxp elements.
|
int |
countByC_R(long companyId,
boolean readOnly)
Returns the number of sxp elements where companyId = ? and readOnly = ?.
|
int |
countByC_T_S(long companyId,
int type,
int status)
Returns the number of sxp elements where companyId = ? and type = ? and status = ?.
|
int |
countByC_T(long companyId,
int type)
Returns the number of sxp elements where companyId = ? and type = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of sxp elements where companyId = ?.
|
int |
countByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the number of sxp elements where externalReferenceCode = ? and companyId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of sxp elements where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of sxp elements where uuid = ?.
|
SXPElement |
create(long sxpElementId)
Creates a new sxp element with the primary key.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
SXPElement |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the first sxp element in the ordered set where companyId = ?.
|
SXPElement |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the last sxp element in the ordered set where companyId = ?.
|
SXPElement |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the sxp element where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
SXPElement |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the sxp element where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
SXPElement |
fetchByPrimaryKey(long sxpElementId)
Returns the sxp element with the primary key or returns
null if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
int |
filterCountByC_R(long companyId,
boolean readOnly)
Returns the number of sxp elements that the user has permission to view where companyId = ? and readOnly = ?.
|
int |
filterCountByC_T_S(long companyId,
int type,
int status)
Returns the number of sxp elements that the user has permission to view where companyId = ? and type = ? and status = ?.
|
int |
filterCountByC_T(long companyId,
int type)
Returns the number of sxp elements that the user has permission to view where companyId = ? and type = ?.
|
int |
filterCountByCompanyId(long companyId)
Returns the number of sxp elements that the user has permission to view where companyId = ?.
|
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 = ?.
|
int |
filterCountByUuid(java.lang.String uuid)
Returns the number of sxp elements that the user has permission to view where uuid = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<SXPElement> |
filterFindByCompanyId(long companyId)
Returns all the sxp elements that the user has permission to view where companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<SXPElement> |
filterFindByUuid(java.lang.String uuid)
Returns all the sxp elements that the user has permission to view where uuid = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<SXPElement> |
findAll()
Returns all the sxp elements.
|
java.util.List<SXPElement> |
findAll(int start,
int end)
Returns a range of all the sxp elements.
|
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.
|
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.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<SXPElement> |
findByC_R(long companyId,
boolean readOnly)
Returns all the sxp elements where companyId = ? and readOnly = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<SXPElement> |
findByC_T_S(long companyId,
int type,
int status)
Returns all the sxp elements where companyId = ? and type = ? and status = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<SXPElement> |
findByC_T(long companyId,
int type)
Returns all the sxp elements where companyId = ? and type = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
SXPElement |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the first sxp element in the ordered set where companyId = ?.
|
SXPElement |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPElement> orderByComparator)
Returns the last sxp element in the ordered set where companyId = ?.
|
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 = ?.
|
java.util.List<SXPElement> |
findByCompanyId(long companyId)
Returns all the sxp elements where companyId = ?.
|
java.util.List<SXPElement> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the sxp elements where companyId = ?.
|
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 = ?.
|
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 = ?.
|
SXPElement |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the sxp element where externalReferenceCode = ? and companyId = ? or throws a
NoSuchSXPElementException if it could not be found. |
SXPElement |
findByPrimaryKey(long sxpElementId)
Returns the sxp element with the primary key or throws a
NoSuchSXPElementException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<SXPElement> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the sxp elements where uuid = ? and companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<SXPElement> |
findByUuid(java.lang.String uuid)
Returns all the sxp elements where uuid = ?.
|
java.util.List<SXPElement> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the sxp elements where uuid = ?.
|
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 = ?.
|
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 = ?.
|
SXPElement |
remove(long sxpElementId)
Removes the sxp element with the primary key from the database.
|
void |
removeAll()
Removes all the sxp elements from the database.
|
void |
removeByC_R(long companyId,
boolean readOnly)
Removes all the sxp elements where companyId = ? and readOnly = ? from the database.
|
void |
removeByC_T_S(long companyId,
int type,
int status)
Removes all the sxp elements where companyId = ? and type = ? and status = ? from the database.
|
void |
removeByC_T(long companyId,
int type)
Removes all the sxp elements where companyId = ? and type = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the sxp elements where companyId = ? from the database.
|
SXPElement |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the sxp element where externalReferenceCode = ? and companyId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the sxp elements where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the sxp elements where uuid = ? from the database.
|
SXPElement |
updateImpl(SXPElement sxpElement) |
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, setDataSource, unregisterListener, update, update
java.util.List<SXPElement> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.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)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
)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 cacheSXPElement 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 foundSXPElement 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 foundSXPElement 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 foundSXPElement 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 foundSXPElement[] 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 foundjava.util.List<SXPElement> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidjava.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)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
)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 foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidint filterCountByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<SXPElement> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.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)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
)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 cacheSXPElement 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 foundSXPElement 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 foundSXPElement 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 foundSXPElement 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 foundSXPElement[] 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 foundjava.util.List<SXPElement> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.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)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
)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 foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint filterCountByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<SXPElement> findByCompanyId(long companyId)
companyId
- the company IDjava.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)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
)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 cacheSXPElement 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 foundSXPElement 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 foundSXPElement 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 foundSXPElement 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 foundSXPElement[] 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 foundjava.util.List<SXPElement> filterFindByCompanyId(long companyId)
companyId
- the company IDjava.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)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
)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 foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDint filterCountByCompanyId(long companyId)
companyId
- the company IDjava.util.List<SXPElement> findByC_R(long companyId, boolean readOnly)
companyId
- the company IDreadOnly
- the read onlyjava.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)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
)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 cacheSXPElement 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 foundSXPElement 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 foundSXPElement 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 foundSXPElement 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 foundSXPElement[] 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 foundjava.util.List<SXPElement> filterFindByC_R(long companyId, boolean readOnly)
companyId
- the company IDreadOnly
- the read onlyjava.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)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
)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 foundvoid removeByC_R(long companyId, boolean readOnly)
companyId
- the company IDreadOnly
- the read onlyint countByC_R(long companyId, boolean readOnly)
companyId
- the company IDreadOnly
- the read onlyint filterCountByC_R(long companyId, boolean readOnly)
companyId
- the company IDreadOnly
- the read onlyjava.util.List<SXPElement> findByC_T(long companyId, int type)
companyId
- the company IDtype
- the typejava.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)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
)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 cacheSXPElement 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 foundSXPElement 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 foundSXPElement 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 foundSXPElement 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 foundSXPElement[] 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 foundjava.util.List<SXPElement> filterFindByC_T(long companyId, int type)
companyId
- the company IDtype
- the typejava.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)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
)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 foundvoid removeByC_T(long companyId, int type)
companyId
- the company IDtype
- the typeint countByC_T(long companyId, int type)
companyId
- the company IDtype
- the typeint filterCountByC_T(long companyId, int type)
companyId
- the company IDtype
- the typejava.util.List<SXPElement> findByC_T_S(long companyId, int type, int status)
companyId
- the company IDtype
- the typestatus
- the statusjava.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)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
)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 cacheSXPElement 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 foundSXPElement 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 foundSXPElement 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 foundSXPElement 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 foundSXPElement[] 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 foundjava.util.List<SXPElement> filterFindByC_T_S(long companyId, int type, int status)
companyId
- the company IDtype
- the typestatus
- the statusjava.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)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
)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 foundvoid removeByC_T_S(long companyId, int type, int status)
companyId
- the company IDtype
- the typestatus
- the statusint countByC_T_S(long companyId, int type, int status)
companyId
- the company IDtype
- the typestatus
- the statusint filterCountByC_T_S(long companyId, int type, int status)
companyId
- the company IDtype
- the typestatus
- the statusSXPElement findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchSXPElementException
NoSuchSXPElementException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchSXPElementException
- if a matching sxp element could not be foundSXPElement fetchByERC_C(java.lang.String externalReferenceCode, long companyId)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDnull
if a matching sxp element could not be foundSXPElement fetchByERC_C(java.lang.String externalReferenceCode, long companyId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cachenull
if a matching sxp element could not be foundSXPElement removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchSXPElementException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchSXPElementException
int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDvoid cacheResult(SXPElement sxpElement)
sxpElement
- the sxp elementvoid cacheResult(java.util.List<SXPElement> sxpElements)
sxpElements
- the sxp elementsSXPElement create(long sxpElementId)
sxpElementId
- the primary key for the new sxp elementSXPElement remove(long sxpElementId) throws NoSuchSXPElementException
sxpElementId
- the primary key of the sxp elementNoSuchSXPElementException
- if a sxp element with the primary key could not be foundSXPElement updateImpl(SXPElement sxpElement)
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 foundSXPElement 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 foundjava.util.List<SXPElement> findAll()
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)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
)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 cachevoid removeAll()
int countAll()