public class WSRPConsumerUtil
extends java.lang.Object
com.liferay.wsrp.service.persistence.impl.WSRPConsumerPersistenceImpl
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
WSRPConsumerPersistence
Constructor and Description |
---|
WSRPConsumerUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<WSRPConsumer> wsrpConsumers)
Caches the wsrp consumers in the entity cache if it is enabled.
|
static void |
cacheResult(WSRPConsumer wsrpConsumer)
Caches the wsrp consumer in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(WSRPConsumer wsrpConsumer) |
static int |
countAll()
Returns the number of wsrp consumers.
|
static int |
countByCompanyId(long companyId)
Returns the number of wsrp consumers where companyId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of wsrp consumers where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of wsrp consumers where uuid = ?.
|
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery) |
static WSRPConsumer |
create(long wsrpConsumerId)
Creates a new wsrp consumer with the primary key.
|
static WSRPConsumer |
fetchByCompanyId_First(long companyId,
OrderByComparator<WSRPConsumer> orderByComparator)
Returns the first wsrp consumer in the ordered set where companyId = ?.
|
static WSRPConsumer |
fetchByCompanyId_Last(long companyId,
OrderByComparator<WSRPConsumer> orderByComparator)
Returns the last wsrp consumer in the ordered set where companyId = ?.
|
static WSRPConsumer |
fetchByPrimaryKey(long wsrpConsumerId)
Returns the wsrp consumer with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,WSRPConsumer> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static WSRPConsumer |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
OrderByComparator<WSRPConsumer> orderByComparator)
Returns the first wsrp consumer in the ordered set where uuid = ? and companyId = ?.
|
static WSRPConsumer |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
OrderByComparator<WSRPConsumer> orderByComparator)
Returns the last wsrp consumer in the ordered set where uuid = ? and companyId = ?.
|
static WSRPConsumer |
fetchByUuid_First(java.lang.String uuid,
OrderByComparator<WSRPConsumer> orderByComparator)
Returns the first wsrp consumer in the ordered set where uuid = ?.
|
static WSRPConsumer |
fetchByUuid_Last(java.lang.String uuid,
OrderByComparator<WSRPConsumer> orderByComparator)
Returns the last wsrp consumer in the ordered set where uuid = ?.
|
static java.util.List<WSRPConsumer> |
findAll()
Returns all the wsrp consumers.
|
static java.util.List<WSRPConsumer> |
findAll(int start,
int end)
Returns a range of all the wsrp consumers.
|
static java.util.List<WSRPConsumer> |
findAll(int start,
int end,
OrderByComparator<WSRPConsumer> orderByComparator)
Returns an ordered range of all the wsrp consumers.
|
static java.util.List<WSRPConsumer> |
findAll(int start,
int end,
OrderByComparator<WSRPConsumer> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the wsrp consumers.
|
static WSRPConsumer |
findByCompanyId_First(long companyId,
OrderByComparator<WSRPConsumer> orderByComparator)
Returns the first wsrp consumer in the ordered set where companyId = ?.
|
static WSRPConsumer |
findByCompanyId_Last(long companyId,
OrderByComparator<WSRPConsumer> orderByComparator)
Returns the last wsrp consumer in the ordered set where companyId = ?.
|
static WSRPConsumer[] |
findByCompanyId_PrevAndNext(long wsrpConsumerId,
long companyId,
OrderByComparator<WSRPConsumer> orderByComparator)
Returns the wsrp consumers before and after the current wsrp consumer in the ordered set where companyId = ?.
|
static java.util.List<WSRPConsumer> |
findByCompanyId(long companyId)
Returns all the wsrp consumers where companyId = ?.
|
static java.util.List<WSRPConsumer> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the wsrp consumers where companyId = ?.
|
static java.util.List<WSRPConsumer> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<WSRPConsumer> orderByComparator)
Returns an ordered range of all the wsrp consumers where companyId = ?.
|
static java.util.List<WSRPConsumer> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<WSRPConsumer> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the wsrp consumers where companyId = ?.
|
static WSRPConsumer |
findByPrimaryKey(long wsrpConsumerId)
Returns the wsrp consumer with the primary key or throws a
NoSuchConsumerException if it could not be found. |
static WSRPConsumer |
findByUuid_C_First(java.lang.String uuid,
long companyId,
OrderByComparator<WSRPConsumer> orderByComparator)
Returns the first wsrp consumer in the ordered set where uuid = ? and companyId = ?.
|
static WSRPConsumer |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
OrderByComparator<WSRPConsumer> orderByComparator)
Returns the last wsrp consumer in the ordered set where uuid = ? and companyId = ?.
|
static WSRPConsumer[] |
findByUuid_C_PrevAndNext(long wsrpConsumerId,
java.lang.String uuid,
long companyId,
OrderByComparator<WSRPConsumer> orderByComparator)
Returns the wsrp consumers before and after the current wsrp consumer in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<WSRPConsumer> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the wsrp consumers where uuid = ? and companyId = ?.
|
static java.util.List<WSRPConsumer> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the wsrp consumers where uuid = ? and companyId = ?.
|
static java.util.List<WSRPConsumer> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
OrderByComparator<WSRPConsumer> orderByComparator)
Returns an ordered range of all the wsrp consumers where uuid = ? and companyId = ?.
|
static java.util.List<WSRPConsumer> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
OrderByComparator<WSRPConsumer> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the wsrp consumers where uuid = ? and companyId = ?.
|
static WSRPConsumer |
findByUuid_First(java.lang.String uuid,
OrderByComparator<WSRPConsumer> orderByComparator)
Returns the first wsrp consumer in the ordered set where uuid = ?.
|
static WSRPConsumer |
findByUuid_Last(java.lang.String uuid,
OrderByComparator<WSRPConsumer> orderByComparator)
Returns the last wsrp consumer in the ordered set where uuid = ?.
|
static WSRPConsumer[] |
findByUuid_PrevAndNext(long wsrpConsumerId,
java.lang.String uuid,
OrderByComparator<WSRPConsumer> orderByComparator)
Returns the wsrp consumers before and after the current wsrp consumer in the ordered set where uuid = ?.
|
static java.util.List<WSRPConsumer> |
findByUuid(java.lang.String uuid)
Returns all the wsrp consumers where uuid = ?.
|
static java.util.List<WSRPConsumer> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the wsrp consumers where uuid = ?.
|
static java.util.List<WSRPConsumer> |
findByUuid(java.lang.String uuid,
int start,
int end,
OrderByComparator<WSRPConsumer> orderByComparator)
Returns an ordered range of all the wsrp consumers where uuid = ?.
|
static java.util.List<WSRPConsumer> |
findByUuid(java.lang.String uuid,
int start,
int end,
OrderByComparator<WSRPConsumer> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the wsrp consumers where uuid = ?.
|
static java.util.List<WSRPConsumer> |
findWithDynamicQuery(DynamicQuery dynamicQuery) |
static java.util.List<WSRPConsumer> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<WSRPConsumer> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<WSRPConsumer> orderByComparator) |
static java.util.Set<java.lang.String> |
getBadColumnNames() |
static WSRPConsumerPersistence |
getPersistence() |
static WSRPConsumer |
remove(long wsrpConsumerId)
Removes the wsrp consumer with the primary key from the database.
|
static void |
removeAll()
Removes all the wsrp consumers from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the wsrp consumers where companyId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the wsrp consumers where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the wsrp consumers where uuid = ? from the database.
|
static WSRPConsumer |
update(WSRPConsumer wsrpConsumer) |
static WSRPConsumer |
update(WSRPConsumer wsrpConsumer,
ServiceContext serviceContext) |
static WSRPConsumer |
updateImpl(WSRPConsumer wsrpConsumer) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(WSRPConsumer wsrpConsumer)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
public static java.util.Map<java.io.Serializable,WSRPConsumer> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<WSRPConsumer> findWithDynamicQuery(DynamicQuery dynamicQuery)
public static java.util.List<WSRPConsumer> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
public static java.util.List<WSRPConsumer> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<WSRPConsumer> orderByComparator)
public static WSRPConsumer update(WSRPConsumer wsrpConsumer)
public static WSRPConsumer update(WSRPConsumer wsrpConsumer, ServiceContext serviceContext)
public static java.util.List<WSRPConsumer> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<WSRPConsumer> 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 WSRPConsumerModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)public static java.util.List<WSRPConsumer> findByUuid(java.lang.String uuid, int start, int end, OrderByComparator<WSRPConsumer> 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 WSRPConsumerModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<WSRPConsumer> findByUuid(java.lang.String uuid, int start, int end, OrderByComparator<WSRPConsumer> 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 WSRPConsumerModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static WSRPConsumer findByUuid_First(java.lang.String uuid, OrderByComparator<WSRPConsumer> orderByComparator) throws NoSuchConsumerException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerException
- if a matching wsrp consumer could not be foundpublic static WSRPConsumer fetchByUuid_First(java.lang.String uuid, OrderByComparator<WSRPConsumer> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp consumer could not be foundpublic static WSRPConsumer findByUuid_Last(java.lang.String uuid, OrderByComparator<WSRPConsumer> orderByComparator) throws NoSuchConsumerException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerException
- if a matching wsrp consumer could not be foundpublic static WSRPConsumer fetchByUuid_Last(java.lang.String uuid, OrderByComparator<WSRPConsumer> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp consumer could not be foundpublic static WSRPConsumer[] findByUuid_PrevAndNext(long wsrpConsumerId, java.lang.String uuid, OrderByComparator<WSRPConsumer> orderByComparator) throws NoSuchConsumerException
wsrpConsumerId
- the primary key of the current wsrp consumeruuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerException
- if a wsrp consumer 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 java.util.List<WSRPConsumer> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<WSRPConsumer> 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 WSRPConsumerModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)public static java.util.List<WSRPConsumer> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, OrderByComparator<WSRPConsumer> 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 WSRPConsumerModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<WSRPConsumer> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, OrderByComparator<WSRPConsumer> 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 WSRPConsumerModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static WSRPConsumer findByUuid_C_First(java.lang.String uuid, long companyId, OrderByComparator<WSRPConsumer> orderByComparator) throws NoSuchConsumerException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerException
- if a matching wsrp consumer could not be foundpublic static WSRPConsumer fetchByUuid_C_First(java.lang.String uuid, long companyId, OrderByComparator<WSRPConsumer> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp consumer could not be foundpublic static WSRPConsumer findByUuid_C_Last(java.lang.String uuid, long companyId, OrderByComparator<WSRPConsumer> orderByComparator) throws NoSuchConsumerException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerException
- if a matching wsrp consumer could not be foundpublic static WSRPConsumer fetchByUuid_C_Last(java.lang.String uuid, long companyId, OrderByComparator<WSRPConsumer> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp consumer could not be foundpublic static WSRPConsumer[] findByUuid_C_PrevAndNext(long wsrpConsumerId, java.lang.String uuid, long companyId, OrderByComparator<WSRPConsumer> orderByComparator) throws NoSuchConsumerException
wsrpConsumerId
- the primary key of the current wsrp consumeruuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerException
- if a wsrp consumer 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 java.util.List<WSRPConsumer> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<WSRPConsumer> 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 WSRPConsumerModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)public static java.util.List<WSRPConsumer> findByCompanyId(long companyId, int start, int end, OrderByComparator<WSRPConsumer> 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 WSRPConsumerModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<WSRPConsumer> findByCompanyId(long companyId, int start, int end, OrderByComparator<WSRPConsumer> 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 WSRPConsumerModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static WSRPConsumer findByCompanyId_First(long companyId, OrderByComparator<WSRPConsumer> orderByComparator) throws NoSuchConsumerException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerException
- if a matching wsrp consumer could not be foundpublic static WSRPConsumer fetchByCompanyId_First(long companyId, OrderByComparator<WSRPConsumer> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp consumer could not be foundpublic static WSRPConsumer findByCompanyId_Last(long companyId, OrderByComparator<WSRPConsumer> orderByComparator) throws NoSuchConsumerException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerException
- if a matching wsrp consumer could not be foundpublic static WSRPConsumer fetchByCompanyId_Last(long companyId, OrderByComparator<WSRPConsumer> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wsrp consumer could not be foundpublic static WSRPConsumer[] findByCompanyId_PrevAndNext(long wsrpConsumerId, long companyId, OrderByComparator<WSRPConsumer> orderByComparator) throws NoSuchConsumerException
wsrpConsumerId
- the primary key of the current wsrp consumercompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchConsumerException
- if a wsrp consumer 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 void cacheResult(WSRPConsumer wsrpConsumer)
wsrpConsumer
- the wsrp consumerpublic static void cacheResult(java.util.List<WSRPConsumer> wsrpConsumers)
wsrpConsumers
- the wsrp consumerspublic static WSRPConsumer create(long wsrpConsumerId)
wsrpConsumerId
- the primary key for the new wsrp consumerpublic static WSRPConsumer remove(long wsrpConsumerId) throws NoSuchConsumerException
wsrpConsumerId
- the primary key of the wsrp consumerNoSuchConsumerException
- if a wsrp consumer with the primary key could not be foundpublic static WSRPConsumer updateImpl(WSRPConsumer wsrpConsumer)
public static WSRPConsumer findByPrimaryKey(long wsrpConsumerId) throws NoSuchConsumerException
NoSuchConsumerException
if it could not be found.wsrpConsumerId
- the primary key of the wsrp consumerNoSuchConsumerException
- if a wsrp consumer with the primary key could not be foundpublic static WSRPConsumer fetchByPrimaryKey(long wsrpConsumerId)
null
if it could not be found.wsrpConsumerId
- the primary key of the wsrp consumernull
if a wsrp consumer with the primary key could not be foundpublic static java.util.List<WSRPConsumer> findAll()
public static java.util.List<WSRPConsumer> 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 WSRPConsumerModelImpl
.
start
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)public static java.util.List<WSRPConsumer> findAll(int start, int end, OrderByComparator<WSRPConsumer> 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 WSRPConsumerModelImpl
.
start
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<WSRPConsumer> findAll(int start, int end, OrderByComparator<WSRPConsumer> 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 WSRPConsumerModelImpl
.
start
- the lower bound of the range of wsrp consumersend
- the upper bound of the range of wsrp consumers (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 java.util.Set<java.lang.String> getBadColumnNames()
public static WSRPConsumerPersistence getPersistence()