public class SXPBlueprintUtil
extends java.lang.Object
com.liferay.search.experiences.service.persistence.impl.SXPBlueprintPersistenceImpl
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
SXPBlueprintPersistence
Constructor and Description |
---|
SXPBlueprintUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<SXPBlueprint> sxpBlueprints)
Caches the sxp blueprints in the entity cache if it is enabled.
|
static void |
cacheResult(SXPBlueprint sxpBlueprint)
Caches the sxp blueprint in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(SXPBlueprint sxpBlueprint) |
static int |
countAll()
Returns the number of sxp blueprints.
|
static int |
countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the number of sxp blueprints where companyId = ? and externalReferenceCode = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of sxp blueprints where companyId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of sxp blueprints where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of sxp blueprints where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static SXPBlueprint |
create(long sxpBlueprintId)
Creates a new sxp blueprint with the primary key.
|
static SXPBlueprint |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the sxp blueprint where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
static SXPBlueprint |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode,
boolean useFinderCache)
Returns the sxp blueprint where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
static SXPBlueprint |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns the first sxp blueprint in the ordered set where companyId = ?.
|
static SXPBlueprint |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns the last sxp blueprint in the ordered set where companyId = ?.
|
static SXPBlueprint |
fetchByPrimaryKey(long sxpBlueprintId)
Returns the sxp blueprint with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,SXPBlueprint> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static SXPBlueprint |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns the first sxp blueprint in the ordered set where uuid = ? and companyId = ?.
|
static SXPBlueprint |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns the last sxp blueprint in the ordered set where uuid = ? and companyId = ?.
|
static SXPBlueprint |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns the first sxp blueprint in the ordered set where uuid = ?.
|
static SXPBlueprint |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns the last sxp blueprint in the ordered set where uuid = ?.
|
static int |
filterCountByCompanyId(long companyId)
Returns the number of sxp blueprints that the user has permission to view where companyId = ?.
|
static int |
filterCountByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of sxp blueprints that the user has permission to view where uuid = ? and companyId = ?.
|
static int |
filterCountByUuid(java.lang.String uuid)
Returns the number of sxp blueprints that the user has permission to view where uuid = ?.
|
static SXPBlueprint[] |
filterFindByCompanyId_PrevAndNext(long sxpBlueprintId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns the sxp blueprints before and after the current sxp blueprint in the ordered set of sxp blueprints that the user has permission to view where companyId = ?.
|
static java.util.List<SXPBlueprint> |
filterFindByCompanyId(long companyId)
Returns all the sxp blueprints that the user has permission to view where companyId = ?.
|
static java.util.List<SXPBlueprint> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the sxp blueprints that the user has permission to view where companyId = ?.
|
static java.util.List<SXPBlueprint> |
filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns an ordered range of all the sxp blueprints that the user has permissions to view where companyId = ?.
|
static SXPBlueprint[] |
filterFindByUuid_C_PrevAndNext(long sxpBlueprintId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns the sxp blueprints before and after the current sxp blueprint in the ordered set of sxp blueprints that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<SXPBlueprint> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the sxp blueprints that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<SXPBlueprint> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the sxp blueprints that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<SXPBlueprint> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns an ordered range of all the sxp blueprints that the user has permissions to view where uuid = ? and companyId = ?.
|
static SXPBlueprint[] |
filterFindByUuid_PrevAndNext(long sxpBlueprintId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns the sxp blueprints before and after the current sxp blueprint in the ordered set of sxp blueprints that the user has permission to view where uuid = ?.
|
static java.util.List<SXPBlueprint> |
filterFindByUuid(java.lang.String uuid)
Returns all the sxp blueprints that the user has permission to view where uuid = ?.
|
static java.util.List<SXPBlueprint> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the sxp blueprints that the user has permission to view where uuid = ?.
|
static java.util.List<SXPBlueprint> |
filterFindByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns an ordered range of all the sxp blueprints that the user has permissions to view where uuid = ?.
|
static java.util.List<SXPBlueprint> |
findAll()
Returns all the sxp blueprints.
|
static java.util.List<SXPBlueprint> |
findAll(int start,
int end)
Returns a range of all the sxp blueprints.
|
static java.util.List<SXPBlueprint> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns an ordered range of all the sxp blueprints.
|
static java.util.List<SXPBlueprint> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the sxp blueprints.
|
static SXPBlueprint |
findByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the sxp blueprint where companyId = ? and externalReferenceCode = ? or throws a
NoSuchSXPBlueprintException if it could not be found. |
static SXPBlueprint |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns the first sxp blueprint in the ordered set where companyId = ?.
|
static SXPBlueprint |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns the last sxp blueprint in the ordered set where companyId = ?.
|
static SXPBlueprint[] |
findByCompanyId_PrevAndNext(long sxpBlueprintId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns the sxp blueprints before and after the current sxp blueprint in the ordered set where companyId = ?.
|
static java.util.List<SXPBlueprint> |
findByCompanyId(long companyId)
Returns all the sxp blueprints where companyId = ?.
|
static java.util.List<SXPBlueprint> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the sxp blueprints where companyId = ?.
|
static java.util.List<SXPBlueprint> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns an ordered range of all the sxp blueprints where companyId = ?.
|
static java.util.List<SXPBlueprint> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the sxp blueprints where companyId = ?.
|
static SXPBlueprint |
findByPrimaryKey(long sxpBlueprintId)
Returns the sxp blueprint with the primary key or throws a
NoSuchSXPBlueprintException if it could not be found. |
static SXPBlueprint |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns the first sxp blueprint in the ordered set where uuid = ? and companyId = ?.
|
static SXPBlueprint |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns the last sxp blueprint in the ordered set where uuid = ? and companyId = ?.
|
static SXPBlueprint[] |
findByUuid_C_PrevAndNext(long sxpBlueprintId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns the sxp blueprints before and after the current sxp blueprint in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<SXPBlueprint> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the sxp blueprints where uuid = ? and companyId = ?.
|
static java.util.List<SXPBlueprint> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the sxp blueprints where uuid = ? and companyId = ?.
|
static java.util.List<SXPBlueprint> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns an ordered range of all the sxp blueprints where uuid = ? and companyId = ?.
|
static java.util.List<SXPBlueprint> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the sxp blueprints where uuid = ? and companyId = ?.
|
static SXPBlueprint |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns the first sxp blueprint in the ordered set where uuid = ?.
|
static SXPBlueprint |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns the last sxp blueprint in the ordered set where uuid = ?.
|
static SXPBlueprint[] |
findByUuid_PrevAndNext(long sxpBlueprintId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns the sxp blueprints before and after the current sxp blueprint in the ordered set where uuid = ?.
|
static java.util.List<SXPBlueprint> |
findByUuid(java.lang.String uuid)
Returns all the sxp blueprints where uuid = ?.
|
static java.util.List<SXPBlueprint> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the sxp blueprints where uuid = ?.
|
static java.util.List<SXPBlueprint> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
Returns an ordered range of all the sxp blueprints where uuid = ?.
|
static java.util.List<SXPBlueprint> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the sxp blueprints where uuid = ?.
|
static java.util.List<SXPBlueprint> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<SXPBlueprint> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<SXPBlueprint> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) |
static SXPBlueprintPersistence |
getPersistence() |
static SXPBlueprint |
remove(long sxpBlueprintId)
Removes the sxp blueprint with the primary key from the database.
|
static void |
removeAll()
Removes all the sxp blueprints from the database.
|
static SXPBlueprint |
removeByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Removes the sxp blueprint where companyId = ? and externalReferenceCode = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the sxp blueprints where companyId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the sxp blueprints where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the sxp blueprints where uuid = ? from the database.
|
static SXPBlueprint |
update(SXPBlueprint sxpBlueprint) |
static SXPBlueprint |
update(SXPBlueprint sxpBlueprint,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static SXPBlueprint |
updateImpl(SXPBlueprint sxpBlueprint) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(SXPBlueprint sxpBlueprint)
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,SXPBlueprint> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<SXPBlueprint> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<SXPBlueprint> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<SXPBlueprint> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static SXPBlueprint update(SXPBlueprint sxpBlueprint)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static SXPBlueprint update(SXPBlueprint sxpBlueprint, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<SXPBlueprint> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<SXPBlueprint> 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 SXPBlueprintModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of sxp blueprintsend
- the upper bound of the range of sxp blueprints (not inclusive)public static java.util.List<SXPBlueprint> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> 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 SXPBlueprintModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of sxp blueprintsend
- the upper bound of the range of sxp blueprints (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SXPBlueprint> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> 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 SXPBlueprintModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of sxp blueprintsend
- the upper bound of the range of sxp blueprints (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static SXPBlueprint findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPBlueprintException
- if a matching sxp blueprint could not be foundpublic static SXPBlueprint fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sxp blueprint could not be foundpublic static SXPBlueprint findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPBlueprintException
- if a matching sxp blueprint could not be foundpublic static SXPBlueprint fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sxp blueprint could not be foundpublic static SXPBlueprint[] findByUuid_PrevAndNext(long sxpBlueprintId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException
sxpBlueprintId
- the primary key of the current sxp blueprintuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPBlueprintException
- if a sxp blueprint with the primary key could not be foundpublic static java.util.List<SXPBlueprint> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<SXPBlueprint> 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 SXPBlueprintModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of sxp blueprintsend
- the upper bound of the range of sxp blueprints (not inclusive)public static java.util.List<SXPBlueprint> filterFindByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> 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 SXPBlueprintModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of sxp blueprintsend
- the upper bound of the range of sxp blueprints (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static SXPBlueprint[] filterFindByUuid_PrevAndNext(long sxpBlueprintId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException
sxpBlueprintId
- the primary key of the current sxp blueprintuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPBlueprintException
- if a sxp blueprint 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<SXPBlueprint> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<SXPBlueprint> 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 SXPBlueprintModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of sxp blueprintsend
- the upper bound of the range of sxp blueprints (not inclusive)public static java.util.List<SXPBlueprint> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> 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 SXPBlueprintModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of sxp blueprintsend
- the upper bound of the range of sxp blueprints (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SXPBlueprint> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> 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 SXPBlueprintModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of sxp blueprintsend
- the upper bound of the range of sxp blueprints (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static SXPBlueprint findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPBlueprintException
- if a matching sxp blueprint could not be foundpublic static SXPBlueprint fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sxp blueprint could not be foundpublic static SXPBlueprint findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPBlueprintException
- if a matching sxp blueprint could not be foundpublic static SXPBlueprint fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sxp blueprint could not be foundpublic static SXPBlueprint[] findByUuid_C_PrevAndNext(long sxpBlueprintId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException
sxpBlueprintId
- the primary key of the current sxp blueprintuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPBlueprintException
- if a sxp blueprint with the primary key could not be foundpublic static java.util.List<SXPBlueprint> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<SXPBlueprint> 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 SXPBlueprintModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of sxp blueprintsend
- the upper bound of the range of sxp blueprints (not inclusive)public static java.util.List<SXPBlueprint> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> 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 SXPBlueprintModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of sxp blueprintsend
- the upper bound of the range of sxp blueprints (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static SXPBlueprint[] filterFindByUuid_C_PrevAndNext(long sxpBlueprintId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException
sxpBlueprintId
- the primary key of the current sxp blueprintuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPBlueprintException
- if a sxp blueprint 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<SXPBlueprint> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<SXPBlueprint> 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 SXPBlueprintModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of sxp blueprintsend
- the upper bound of the range of sxp blueprints (not inclusive)public static java.util.List<SXPBlueprint> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> 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 SXPBlueprintModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of sxp blueprintsend
- the upper bound of the range of sxp blueprints (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SXPBlueprint> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> 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 SXPBlueprintModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of sxp blueprintsend
- the upper bound of the range of sxp blueprints (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static SXPBlueprint findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPBlueprintException
- if a matching sxp blueprint could not be foundpublic static SXPBlueprint fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sxp blueprint could not be foundpublic static SXPBlueprint findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPBlueprintException
- if a matching sxp blueprint could not be foundpublic static SXPBlueprint fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sxp blueprint could not be foundpublic static SXPBlueprint[] findByCompanyId_PrevAndNext(long sxpBlueprintId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException
sxpBlueprintId
- the primary key of the current sxp blueprintcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPBlueprintException
- if a sxp blueprint with the primary key could not be foundpublic static java.util.List<SXPBlueprint> filterFindByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<SXPBlueprint> 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 SXPBlueprintModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of sxp blueprintsend
- the upper bound of the range of sxp blueprints (not inclusive)public static java.util.List<SXPBlueprint> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> 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 SXPBlueprintModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of sxp blueprintsend
- the upper bound of the range of sxp blueprints (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static SXPBlueprint[] filterFindByCompanyId_PrevAndNext(long sxpBlueprintId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> orderByComparator) throws NoSuchSXPBlueprintException
sxpBlueprintId
- the primary key of the current sxp blueprintcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSXPBlueprintException
- if a sxp blueprint 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 SXPBlueprint findByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchSXPBlueprintException
NoSuchSXPBlueprintException
if it could not be found.companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchSXPBlueprintException
- if a matching sxp blueprint could not be foundpublic static SXPBlueprint 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 blueprint could not be foundpublic static SXPBlueprint 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 blueprint could not be foundpublic static SXPBlueprint removeByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchSXPBlueprintException
companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchSXPBlueprintException
public static int countByC_ERC(long companyId, java.lang.String externalReferenceCode)
companyId
- the company IDexternalReferenceCode
- the external reference codepublic static void cacheResult(SXPBlueprint sxpBlueprint)
sxpBlueprint
- the sxp blueprintpublic static void cacheResult(java.util.List<SXPBlueprint> sxpBlueprints)
sxpBlueprints
- the sxp blueprintspublic static SXPBlueprint create(long sxpBlueprintId)
sxpBlueprintId
- the primary key for the new sxp blueprintpublic static SXPBlueprint remove(long sxpBlueprintId) throws NoSuchSXPBlueprintException
sxpBlueprintId
- the primary key of the sxp blueprintNoSuchSXPBlueprintException
- if a sxp blueprint with the primary key could not be foundpublic static SXPBlueprint updateImpl(SXPBlueprint sxpBlueprint)
public static SXPBlueprint findByPrimaryKey(long sxpBlueprintId) throws NoSuchSXPBlueprintException
NoSuchSXPBlueprintException
if it could not be found.sxpBlueprintId
- the primary key of the sxp blueprintNoSuchSXPBlueprintException
- if a sxp blueprint with the primary key could not be foundpublic static SXPBlueprint fetchByPrimaryKey(long sxpBlueprintId)
null
if it could not be found.sxpBlueprintId
- the primary key of the sxp blueprintnull
if a sxp blueprint with the primary key could not be foundpublic static java.util.List<SXPBlueprint> findAll()
public static java.util.List<SXPBlueprint> 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 SXPBlueprintModelImpl
.
start
- the lower bound of the range of sxp blueprintsend
- the upper bound of the range of sxp blueprints (not inclusive)public static java.util.List<SXPBlueprint> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> 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 SXPBlueprintModelImpl
.
start
- the lower bound of the range of sxp blueprintsend
- the upper bound of the range of sxp blueprints (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SXPBlueprint> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SXPBlueprint> 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 SXPBlueprintModelImpl
.
start
- the lower bound of the range of sxp blueprintsend
- the upper bound of the range of sxp blueprints (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 SXPBlueprintPersistence getPersistence()